From adb93d4977bb47d5f0480919d280ea8b5634fbc8 Mon Sep 17 00:00:00 2001 From: droplet-bot Date: Thu, 31 Aug 2023 04:14:25 +0000 Subject: [PATCH] chore: auto-gen by protobufs triggered by commit: https://github.com/instill-ai/protobufs/commit/1579e008b837d1c405700a544a0e38f633a9cd97 --- vdp/pipeline/v1alpha/pipeline.pb.go | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/vdp/pipeline/v1alpha/pipeline.pb.go b/vdp/pipeline/v1alpha/pipeline.pb.go index e7d8fe8..f43dc9a 100644 --- a/vdp/pipeline/v1alpha/pipeline.pb.go +++ b/vdp/pipeline/v1alpha/pipeline.pb.go @@ -626,7 +626,7 @@ type Pipeline struct { // Visibility Visibility Visibility `protobuf:"varint,12,opt,name=visibility,proto3,enum=vdp.pipeline.v1alpha.Visibility" json:"visibility,omitempty"` // OpenAPI schema - OpenapiSchema []*structpb.Struct `protobuf:"bytes,13,rep,name=openapi_schema,json=openapiSchema,proto3" json:"openapi_schema,omitempty"` + OpenapiSchema *structpb.Struct `protobuf:"bytes,13,opt,name=openapi_schema,json=openapiSchema,proto3" json:"openapi_schema,omitempty"` } func (x *Pipeline) Reset() { @@ -738,7 +738,7 @@ func (x *Pipeline) GetVisibility() Visibility { return Visibility_VISIBILITY_UNSPECIFIED } -func (x *Pipeline) GetOpenapiSchema() []*structpb.Struct { +func (x *Pipeline) GetOpenapiSchema() *structpb.Struct { if x != nil { return x.OpenapiSchema } @@ -922,7 +922,7 @@ type PipelineRelease struct { // Visibility Visibility Visibility `protobuf:"varint,8,opt,name=visibility,proto3,enum=vdp.pipeline.v1alpha.Visibility" json:"visibility,omitempty"` // OpenAPI schema - OpenapiSchema []*structpb.Struct `protobuf:"bytes,9,rep,name=openapi_schema,json=openapiSchema,proto3" json:"openapi_schema,omitempty"` + OpenapiSchema *structpb.Struct `protobuf:"bytes,9,opt,name=openapi_schema,json=openapiSchema,proto3" json:"openapi_schema,omitempty"` } func (x *PipelineRelease) Reset() { @@ -1013,7 +1013,7 @@ func (x *PipelineRelease) GetVisibility() Visibility { return Visibility_VISIBILITY_UNSPECIFIED } -func (x *PipelineRelease) GetOpenapiSchema() []*structpb.Struct { +func (x *PipelineRelease) GetOpenapiSchema() *structpb.Struct { if x != nil { return x.OpenapiSchema } @@ -4112,7 +4112,7 @@ var file_vdp_pipeline_v1alpha_pipeline_proto_rawDesc = []byte{ 0x6c, 0x69, 0x6e, 0x65, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x56, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x52, 0x0a, 0x76, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x12, 0x43, 0x0a, 0x0e, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x5f, 0x73, - 0x63, 0x68, 0x65, 0x6d, 0x61, 0x18, 0x0d, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, + 0x63, 0x68, 0x65, 0x6d, 0x61, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0d, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x3a, 0x41, 0xea, 0x41, 0x3e, 0x0a, 0x19, 0x61, @@ -4173,7 +4173,7 @@ var file_vdp_pipeline_v1alpha_pipeline_proto_rawDesc = []byte{ 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x56, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x52, 0x0a, 0x76, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x12, 0x43, 0x0a, 0x0e, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x6d, - 0x61, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, + 0x61, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0d, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x3a, 0x31, 0xea, 0x41, 0x2e, 0x0a, 0x18, 0x61, 0x70, 0x69, 0x2e, 0x69,