diff --git a/api/api.pb.go b/api/api.pb.go index 4a701d6..0eb9763 100644 --- a/api/api.pb.go +++ b/api/api.pb.go @@ -1,86 +1,45 @@ // Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.21.0 -// protoc v3.11.3 // source: api.proto package api import ( + fmt "fmt" proto "github.com/golang/protobuf/proto" _ "github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger/options" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" + math "math" ) -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf -// This is a compile-time assertion that a sufficiently up-to-date version -// of the legacy proto package is being used. -const _ = proto.ProtoPackageIsVersion4 +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package -var File_api_proto protoreflect.FileDescriptor +func init() { proto.RegisterFile("api.proto", fileDescriptor_00212fb1f9d3bf1c) } -var file_api_proto_rawDesc = []byte{ - 0x0a, 0x09, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x03, 0x61, 0x70, 0x69, - 0x1a, 0x2c, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x2d, 0x67, 0x65, 0x6e, 0x2d, 0x73, 0x77, 0x61, - 0x67, 0x67, 0x65, 0x72, 0x2f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x61, 0x6e, 0x6e, - 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x42, 0x8b, - 0x02, 0x92, 0x41, 0x87, 0x02, 0x12, 0x74, 0x0a, 0x0d, 0x4f, 0x6e, 0x65, 0x70, 0x61, 0x6e, 0x65, - 0x6c, 0x20, 0x43, 0x6f, 0x72, 0x65, 0x12, 0x19, 0x4f, 0x6e, 0x65, 0x70, 0x61, 0x6e, 0x65, 0x6c, - 0x20, 0x43, 0x6f, 0x72, 0x65, 0x20, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x20, 0x41, 0x50, - 0x49, 0x22, 0x3b, 0x0a, 0x15, 0x4f, 0x6e, 0x65, 0x70, 0x61, 0x6e, 0x65, 0x6c, 0x20, 0x43, 0x6f, - 0x72, 0x65, 0x20, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x22, 0x68, 0x74, 0x74, 0x70, - 0x73, 0x3a, 0x2f, 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6f, - 0x6e, 0x65, 0x70, 0x61, 0x6e, 0x65, 0x6c, 0x69, 0x6f, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x32, 0x0b, - 0x31, 0x2e, 0x30, 0x2e, 0x30, 0x2d, 0x62, 0x65, 0x74, 0x61, 0x31, 0x1a, 0x0e, 0x6c, 0x6f, 0x63, - 0x61, 0x6c, 0x68, 0x6f, 0x73, 0x74, 0x3a, 0x38, 0x38, 0x38, 0x38, 0x2a, 0x02, 0x01, 0x02, 0x32, - 0x10, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x6a, 0x73, 0x6f, - 0x6e, 0x3a, 0x10, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x6a, - 0x73, 0x6f, 0x6e, 0x5a, 0x49, 0x0a, 0x47, 0x0a, 0x06, 0x42, 0x65, 0x61, 0x72, 0x65, 0x72, 0x12, - 0x3d, 0x08, 0x02, 0x12, 0x28, 0x41, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x20, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x2c, 0x20, 0x70, 0x72, 0x65, 0x66, 0x69, - 0x78, 0x65, 0x64, 0x20, 0x62, 0x79, 0x20, 0x42, 0x65, 0x61, 0x72, 0x65, 0x72, 0x1a, 0x0d, 0x61, - 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x02, 0x62, 0x0c, - 0x0a, 0x0a, 0x0a, 0x06, 0x42, 0x65, 0x61, 0x72, 0x65, 0x72, 0x12, 0x00, 0x62, 0x06, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x33, -} - -var file_api_proto_goTypes = []interface{}{} -var file_api_proto_depIdxs = []int32{ - 0, // [0:0] is the sub-list for method output_type - 0, // [0:0] is the sub-list for method input_type - 0, // [0:0] is the sub-list for extension type_name - 0, // [0:0] is the sub-list for extension extendee - 0, // [0:0] is the sub-list for field type_name -} - -func init() { file_api_proto_init() } -func file_api_proto_init() { - if File_api_proto != nil { - return - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_api_proto_rawDesc, - NumEnums: 0, - NumMessages: 0, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_api_proto_goTypes, - DependencyIndexes: file_api_proto_depIdxs, - }.Build() - File_api_proto = out.File - file_api_proto_rawDesc = nil - file_api_proto_goTypes = nil - file_api_proto_depIdxs = nil +var fileDescriptor_00212fb1f9d3bf1c = []byte{ + // 265 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x90, 0x3f, 0x4b, 0xf4, 0x40, + 0x10, 0x87, 0xdf, 0x77, 0x85, 0x43, 0x57, 0x4f, 0x64, 0xc1, 0xc2, 0xab, 0x96, 0xab, 0x44, 0x2e, + 0xd9, 0xbb, 0xb3, 0x09, 0x11, 0x8b, 0x9c, 0x85, 0x5c, 0xa5, 0xb5, 0xdd, 0x64, 0x1d, 0x93, 0x3d, + 0xe3, 0xce, 0xb2, 0x99, 0xe0, 0x9f, 0x2f, 0x60, 0x61, 0xe7, 0x27, 0x16, 0x92, 0x43, 0x10, 0xed, + 0x9e, 0x99, 0x79, 0x66, 0x18, 0x7e, 0x72, 0x0f, 0x82, 0x4b, 0x43, 0x24, 0x26, 0xb5, 0x03, 0xc1, + 0x4d, 0x66, 0x3d, 0xdb, 0xa4, 0x42, 0x9f, 0xb4, 0xcf, 0x50, 0x55, 0x18, 0x0d, 0x05, 0x76, 0xe4, + 0x5b, 0x03, 0xde, 0x13, 0x43, 0xcf, 0xc3, 0xca, 0xea, 0x43, 0x7c, 0x16, 0xef, 0x42, 0xb1, 0x1c, + 0xdf, 0x78, 0x0c, 0xe0, 0xb1, 0xd1, 0x57, 0x14, 0x51, 0x9d, 0xfc, 0x28, 0x75, 0x88, 0xb4, 0x41, + 0xcb, 0xba, 0xb8, 0x5d, 0x4f, 0x2f, 0xe4, 0xf1, 0x9f, 0x43, 0x35, 0xad, 0x99, 0x43, 0x9b, 0x1b, + 0x53, 0x39, 0xae, 0xbb, 0x32, 0xb5, 0xf4, 0x64, 0x68, 0x6b, 0x3a, 0x32, 0x96, 0x22, 0x2e, 0xf7, + 0x17, 0xe9, 0x3c, 0x9d, 0x27, 0x25, 0x32, 0x2c, 0x26, 0x87, 0x0d, 0x59, 0x68, 0x6a, 0x6a, 0x39, + 0xcf, 0xb2, 0x2c, 0x3b, 0x13, 0xff, 0xc5, 0xf2, 0x08, 0x42, 0x68, 0x9c, 0xed, 0x9f, 0x34, 0x9b, + 0x96, 0x7c, 0xfe, 0xab, 0x73, 0xb7, 0x96, 0xd7, 0x72, 0xb4, 0x42, 0x88, 0x18, 0xd5, 0xe5, 0xae, + 0x50, 0xa7, 0x45, 0xc7, 0x35, 0x7a, 0xde, 0x4a, 0x9a, 0xe9, 0x11, 0xfd, 0x4c, 0x87, 0x88, 0x0f, + 0xee, 0x05, 0xef, 0x75, 0xf9, 0xaa, 0x07, 0x7b, 0x32, 0x86, 0x8e, 0x6b, 0x8a, 0xee, 0x6d, 0x10, + 0x45, 0x79, 0x20, 0xe5, 0xf7, 0xa9, 0x7f, 0xe5, 0xa8, 0x0f, 0xe5, 0xfc, 0x2b, 0x00, 0x00, 0xff, + 0xff, 0x51, 0x1b, 0x37, 0x84, 0x54, 0x01, 0x00, 0x00, } diff --git a/api/api.swagger.json b/api/api.swagger.json index 561b868..a6d5572 100644 --- a/api/api.swagger.json +++ b/api/api.swagger.json @@ -30,12 +30,6 @@ "schema": { "properties": {} } - }, - "default": { - "description": "An unexpected error response", - "schema": { - "$ref": "#/definitions/grpc.gateway.runtime.Error" - } } }, "parameters": [ @@ -62,12 +56,6 @@ "schema": { "$ref": "#/definitions/ListNamespacesResponse" } - }, - "default": { - "description": "An unexpected error response", - "schema": { - "$ref": "#/definitions/grpc.gateway.runtime.Error" - } } }, "parameters": [ @@ -104,12 +92,6 @@ "schema": { "$ref": "#/definitions/Namespace" } - }, - "default": { - "description": "An unexpected error response", - "schema": { - "$ref": "#/definitions/grpc.gateway.runtime.Error" - } } }, "parameters": [ @@ -136,12 +118,6 @@ "schema": { "$ref": "#/definitions/CronWorkflow" } - }, - "default": { - "description": "An unexpected error response", - "schema": { - "$ref": "#/definitions/grpc.gateway.runtime.Error" - } } }, "parameters": [ @@ -174,12 +150,6 @@ "schema": { "$ref": "#/definitions/CronWorkflow" } - }, - "default": { - "description": "An unexpected error response", - "schema": { - "$ref": "#/definitions/grpc.gateway.runtime.Error" - } } }, "parameters": [ @@ -208,12 +178,6 @@ "schema": { "$ref": "#/definitions/CronWorkflow" } - }, - "default": { - "description": "An unexpected error response", - "schema": { - "$ref": "#/definitions/grpc.gateway.runtime.Error" - } } }, "parameters": [ @@ -252,12 +216,6 @@ "schema": { "$ref": "#/definitions/ListCronWorkflowsResponse" } - }, - "default": { - "description": "An unexpected error response", - "schema": { - "$ref": "#/definitions/grpc.gateway.runtime.Error" - } } }, "parameters": [ @@ -302,12 +260,6 @@ "schema": { "$ref": "#/definitions/GetLabelsResponse" } - }, - "default": { - "description": "An unexpected error response", - "schema": { - "$ref": "#/definitions/grpc.gateway.runtime.Error" - } } }, "parameters": [ @@ -336,12 +288,6 @@ "schema": { "$ref": "#/definitions/GetLabelsResponse" } - }, - "default": { - "description": "An unexpected error response", - "schema": { - "$ref": "#/definitions/grpc.gateway.runtime.Error" - } } }, "parameters": [ @@ -378,12 +324,6 @@ "schema": { "$ref": "#/definitions/GetLabelsResponse" } - }, - "default": { - "description": "An unexpected error response", - "schema": { - "$ref": "#/definitions/grpc.gateway.runtime.Error" - } } }, "parameters": [ @@ -422,12 +362,6 @@ "schema": { "$ref": "#/definitions/GetLabelsResponse" } - }, - "default": { - "description": "An unexpected error response", - "schema": { - "$ref": "#/definitions/grpc.gateway.runtime.Error" - } } }, "parameters": [ @@ -464,12 +398,6 @@ "schema": { "properties": {} } - }, - "default": { - "description": "An unexpected error response", - "schema": { - "$ref": "#/definitions/grpc.gateway.runtime.Error" - } } }, "parameters": [ @@ -500,12 +428,6 @@ "schema": { "$ref": "#/definitions/ListCronWorkflowsResponse" } - }, - "default": { - "description": "An unexpected error response", - "schema": { - "$ref": "#/definitions/grpc.gateway.runtime.Error" - } } }, "parameters": [ @@ -550,12 +472,6 @@ "schema": { "$ref": "#/definitions/ListSecretsResponse" } - }, - "default": { - "description": "An unexpected error response", - "schema": { - "$ref": "#/definitions/grpc.gateway.runtime.Error" - } } }, "parameters": [ @@ -578,12 +494,6 @@ "schema": { "properties": {} } - }, - "default": { - "description": "An unexpected error response", - "schema": { - "$ref": "#/definitions/grpc.gateway.runtime.Error" - } } }, "parameters": [ @@ -616,12 +526,6 @@ "schema": { "$ref": "#/definitions/Secret" } - }, - "default": { - "description": "An unexpected error response", - "schema": { - "$ref": "#/definitions/grpc.gateway.runtime.Error" - } } }, "parameters": [ @@ -650,12 +554,6 @@ "schema": { "$ref": "#/definitions/DeleteSecretResponse" } - }, - "default": { - "description": "An unexpected error response", - "schema": { - "$ref": "#/definitions/grpc.gateway.runtime.Error" - } } }, "parameters": [ @@ -686,12 +584,6 @@ "schema": { "$ref": "#/definitions/SecretExistsResponse" } - }, - "default": { - "description": "An unexpected error response", - "schema": { - "$ref": "#/definitions/grpc.gateway.runtime.Error" - } } }, "parameters": [ @@ -722,12 +614,6 @@ "schema": { "$ref": "#/definitions/AddSecretKeyValueResponse" } - }, - "default": { - "description": "An unexpected error response", - "schema": { - "$ref": "#/definitions/grpc.gateway.runtime.Error" - } } }, "parameters": [ @@ -764,12 +650,6 @@ "schema": { "$ref": "#/definitions/UpdateSecretKeyValueResponse" } - }, - "default": { - "description": "An unexpected error response", - "schema": { - "$ref": "#/definitions/grpc.gateway.runtime.Error" - } } }, "parameters": [ @@ -808,12 +688,6 @@ "schema": { "$ref": "#/definitions/DeleteSecretKeyResponse" } - }, - "default": { - "description": "An unexpected error response", - "schema": { - "$ref": "#/definitions/grpc.gateway.runtime.Error" - } } }, "parameters": [ @@ -850,12 +724,6 @@ "schema": { "$ref": "#/definitions/ListWorkflowExecutionsResponse" } - }, - "default": { - "description": "An unexpected error response", - "schema": { - "$ref": "#/definitions/grpc.gateway.runtime.Error" - } } }, "parameters": [ @@ -897,6 +765,7 @@ ] }, "post": { + "summary": "Creates a Workflow", "operationId": "CreateWorkflowExecution", "responses": { "200": { @@ -904,12 +773,6 @@ "schema": { "$ref": "#/definitions/WorkflowExecution" } - }, - "default": { - "description": "An unexpected error response", - "schema": { - "$ref": "#/definitions/grpc.gateway.runtime.Error" - } } }, "parameters": [ @@ -942,12 +805,6 @@ "schema": { "$ref": "#/definitions/WorkflowExecution" } - }, - "default": { - "description": "An unexpected error response", - "schema": { - "$ref": "#/definitions/grpc.gateway.runtime.Error" - } } }, "parameters": [ @@ -978,12 +835,6 @@ "schema": { "$ref": "#/definitions/ArtifactResponse" } - }, - "default": { - "description": "An unexpected error response", - "schema": { - "$ref": "#/definitions/grpc.gateway.runtime.Error" - } } }, "parameters": [ @@ -1020,12 +871,6 @@ "schema": { "properties": {} } - }, - "default": { - "description": "An unexpected error response", - "schema": { - "$ref": "#/definitions/grpc.gateway.runtime.Error" - } } }, "parameters": [ @@ -1063,12 +908,6 @@ "schema": { "$ref": "#/definitions/ListFilesResponse" } - }, - "default": { - "description": "An unexpected error response", - "schema": { - "$ref": "#/definitions/grpc.gateway.runtime.Error" - } } }, "parameters": [ @@ -1105,12 +944,6 @@ "schema": { "$ref": "#/definitions/GetLabelsResponse" } - }, - "default": { - "description": "An unexpected error response", - "schema": { - "$ref": "#/definitions/grpc.gateway.runtime.Error" - } } }, "parameters": [ @@ -1139,12 +972,6 @@ "schema": { "$ref": "#/definitions/GetLabelsResponse" } - }, - "default": { - "description": "An unexpected error response", - "schema": { - "$ref": "#/definitions/grpc.gateway.runtime.Error" - } } }, "parameters": [ @@ -1181,12 +1008,6 @@ "schema": { "$ref": "#/definitions/GetLabelsResponse" } - }, - "default": { - "description": "An unexpected error response", - "schema": { - "$ref": "#/definitions/grpc.gateway.runtime.Error" - } } }, "parameters": [ @@ -1225,12 +1046,6 @@ "schema": { "$ref": "#/definitions/GetLabelsResponse" } - }, - "default": { - "description": "An unexpected error response", - "schema": { - "$ref": "#/definitions/grpc.gateway.runtime.Error" - } } }, "parameters": [ @@ -1265,22 +1080,7 @@ "200": { "description": "A successful response.(streaming responses)", "schema": { - "type": "object", - "properties": { - "result": { - "$ref": "#/definitions/LogEntry" - }, - "error": { - "$ref": "#/definitions/grpc.gateway.runtime.StreamError" - } - }, - "title": "Stream result of LogEntry" - } - }, - "default": { - "description": "An unexpected error response", - "schema": { - "$ref": "#/definitions/grpc.gateway.runtime.Error" + "$ref": "#/x-stream-definitions/LogEntry" } } }, @@ -1324,12 +1124,6 @@ "schema": { "$ref": "#/definitions/GetWorkflowExecutionMetricsResponse" } - }, - "default": { - "description": "An unexpected error response", - "schema": { - "$ref": "#/definitions/grpc.gateway.runtime.Error" - } } }, "parameters": [ @@ -1366,12 +1160,6 @@ "schema": { "$ref": "#/definitions/WorkflowExecution" } - }, - "default": { - "description": "An unexpected error response", - "schema": { - "$ref": "#/definitions/grpc.gateway.runtime.Error" - } } }, "parameters": [ @@ -1402,12 +1190,6 @@ "schema": { "properties": {} } - }, - "default": { - "description": "An unexpected error response", - "schema": { - "$ref": "#/definitions/grpc.gateway.runtime.Error" - } } }, "parameters": [ @@ -1446,12 +1228,6 @@ "schema": { "properties": {} } - }, - "default": { - "description": "An unexpected error response", - "schema": { - "$ref": "#/definitions/grpc.gateway.runtime.Error" - } } }, "parameters": [ @@ -1480,22 +1256,7 @@ "200": { "description": "A successful response.(streaming responses)", "schema": { - "type": "object", - "properties": { - "result": { - "$ref": "#/definitions/WorkflowExecution" - }, - "error": { - "$ref": "#/definitions/grpc.gateway.runtime.StreamError" - } - }, - "title": "Stream result of WorkflowExecution" - } - }, - "default": { - "description": "An unexpected error response", - "schema": { - "$ref": "#/definitions/grpc.gateway.runtime.Error" + "$ref": "#/x-stream-definitions/WorkflowExecution" } } }, @@ -1527,12 +1288,6 @@ "schema": { "$ref": "#/definitions/ListWorkflowTemplatesResponse" } - }, - "default": { - "description": "An unexpected error response", - "schema": { - "$ref": "#/definitions/grpc.gateway.runtime.Error" - } } }, "parameters": [ @@ -1555,12 +1310,6 @@ "schema": { "$ref": "#/definitions/WorkflowTemplate" } - }, - "default": { - "description": "An unexpected error response", - "schema": { - "$ref": "#/definitions/grpc.gateway.runtime.Error" - } } }, "parameters": [ @@ -1593,12 +1342,6 @@ "schema": { "$ref": "#/definitions/GetLabelsResponse" } - }, - "default": { - "description": "An unexpected error response", - "schema": { - "$ref": "#/definitions/grpc.gateway.runtime.Error" - } } }, "parameters": [ @@ -1618,8 +1361,8 @@ "name": "version", "in": "query", "required": false, - "type": "integer", - "format": "int32" + "type": "string", + "format": "int64" }, { "name": "stats.total", @@ -1668,12 +1411,6 @@ "schema": { "$ref": "#/definitions/GetLabelsResponse" } - }, - "default": { - "description": "An unexpected error response", - "schema": { - "$ref": "#/definitions/grpc.gateway.runtime.Error" - } } }, "parameters": [ @@ -1710,12 +1447,6 @@ "schema": { "$ref": "#/definitions/GetLabelsResponse" } - }, - "default": { - "description": "An unexpected error response", - "schema": { - "$ref": "#/definitions/grpc.gateway.runtime.Error" - } } }, "parameters": [ @@ -1754,12 +1485,6 @@ "schema": { "$ref": "#/definitions/GetLabelsResponse" } - }, - "default": { - "description": "An unexpected error response", - "schema": { - "$ref": "#/definitions/grpc.gateway.runtime.Error" - } } }, "parameters": [ @@ -1796,12 +1521,6 @@ "schema": { "$ref": "#/definitions/WorkflowTemplate" } - }, - "default": { - "description": "An unexpected error response", - "schema": { - "$ref": "#/definitions/grpc.gateway.runtime.Error" - } } }, "parameters": [ @@ -1821,8 +1540,8 @@ "name": "version", "in": "query", "required": false, - "type": "integer", - "format": "int32" + "type": "string", + "format": "int64" } ], "tags": [ @@ -1839,12 +1558,6 @@ "schema": { "$ref": "#/definitions/ArchiveWorkflowTemplateResponse" } - }, - "default": { - "description": "An unexpected error response", - "schema": { - "$ref": "#/definitions/grpc.gateway.runtime.Error" - } } }, "parameters": [ @@ -1875,12 +1588,6 @@ "schema": { "$ref": "#/definitions/WorkflowTemplate" } - }, - "default": { - "description": "An unexpected error response", - "schema": { - "$ref": "#/definitions/grpc.gateway.runtime.Error" - } } }, "parameters": [ @@ -1906,8 +1613,8 @@ "name": "version", "in": "query", "required": false, - "type": "integer", - "format": "int32" + "type": "string", + "format": "int64" } ], "tags": [ @@ -1924,12 +1631,6 @@ "schema": { "$ref": "#/definitions/WorkflowTemplate" } - }, - "default": { - "description": "An unexpected error response", - "schema": { - "$ref": "#/definitions/grpc.gateway.runtime.Error" - } } }, "parameters": [ @@ -1955,8 +1656,8 @@ "name": "version", "in": "path", "required": true, - "type": "integer", - "format": "int32" + "type": "string", + "format": "int64" } ], "tags": [ @@ -1973,12 +1674,6 @@ "schema": { "$ref": "#/definitions/ListWorkflowTemplateVersionsResponse" } - }, - "default": { - "description": "An unexpected error response", - "schema": { - "$ref": "#/definitions/grpc.gateway.runtime.Error" - } } }, "parameters": [ @@ -2009,12 +1704,6 @@ "schema": { "$ref": "#/definitions/WorkflowTemplate" } - }, - "default": { - "description": "An unexpected error response", - "schema": { - "$ref": "#/definitions/grpc.gateway.runtime.Error" - } } }, "parameters": [ @@ -2034,8 +1723,8 @@ "name": "version", "in": "path", "required": true, - "type": "integer", - "format": "int32" + "type": "string", + "format": "int64" } ], "tags": [ @@ -2052,12 +1741,6 @@ "schema": { "$ref": "#/definitions/WorkflowTemplate" } - }, - "default": { - "description": "An unexpected error response", - "schema": { - "$ref": "#/definitions/grpc.gateway.runtime.Error" - } } }, "parameters": [ @@ -2096,12 +1779,6 @@ "schema": { "$ref": "#/definitions/WorkflowTemplate" } - }, - "default": { - "description": "An unexpected error response", - "schema": { - "$ref": "#/definitions/grpc.gateway.runtime.Error" - } } }, "parameters": [ @@ -2121,8 +1798,8 @@ "name": "workflowTemplate.version", "in": "path", "required": true, - "type": "integer", - "format": "int32" + "type": "string", + "format": "int64" }, { "name": "body", @@ -2607,12 +2284,12 @@ "type": "string" }, "version": { - "type": "integer", - "format": "int32" + "type": "string", + "format": "int64" }, "versions": { - "type": "integer", - "format": "int32" + "type": "string", + "format": "int64" }, "manifest": { "type": "string" @@ -2651,27 +2328,6 @@ }, "description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(&foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n\n Example 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\n Example 4: Pack and unpack a message in Go\n\n foo := &pb.Foo{...}\n any, err := ptypes.MarshalAny(foo)\n ...\n foo := &pb.Foo{}\n if err := ptypes.UnmarshalAny(any, foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\n\nJSON\n====\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": ,\n \"lastName\": \n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }" }, - "grpc.gateway.runtime.Error": { - "type": "object", - "properties": { - "error": { - "type": "string" - }, - "code": { - "type": "integer", - "format": "int32" - }, - "message": { - "type": "string" - }, - "details": { - "type": "array", - "items": { - "$ref": "#/definitions/google.protobuf.Any" - } - } - } - }, "grpc.gateway.runtime.StreamError": { "type": "object", "properties": { @@ -2698,6 +2354,32 @@ } } }, + "x-stream-definitions": { + "LogEntry": { + "type": "object", + "properties": { + "result": { + "$ref": "#/definitions/LogEntry" + }, + "error": { + "$ref": "#/definitions/grpc.gateway.runtime.StreamError" + } + }, + "title": "Stream result of LogEntry" + }, + "WorkflowExecution": { + "type": "object", + "properties": { + "result": { + "$ref": "#/definitions/WorkflowExecution" + }, + "error": { + "$ref": "#/definitions/grpc.gateway.runtime.StreamError" + } + }, + "title": "Stream result of WorkflowExecution" + } + }, "securityDefinitions": { "Bearer": { "type": "apiKey", diff --git a/api/auth.pb.go b/api/auth.pb.go index 3edb13b..271a4bc 100644 --- a/api/auth.pb.go +++ b/api/auth.pb.go @@ -1,242 +1,142 @@ // Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.21.0 -// protoc v3.11.3 // source: auth.proto package api import ( context "context" + fmt "fmt" proto "github.com/golang/protobuf/proto" empty "github.com/golang/protobuf/ptypes/empty" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" + math "math" ) -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf -// This is a compile-time assertion that a sufficiently up-to-date version -// of the legacy proto package is being used. -const _ = proto.ProtoPackageIsVersion4 +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package type TokenWrapper struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` + Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *TokenWrapper) Reset() { - *x = TokenWrapper{} - if protoimpl.UnsafeEnabled { - mi := &file_auth_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *TokenWrapper) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*TokenWrapper) ProtoMessage() {} - -func (x *TokenWrapper) ProtoReflect() protoreflect.Message { - mi := &file_auth_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use TokenWrapper.ProtoReflect.Descriptor instead. +func (m *TokenWrapper) Reset() { *m = TokenWrapper{} } +func (m *TokenWrapper) String() string { return proto.CompactTextString(m) } +func (*TokenWrapper) ProtoMessage() {} func (*TokenWrapper) Descriptor() ([]byte, []int) { - return file_auth_proto_rawDescGZIP(), []int{0} + return fileDescriptor_8bbd6f3875b0e874, []int{0} } -func (x *TokenWrapper) GetToken() string { - if x != nil { - return x.Token +func (m *TokenWrapper) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_TokenWrapper.Unmarshal(m, b) +} +func (m *TokenWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_TokenWrapper.Marshal(b, m, deterministic) +} +func (m *TokenWrapper) XXX_Merge(src proto.Message) { + xxx_messageInfo_TokenWrapper.Merge(m, src) +} +func (m *TokenWrapper) XXX_Size() int { + return xxx_messageInfo_TokenWrapper.Size(m) +} +func (m *TokenWrapper) XXX_DiscardUnknown() { + xxx_messageInfo_TokenWrapper.DiscardUnknown(m) +} + +var xxx_messageInfo_TokenWrapper proto.InternalMessageInfo + +func (m *TokenWrapper) GetToken() string { + if m != nil { + return m.Token } return "" } type IsValidTokenRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Token *TokenWrapper `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` + Token *TokenWrapper `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *IsValidTokenRequest) Reset() { - *x = IsValidTokenRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_auth_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *IsValidTokenRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*IsValidTokenRequest) ProtoMessage() {} - -func (x *IsValidTokenRequest) ProtoReflect() protoreflect.Message { - mi := &file_auth_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use IsValidTokenRequest.ProtoReflect.Descriptor instead. +func (m *IsValidTokenRequest) Reset() { *m = IsValidTokenRequest{} } +func (m *IsValidTokenRequest) String() string { return proto.CompactTextString(m) } +func (*IsValidTokenRequest) ProtoMessage() {} func (*IsValidTokenRequest) Descriptor() ([]byte, []int) { - return file_auth_proto_rawDescGZIP(), []int{1} + return fileDescriptor_8bbd6f3875b0e874, []int{1} } -func (x *IsValidTokenRequest) GetToken() *TokenWrapper { - if x != nil { - return x.Token +func (m *IsValidTokenRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_IsValidTokenRequest.Unmarshal(m, b) +} +func (m *IsValidTokenRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_IsValidTokenRequest.Marshal(b, m, deterministic) +} +func (m *IsValidTokenRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_IsValidTokenRequest.Merge(m, src) +} +func (m *IsValidTokenRequest) XXX_Size() int { + return xxx_messageInfo_IsValidTokenRequest.Size(m) +} +func (m *IsValidTokenRequest) XXX_DiscardUnknown() { + xxx_messageInfo_IsValidTokenRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_IsValidTokenRequest proto.InternalMessageInfo + +func (m *IsValidTokenRequest) GetToken() *TokenWrapper { + if m != nil { + return m.Token } return nil } -var File_auth_proto protoreflect.FileDescriptor - -var file_auth_proto_rawDesc = []byte{ - 0x0a, 0x0a, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x03, 0x61, 0x70, - 0x69, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, - 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, - 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, - 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x24, 0x0a, 0x0c, - 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x57, 0x72, 0x61, 0x70, 0x70, 0x65, 0x72, 0x12, 0x14, 0x0a, 0x05, - 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x6f, 0x6b, - 0x65, 0x6e, 0x22, 0x3e, 0x0a, 0x13, 0x49, 0x73, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x54, 0x6f, 0x6b, - 0x65, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x27, 0x0a, 0x05, 0x74, 0x6f, 0x6b, - 0x65, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x54, - 0x6f, 0x6b, 0x65, 0x6e, 0x57, 0x72, 0x61, 0x70, 0x70, 0x65, 0x72, 0x52, 0x05, 0x74, 0x6f, 0x6b, - 0x65, 0x6e, 0x32, 0x78, 0x0a, 0x0b, 0x41, 0x75, 0x74, 0x68, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, - 0x65, 0x12, 0x69, 0x0a, 0x0c, 0x49, 0x73, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x54, 0x6f, 0x6b, 0x65, - 0x6e, 0x12, 0x18, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x49, 0x73, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x54, - 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, - 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, - 0x70, 0x74, 0x79, 0x22, 0x27, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x21, 0x22, 0x18, 0x2f, 0x61, 0x70, - 0x69, 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, - 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x3a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x62, 0x06, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x33, +func init() { + proto.RegisterType((*TokenWrapper)(nil), "api.TokenWrapper") + proto.RegisterType((*IsValidTokenRequest)(nil), "api.IsValidTokenRequest") } -var ( - file_auth_proto_rawDescOnce sync.Once - file_auth_proto_rawDescData = file_auth_proto_rawDesc -) +func init() { proto.RegisterFile("auth.proto", fileDescriptor_8bbd6f3875b0e874) } -func file_auth_proto_rawDescGZIP() []byte { - file_auth_proto_rawDescOnce.Do(func() { - file_auth_proto_rawDescData = protoimpl.X.CompressGZIP(file_auth_proto_rawDescData) - }) - return file_auth_proto_rawDescData -} - -var file_auth_proto_msgTypes = make([]protoimpl.MessageInfo, 2) -var file_auth_proto_goTypes = []interface{}{ - (*TokenWrapper)(nil), // 0: api.TokenWrapper - (*IsValidTokenRequest)(nil), // 1: api.IsValidTokenRequest - (*empty.Empty)(nil), // 2: google.protobuf.Empty -} -var file_auth_proto_depIdxs = []int32{ - 0, // 0: api.IsValidTokenRequest.token:type_name -> api.TokenWrapper - 1, // 1: api.AuthService.IsValidToken:input_type -> api.IsValidTokenRequest - 2, // 2: api.AuthService.IsValidToken:output_type -> google.protobuf.Empty - 2, // [2:3] is the sub-list for method output_type - 1, // [1:2] is the sub-list for method input_type - 1, // [1:1] is the sub-list for extension type_name - 1, // [1:1] is the sub-list for extension extendee - 0, // [0:1] is the sub-list for field type_name -} - -func init() { file_auth_proto_init() } -func file_auth_proto_init() { - if File_auth_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_auth_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TokenWrapper); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_auth_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*IsValidTokenRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_auth_proto_rawDesc, - NumEnums: 0, - NumMessages: 2, - NumExtensions: 0, - NumServices: 1, - }, - GoTypes: file_auth_proto_goTypes, - DependencyIndexes: file_auth_proto_depIdxs, - MessageInfos: file_auth_proto_msgTypes, - }.Build() - File_auth_proto = out.File - file_auth_proto_rawDesc = nil - file_auth_proto_goTypes = nil - file_auth_proto_depIdxs = nil +var fileDescriptor_8bbd6f3875b0e874 = []byte{ + // 228 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xe2, 0x4a, 0x2c, 0x2d, 0xc9, + 0xd0, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x62, 0x4e, 0x2c, 0xc8, 0x94, 0x92, 0x49, 0xcf, 0xcf, + 0x4f, 0xcf, 0x49, 0xd5, 0x4f, 0x2c, 0xc8, 0xd4, 0x4f, 0xcc, 0xcb, 0xcb, 0x2f, 0x49, 0x2c, 0xc9, + 0xcc, 0xcf, 0x2b, 0x86, 0x28, 0x91, 0x92, 0x86, 0xca, 0x82, 0x79, 0x49, 0xa5, 0x69, 0xfa, 0xa9, + 0xb9, 0x05, 0x25, 0x95, 0x10, 0x49, 0x25, 0x15, 0x2e, 0x9e, 0x90, 0xfc, 0xec, 0xd4, 0xbc, 0xf0, + 0xa2, 0xc4, 0x82, 0x82, 0xd4, 0x22, 0x21, 0x11, 0x2e, 0xd6, 0x12, 0x10, 0x5f, 0x82, 0x51, 0x81, + 0x51, 0x83, 0x33, 0x08, 0xc2, 0x51, 0xb2, 0xe3, 0x12, 0xf6, 0x2c, 0x0e, 0x4b, 0xcc, 0xc9, 0x4c, + 0x01, 0x2b, 0x0e, 0x4a, 0x2d, 0x2c, 0x4d, 0x2d, 0x2e, 0x11, 0x52, 0x47, 0x56, 0xcc, 0x6d, 0x24, + 0xa8, 0x97, 0x58, 0x90, 0xa9, 0x87, 0x6c, 0x1c, 0x54, 0xbf, 0x51, 0x05, 0x17, 0xb7, 0x63, 0x69, + 0x49, 0x46, 0x70, 0x6a, 0x51, 0x59, 0x66, 0x72, 0xaa, 0x50, 0x26, 0x17, 0x0f, 0xb2, 0x71, 0x42, + 0x12, 0x60, 0x8d, 0x58, 0x6c, 0x90, 0x12, 0xd3, 0x83, 0x38, 0x5e, 0x0f, 0xe6, 0x78, 0x3d, 0x57, + 0x90, 0xe3, 0x95, 0xd4, 0x9b, 0x2e, 0x3f, 0x99, 0xcc, 0xa4, 0xa8, 0x24, 0x01, 0xf2, 0x73, 0xb1, + 0x7e, 0x99, 0x61, 0x52, 0x6a, 0x49, 0xa2, 0xa1, 0x3e, 0x28, 0x60, 0xf4, 0xc1, 0x56, 0x5a, 0x41, + 0x6c, 0x4e, 0x62, 0x03, 0x6b, 0x34, 0x06, 0x04, 0x00, 0x00, 0xff, 0xff, 0x8e, 0xdc, 0xc7, 0x76, + 0x34, 0x01, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. var _ context.Context -var _ grpc.ClientConnInterface +var _ grpc.ClientConn // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package it is being compiled against. -const _ = grpc.SupportPackageIsVersion6 +const _ = grpc.SupportPackageIsVersion4 // AuthServiceClient is the client API for AuthService service. // @@ -246,10 +146,10 @@ type AuthServiceClient interface { } type authServiceClient struct { - cc grpc.ClientConnInterface + cc *grpc.ClientConn } -func NewAuthServiceClient(cc grpc.ClientConnInterface) AuthServiceClient { +func NewAuthServiceClient(cc *grpc.ClientConn) AuthServiceClient { return &authServiceClient{cc} } @@ -271,7 +171,7 @@ type AuthServiceServer interface { type UnimplementedAuthServiceServer struct { } -func (*UnimplementedAuthServiceServer) IsValidToken(context.Context, *IsValidTokenRequest) (*empty.Empty, error) { +func (*UnimplementedAuthServiceServer) IsValidToken(ctx context.Context, req *IsValidTokenRequest) (*empty.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method IsValidToken not implemented") } diff --git a/api/cron_workflow.pb.go b/api/cron_workflow.pb.go index 6c8498d..da76c2f 100644 --- a/api/cron_workflow.pb.go +++ b/api/cron_workflow.pb.go @@ -1,419 +1,362 @@ // Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.21.0 -// protoc v3.11.3 // source: cron_workflow.proto package api import ( context "context" + fmt "fmt" proto "github.com/golang/protobuf/proto" empty "github.com/golang/protobuf/ptypes/empty" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" + math "math" ) -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf -// This is a compile-time assertion that a sufficiently up-to-date version -// of the legacy proto package is being used. -const _ = proto.ProtoPackageIsVersion4 +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package type TerminateCronWorkflowRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *TerminateCronWorkflowRequest) Reset() { - *x = TerminateCronWorkflowRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_cron_workflow_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *TerminateCronWorkflowRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*TerminateCronWorkflowRequest) ProtoMessage() {} - -func (x *TerminateCronWorkflowRequest) ProtoReflect() protoreflect.Message { - mi := &file_cron_workflow_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use TerminateCronWorkflowRequest.ProtoReflect.Descriptor instead. +func (m *TerminateCronWorkflowRequest) Reset() { *m = TerminateCronWorkflowRequest{} } +func (m *TerminateCronWorkflowRequest) String() string { return proto.CompactTextString(m) } +func (*TerminateCronWorkflowRequest) ProtoMessage() {} func (*TerminateCronWorkflowRequest) Descriptor() ([]byte, []int) { - return file_cron_workflow_proto_rawDescGZIP(), []int{0} + return fileDescriptor_989cccaad551a50c, []int{0} } -func (x *TerminateCronWorkflowRequest) GetNamespace() string { - if x != nil { - return x.Namespace +func (m *TerminateCronWorkflowRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_TerminateCronWorkflowRequest.Unmarshal(m, b) +} +func (m *TerminateCronWorkflowRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_TerminateCronWorkflowRequest.Marshal(b, m, deterministic) +} +func (m *TerminateCronWorkflowRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_TerminateCronWorkflowRequest.Merge(m, src) +} +func (m *TerminateCronWorkflowRequest) XXX_Size() int { + return xxx_messageInfo_TerminateCronWorkflowRequest.Size(m) +} +func (m *TerminateCronWorkflowRequest) XXX_DiscardUnknown() { + xxx_messageInfo_TerminateCronWorkflowRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_TerminateCronWorkflowRequest proto.InternalMessageInfo + +func (m *TerminateCronWorkflowRequest) GetNamespace() string { + if m != nil { + return m.Namespace } return "" } -func (x *TerminateCronWorkflowRequest) GetName() string { - if x != nil { - return x.Name +func (m *TerminateCronWorkflowRequest) GetName() string { + if m != nil { + return m.Name } return "" } type GetCronWorkflowRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *GetCronWorkflowRequest) Reset() { - *x = GetCronWorkflowRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_cron_workflow_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetCronWorkflowRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetCronWorkflowRequest) ProtoMessage() {} - -func (x *GetCronWorkflowRequest) ProtoReflect() protoreflect.Message { - mi := &file_cron_workflow_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetCronWorkflowRequest.ProtoReflect.Descriptor instead. +func (m *GetCronWorkflowRequest) Reset() { *m = GetCronWorkflowRequest{} } +func (m *GetCronWorkflowRequest) String() string { return proto.CompactTextString(m) } +func (*GetCronWorkflowRequest) ProtoMessage() {} func (*GetCronWorkflowRequest) Descriptor() ([]byte, []int) { - return file_cron_workflow_proto_rawDescGZIP(), []int{1} + return fileDescriptor_989cccaad551a50c, []int{1} } -func (x *GetCronWorkflowRequest) GetNamespace() string { - if x != nil { - return x.Namespace +func (m *GetCronWorkflowRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetCronWorkflowRequest.Unmarshal(m, b) +} +func (m *GetCronWorkflowRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetCronWorkflowRequest.Marshal(b, m, deterministic) +} +func (m *GetCronWorkflowRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetCronWorkflowRequest.Merge(m, src) +} +func (m *GetCronWorkflowRequest) XXX_Size() int { + return xxx_messageInfo_GetCronWorkflowRequest.Size(m) +} +func (m *GetCronWorkflowRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetCronWorkflowRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetCronWorkflowRequest proto.InternalMessageInfo + +func (m *GetCronWorkflowRequest) GetNamespace() string { + if m != nil { + return m.Namespace } return "" } -func (x *GetCronWorkflowRequest) GetName() string { - if x != nil { - return x.Name +func (m *GetCronWorkflowRequest) GetName() string { + if m != nil { + return m.Name } return "" } type CreateCronWorkflowRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` - CronWorkflow *CronWorkflow `protobuf:"bytes,2,opt,name=cronWorkflow,proto3" json:"cronWorkflow,omitempty"` + Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` + CronWorkflow *CronWorkflow `protobuf:"bytes,2,opt,name=cronWorkflow,proto3" json:"cronWorkflow,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *CreateCronWorkflowRequest) Reset() { - *x = CreateCronWorkflowRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_cron_workflow_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CreateCronWorkflowRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CreateCronWorkflowRequest) ProtoMessage() {} - -func (x *CreateCronWorkflowRequest) ProtoReflect() protoreflect.Message { - mi := &file_cron_workflow_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CreateCronWorkflowRequest.ProtoReflect.Descriptor instead. +func (m *CreateCronWorkflowRequest) Reset() { *m = CreateCronWorkflowRequest{} } +func (m *CreateCronWorkflowRequest) String() string { return proto.CompactTextString(m) } +func (*CreateCronWorkflowRequest) ProtoMessage() {} func (*CreateCronWorkflowRequest) Descriptor() ([]byte, []int) { - return file_cron_workflow_proto_rawDescGZIP(), []int{2} + return fileDescriptor_989cccaad551a50c, []int{2} } -func (x *CreateCronWorkflowRequest) GetNamespace() string { - if x != nil { - return x.Namespace +func (m *CreateCronWorkflowRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CreateCronWorkflowRequest.Unmarshal(m, b) +} +func (m *CreateCronWorkflowRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CreateCronWorkflowRequest.Marshal(b, m, deterministic) +} +func (m *CreateCronWorkflowRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateCronWorkflowRequest.Merge(m, src) +} +func (m *CreateCronWorkflowRequest) XXX_Size() int { + return xxx_messageInfo_CreateCronWorkflowRequest.Size(m) +} +func (m *CreateCronWorkflowRequest) XXX_DiscardUnknown() { + xxx_messageInfo_CreateCronWorkflowRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_CreateCronWorkflowRequest proto.InternalMessageInfo + +func (m *CreateCronWorkflowRequest) GetNamespace() string { + if m != nil { + return m.Namespace } return "" } -func (x *CreateCronWorkflowRequest) GetCronWorkflow() *CronWorkflow { - if x != nil { - return x.CronWorkflow +func (m *CreateCronWorkflowRequest) GetCronWorkflow() *CronWorkflow { + if m != nil { + return m.CronWorkflow } return nil } type UpdateCronWorkflowRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - CronWorkflow *CronWorkflow `protobuf:"bytes,3,opt,name=cronWorkflow,proto3" json:"cronWorkflow,omitempty"` + Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + CronWorkflow *CronWorkflow `protobuf:"bytes,3,opt,name=cronWorkflow,proto3" json:"cronWorkflow,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *UpdateCronWorkflowRequest) Reset() { - *x = UpdateCronWorkflowRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_cron_workflow_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UpdateCronWorkflowRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UpdateCronWorkflowRequest) ProtoMessage() {} - -func (x *UpdateCronWorkflowRequest) ProtoReflect() protoreflect.Message { - mi := &file_cron_workflow_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UpdateCronWorkflowRequest.ProtoReflect.Descriptor instead. +func (m *UpdateCronWorkflowRequest) Reset() { *m = UpdateCronWorkflowRequest{} } +func (m *UpdateCronWorkflowRequest) String() string { return proto.CompactTextString(m) } +func (*UpdateCronWorkflowRequest) ProtoMessage() {} func (*UpdateCronWorkflowRequest) Descriptor() ([]byte, []int) { - return file_cron_workflow_proto_rawDescGZIP(), []int{3} + return fileDescriptor_989cccaad551a50c, []int{3} } -func (x *UpdateCronWorkflowRequest) GetNamespace() string { - if x != nil { - return x.Namespace +func (m *UpdateCronWorkflowRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UpdateCronWorkflowRequest.Unmarshal(m, b) +} +func (m *UpdateCronWorkflowRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UpdateCronWorkflowRequest.Marshal(b, m, deterministic) +} +func (m *UpdateCronWorkflowRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateCronWorkflowRequest.Merge(m, src) +} +func (m *UpdateCronWorkflowRequest) XXX_Size() int { + return xxx_messageInfo_UpdateCronWorkflowRequest.Size(m) +} +func (m *UpdateCronWorkflowRequest) XXX_DiscardUnknown() { + xxx_messageInfo_UpdateCronWorkflowRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_UpdateCronWorkflowRequest proto.InternalMessageInfo + +func (m *UpdateCronWorkflowRequest) GetNamespace() string { + if m != nil { + return m.Namespace } return "" } -func (x *UpdateCronWorkflowRequest) GetName() string { - if x != nil { - return x.Name +func (m *UpdateCronWorkflowRequest) GetName() string { + if m != nil { + return m.Name } return "" } -func (x *UpdateCronWorkflowRequest) GetCronWorkflow() *CronWorkflow { - if x != nil { - return x.CronWorkflow +func (m *UpdateCronWorkflowRequest) GetCronWorkflow() *CronWorkflow { + if m != nil { + return m.CronWorkflow } return nil } type ListCronWorkflowRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` - WorkflowTemplateUid string `protobuf:"bytes,2,opt,name=workflow_template_uid,json=workflowTemplateUid,proto3" json:"workflow_template_uid,omitempty"` - PageSize int32 `protobuf:"varint,3,opt,name=pageSize,proto3" json:"pageSize,omitempty"` - Page int32 `protobuf:"varint,4,opt,name=page,proto3" json:"page,omitempty"` + Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` + WorkflowTemplateUid string `protobuf:"bytes,2,opt,name=workflow_template_uid,json=workflowTemplateUid,proto3" json:"workflow_template_uid,omitempty"` + PageSize int32 `protobuf:"varint,3,opt,name=pageSize,proto3" json:"pageSize,omitempty"` + Page int32 `protobuf:"varint,4,opt,name=page,proto3" json:"page,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *ListCronWorkflowRequest) Reset() { - *x = ListCronWorkflowRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_cron_workflow_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ListCronWorkflowRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListCronWorkflowRequest) ProtoMessage() {} - -func (x *ListCronWorkflowRequest) ProtoReflect() protoreflect.Message { - mi := &file_cron_workflow_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ListCronWorkflowRequest.ProtoReflect.Descriptor instead. +func (m *ListCronWorkflowRequest) Reset() { *m = ListCronWorkflowRequest{} } +func (m *ListCronWorkflowRequest) String() string { return proto.CompactTextString(m) } +func (*ListCronWorkflowRequest) ProtoMessage() {} func (*ListCronWorkflowRequest) Descriptor() ([]byte, []int) { - return file_cron_workflow_proto_rawDescGZIP(), []int{4} + return fileDescriptor_989cccaad551a50c, []int{4} } -func (x *ListCronWorkflowRequest) GetNamespace() string { - if x != nil { - return x.Namespace +func (m *ListCronWorkflowRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListCronWorkflowRequest.Unmarshal(m, b) +} +func (m *ListCronWorkflowRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListCronWorkflowRequest.Marshal(b, m, deterministic) +} +func (m *ListCronWorkflowRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListCronWorkflowRequest.Merge(m, src) +} +func (m *ListCronWorkflowRequest) XXX_Size() int { + return xxx_messageInfo_ListCronWorkflowRequest.Size(m) +} +func (m *ListCronWorkflowRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ListCronWorkflowRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_ListCronWorkflowRequest proto.InternalMessageInfo + +func (m *ListCronWorkflowRequest) GetNamespace() string { + if m != nil { + return m.Namespace } return "" } -func (x *ListCronWorkflowRequest) GetWorkflowTemplateUid() string { - if x != nil { - return x.WorkflowTemplateUid +func (m *ListCronWorkflowRequest) GetWorkflowTemplateUid() string { + if m != nil { + return m.WorkflowTemplateUid } return "" } -func (x *ListCronWorkflowRequest) GetPageSize() int32 { - if x != nil { - return x.PageSize +func (m *ListCronWorkflowRequest) GetPageSize() int32 { + if m != nil { + return m.PageSize } return 0 } -func (x *ListCronWorkflowRequest) GetPage() int32 { - if x != nil { - return x.Page +func (m *ListCronWorkflowRequest) GetPage() int32 { + if m != nil { + return m.Page } return 0 } type ListCronWorkflowsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Count int32 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"` - CronWorkflows []*CronWorkflow `protobuf:"bytes,2,rep,name=cronWorkflows,proto3" json:"cronWorkflows,omitempty"` - Page int32 `protobuf:"varint,3,opt,name=page,proto3" json:"page,omitempty"` - Pages int32 `protobuf:"varint,4,opt,name=pages,proto3" json:"pages,omitempty"` - TotalCount int32 `protobuf:"varint,5,opt,name=totalCount,proto3" json:"totalCount,omitempty"` + Count int32 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"` + CronWorkflows []*CronWorkflow `protobuf:"bytes,2,rep,name=cronWorkflows,proto3" json:"cronWorkflows,omitempty"` + Page int32 `protobuf:"varint,3,opt,name=page,proto3" json:"page,omitempty"` + Pages int32 `protobuf:"varint,4,opt,name=pages,proto3" json:"pages,omitempty"` + TotalCount int32 `protobuf:"varint,5,opt,name=totalCount,proto3" json:"totalCount,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *ListCronWorkflowsResponse) Reset() { - *x = ListCronWorkflowsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_cron_workflow_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ListCronWorkflowsResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListCronWorkflowsResponse) ProtoMessage() {} - -func (x *ListCronWorkflowsResponse) ProtoReflect() protoreflect.Message { - mi := &file_cron_workflow_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ListCronWorkflowsResponse.ProtoReflect.Descriptor instead. +func (m *ListCronWorkflowsResponse) Reset() { *m = ListCronWorkflowsResponse{} } +func (m *ListCronWorkflowsResponse) String() string { return proto.CompactTextString(m) } +func (*ListCronWorkflowsResponse) ProtoMessage() {} func (*ListCronWorkflowsResponse) Descriptor() ([]byte, []int) { - return file_cron_workflow_proto_rawDescGZIP(), []int{5} + return fileDescriptor_989cccaad551a50c, []int{5} } -func (x *ListCronWorkflowsResponse) GetCount() int32 { - if x != nil { - return x.Count +func (m *ListCronWorkflowsResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListCronWorkflowsResponse.Unmarshal(m, b) +} +func (m *ListCronWorkflowsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListCronWorkflowsResponse.Marshal(b, m, deterministic) +} +func (m *ListCronWorkflowsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListCronWorkflowsResponse.Merge(m, src) +} +func (m *ListCronWorkflowsResponse) XXX_Size() int { + return xxx_messageInfo_ListCronWorkflowsResponse.Size(m) +} +func (m *ListCronWorkflowsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ListCronWorkflowsResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_ListCronWorkflowsResponse proto.InternalMessageInfo + +func (m *ListCronWorkflowsResponse) GetCount() int32 { + if m != nil { + return m.Count } return 0 } -func (x *ListCronWorkflowsResponse) GetCronWorkflows() []*CronWorkflow { - if x != nil { - return x.CronWorkflows +func (m *ListCronWorkflowsResponse) GetCronWorkflows() []*CronWorkflow { + if m != nil { + return m.CronWorkflows } return nil } -func (x *ListCronWorkflowsResponse) GetPage() int32 { - if x != nil { - return x.Page +func (m *ListCronWorkflowsResponse) GetPage() int32 { + if m != nil { + return m.Page } return 0 } -func (x *ListCronWorkflowsResponse) GetPages() int32 { - if x != nil { - return x.Pages +func (m *ListCronWorkflowsResponse) GetPages() int32 { + if m != nil { + return m.Pages } return 0 } -func (x *ListCronWorkflowsResponse) GetTotalCount() int32 { - if x != nil { - return x.TotalCount +func (m *ListCronWorkflowsResponse) GetTotalCount() int32 { + if m != nil { + return m.TotalCount } return 0 } type CronWorkflow struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Schedule string `protobuf:"bytes,2,opt,name=schedule,proto3" json:"schedule,omitempty"` Timezone string `protobuf:"bytes,3,opt,name=timezone,proto3" json:"timezone,omitempty"` @@ -423,453 +366,175 @@ type CronWorkflow struct { SuccessfulJobsHistoryLimit int32 `protobuf:"varint,7,opt,name=successfulJobsHistoryLimit,proto3" json:"successfulJobsHistoryLimit,omitempty"` FailedJobsHistoryLimit int32 `protobuf:"varint,8,opt,name=failedJobsHistoryLimit,proto3" json:"failedJobsHistoryLimit,omitempty"` WorkflowExecution *WorkflowExecution `protobuf:"bytes,9,opt,name=workflowExecution,proto3" json:"workflowExecution,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *CronWorkflow) Reset() { - *x = CronWorkflow{} - if protoimpl.UnsafeEnabled { - mi := &file_cron_workflow_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CronWorkflow) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CronWorkflow) ProtoMessage() {} - -func (x *CronWorkflow) ProtoReflect() protoreflect.Message { - mi := &file_cron_workflow_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CronWorkflow.ProtoReflect.Descriptor instead. +func (m *CronWorkflow) Reset() { *m = CronWorkflow{} } +func (m *CronWorkflow) String() string { return proto.CompactTextString(m) } +func (*CronWorkflow) ProtoMessage() {} func (*CronWorkflow) Descriptor() ([]byte, []int) { - return file_cron_workflow_proto_rawDescGZIP(), []int{6} + return fileDescriptor_989cccaad551a50c, []int{6} } -func (x *CronWorkflow) GetName() string { - if x != nil { - return x.Name +func (m *CronWorkflow) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CronWorkflow.Unmarshal(m, b) +} +func (m *CronWorkflow) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CronWorkflow.Marshal(b, m, deterministic) +} +func (m *CronWorkflow) XXX_Merge(src proto.Message) { + xxx_messageInfo_CronWorkflow.Merge(m, src) +} +func (m *CronWorkflow) XXX_Size() int { + return xxx_messageInfo_CronWorkflow.Size(m) +} +func (m *CronWorkflow) XXX_DiscardUnknown() { + xxx_messageInfo_CronWorkflow.DiscardUnknown(m) +} + +var xxx_messageInfo_CronWorkflow proto.InternalMessageInfo + +func (m *CronWorkflow) GetName() string { + if m != nil { + return m.Name } return "" } -func (x *CronWorkflow) GetSchedule() string { - if x != nil { - return x.Schedule +func (m *CronWorkflow) GetSchedule() string { + if m != nil { + return m.Schedule } return "" } -func (x *CronWorkflow) GetTimezone() string { - if x != nil { - return x.Timezone +func (m *CronWorkflow) GetTimezone() string { + if m != nil { + return m.Timezone } return "" } -func (x *CronWorkflow) GetSuspend() bool { - if x != nil { - return x.Suspend +func (m *CronWorkflow) GetSuspend() bool { + if m != nil { + return m.Suspend } return false } -func (x *CronWorkflow) GetConcurrencyPolicy() string { - if x != nil { - return x.ConcurrencyPolicy +func (m *CronWorkflow) GetConcurrencyPolicy() string { + if m != nil { + return m.ConcurrencyPolicy } return "" } -func (x *CronWorkflow) GetStartingDeadlineSeconds() int64 { - if x != nil { - return x.StartingDeadlineSeconds +func (m *CronWorkflow) GetStartingDeadlineSeconds() int64 { + if m != nil { + return m.StartingDeadlineSeconds } return 0 } -func (x *CronWorkflow) GetSuccessfulJobsHistoryLimit() int32 { - if x != nil { - return x.SuccessfulJobsHistoryLimit +func (m *CronWorkflow) GetSuccessfulJobsHistoryLimit() int32 { + if m != nil { + return m.SuccessfulJobsHistoryLimit } return 0 } -func (x *CronWorkflow) GetFailedJobsHistoryLimit() int32 { - if x != nil { - return x.FailedJobsHistoryLimit +func (m *CronWorkflow) GetFailedJobsHistoryLimit() int32 { + if m != nil { + return m.FailedJobsHistoryLimit } return 0 } -func (x *CronWorkflow) GetWorkflowExecution() *WorkflowExecution { - if x != nil { - return x.WorkflowExecution +func (m *CronWorkflow) GetWorkflowExecution() *WorkflowExecution { + if m != nil { + return m.WorkflowExecution } return nil } -var File_cron_workflow_proto protoreflect.FileDescriptor - -var file_cron_workflow_proto_rawDesc = []byte{ - 0x0a, 0x13, 0x63, 0x72, 0x6f, 0x6e, 0x5f, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x03, 0x61, 0x70, 0x69, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, - 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, - 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0e, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0b, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x22, 0x50, 0x0a, 0x1c, 0x54, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x43, - 0x72, 0x6f, 0x6e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, - 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, - 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x4a, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x43, 0x72, 0x6f, 0x6e, 0x57, - 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, - 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x12, 0x0a, 0x04, - 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, - 0x22, 0x70, 0x0a, 0x19, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x72, 0x6f, 0x6e, 0x57, 0x6f, - 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a, - 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x35, 0x0a, 0x0c, 0x63, - 0x72, 0x6f, 0x6e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x11, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x43, 0x72, 0x6f, 0x6e, 0x57, 0x6f, 0x72, 0x6b, - 0x66, 0x6c, 0x6f, 0x77, 0x52, 0x0c, 0x63, 0x72, 0x6f, 0x6e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, - 0x6f, 0x77, 0x22, 0x84, 0x01, 0x0a, 0x19, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x72, 0x6f, - 0x6e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x12, 0x1c, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x12, - 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, - 0x6d, 0x65, 0x12, 0x35, 0x0a, 0x0c, 0x63, 0x72, 0x6f, 0x6e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, - 0x6f, 0x77, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x43, - 0x72, 0x6f, 0x6e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x52, 0x0c, 0x63, 0x72, 0x6f, - 0x6e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x22, 0x9b, 0x01, 0x0a, 0x17, 0x4c, 0x69, - 0x73, 0x74, 0x43, 0x72, 0x6f, 0x6e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, - 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, - 0x61, 0x63, 0x65, 0x12, 0x32, 0x0a, 0x15, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x5f, - 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x5f, 0x75, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x13, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x54, 0x65, 0x6d, 0x70, - 0x6c, 0x61, 0x74, 0x65, 0x55, 0x69, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, - 0x69, 0x7a, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, - 0x69, 0x7a, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x67, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, - 0x05, 0x52, 0x04, 0x70, 0x61, 0x67, 0x65, 0x22, 0xb4, 0x01, 0x0a, 0x19, 0x4c, 0x69, 0x73, 0x74, - 0x43, 0x72, 0x6f, 0x6e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x73, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x37, 0x0a, 0x0d, 0x63, - 0x72, 0x6f, 0x6e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x73, 0x18, 0x02, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x43, 0x72, 0x6f, 0x6e, 0x57, 0x6f, 0x72, - 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x52, 0x0d, 0x63, 0x72, 0x6f, 0x6e, 0x57, 0x6f, 0x72, 0x6b, 0x66, - 0x6c, 0x6f, 0x77, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x67, 0x65, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x05, 0x52, 0x04, 0x70, 0x61, 0x67, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x61, 0x67, 0x65, - 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x70, 0x61, 0x67, 0x65, 0x73, 0x12, 0x1e, - 0x0a, 0x0a, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01, - 0x28, 0x05, 0x52, 0x0a, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x9a, - 0x03, 0x0a, 0x0c, 0x43, 0x72, 0x6f, 0x6e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x12, - 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, - 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x12, - 0x1a, 0x0a, 0x08, 0x74, 0x69, 0x6d, 0x65, 0x7a, 0x6f, 0x6e, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x08, 0x74, 0x69, 0x6d, 0x65, 0x7a, 0x6f, 0x6e, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x73, - 0x75, 0x73, 0x70, 0x65, 0x6e, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x73, 0x75, - 0x73, 0x70, 0x65, 0x6e, 0x64, 0x12, 0x2c, 0x0a, 0x11, 0x63, 0x6f, 0x6e, 0x63, 0x75, 0x72, 0x72, - 0x65, 0x6e, 0x63, 0x79, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x11, 0x63, 0x6f, 0x6e, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x79, 0x50, 0x6f, 0x6c, - 0x69, 0x63, 0x79, 0x12, 0x38, 0x0a, 0x17, 0x73, 0x74, 0x61, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x44, - 0x65, 0x61, 0x64, 0x6c, 0x69, 0x6e, 0x65, 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x18, 0x06, - 0x20, 0x01, 0x28, 0x03, 0x52, 0x17, 0x73, 0x74, 0x61, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x44, 0x65, - 0x61, 0x64, 0x6c, 0x69, 0x6e, 0x65, 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x12, 0x3e, 0x0a, - 0x1a, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x66, 0x75, 0x6c, 0x4a, 0x6f, 0x62, 0x73, 0x48, - 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, - 0x05, 0x52, 0x1a, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x66, 0x75, 0x6c, 0x4a, 0x6f, 0x62, - 0x73, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x36, 0x0a, - 0x16, 0x66, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x4a, 0x6f, 0x62, 0x73, 0x48, 0x69, 0x73, 0x74, 0x6f, - 0x72, 0x79, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x05, 0x52, 0x16, 0x66, - 0x61, 0x69, 0x6c, 0x65, 0x64, 0x4a, 0x6f, 0x62, 0x73, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, - 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x44, 0x0a, 0x11, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, - 0x77, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x16, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x45, - 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x11, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, - 0x6f, 0x77, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x32, 0xd1, 0x0a, 0x0a, 0x13, - 0x43, 0x72, 0x6f, 0x6e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x53, 0x65, 0x72, 0x76, - 0x69, 0x63, 0x65, 0x12, 0x86, 0x01, 0x0a, 0x12, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x72, - 0x6f, 0x6e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x12, 0x1e, 0x2e, 0x61, 0x70, 0x69, - 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x72, 0x6f, 0x6e, 0x57, 0x6f, 0x72, 0x6b, 0x66, - 0x6c, 0x6f, 0x77, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x11, 0x2e, 0x61, 0x70, 0x69, - 0x2e, 0x43, 0x72, 0x6f, 0x6e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x22, 0x3d, 0x82, - 0xd3, 0xe4, 0x93, 0x02, 0x37, 0x22, 0x27, 0x2f, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x76, 0x31, 0x62, - 0x65, 0x74, 0x61, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x7d, - 0x2f, 0x63, 0x72, 0x6f, 0x6e, 0x5f, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x3a, 0x0c, - 0x63, 0x72, 0x6f, 0x6e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x12, 0x8d, 0x01, 0x0a, - 0x12, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x72, 0x6f, 0x6e, 0x57, 0x6f, 0x72, 0x6b, 0x66, - 0x6c, 0x6f, 0x77, 0x12, 0x1e, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, - 0x43, 0x72, 0x6f, 0x6e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 0x11, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x43, 0x72, 0x6f, 0x6e, 0x57, 0x6f, - 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x22, 0x44, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3e, 0x22, 0x2e, - 0x2f, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x7b, 0x6e, - 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x7d, 0x2f, 0x63, 0x72, 0x6f, 0x6e, 0x5f, 0x77, - 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x3a, 0x0c, - 0x63, 0x72, 0x6f, 0x6e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x12, 0x79, 0x0a, 0x0f, - 0x47, 0x65, 0x74, 0x43, 0x72, 0x6f, 0x6e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x12, - 0x1b, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x72, 0x6f, 0x6e, 0x57, 0x6f, 0x72, - 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x11, 0x2e, 0x61, - 0x70, 0x69, 0x2e, 0x43, 0x72, 0x6f, 0x6e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x22, - 0x36, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x30, 0x12, 0x2e, 0x2f, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x76, - 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, - 0x65, 0x7d, 0x2f, 0x63, 0x72, 0x6f, 0x6e, 0x5f, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, - 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x12, 0xc7, 0x01, 0x0a, 0x11, 0x4c, 0x69, 0x73, 0x74, - 0x43, 0x72, 0x6f, 0x6e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x73, 0x12, 0x1c, 0x2e, - 0x61, 0x70, 0x69, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x72, 0x6f, 0x6e, 0x57, 0x6f, 0x72, 0x6b, - 0x66, 0x6c, 0x6f, 0x77, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x61, 0x70, - 0x69, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x72, 0x6f, 0x6e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, - 0x6f, 0x77, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x74, 0x82, 0xd3, 0xe4, - 0x93, 0x02, 0x6e, 0x12, 0x28, 0x2f, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, - 0x61, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x7d, 0x2f, 0x63, - 0x72, 0x6f, 0x6e, 0x5f, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x73, 0x5a, 0x42, 0x12, - 0x40, 0x2f, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x7b, - 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x7d, 0x2f, 0x63, 0x72, 0x6f, 0x6e, 0x5f, - 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x73, 0x2f, 0x7b, 0x77, 0x6f, 0x72, 0x6b, 0x66, - 0x6c, 0x6f, 0x77, 0x5f, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x5f, 0x75, 0x69, 0x64, - 0x7d, 0x12, 0x95, 0x01, 0x0a, 0x15, 0x54, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x43, - 0x72, 0x6f, 0x6e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x12, 0x21, 0x2e, 0x61, 0x70, - 0x69, 0x2e, 0x54, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x43, 0x72, 0x6f, 0x6e, 0x57, - 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, - 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, - 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x41, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3b, 0x2a, 0x39, - 0x2f, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x7b, 0x6e, - 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x7d, 0x2f, 0x63, 0x72, 0x6f, 0x6e, 0x5f, 0x77, - 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x73, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x2f, - 0x74, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x12, 0x86, 0x01, 0x0a, 0x15, 0x47, 0x65, - 0x74, 0x43, 0x72, 0x6f, 0x6e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x4c, 0x61, 0x62, - 0x65, 0x6c, 0x73, 0x12, 0x15, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x47, 0x65, 0x74, 0x4c, 0x61, 0x62, - 0x65, 0x6c, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x61, 0x70, 0x69, - 0x2e, 0x47, 0x65, 0x74, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x22, 0x3e, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x38, 0x12, 0x36, 0x2f, 0x61, 0x70, 0x69, - 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x73, - 0x70, 0x61, 0x63, 0x65, 0x7d, 0x2f, 0x63, 0x72, 0x6f, 0x6e, 0x5f, 0x77, 0x6f, 0x72, 0x6b, 0x66, - 0x6c, 0x6f, 0x77, 0x73, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x2f, 0x6c, 0x61, 0x62, 0x65, - 0x6c, 0x73, 0x12, 0x8e, 0x01, 0x0a, 0x15, 0x41, 0x64, 0x64, 0x43, 0x72, 0x6f, 0x6e, 0x57, 0x6f, - 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x12, 0x15, 0x2e, 0x61, - 0x70, 0x69, 0x2e, 0x41, 0x64, 0x64, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x47, 0x65, 0x74, 0x4c, 0x61, 0x62, - 0x65, 0x6c, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x46, 0x82, 0xd3, 0xe4, - 0x93, 0x02, 0x40, 0x22, 0x36, 0x2f, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, - 0x61, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x7d, 0x2f, 0x63, - 0x72, 0x6f, 0x6e, 0x5f, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x73, 0x2f, 0x7b, 0x6e, - 0x61, 0x6d, 0x65, 0x7d, 0x2f, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x3a, 0x06, 0x6c, 0x61, 0x62, - 0x65, 0x6c, 0x73, 0x12, 0x96, 0x01, 0x0a, 0x19, 0x52, 0x65, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x43, - 0x72, 0x6f, 0x6e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x4c, 0x61, 0x62, 0x65, 0x6c, - 0x73, 0x12, 0x19, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x52, 0x65, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x4c, - 0x61, 0x62, 0x65, 0x6c, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x61, - 0x70, 0x69, 0x2e, 0x47, 0x65, 0x74, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x46, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x40, 0x1a, 0x36, 0x2f, 0x61, - 0x70, 0x69, 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, - 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x7d, 0x2f, 0x63, 0x72, 0x6f, 0x6e, 0x5f, 0x77, 0x6f, 0x72, - 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x73, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x2f, 0x6c, 0x61, - 0x62, 0x65, 0x6c, 0x73, 0x3a, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x12, 0x90, 0x01, 0x0a, - 0x17, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x43, 0x72, 0x6f, 0x6e, 0x57, 0x6f, 0x72, 0x6b, 0x66, - 0x6c, 0x6f, 0x77, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x12, 0x17, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x44, - 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 0x16, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x47, 0x65, 0x74, 0x4c, 0x61, 0x62, 0x65, 0x6c, - 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x44, 0x82, 0xd3, 0xe4, 0x93, 0x02, - 0x3e, 0x2a, 0x3c, 0x2f, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, - 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x7d, 0x2f, 0x63, 0x72, 0x6f, - 0x6e, 0x5f, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x73, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, - 0x65, 0x7d, 0x2f, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x2f, 0x7b, 0x6b, 0x65, 0x79, 0x7d, 0x62, - 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +func init() { + proto.RegisterType((*TerminateCronWorkflowRequest)(nil), "api.TerminateCronWorkflowRequest") + proto.RegisterType((*GetCronWorkflowRequest)(nil), "api.GetCronWorkflowRequest") + proto.RegisterType((*CreateCronWorkflowRequest)(nil), "api.CreateCronWorkflowRequest") + proto.RegisterType((*UpdateCronWorkflowRequest)(nil), "api.UpdateCronWorkflowRequest") + proto.RegisterType((*ListCronWorkflowRequest)(nil), "api.ListCronWorkflowRequest") + proto.RegisterType((*ListCronWorkflowsResponse)(nil), "api.ListCronWorkflowsResponse") + proto.RegisterType((*CronWorkflow)(nil), "api.CronWorkflow") } -var ( - file_cron_workflow_proto_rawDescOnce sync.Once - file_cron_workflow_proto_rawDescData = file_cron_workflow_proto_rawDesc -) +func init() { proto.RegisterFile("cron_workflow.proto", fileDescriptor_989cccaad551a50c) } -func file_cron_workflow_proto_rawDescGZIP() []byte { - file_cron_workflow_proto_rawDescOnce.Do(func() { - file_cron_workflow_proto_rawDescData = protoimpl.X.CompressGZIP(file_cron_workflow_proto_rawDescData) - }) - return file_cron_workflow_proto_rawDescData -} - -var file_cron_workflow_proto_msgTypes = make([]protoimpl.MessageInfo, 7) -var file_cron_workflow_proto_goTypes = []interface{}{ - (*TerminateCronWorkflowRequest)(nil), // 0: api.TerminateCronWorkflowRequest - (*GetCronWorkflowRequest)(nil), // 1: api.GetCronWorkflowRequest - (*CreateCronWorkflowRequest)(nil), // 2: api.CreateCronWorkflowRequest - (*UpdateCronWorkflowRequest)(nil), // 3: api.UpdateCronWorkflowRequest - (*ListCronWorkflowRequest)(nil), // 4: api.ListCronWorkflowRequest - (*ListCronWorkflowsResponse)(nil), // 5: api.ListCronWorkflowsResponse - (*CronWorkflow)(nil), // 6: api.CronWorkflow - (*WorkflowExecution)(nil), // 7: api.WorkflowExecution - (*GetLabelsRequest)(nil), // 8: api.GetLabelsRequest - (*AddLabelsRequest)(nil), // 9: api.AddLabelsRequest - (*ReplaceLabelsRequest)(nil), // 10: api.ReplaceLabelsRequest - (*DeleteLabelRequest)(nil), // 11: api.DeleteLabelRequest - (*empty.Empty)(nil), // 12: google.protobuf.Empty - (*GetLabelsResponse)(nil), // 13: api.GetLabelsResponse -} -var file_cron_workflow_proto_depIdxs = []int32{ - 6, // 0: api.CreateCronWorkflowRequest.cronWorkflow:type_name -> api.CronWorkflow - 6, // 1: api.UpdateCronWorkflowRequest.cronWorkflow:type_name -> api.CronWorkflow - 6, // 2: api.ListCronWorkflowsResponse.cronWorkflows:type_name -> api.CronWorkflow - 7, // 3: api.CronWorkflow.workflowExecution:type_name -> api.WorkflowExecution - 2, // 4: api.CronWorkflowService.CreateCronWorkflow:input_type -> api.CreateCronWorkflowRequest - 3, // 5: api.CronWorkflowService.UpdateCronWorkflow:input_type -> api.UpdateCronWorkflowRequest - 1, // 6: api.CronWorkflowService.GetCronWorkflow:input_type -> api.GetCronWorkflowRequest - 4, // 7: api.CronWorkflowService.ListCronWorkflows:input_type -> api.ListCronWorkflowRequest - 0, // 8: api.CronWorkflowService.TerminateCronWorkflow:input_type -> api.TerminateCronWorkflowRequest - 8, // 9: api.CronWorkflowService.GetCronWorkflowLabels:input_type -> api.GetLabelsRequest - 9, // 10: api.CronWorkflowService.AddCronWorkflowLabels:input_type -> api.AddLabelsRequest - 10, // 11: api.CronWorkflowService.ReplaceCronWorkflowLabels:input_type -> api.ReplaceLabelsRequest - 11, // 12: api.CronWorkflowService.DeleteCronWorkflowLabel:input_type -> api.DeleteLabelRequest - 6, // 13: api.CronWorkflowService.CreateCronWorkflow:output_type -> api.CronWorkflow - 6, // 14: api.CronWorkflowService.UpdateCronWorkflow:output_type -> api.CronWorkflow - 6, // 15: api.CronWorkflowService.GetCronWorkflow:output_type -> api.CronWorkflow - 5, // 16: api.CronWorkflowService.ListCronWorkflows:output_type -> api.ListCronWorkflowsResponse - 12, // 17: api.CronWorkflowService.TerminateCronWorkflow:output_type -> google.protobuf.Empty - 13, // 18: api.CronWorkflowService.GetCronWorkflowLabels:output_type -> api.GetLabelsResponse - 13, // 19: api.CronWorkflowService.AddCronWorkflowLabels:output_type -> api.GetLabelsResponse - 13, // 20: api.CronWorkflowService.ReplaceCronWorkflowLabels:output_type -> api.GetLabelsResponse - 13, // 21: api.CronWorkflowService.DeleteCronWorkflowLabel:output_type -> api.GetLabelsResponse - 13, // [13:22] is the sub-list for method output_type - 4, // [4:13] is the sub-list for method input_type - 4, // [4:4] is the sub-list for extension type_name - 4, // [4:4] is the sub-list for extension extendee - 0, // [0:4] is the sub-list for field type_name -} - -func init() { file_cron_workflow_proto_init() } -func file_cron_workflow_proto_init() { - if File_cron_workflow_proto != nil { - return - } - file_workflow_proto_init() - file_label_proto_init() - if !protoimpl.UnsafeEnabled { - file_cron_workflow_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TerminateCronWorkflowRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_cron_workflow_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetCronWorkflowRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_cron_workflow_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateCronWorkflowRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_cron_workflow_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateCronWorkflowRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_cron_workflow_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListCronWorkflowRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_cron_workflow_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListCronWorkflowsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_cron_workflow_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CronWorkflow); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_cron_workflow_proto_rawDesc, - NumEnums: 0, - NumMessages: 7, - NumExtensions: 0, - NumServices: 1, - }, - GoTypes: file_cron_workflow_proto_goTypes, - DependencyIndexes: file_cron_workflow_proto_depIdxs, - MessageInfos: file_cron_workflow_proto_msgTypes, - }.Build() - File_cron_workflow_proto = out.File - file_cron_workflow_proto_rawDesc = nil - file_cron_workflow_proto_goTypes = nil - file_cron_workflow_proto_depIdxs = nil +var fileDescriptor_989cccaad551a50c = []byte{ + // 843 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x95, 0x41, 0x8f, 0xdb, 0x44, + 0x14, 0xc7, 0xe5, 0x4d, 0x77, 0x9b, 0xbc, 0x16, 0x50, 0x66, 0x49, 0xe2, 0xb8, 0xd1, 0x6a, 0xf1, + 0x85, 0x55, 0x85, 0x62, 0xba, 0x88, 0x6d, 0x29, 0xb0, 0xea, 0xb2, 0x29, 0xa0, 0x6a, 0x0f, 0x95, + 0xb7, 0x55, 0x25, 0x2e, 0xab, 0x89, 0xfd, 0x12, 0x46, 0x75, 0x66, 0x8c, 0x67, 0xdc, 0x92, 0xae, + 0x72, 0x41, 0x88, 0x1b, 0x08, 0x09, 0xc1, 0x01, 0xbe, 0x06, 0xdf, 0x81, 0x33, 0xe2, 0x2b, 0xf0, + 0x41, 0x90, 0xc7, 0x76, 0x36, 0x89, 0x9d, 0x92, 0x4d, 0x7b, 0xb2, 0xdf, 0xfc, 0x67, 0xe6, 0xfd, + 0x3c, 0x6f, 0xfc, 0x7f, 0xb0, 0xed, 0x45, 0x82, 0x9f, 0x3d, 0x17, 0xd1, 0xd3, 0x41, 0x20, 0x9e, + 0x77, 0xc3, 0x48, 0x28, 0x41, 0x2a, 0x34, 0x64, 0x56, 0x67, 0x28, 0xc4, 0x30, 0x40, 0x87, 0x86, + 0xcc, 0xa1, 0x9c, 0x0b, 0x45, 0x15, 0x13, 0x5c, 0xa6, 0x53, 0xac, 0x1b, 0x99, 0xaa, 0xa3, 0x7e, + 0x3c, 0x70, 0x70, 0x14, 0xaa, 0x71, 0x26, 0xbe, 0x39, 0xbf, 0x9f, 0x75, 0x2d, 0xa0, 0x7d, 0x0c, + 0xd2, 0xc0, 0x7e, 0x08, 0x9d, 0x47, 0x18, 0x8d, 0x18, 0xa7, 0x0a, 0x8f, 0x23, 0xc1, 0x9f, 0x64, + 0x73, 0x5d, 0xfc, 0x26, 0x46, 0xa9, 0x48, 0x07, 0x6a, 0x9c, 0x8e, 0x50, 0x86, 0xd4, 0x43, 0xd3, + 0xd8, 0x35, 0xf6, 0x6a, 0xee, 0xc5, 0x00, 0x21, 0x70, 0x25, 0x09, 0xcc, 0x0d, 0x2d, 0xe8, 0x77, + 0xfb, 0x01, 0x34, 0xbf, 0x40, 0xf5, 0x7a, 0xf6, 0x0a, 0xa1, 0x7d, 0x1c, 0xe1, 0x5a, 0x68, 0x1f, + 0xc2, 0x75, 0x6f, 0x66, 0x91, 0xde, 0xf6, 0xda, 0x7e, 0xbd, 0x4b, 0x43, 0xd6, 0x9d, 0xdb, 0x6d, + 0x6e, 0x9a, 0xfd, 0xbd, 0x01, 0xed, 0xc7, 0xa1, 0xff, 0xba, 0x4e, 0xa3, 0x80, 0x51, 0x59, 0x0d, + 0xe3, 0x0f, 0x03, 0x5a, 0x27, 0x4c, 0xae, 0x71, 0x8c, 0xfb, 0xd0, 0xc8, 0xeb, 0x7d, 0xa6, 0x70, + 0x14, 0x06, 0x54, 0xe1, 0x59, 0xcc, 0xfc, 0x8c, 0x6a, 0x3b, 0x17, 0x1f, 0x65, 0xda, 0x63, 0xe6, + 0x13, 0x0b, 0xaa, 0x21, 0x1d, 0xe2, 0x29, 0x7b, 0x81, 0x1a, 0x70, 0xd3, 0x9d, 0xc6, 0xc9, 0x47, + 0x25, 0xef, 0xe6, 0x15, 0x3d, 0xae, 0xdf, 0xed, 0x3f, 0x0d, 0x68, 0x2f, 0xd2, 0x49, 0x17, 0x65, + 0x28, 0xb8, 0x44, 0xf2, 0x36, 0x6c, 0x7a, 0x22, 0xe6, 0x4a, 0xb3, 0x6d, 0xba, 0x69, 0x40, 0x6e, + 0xc3, 0x1b, 0xb3, 0x5f, 0x28, 0xcd, 0x8d, 0xdd, 0x4a, 0xf9, 0x49, 0xcc, 0xcf, 0x9b, 0x02, 0x54, + 0x2e, 0x00, 0x92, 0x14, 0xc9, 0x53, 0x66, 0x54, 0x69, 0x40, 0x76, 0x00, 0x94, 0x50, 0x34, 0x38, + 0xd6, 0xd9, 0x37, 0xb5, 0x34, 0x33, 0x62, 0xff, 0x5e, 0x81, 0xeb, 0xb3, 0x99, 0xa6, 0x05, 0x33, + 0x66, 0x0a, 0x66, 0x41, 0x55, 0x7a, 0x5f, 0xa3, 0x1f, 0x07, 0x79, 0x21, 0xa7, 0x71, 0xa2, 0x29, + 0x36, 0xc2, 0x17, 0x82, 0xa7, 0x38, 0x35, 0x77, 0x1a, 0x13, 0x13, 0xae, 0xca, 0x58, 0x86, 0xc8, + 0x7d, 0x0d, 0x55, 0x75, 0xf3, 0x90, 0xbc, 0x07, 0x75, 0x4f, 0x70, 0x2f, 0x8e, 0x22, 0xe4, 0xde, + 0xf8, 0xa1, 0x08, 0x98, 0x37, 0xd6, 0x74, 0x35, 0xb7, 0x28, 0x90, 0x3b, 0xd0, 0x92, 0x8a, 0x46, + 0x8a, 0xf1, 0x61, 0x0f, 0xa9, 0x1f, 0x30, 0x8e, 0xa7, 0xe8, 0x09, 0xee, 0x4b, 0x73, 0x6b, 0xd7, + 0xd8, 0xab, 0xb8, 0xcb, 0x64, 0x72, 0x08, 0x96, 0x8c, 0x3d, 0x0f, 0xa5, 0x1c, 0xc4, 0xc1, 0x03, + 0xd1, 0x97, 0x5f, 0x32, 0xa9, 0x44, 0x34, 0x3e, 0x61, 0x23, 0xa6, 0xcc, 0xab, 0xfa, 0x38, 0x5e, + 0x32, 0x83, 0x1c, 0x40, 0x73, 0x40, 0x59, 0x80, 0x7e, 0x61, 0x6d, 0x55, 0xaf, 0x5d, 0xa2, 0x92, + 0x1e, 0xd4, 0xf3, 0x4b, 0x75, 0xff, 0x5b, 0xf4, 0xe2, 0xc4, 0x98, 0xcc, 0x9a, 0xbe, 0xe7, 0x4d, + 0x5d, 0xdd, 0x27, 0x8b, 0xaa, 0x5b, 0x5c, 0xb0, 0xff, 0x37, 0xc0, 0xf6, 0x6c, 0x71, 0x4e, 0x31, + 0x7a, 0xc6, 0x3c, 0x24, 0x3f, 0x18, 0x40, 0x8a, 0x1e, 0x40, 0x76, 0xb2, 0x7b, 0xb3, 0xc4, 0x1c, + 0xac, 0xe2, 0xbd, 0xb2, 0x3f, 0xfd, 0xee, 0x9f, 0x7f, 0x7f, 0xd9, 0xb8, 0x6d, 0xbf, 0x9b, 0x98, + 0xa8, 0x74, 0x9e, 0xdd, 0xea, 0xa3, 0xa2, 0xb7, 0x9c, 0xf3, 0xe9, 0xbf, 0x33, 0x71, 0xe6, 0xec, + 0xf7, 0xee, 0xdc, 0x2f, 0x49, 0x7e, 0x34, 0x80, 0x14, 0x9d, 0x21, 0x03, 0x59, 0x6a, 0x19, 0x65, + 0x20, 0x3d, 0x0d, 0x72, 0x68, 0x77, 0x57, 0x04, 0x49, 0x95, 0xc9, 0x02, 0xcf, 0x18, 0xde, 0x5a, + 0xf0, 0x59, 0x72, 0x43, 0xe7, 0x2a, 0x77, 0xdf, 0x32, 0x90, 0x03, 0x0d, 0xf2, 0x3e, 0xb9, 0x24, + 0x08, 0xf9, 0xcb, 0x80, 0x7a, 0xe1, 0xff, 0x27, 0x1d, 0x9d, 0x60, 0x89, 0x6b, 0x59, 0x3b, 0xa5, + 0xea, 0xd4, 0x35, 0x6c, 0xa5, 0x59, 0x38, 0xd9, 0x5b, 0x91, 0x45, 0x7e, 0xf5, 0x19, 0xb9, 0xb7, + 0xea, 0x5c, 0xe7, 0xbc, 0xd4, 0x13, 0x27, 0xe4, 0x57, 0x03, 0x1a, 0xa5, 0xfd, 0x8f, 0xbc, 0xa3, + 0x79, 0x5f, 0xd6, 0x1b, 0xad, 0x66, 0x37, 0x6d, 0xbb, 0xdd, 0xbc, 0xed, 0x76, 0xef, 0x27, 0x6d, + 0xd7, 0x3e, 0xd2, 0x9f, 0xf2, 0xf1, 0xcd, 0x8f, 0x56, 0xc7, 0xd3, 0xe7, 0xea, 0xa8, 0x3c, 0x5b, + 0x72, 0xeb, 0x1b, 0x0b, 0x75, 0x3c, 0x49, 0xba, 0xb6, 0x24, 0x8d, 0xbc, 0xc6, 0x69, 0x7c, 0xc1, + 0xb2, 0x30, 0x9c, 0x1d, 0xeb, 0xa1, 0x66, 0xb9, 0x43, 0x0e, 0x2e, 0xcb, 0x12, 0xa4, 0xe9, 0x7e, + 0x32, 0xa0, 0x71, 0xe4, 0xfb, 0x4b, 0x41, 0x8e, 0x7c, 0x7f, 0x35, 0x90, 0xcf, 0x35, 0xc8, 0x3d, + 0x7b, 0x4d, 0x90, 0xbb, 0x5b, 0x19, 0xd0, 0x6f, 0x06, 0xb4, 0x5d, 0x0c, 0x03, 0xea, 0x61, 0x09, + 0x54, 0x5b, 0x67, 0xcf, 0xf4, 0x4b, 0x81, 0x59, 0xaf, 0x0a, 0xf6, 0xb3, 0x01, 0xad, 0x1e, 0x06, + 0xa8, 0x8a, 0x5c, 0xa4, 0xa5, 0x73, 0xa7, 0xaa, 0x1e, 0xf9, 0x3f, 0xa8, 0xcc, 0x22, 0x6e, 0x7e, + 0xb2, 0x1e, 0x94, 0x73, 0xfe, 0x14, 0xc7, 0x93, 0xfe, 0x96, 0xbe, 0x98, 0x1f, 0xfc, 0x17, 0x00, + 0x00, 0xff, 0xff, 0x0b, 0xca, 0x12, 0x71, 0x57, 0x0a, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. var _ context.Context -var _ grpc.ClientConnInterface +var _ grpc.ClientConn // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package it is being compiled against. -const _ = grpc.SupportPackageIsVersion6 +const _ = grpc.SupportPackageIsVersion4 // CronWorkflowServiceClient is the client API for CronWorkflowService service. // @@ -887,10 +552,10 @@ type CronWorkflowServiceClient interface { } type cronWorkflowServiceClient struct { - cc grpc.ClientConnInterface + cc *grpc.ClientConn } -func NewCronWorkflowServiceClient(cc grpc.ClientConnInterface) CronWorkflowServiceClient { +func NewCronWorkflowServiceClient(cc *grpc.ClientConn) CronWorkflowServiceClient { return &cronWorkflowServiceClient{cc} } @@ -992,31 +657,31 @@ type CronWorkflowServiceServer interface { type UnimplementedCronWorkflowServiceServer struct { } -func (*UnimplementedCronWorkflowServiceServer) CreateCronWorkflow(context.Context, *CreateCronWorkflowRequest) (*CronWorkflow, error) { +func (*UnimplementedCronWorkflowServiceServer) CreateCronWorkflow(ctx context.Context, req *CreateCronWorkflowRequest) (*CronWorkflow, error) { return nil, status.Errorf(codes.Unimplemented, "method CreateCronWorkflow not implemented") } -func (*UnimplementedCronWorkflowServiceServer) UpdateCronWorkflow(context.Context, *UpdateCronWorkflowRequest) (*CronWorkflow, error) { +func (*UnimplementedCronWorkflowServiceServer) UpdateCronWorkflow(ctx context.Context, req *UpdateCronWorkflowRequest) (*CronWorkflow, error) { return nil, status.Errorf(codes.Unimplemented, "method UpdateCronWorkflow not implemented") } -func (*UnimplementedCronWorkflowServiceServer) GetCronWorkflow(context.Context, *GetCronWorkflowRequest) (*CronWorkflow, error) { +func (*UnimplementedCronWorkflowServiceServer) GetCronWorkflow(ctx context.Context, req *GetCronWorkflowRequest) (*CronWorkflow, error) { return nil, status.Errorf(codes.Unimplemented, "method GetCronWorkflow not implemented") } -func (*UnimplementedCronWorkflowServiceServer) ListCronWorkflows(context.Context, *ListCronWorkflowRequest) (*ListCronWorkflowsResponse, error) { +func (*UnimplementedCronWorkflowServiceServer) ListCronWorkflows(ctx context.Context, req *ListCronWorkflowRequest) (*ListCronWorkflowsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ListCronWorkflows not implemented") } -func (*UnimplementedCronWorkflowServiceServer) TerminateCronWorkflow(context.Context, *TerminateCronWorkflowRequest) (*empty.Empty, error) { +func (*UnimplementedCronWorkflowServiceServer) TerminateCronWorkflow(ctx context.Context, req *TerminateCronWorkflowRequest) (*empty.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method TerminateCronWorkflow not implemented") } -func (*UnimplementedCronWorkflowServiceServer) GetCronWorkflowLabels(context.Context, *GetLabelsRequest) (*GetLabelsResponse, error) { +func (*UnimplementedCronWorkflowServiceServer) GetCronWorkflowLabels(ctx context.Context, req *GetLabelsRequest) (*GetLabelsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetCronWorkflowLabels not implemented") } -func (*UnimplementedCronWorkflowServiceServer) AddCronWorkflowLabels(context.Context, *AddLabelsRequest) (*GetLabelsResponse, error) { +func (*UnimplementedCronWorkflowServiceServer) AddCronWorkflowLabels(ctx context.Context, req *AddLabelsRequest) (*GetLabelsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method AddCronWorkflowLabels not implemented") } -func (*UnimplementedCronWorkflowServiceServer) ReplaceCronWorkflowLabels(context.Context, *ReplaceLabelsRequest) (*GetLabelsResponse, error) { +func (*UnimplementedCronWorkflowServiceServer) ReplaceCronWorkflowLabels(ctx context.Context, req *ReplaceLabelsRequest) (*GetLabelsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ReplaceCronWorkflowLabels not implemented") } -func (*UnimplementedCronWorkflowServiceServer) DeleteCronWorkflowLabel(context.Context, *DeleteLabelRequest) (*GetLabelsResponse, error) { +func (*UnimplementedCronWorkflowServiceServer) DeleteCronWorkflowLabel(ctx context.Context, req *DeleteLabelRequest) (*GetLabelsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method DeleteCronWorkflowLabel not implemented") } diff --git a/api/label.pb.go b/api/label.pb.go index 05508dd..2da2f85 100644 --- a/api/label.pb.go +++ b/api/label.pb.go @@ -1,605 +1,390 @@ // Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.21.0 -// protoc v3.11.3 // source: label.proto package api import ( + fmt "fmt" proto "github.com/golang/protobuf/proto" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" + math "math" ) -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf -// This is a compile-time assertion that a sufficiently up-to-date version -// of the legacy proto package is being used. -const _ = proto.ProtoPackageIsVersion4 +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package type KeyValue struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` - Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` + Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` + Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *KeyValue) Reset() { - *x = KeyValue{} - if protoimpl.UnsafeEnabled { - mi := &file_label_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *KeyValue) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*KeyValue) ProtoMessage() {} - -func (x *KeyValue) ProtoReflect() protoreflect.Message { - mi := &file_label_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use KeyValue.ProtoReflect.Descriptor instead. +func (m *KeyValue) Reset() { *m = KeyValue{} } +func (m *KeyValue) String() string { return proto.CompactTextString(m) } +func (*KeyValue) ProtoMessage() {} func (*KeyValue) Descriptor() ([]byte, []int) { - return file_label_proto_rawDescGZIP(), []int{0} + return fileDescriptor_6100d2b5ae808f16, []int{0} } -func (x *KeyValue) GetKey() string { - if x != nil { - return x.Key +func (m *KeyValue) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_KeyValue.Unmarshal(m, b) +} +func (m *KeyValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_KeyValue.Marshal(b, m, deterministic) +} +func (m *KeyValue) XXX_Merge(src proto.Message) { + xxx_messageInfo_KeyValue.Merge(m, src) +} +func (m *KeyValue) XXX_Size() int { + return xxx_messageInfo_KeyValue.Size(m) +} +func (m *KeyValue) XXX_DiscardUnknown() { + xxx_messageInfo_KeyValue.DiscardUnknown(m) +} + +var xxx_messageInfo_KeyValue proto.InternalMessageInfo + +func (m *KeyValue) GetKey() string { + if m != nil { + return m.Key } return "" } -func (x *KeyValue) GetValue() string { - if x != nil { - return x.Value +func (m *KeyValue) GetValue() string { + if m != nil { + return m.Value } return "" } type Labels struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Items []*KeyValue `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` + Items []*KeyValue `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *Labels) Reset() { - *x = Labels{} - if protoimpl.UnsafeEnabled { - mi := &file_label_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Labels) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Labels) ProtoMessage() {} - -func (x *Labels) ProtoReflect() protoreflect.Message { - mi := &file_label_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Labels.ProtoReflect.Descriptor instead. +func (m *Labels) Reset() { *m = Labels{} } +func (m *Labels) String() string { return proto.CompactTextString(m) } +func (*Labels) ProtoMessage() {} func (*Labels) Descriptor() ([]byte, []int) { - return file_label_proto_rawDescGZIP(), []int{1} + return fileDescriptor_6100d2b5ae808f16, []int{1} } -func (x *Labels) GetItems() []*KeyValue { - if x != nil { - return x.Items +func (m *Labels) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Labels.Unmarshal(m, b) +} +func (m *Labels) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Labels.Marshal(b, m, deterministic) +} +func (m *Labels) XXX_Merge(src proto.Message) { + xxx_messageInfo_Labels.Merge(m, src) +} +func (m *Labels) XXX_Size() int { + return xxx_messageInfo_Labels.Size(m) +} +func (m *Labels) XXX_DiscardUnknown() { + xxx_messageInfo_Labels.DiscardUnknown(m) +} + +var xxx_messageInfo_Labels proto.InternalMessageInfo + +func (m *Labels) GetItems() []*KeyValue { + if m != nil { + return m.Items } return nil } type AddLabelsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - Labels *Labels `protobuf:"bytes,3,opt,name=labels,proto3" json:"labels,omitempty"` + Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + Labels *Labels `protobuf:"bytes,3,opt,name=labels,proto3" json:"labels,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *AddLabelsRequest) Reset() { - *x = AddLabelsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_label_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *AddLabelsRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*AddLabelsRequest) ProtoMessage() {} - -func (x *AddLabelsRequest) ProtoReflect() protoreflect.Message { - mi := &file_label_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use AddLabelsRequest.ProtoReflect.Descriptor instead. +func (m *AddLabelsRequest) Reset() { *m = AddLabelsRequest{} } +func (m *AddLabelsRequest) String() string { return proto.CompactTextString(m) } +func (*AddLabelsRequest) ProtoMessage() {} func (*AddLabelsRequest) Descriptor() ([]byte, []int) { - return file_label_proto_rawDescGZIP(), []int{2} + return fileDescriptor_6100d2b5ae808f16, []int{2} } -func (x *AddLabelsRequest) GetNamespace() string { - if x != nil { - return x.Namespace +func (m *AddLabelsRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AddLabelsRequest.Unmarshal(m, b) +} +func (m *AddLabelsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AddLabelsRequest.Marshal(b, m, deterministic) +} +func (m *AddLabelsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_AddLabelsRequest.Merge(m, src) +} +func (m *AddLabelsRequest) XXX_Size() int { + return xxx_messageInfo_AddLabelsRequest.Size(m) +} +func (m *AddLabelsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_AddLabelsRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_AddLabelsRequest proto.InternalMessageInfo + +func (m *AddLabelsRequest) GetNamespace() string { + if m != nil { + return m.Namespace } return "" } -func (x *AddLabelsRequest) GetName() string { - if x != nil { - return x.Name +func (m *AddLabelsRequest) GetName() string { + if m != nil { + return m.Name } return "" } -func (x *AddLabelsRequest) GetLabels() *Labels { - if x != nil { - return x.Labels +func (m *AddLabelsRequest) GetLabels() *Labels { + if m != nil { + return m.Labels } return nil } type ReplaceLabelsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - Labels *Labels `protobuf:"bytes,3,opt,name=labels,proto3" json:"labels,omitempty"` + Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + Labels *Labels `protobuf:"bytes,3,opt,name=labels,proto3" json:"labels,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *ReplaceLabelsRequest) Reset() { - *x = ReplaceLabelsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_label_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ReplaceLabelsRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ReplaceLabelsRequest) ProtoMessage() {} - -func (x *ReplaceLabelsRequest) ProtoReflect() protoreflect.Message { - mi := &file_label_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ReplaceLabelsRequest.ProtoReflect.Descriptor instead. +func (m *ReplaceLabelsRequest) Reset() { *m = ReplaceLabelsRequest{} } +func (m *ReplaceLabelsRequest) String() string { return proto.CompactTextString(m) } +func (*ReplaceLabelsRequest) ProtoMessage() {} func (*ReplaceLabelsRequest) Descriptor() ([]byte, []int) { - return file_label_proto_rawDescGZIP(), []int{3} + return fileDescriptor_6100d2b5ae808f16, []int{3} } -func (x *ReplaceLabelsRequest) GetNamespace() string { - if x != nil { - return x.Namespace +func (m *ReplaceLabelsRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ReplaceLabelsRequest.Unmarshal(m, b) +} +func (m *ReplaceLabelsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ReplaceLabelsRequest.Marshal(b, m, deterministic) +} +func (m *ReplaceLabelsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ReplaceLabelsRequest.Merge(m, src) +} +func (m *ReplaceLabelsRequest) XXX_Size() int { + return xxx_messageInfo_ReplaceLabelsRequest.Size(m) +} +func (m *ReplaceLabelsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ReplaceLabelsRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_ReplaceLabelsRequest proto.InternalMessageInfo + +func (m *ReplaceLabelsRequest) GetNamespace() string { + if m != nil { + return m.Namespace } return "" } -func (x *ReplaceLabelsRequest) GetName() string { - if x != nil { - return x.Name +func (m *ReplaceLabelsRequest) GetName() string { + if m != nil { + return m.Name } return "" } -func (x *ReplaceLabelsRequest) GetLabels() *Labels { - if x != nil { - return x.Labels +func (m *ReplaceLabelsRequest) GetLabels() *Labels { + if m != nil { + return m.Labels } return nil } type GetLabelsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *GetLabelsRequest) Reset() { - *x = GetLabelsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_label_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetLabelsRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetLabelsRequest) ProtoMessage() {} - -func (x *GetLabelsRequest) ProtoReflect() protoreflect.Message { - mi := &file_label_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetLabelsRequest.ProtoReflect.Descriptor instead. +func (m *GetLabelsRequest) Reset() { *m = GetLabelsRequest{} } +func (m *GetLabelsRequest) String() string { return proto.CompactTextString(m) } +func (*GetLabelsRequest) ProtoMessage() {} func (*GetLabelsRequest) Descriptor() ([]byte, []int) { - return file_label_proto_rawDescGZIP(), []int{4} + return fileDescriptor_6100d2b5ae808f16, []int{4} } -func (x *GetLabelsRequest) GetNamespace() string { - if x != nil { - return x.Namespace +func (m *GetLabelsRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetLabelsRequest.Unmarshal(m, b) +} +func (m *GetLabelsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetLabelsRequest.Marshal(b, m, deterministic) +} +func (m *GetLabelsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetLabelsRequest.Merge(m, src) +} +func (m *GetLabelsRequest) XXX_Size() int { + return xxx_messageInfo_GetLabelsRequest.Size(m) +} +func (m *GetLabelsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetLabelsRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetLabelsRequest proto.InternalMessageInfo + +func (m *GetLabelsRequest) GetNamespace() string { + if m != nil { + return m.Namespace } return "" } -func (x *GetLabelsRequest) GetName() string { - if x != nil { - return x.Name +func (m *GetLabelsRequest) GetName() string { + if m != nil { + return m.Name } return "" } type GetLabelsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Labels []*KeyValue `protobuf:"bytes,1,rep,name=labels,proto3" json:"labels,omitempty"` + Labels []*KeyValue `protobuf:"bytes,1,rep,name=labels,proto3" json:"labels,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *GetLabelsResponse) Reset() { - *x = GetLabelsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_label_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetLabelsResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetLabelsResponse) ProtoMessage() {} - -func (x *GetLabelsResponse) ProtoReflect() protoreflect.Message { - mi := &file_label_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetLabelsResponse.ProtoReflect.Descriptor instead. +func (m *GetLabelsResponse) Reset() { *m = GetLabelsResponse{} } +func (m *GetLabelsResponse) String() string { return proto.CompactTextString(m) } +func (*GetLabelsResponse) ProtoMessage() {} func (*GetLabelsResponse) Descriptor() ([]byte, []int) { - return file_label_proto_rawDescGZIP(), []int{5} + return fileDescriptor_6100d2b5ae808f16, []int{5} } -func (x *GetLabelsResponse) GetLabels() []*KeyValue { - if x != nil { - return x.Labels +func (m *GetLabelsResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetLabelsResponse.Unmarshal(m, b) +} +func (m *GetLabelsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetLabelsResponse.Marshal(b, m, deterministic) +} +func (m *GetLabelsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetLabelsResponse.Merge(m, src) +} +func (m *GetLabelsResponse) XXX_Size() int { + return xxx_messageInfo_GetLabelsResponse.Size(m) +} +func (m *GetLabelsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_GetLabelsResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_GetLabelsResponse proto.InternalMessageInfo + +func (m *GetLabelsResponse) GetLabels() []*KeyValue { + if m != nil { + return m.Labels } return nil } type DeleteLabelRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - Key string `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"` + Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + Key string `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *DeleteLabelRequest) Reset() { - *x = DeleteLabelRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_label_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DeleteLabelRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeleteLabelRequest) ProtoMessage() {} - -func (x *DeleteLabelRequest) ProtoReflect() protoreflect.Message { - mi := &file_label_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DeleteLabelRequest.ProtoReflect.Descriptor instead. +func (m *DeleteLabelRequest) Reset() { *m = DeleteLabelRequest{} } +func (m *DeleteLabelRequest) String() string { return proto.CompactTextString(m) } +func (*DeleteLabelRequest) ProtoMessage() {} func (*DeleteLabelRequest) Descriptor() ([]byte, []int) { - return file_label_proto_rawDescGZIP(), []int{6} + return fileDescriptor_6100d2b5ae808f16, []int{6} } -func (x *DeleteLabelRequest) GetNamespace() string { - if x != nil { - return x.Namespace +func (m *DeleteLabelRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DeleteLabelRequest.Unmarshal(m, b) +} +func (m *DeleteLabelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DeleteLabelRequest.Marshal(b, m, deterministic) +} +func (m *DeleteLabelRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeleteLabelRequest.Merge(m, src) +} +func (m *DeleteLabelRequest) XXX_Size() int { + return xxx_messageInfo_DeleteLabelRequest.Size(m) +} +func (m *DeleteLabelRequest) XXX_DiscardUnknown() { + xxx_messageInfo_DeleteLabelRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_DeleteLabelRequest proto.InternalMessageInfo + +func (m *DeleteLabelRequest) GetNamespace() string { + if m != nil { + return m.Namespace } return "" } -func (x *DeleteLabelRequest) GetName() string { - if x != nil { - return x.Name +func (m *DeleteLabelRequest) GetName() string { + if m != nil { + return m.Name } return "" } -func (x *DeleteLabelRequest) GetKey() string { - if x != nil { - return x.Key +func (m *DeleteLabelRequest) GetKey() string { + if m != nil { + return m.Key } return "" } -var File_label_proto protoreflect.FileDescriptor - -var file_label_proto_rawDesc = []byte{ - 0x0a, 0x0b, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x03, 0x61, - 0x70, 0x69, 0x22, 0x32, 0x0a, 0x08, 0x4b, 0x65, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x10, - 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, - 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x2d, 0x0a, 0x06, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, - 0x12, 0x23, 0x0a, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, - 0x0d, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x4b, 0x65, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, - 0x69, 0x74, 0x65, 0x6d, 0x73, 0x22, 0x69, 0x0a, 0x10, 0x41, 0x64, 0x64, 0x4c, 0x61, 0x62, 0x65, - 0x6c, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x6e, 0x61, 0x6d, - 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6e, 0x61, - 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x23, 0x0a, 0x06, 0x6c, - 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x61, 0x70, - 0x69, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x52, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, - 0x22, 0x6d, 0x0a, 0x14, 0x52, 0x65, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x4c, 0x61, 0x62, 0x65, 0x6c, - 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, - 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6e, 0x61, 0x6d, - 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x23, 0x0a, 0x06, 0x6c, 0x61, - 0x62, 0x65, 0x6c, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x61, 0x70, 0x69, - 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x52, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x22, - 0x44, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, - 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x3a, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x4c, 0x61, 0x62, 0x65, - 0x6c, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x25, 0x0a, 0x06, 0x6c, 0x61, - 0x62, 0x65, 0x6c, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x61, 0x70, 0x69, - 0x2e, 0x4b, 0x65, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, - 0x73, 0x22, 0x58, 0x0a, 0x12, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4c, 0x61, 0x62, 0x65, 0x6c, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, - 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6e, 0x61, 0x6d, 0x65, - 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x62, 0x06, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x33, +func init() { + proto.RegisterType((*KeyValue)(nil), "api.KeyValue") + proto.RegisterType((*Labels)(nil), "api.Labels") + proto.RegisterType((*AddLabelsRequest)(nil), "api.AddLabelsRequest") + proto.RegisterType((*ReplaceLabelsRequest)(nil), "api.ReplaceLabelsRequest") + proto.RegisterType((*GetLabelsRequest)(nil), "api.GetLabelsRequest") + proto.RegisterType((*GetLabelsResponse)(nil), "api.GetLabelsResponse") + proto.RegisterType((*DeleteLabelRequest)(nil), "api.DeleteLabelRequest") } -var ( - file_label_proto_rawDescOnce sync.Once - file_label_proto_rawDescData = file_label_proto_rawDesc -) +func init() { proto.RegisterFile("label.proto", fileDescriptor_6100d2b5ae808f16) } -func file_label_proto_rawDescGZIP() []byte { - file_label_proto_rawDescOnce.Do(func() { - file_label_proto_rawDescData = protoimpl.X.CompressGZIP(file_label_proto_rawDescData) - }) - return file_label_proto_rawDescData -} - -var file_label_proto_msgTypes = make([]protoimpl.MessageInfo, 7) -var file_label_proto_goTypes = []interface{}{ - (*KeyValue)(nil), // 0: api.KeyValue - (*Labels)(nil), // 1: api.Labels - (*AddLabelsRequest)(nil), // 2: api.AddLabelsRequest - (*ReplaceLabelsRequest)(nil), // 3: api.ReplaceLabelsRequest - (*GetLabelsRequest)(nil), // 4: api.GetLabelsRequest - (*GetLabelsResponse)(nil), // 5: api.GetLabelsResponse - (*DeleteLabelRequest)(nil), // 6: api.DeleteLabelRequest -} -var file_label_proto_depIdxs = []int32{ - 0, // 0: api.Labels.items:type_name -> api.KeyValue - 1, // 1: api.AddLabelsRequest.labels:type_name -> api.Labels - 1, // 2: api.ReplaceLabelsRequest.labels:type_name -> api.Labels - 0, // 3: api.GetLabelsResponse.labels:type_name -> api.KeyValue - 4, // [4:4] is the sub-list for method output_type - 4, // [4:4] is the sub-list for method input_type - 4, // [4:4] is the sub-list for extension type_name - 4, // [4:4] is the sub-list for extension extendee - 0, // [0:4] is the sub-list for field type_name -} - -func init() { file_label_proto_init() } -func file_label_proto_init() { - if File_label_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_label_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*KeyValue); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_label_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Labels); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_label_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AddLabelsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_label_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ReplaceLabelsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_label_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetLabelsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_label_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetLabelsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_label_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteLabelRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_label_proto_rawDesc, - NumEnums: 0, - NumMessages: 7, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_label_proto_goTypes, - DependencyIndexes: file_label_proto_depIdxs, - MessageInfos: file_label_proto_msgTypes, - }.Build() - File_label_proto = out.File - file_label_proto_rawDesc = nil - file_label_proto_goTypes = nil - file_label_proto_depIdxs = nil +var fileDescriptor_6100d2b5ae808f16 = []byte{ + // 247 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x92, 0x3f, 0x4f, 0xc3, 0x30, + 0x10, 0xc5, 0x15, 0x4c, 0x23, 0x7a, 0x11, 0x52, 0x38, 0x75, 0xf0, 0xc0, 0x10, 0xb9, 0x42, 0xca, + 0x42, 0x86, 0xb0, 0xb1, 0x21, 0x55, 0x62, 0x80, 0xc9, 0x03, 0x62, 0x75, 0xdb, 0x1b, 0x2c, 0x9c, + 0xc6, 0x60, 0x17, 0xa9, 0xdf, 0x1e, 0xf9, 0x4f, 0x03, 0x03, 0x13, 0x48, 0xdd, 0xee, 0xee, 0xc9, + 0xef, 0x77, 0xe7, 0x3b, 0xa8, 0x8c, 0x5a, 0x93, 0xe9, 0xec, 0xc7, 0xe8, 0x47, 0x64, 0xca, 0x6a, + 0xd1, 0xc3, 0xc5, 0x13, 0x1d, 0x5e, 0x94, 0xd9, 0x13, 0xd6, 0xc0, 0xde, 0xe8, 0xc0, 0x8b, 0xa6, + 0x68, 0xe7, 0x32, 0x84, 0xb8, 0x80, 0xd9, 0x67, 0x90, 0xf8, 0x59, 0xac, 0xa5, 0x44, 0xdc, 0x42, + 0xf9, 0x1c, 0x7c, 0x1c, 0x2e, 0x61, 0xa6, 0x3d, 0x0d, 0x8e, 0x17, 0x0d, 0x6b, 0xab, 0xfe, 0xb2, + 0x53, 0x56, 0x77, 0x47, 0x3f, 0x99, 0x34, 0xa1, 0xa1, 0x7e, 0xd8, 0x6e, 0xd3, 0x0b, 0x49, 0xef, + 0x7b, 0x72, 0x1e, 0xaf, 0x61, 0xbe, 0x53, 0x03, 0x39, 0xab, 0x36, 0x94, 0x81, 0xdf, 0x05, 0x44, + 0x38, 0x0f, 0x49, 0xa6, 0xc6, 0x18, 0x97, 0x50, 0xc6, 0xe6, 0x1d, 0x67, 0x4d, 0xd1, 0x56, 0x7d, + 0x15, 0x59, 0xd9, 0x35, 0x4b, 0x62, 0x80, 0x85, 0x24, 0x6b, 0xd4, 0x86, 0x4e, 0x82, 0x5b, 0x41, + 0xfd, 0x48, 0xfe, 0x9f, 0x28, 0x71, 0x0f, 0x57, 0x3f, 0x5c, 0x9c, 0x1d, 0x77, 0x8e, 0xf0, 0x66, + 0xe2, 0xff, 0xfa, 0xb5, 0xc7, 0x0e, 0x5e, 0x01, 0x57, 0x64, 0xc8, 0xa7, 0x79, 0xff, 0x3e, 0x6e, + 0x5e, 0x3d, 0x9b, 0x56, 0xbf, 0x2e, 0xe3, 0x91, 0xdc, 0x7d, 0x05, 0x00, 0x00, 0xff, 0xff, 0xef, + 0xc9, 0xad, 0xce, 0x33, 0x02, 0x00, 0x00, } diff --git a/api/metric.pb.go b/api/metric.pb.go index 4db3aab..c8a2404 100644 --- a/api/metric.pb.go +++ b/api/metric.pb.go @@ -1,164 +1,93 @@ // Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.21.0 -// protoc v3.11.3 // source: metric.proto package api import ( + fmt "fmt" proto "github.com/golang/protobuf/proto" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" + math "math" ) -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf -// This is a compile-time assertion that a sufficiently up-to-date version -// of the legacy proto package is being used. -const _ = proto.ProtoPackageIsVersion4 +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package type Metric struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - Value float64 `protobuf:"fixed64,2,opt,name=value,proto3" json:"value,omitempty"` - Format string `protobuf:"bytes,3,opt,name=format,proto3" json:"format,omitempty"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + Value float64 `protobuf:"fixed64,2,opt,name=value,proto3" json:"value,omitempty"` + Format string `protobuf:"bytes,3,opt,name=format,proto3" json:"format,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *Metric) Reset() { - *x = Metric{} - if protoimpl.UnsafeEnabled { - mi := &file_metric_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Metric) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Metric) ProtoMessage() {} - -func (x *Metric) ProtoReflect() protoreflect.Message { - mi := &file_metric_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Metric.ProtoReflect.Descriptor instead. +func (m *Metric) Reset() { *m = Metric{} } +func (m *Metric) String() string { return proto.CompactTextString(m) } +func (*Metric) ProtoMessage() {} func (*Metric) Descriptor() ([]byte, []int) { - return file_metric_proto_rawDescGZIP(), []int{0} + return fileDescriptor_da41641f55bff5df, []int{0} } -func (x *Metric) GetName() string { - if x != nil { - return x.Name +func (m *Metric) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Metric.Unmarshal(m, b) +} +func (m *Metric) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Metric.Marshal(b, m, deterministic) +} +func (m *Metric) XXX_Merge(src proto.Message) { + xxx_messageInfo_Metric.Merge(m, src) +} +func (m *Metric) XXX_Size() int { + return xxx_messageInfo_Metric.Size(m) +} +func (m *Metric) XXX_DiscardUnknown() { + xxx_messageInfo_Metric.DiscardUnknown(m) +} + +var xxx_messageInfo_Metric proto.InternalMessageInfo + +func (m *Metric) GetName() string { + if m != nil { + return m.Name } return "" } -func (x *Metric) GetValue() float64 { - if x != nil { - return x.Value +func (m *Metric) GetValue() float64 { + if m != nil { + return m.Value } return 0 } -func (x *Metric) GetFormat() string { - if x != nil { - return x.Format +func (m *Metric) GetFormat() string { + if m != nil { + return m.Format } return "" } -var File_metric_proto protoreflect.FileDescriptor - -var file_metric_proto_rawDesc = []byte{ - 0x0a, 0x0c, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x03, - 0x61, 0x70, 0x69, 0x22, 0x4a, 0x0a, 0x06, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x12, 0x12, 0x0a, - 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, - 0x65, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x01, - 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x6f, 0x72, 0x6d, 0x61, - 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x62, - 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +func init() { + proto.RegisterType((*Metric)(nil), "api.Metric") } -var ( - file_metric_proto_rawDescOnce sync.Once - file_metric_proto_rawDescData = file_metric_proto_rawDesc -) +func init() { proto.RegisterFile("metric.proto", fileDescriptor_da41641f55bff5df) } -func file_metric_proto_rawDescGZIP() []byte { - file_metric_proto_rawDescOnce.Do(func() { - file_metric_proto_rawDescData = protoimpl.X.CompressGZIP(file_metric_proto_rawDescData) - }) - return file_metric_proto_rawDescData -} - -var file_metric_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_metric_proto_goTypes = []interface{}{ - (*Metric)(nil), // 0: api.Metric -} -var file_metric_proto_depIdxs = []int32{ - 0, // [0:0] is the sub-list for method output_type - 0, // [0:0] is the sub-list for method input_type - 0, // [0:0] is the sub-list for extension type_name - 0, // [0:0] is the sub-list for extension extendee - 0, // [0:0] is the sub-list for field type_name -} - -func init() { file_metric_proto_init() } -func file_metric_proto_init() { - if File_metric_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_metric_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Metric); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_metric_proto_rawDesc, - NumEnums: 0, - NumMessages: 1, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_metric_proto_goTypes, - DependencyIndexes: file_metric_proto_depIdxs, - MessageInfos: file_metric_proto_msgTypes, - }.Build() - File_metric_proto = out.File - file_metric_proto_rawDesc = nil - file_metric_proto_goTypes = nil - file_metric_proto_depIdxs = nil +var fileDescriptor_da41641f55bff5df = []byte{ + // 105 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xe2, 0xc9, 0x4d, 0x2d, 0x29, + 0xca, 0x4c, 0xd6, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x62, 0x4e, 0x2c, 0xc8, 0x54, 0xf2, 0xe2, + 0x62, 0xf3, 0x05, 0x0b, 0x0a, 0x09, 0x71, 0xb1, 0xe4, 0x25, 0xe6, 0xa6, 0x4a, 0x30, 0x2a, 0x30, + 0x6a, 0x70, 0x06, 0x81, 0xd9, 0x42, 0x22, 0x5c, 0xac, 0x65, 0x89, 0x39, 0xa5, 0xa9, 0x12, 0x4c, + 0x0a, 0x8c, 0x1a, 0x8c, 0x41, 0x10, 0x8e, 0x90, 0x18, 0x17, 0x5b, 0x5a, 0x7e, 0x51, 0x6e, 0x62, + 0x89, 0x04, 0x33, 0x58, 0x2d, 0x94, 0x97, 0xc4, 0x06, 0x36, 0xd7, 0x18, 0x10, 0x00, 0x00, 0xff, + 0xff, 0x88, 0xf0, 0xba, 0x92, 0x67, 0x00, 0x00, 0x00, } diff --git a/api/namespace.pb.go b/api/namespace.pb.go index 2081e2d..0b376e7 100644 --- a/api/namespace.pb.go +++ b/api/namespace.pb.go @@ -1,433 +1,276 @@ // Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.21.0 -// protoc v3.11.3 // source: namespace.proto package api import ( context "context" + fmt "fmt" proto "github.com/golang/protobuf/proto" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" + math "math" ) -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf -// This is a compile-time assertion that a sufficiently up-to-date version -// of the legacy proto package is being used. -const _ = proto.ProtoPackageIsVersion4 +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package type ListNamespacesRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - PageSize int32 `protobuf:"varint,1,opt,name=pageSize,proto3" json:"pageSize,omitempty"` - Page int32 `protobuf:"varint,2,opt,name=page,proto3" json:"page,omitempty"` - Query string `protobuf:"bytes,3,opt,name=query,proto3" json:"query,omitempty"` + PageSize int32 `protobuf:"varint,1,opt,name=pageSize,proto3" json:"pageSize,omitempty"` + Page int32 `protobuf:"varint,2,opt,name=page,proto3" json:"page,omitempty"` + Query string `protobuf:"bytes,3,opt,name=query,proto3" json:"query,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *ListNamespacesRequest) Reset() { - *x = ListNamespacesRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_namespace_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ListNamespacesRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListNamespacesRequest) ProtoMessage() {} - -func (x *ListNamespacesRequest) ProtoReflect() protoreflect.Message { - mi := &file_namespace_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ListNamespacesRequest.ProtoReflect.Descriptor instead. +func (m *ListNamespacesRequest) Reset() { *m = ListNamespacesRequest{} } +func (m *ListNamespacesRequest) String() string { return proto.CompactTextString(m) } +func (*ListNamespacesRequest) ProtoMessage() {} func (*ListNamespacesRequest) Descriptor() ([]byte, []int) { - return file_namespace_proto_rawDescGZIP(), []int{0} + return fileDescriptor_ecb1e126f615f5dd, []int{0} } -func (x *ListNamespacesRequest) GetPageSize() int32 { - if x != nil { - return x.PageSize +func (m *ListNamespacesRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListNamespacesRequest.Unmarshal(m, b) +} +func (m *ListNamespacesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListNamespacesRequest.Marshal(b, m, deterministic) +} +func (m *ListNamespacesRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListNamespacesRequest.Merge(m, src) +} +func (m *ListNamespacesRequest) XXX_Size() int { + return xxx_messageInfo_ListNamespacesRequest.Size(m) +} +func (m *ListNamespacesRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ListNamespacesRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_ListNamespacesRequest proto.InternalMessageInfo + +func (m *ListNamespacesRequest) GetPageSize() int32 { + if m != nil { + return m.PageSize } return 0 } -func (x *ListNamespacesRequest) GetPage() int32 { - if x != nil { - return x.Page +func (m *ListNamespacesRequest) GetPage() int32 { + if m != nil { + return m.Page } return 0 } -func (x *ListNamespacesRequest) GetQuery() string { - if x != nil { - return x.Query +func (m *ListNamespacesRequest) GetQuery() string { + if m != nil { + return m.Query } return "" } type ListNamespacesResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Count int32 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"` - Namespaces []*Namespace `protobuf:"bytes,2,rep,name=namespaces,proto3" json:"namespaces,omitempty"` - Page int32 `protobuf:"varint,3,opt,name=page,proto3" json:"page,omitempty"` - Pages int32 `protobuf:"varint,4,opt,name=pages,proto3" json:"pages,omitempty"` - TotalCount int32 `protobuf:"varint,5,opt,name=totalCount,proto3" json:"totalCount,omitempty"` + Count int32 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"` + Namespaces []*Namespace `protobuf:"bytes,2,rep,name=namespaces,proto3" json:"namespaces,omitempty"` + Page int32 `protobuf:"varint,3,opt,name=page,proto3" json:"page,omitempty"` + Pages int32 `protobuf:"varint,4,opt,name=pages,proto3" json:"pages,omitempty"` + TotalCount int32 `protobuf:"varint,5,opt,name=totalCount,proto3" json:"totalCount,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *ListNamespacesResponse) Reset() { - *x = ListNamespacesResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_namespace_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ListNamespacesResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListNamespacesResponse) ProtoMessage() {} - -func (x *ListNamespacesResponse) ProtoReflect() protoreflect.Message { - mi := &file_namespace_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ListNamespacesResponse.ProtoReflect.Descriptor instead. +func (m *ListNamespacesResponse) Reset() { *m = ListNamespacesResponse{} } +func (m *ListNamespacesResponse) String() string { return proto.CompactTextString(m) } +func (*ListNamespacesResponse) ProtoMessage() {} func (*ListNamespacesResponse) Descriptor() ([]byte, []int) { - return file_namespace_proto_rawDescGZIP(), []int{1} + return fileDescriptor_ecb1e126f615f5dd, []int{1} } -func (x *ListNamespacesResponse) GetCount() int32 { - if x != nil { - return x.Count +func (m *ListNamespacesResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListNamespacesResponse.Unmarshal(m, b) +} +func (m *ListNamespacesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListNamespacesResponse.Marshal(b, m, deterministic) +} +func (m *ListNamespacesResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListNamespacesResponse.Merge(m, src) +} +func (m *ListNamespacesResponse) XXX_Size() int { + return xxx_messageInfo_ListNamespacesResponse.Size(m) +} +func (m *ListNamespacesResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ListNamespacesResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_ListNamespacesResponse proto.InternalMessageInfo + +func (m *ListNamespacesResponse) GetCount() int32 { + if m != nil { + return m.Count } return 0 } -func (x *ListNamespacesResponse) GetNamespaces() []*Namespace { - if x != nil { - return x.Namespaces +func (m *ListNamespacesResponse) GetNamespaces() []*Namespace { + if m != nil { + return m.Namespaces } return nil } -func (x *ListNamespacesResponse) GetPage() int32 { - if x != nil { - return x.Page +func (m *ListNamespacesResponse) GetPage() int32 { + if m != nil { + return m.Page } return 0 } -func (x *ListNamespacesResponse) GetPages() int32 { - if x != nil { - return x.Pages +func (m *ListNamespacesResponse) GetPages() int32 { + if m != nil { + return m.Pages } return 0 } -func (x *ListNamespacesResponse) GetTotalCount() int32 { - if x != nil { - return x.TotalCount +func (m *ListNamespacesResponse) GetTotalCount() int32 { + if m != nil { + return m.TotalCount } return 0 } type CreateNamespaceRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Namespace *Namespace `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` + Namespace *Namespace `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *CreateNamespaceRequest) Reset() { - *x = CreateNamespaceRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_namespace_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CreateNamespaceRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CreateNamespaceRequest) ProtoMessage() {} - -func (x *CreateNamespaceRequest) ProtoReflect() protoreflect.Message { - mi := &file_namespace_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CreateNamespaceRequest.ProtoReflect.Descriptor instead. +func (m *CreateNamespaceRequest) Reset() { *m = CreateNamespaceRequest{} } +func (m *CreateNamespaceRequest) String() string { return proto.CompactTextString(m) } +func (*CreateNamespaceRequest) ProtoMessage() {} func (*CreateNamespaceRequest) Descriptor() ([]byte, []int) { - return file_namespace_proto_rawDescGZIP(), []int{2} + return fileDescriptor_ecb1e126f615f5dd, []int{2} } -func (x *CreateNamespaceRequest) GetNamespace() *Namespace { - if x != nil { - return x.Namespace +func (m *CreateNamespaceRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CreateNamespaceRequest.Unmarshal(m, b) +} +func (m *CreateNamespaceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CreateNamespaceRequest.Marshal(b, m, deterministic) +} +func (m *CreateNamespaceRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateNamespaceRequest.Merge(m, src) +} +func (m *CreateNamespaceRequest) XXX_Size() int { + return xxx_messageInfo_CreateNamespaceRequest.Size(m) +} +func (m *CreateNamespaceRequest) XXX_DiscardUnknown() { + xxx_messageInfo_CreateNamespaceRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_CreateNamespaceRequest proto.InternalMessageInfo + +func (m *CreateNamespaceRequest) GetNamespace() *Namespace { + if m != nil { + return m.Namespace } return nil } type Namespace struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *Namespace) Reset() { - *x = Namespace{} - if protoimpl.UnsafeEnabled { - mi := &file_namespace_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Namespace) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Namespace) ProtoMessage() {} - -func (x *Namespace) ProtoReflect() protoreflect.Message { - mi := &file_namespace_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Namespace.ProtoReflect.Descriptor instead. +func (m *Namespace) Reset() { *m = Namespace{} } +func (m *Namespace) String() string { return proto.CompactTextString(m) } +func (*Namespace) ProtoMessage() {} func (*Namespace) Descriptor() ([]byte, []int) { - return file_namespace_proto_rawDescGZIP(), []int{3} + return fileDescriptor_ecb1e126f615f5dd, []int{3} } -func (x *Namespace) GetName() string { - if x != nil { - return x.Name +func (m *Namespace) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Namespace.Unmarshal(m, b) +} +func (m *Namespace) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Namespace.Marshal(b, m, deterministic) +} +func (m *Namespace) XXX_Merge(src proto.Message) { + xxx_messageInfo_Namespace.Merge(m, src) +} +func (m *Namespace) XXX_Size() int { + return xxx_messageInfo_Namespace.Size(m) +} +func (m *Namespace) XXX_DiscardUnknown() { + xxx_messageInfo_Namespace.DiscardUnknown(m) +} + +var xxx_messageInfo_Namespace proto.InternalMessageInfo + +func (m *Namespace) GetName() string { + if m != nil { + return m.Name } return "" } -var File_namespace_proto protoreflect.FileDescriptor - -var file_namespace_proto_rawDesc = []byte{ - 0x0a, 0x0f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x12, 0x03, 0x61, 0x70, 0x69, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, - 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x5d, 0x0a, 0x15, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x61, 0x6d, 0x65, - 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, - 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, - 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x67, - 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x70, 0x61, 0x67, 0x65, 0x12, 0x14, 0x0a, - 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x71, 0x75, - 0x65, 0x72, 0x79, 0x22, 0xa8, 0x01, 0x0a, 0x16, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x61, 0x6d, 0x65, - 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, - 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x63, - 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x2e, 0x0a, 0x0a, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, - 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x4e, - 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x0a, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, - 0x61, 0x63, 0x65, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x67, 0x65, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x05, 0x52, 0x04, 0x70, 0x61, 0x67, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x61, 0x67, 0x65, - 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x70, 0x61, 0x67, 0x65, 0x73, 0x12, 0x1e, - 0x0a, 0x0a, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01, - 0x28, 0x05, 0x52, 0x0a, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x46, - 0x0a, 0x16, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, - 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2c, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, - 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x61, 0x70, - 0x69, 0x2e, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x09, 0x6e, 0x61, 0x6d, - 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x22, 0x1f, 0x0a, 0x09, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, - 0x61, 0x63, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x32, 0xec, 0x01, 0x0a, 0x10, 0x4e, 0x61, 0x6d, 0x65, - 0x73, 0x70, 0x61, 0x63, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x6b, 0x0a, 0x0e, - 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x12, 0x1a, - 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, - 0x63, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x61, 0x70, 0x69, - 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x20, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1a, 0x12, - 0x18, 0x2f, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x6e, - 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x12, 0x6b, 0x0a, 0x0f, 0x43, 0x72, 0x65, - 0x61, 0x74, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x1b, 0x2e, 0x61, - 0x70, 0x69, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, - 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0e, 0x2e, 0x61, 0x70, 0x69, 0x2e, - 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x22, 0x2b, 0x82, 0xd3, 0xe4, 0x93, 0x02, - 0x25, 0x22, 0x18, 0x2f, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, - 0x2f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x3a, 0x09, 0x6e, 0x61, 0x6d, - 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +func init() { + proto.RegisterType((*ListNamespacesRequest)(nil), "api.ListNamespacesRequest") + proto.RegisterType((*ListNamespacesResponse)(nil), "api.ListNamespacesResponse") + proto.RegisterType((*CreateNamespaceRequest)(nil), "api.CreateNamespaceRequest") + proto.RegisterType((*Namespace)(nil), "api.Namespace") } -var ( - file_namespace_proto_rawDescOnce sync.Once - file_namespace_proto_rawDescData = file_namespace_proto_rawDesc -) +func init() { proto.RegisterFile("namespace.proto", fileDescriptor_ecb1e126f615f5dd) } -func file_namespace_proto_rawDescGZIP() []byte { - file_namespace_proto_rawDescOnce.Do(func() { - file_namespace_proto_rawDescData = protoimpl.X.CompressGZIP(file_namespace_proto_rawDescData) - }) - return file_namespace_proto_rawDescData -} - -var file_namespace_proto_msgTypes = make([]protoimpl.MessageInfo, 4) -var file_namespace_proto_goTypes = []interface{}{ - (*ListNamespacesRequest)(nil), // 0: api.ListNamespacesRequest - (*ListNamespacesResponse)(nil), // 1: api.ListNamespacesResponse - (*CreateNamespaceRequest)(nil), // 2: api.CreateNamespaceRequest - (*Namespace)(nil), // 3: api.Namespace -} -var file_namespace_proto_depIdxs = []int32{ - 3, // 0: api.ListNamespacesResponse.namespaces:type_name -> api.Namespace - 3, // 1: api.CreateNamespaceRequest.namespace:type_name -> api.Namespace - 0, // 2: api.NamespaceService.ListNamespaces:input_type -> api.ListNamespacesRequest - 2, // 3: api.NamespaceService.CreateNamespace:input_type -> api.CreateNamespaceRequest - 1, // 4: api.NamespaceService.ListNamespaces:output_type -> api.ListNamespacesResponse - 3, // 5: api.NamespaceService.CreateNamespace:output_type -> api.Namespace - 4, // [4:6] is the sub-list for method output_type - 2, // [2:4] is the sub-list for method input_type - 2, // [2:2] is the sub-list for extension type_name - 2, // [2:2] is the sub-list for extension extendee - 0, // [0:2] is the sub-list for field type_name -} - -func init() { file_namespace_proto_init() } -func file_namespace_proto_init() { - if File_namespace_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_namespace_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListNamespacesRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_namespace_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListNamespacesResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_namespace_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateNamespaceRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_namespace_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Namespace); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_namespace_proto_rawDesc, - NumEnums: 0, - NumMessages: 4, - NumExtensions: 0, - NumServices: 1, - }, - GoTypes: file_namespace_proto_goTypes, - DependencyIndexes: file_namespace_proto_depIdxs, - MessageInfos: file_namespace_proto_msgTypes, - }.Build() - File_namespace_proto = out.File - file_namespace_proto_rawDesc = nil - file_namespace_proto_goTypes = nil - file_namespace_proto_depIdxs = nil +var fileDescriptor_ecb1e126f615f5dd = []byte{ + // 341 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x52, 0xcb, 0x4a, 0xc3, 0x40, + 0x14, 0x25, 0x4d, 0x2b, 0xe6, 0x0a, 0xad, 0x0c, 0x5a, 0x42, 0x14, 0x0d, 0x03, 0x42, 0x41, 0x49, + 0x68, 0xdd, 0xb9, 0x2d, 0xb8, 0x12, 0x17, 0xe9, 0xda, 0xc5, 0xb4, 0x5c, 0xca, 0xd0, 0x9a, 0x99, + 0x66, 0xa6, 0x05, 0x5d, 0xfa, 0x0b, 0xfe, 0x84, 0xff, 0xe3, 0x2f, 0xb8, 0xf4, 0x23, 0x24, 0x37, + 0x75, 0xfa, 0x30, 0xae, 0x72, 0x9f, 0xe7, 0x9c, 0x7b, 0x26, 0xd0, 0xc9, 0xc5, 0x33, 0x1a, 0x2d, + 0x26, 0x98, 0xe8, 0x42, 0x59, 0xc5, 0x7c, 0xa1, 0x65, 0x74, 0x3e, 0x55, 0x6a, 0x3a, 0xc7, 0x54, + 0x68, 0x99, 0x8a, 0x3c, 0x57, 0x56, 0x58, 0xa9, 0x72, 0x53, 0x8d, 0xf0, 0x27, 0x38, 0x7d, 0x90, + 0xc6, 0x3e, 0xfe, 0x6e, 0x9a, 0x0c, 0x17, 0x4b, 0x34, 0x96, 0x45, 0x70, 0xa8, 0xc5, 0x14, 0x47, + 0xf2, 0x15, 0x43, 0x2f, 0xf6, 0x7a, 0xad, 0xcc, 0xe5, 0x8c, 0x41, 0xb3, 0x8c, 0xc3, 0x06, 0xd5, + 0x29, 0x66, 0x27, 0xd0, 0x5a, 0x2c, 0xb1, 0x78, 0x09, 0xfd, 0xd8, 0xeb, 0x05, 0x59, 0x95, 0xf0, + 0x0f, 0x0f, 0xba, 0xfb, 0xf8, 0x46, 0xab, 0xdc, 0xd0, 0xc2, 0x44, 0x2d, 0x73, 0xbb, 0x46, 0xaf, + 0x12, 0x96, 0x00, 0xb8, 0x2b, 0x4c, 0xd8, 0x88, 0xfd, 0xde, 0xd1, 0xa0, 0x9d, 0x08, 0x2d, 0x13, + 0x07, 0x91, 0x6d, 0x4d, 0x38, 0x29, 0xfe, 0xae, 0x94, 0xf2, 0x6b, 0xc2, 0x66, 0x85, 0x4c, 0x09, + 0xbb, 0x00, 0xb0, 0xca, 0x8a, 0xf9, 0x90, 0x48, 0x5b, 0xd4, 0xda, 0xaa, 0xf0, 0x7b, 0xe8, 0x0e, + 0x0b, 0x14, 0x16, 0x37, 0x44, 0x6b, 0x2b, 0x6e, 0x20, 0x70, 0x8c, 0xa4, 0xf6, 0xaf, 0xa4, 0xcd, + 0x00, 0xbf, 0x84, 0xc0, 0xd5, 0x4b, 0x79, 0x65, 0x87, 0xb6, 0x82, 0x8c, 0xe2, 0xc1, 0xb7, 0x07, + 0xc7, 0x6e, 0x62, 0x84, 0xc5, 0x4a, 0x4e, 0x90, 0xcd, 0xa0, 0xbd, 0xeb, 0x13, 0x8b, 0x88, 0xa2, + 0xf6, 0x71, 0xa2, 0xb3, 0xda, 0x5e, 0x65, 0x2c, 0x8f, 0xdf, 0x3e, 0xbf, 0xde, 0x1b, 0x11, 0x0b, + 0xcb, 0x27, 0x37, 0xe9, 0xaa, 0x3f, 0x46, 0x2b, 0xfa, 0xe9, 0x96, 0x69, 0x33, 0xe8, 0xec, 0x9d, + 0xca, 0x2a, 0xc4, 0x7a, 0x03, 0xa2, 0xbd, 0x6b, 0xf9, 0x35, 0x31, 0x5c, 0xf1, 0x7f, 0x19, 0xee, + 0x36, 0x7e, 0x8c, 0x0f, 0xe8, 0x47, 0xbb, 0xfd, 0x09, 0x00, 0x00, 0xff, 0xff, 0x92, 0x90, 0x1e, + 0xf0, 0x9e, 0x02, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. var _ context.Context -var _ grpc.ClientConnInterface +var _ grpc.ClientConn // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package it is being compiled against. -const _ = grpc.SupportPackageIsVersion6 +const _ = grpc.SupportPackageIsVersion4 // NamespaceServiceClient is the client API for NamespaceService service. // @@ -438,10 +281,10 @@ type NamespaceServiceClient interface { } type namespaceServiceClient struct { - cc grpc.ClientConnInterface + cc *grpc.ClientConn } -func NewNamespaceServiceClient(cc grpc.ClientConnInterface) NamespaceServiceClient { +func NewNamespaceServiceClient(cc *grpc.ClientConn) NamespaceServiceClient { return &namespaceServiceClient{cc} } @@ -473,10 +316,10 @@ type NamespaceServiceServer interface { type UnimplementedNamespaceServiceServer struct { } -func (*UnimplementedNamespaceServiceServer) ListNamespaces(context.Context, *ListNamespacesRequest) (*ListNamespacesResponse, error) { +func (*UnimplementedNamespaceServiceServer) ListNamespaces(ctx context.Context, req *ListNamespacesRequest) (*ListNamespacesResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ListNamespaces not implemented") } -func (*UnimplementedNamespaceServiceServer) CreateNamespace(context.Context, *CreateNamespaceRequest) (*Namespace, error) { +func (*UnimplementedNamespaceServiceServer) CreateNamespace(ctx context.Context, req *CreateNamespaceRequest) (*Namespace, error) { return nil, status.Errorf(codes.Unimplemented, "method CreateNamespace not implemented") } diff --git a/api/secret.pb.go b/api/secret.pb.go index e273357..971f47b 100644 --- a/api/secret.pb.go +++ b/api/secret.pb.go @@ -1,1243 +1,773 @@ // Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.21.0 -// protoc v3.11.3 // source: secret.proto package api import ( context "context" + fmt "fmt" proto "github.com/golang/protobuf/proto" empty "github.com/golang/protobuf/ptypes/empty" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" + math "math" ) -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf -// This is a compile-time assertion that a sufficiently up-to-date version -// of the legacy proto package is being used. -const _ = proto.ProtoPackageIsVersion4 +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package type AddSecretKeyValueRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` - Secret *Secret `protobuf:"bytes,2,opt,name=secret,proto3" json:"secret,omitempty"` + Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` + Secret *Secret `protobuf:"bytes,2,opt,name=secret,proto3" json:"secret,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *AddSecretKeyValueRequest) Reset() { - *x = AddSecretKeyValueRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_secret_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *AddSecretKeyValueRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*AddSecretKeyValueRequest) ProtoMessage() {} - -func (x *AddSecretKeyValueRequest) ProtoReflect() protoreflect.Message { - mi := &file_secret_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use AddSecretKeyValueRequest.ProtoReflect.Descriptor instead. +func (m *AddSecretKeyValueRequest) Reset() { *m = AddSecretKeyValueRequest{} } +func (m *AddSecretKeyValueRequest) String() string { return proto.CompactTextString(m) } +func (*AddSecretKeyValueRequest) ProtoMessage() {} func (*AddSecretKeyValueRequest) Descriptor() ([]byte, []int) { - return file_secret_proto_rawDescGZIP(), []int{0} + return fileDescriptor_6acf428160d7a216, []int{0} } -func (x *AddSecretKeyValueRequest) GetNamespace() string { - if x != nil { - return x.Namespace +func (m *AddSecretKeyValueRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AddSecretKeyValueRequest.Unmarshal(m, b) +} +func (m *AddSecretKeyValueRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AddSecretKeyValueRequest.Marshal(b, m, deterministic) +} +func (m *AddSecretKeyValueRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_AddSecretKeyValueRequest.Merge(m, src) +} +func (m *AddSecretKeyValueRequest) XXX_Size() int { + return xxx_messageInfo_AddSecretKeyValueRequest.Size(m) +} +func (m *AddSecretKeyValueRequest) XXX_DiscardUnknown() { + xxx_messageInfo_AddSecretKeyValueRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_AddSecretKeyValueRequest proto.InternalMessageInfo + +func (m *AddSecretKeyValueRequest) GetNamespace() string { + if m != nil { + return m.Namespace } return "" } -func (x *AddSecretKeyValueRequest) GetSecret() *Secret { - if x != nil { - return x.Secret +func (m *AddSecretKeyValueRequest) GetSecret() *Secret { + if m != nil { + return m.Secret } return nil } type AddSecretKeyValueResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Inserted bool `protobuf:"varint,1,opt,name=inserted,proto3" json:"inserted,omitempty"` + Inserted bool `protobuf:"varint,1,opt,name=inserted,proto3" json:"inserted,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *AddSecretKeyValueResponse) Reset() { - *x = AddSecretKeyValueResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_secret_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *AddSecretKeyValueResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*AddSecretKeyValueResponse) ProtoMessage() {} - -func (x *AddSecretKeyValueResponse) ProtoReflect() protoreflect.Message { - mi := &file_secret_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use AddSecretKeyValueResponse.ProtoReflect.Descriptor instead. +func (m *AddSecretKeyValueResponse) Reset() { *m = AddSecretKeyValueResponse{} } +func (m *AddSecretKeyValueResponse) String() string { return proto.CompactTextString(m) } +func (*AddSecretKeyValueResponse) ProtoMessage() {} func (*AddSecretKeyValueResponse) Descriptor() ([]byte, []int) { - return file_secret_proto_rawDescGZIP(), []int{1} + return fileDescriptor_6acf428160d7a216, []int{1} } -func (x *AddSecretKeyValueResponse) GetInserted() bool { - if x != nil { - return x.Inserted +func (m *AddSecretKeyValueResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AddSecretKeyValueResponse.Unmarshal(m, b) +} +func (m *AddSecretKeyValueResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AddSecretKeyValueResponse.Marshal(b, m, deterministic) +} +func (m *AddSecretKeyValueResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_AddSecretKeyValueResponse.Merge(m, src) +} +func (m *AddSecretKeyValueResponse) XXX_Size() int { + return xxx_messageInfo_AddSecretKeyValueResponse.Size(m) +} +func (m *AddSecretKeyValueResponse) XXX_DiscardUnknown() { + xxx_messageInfo_AddSecretKeyValueResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_AddSecretKeyValueResponse proto.InternalMessageInfo + +func (m *AddSecretKeyValueResponse) GetInserted() bool { + if m != nil { + return m.Inserted } return false } type SecretExistsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *SecretExistsRequest) Reset() { - *x = SecretExistsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_secret_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SecretExistsRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SecretExistsRequest) ProtoMessage() {} - -func (x *SecretExistsRequest) ProtoReflect() protoreflect.Message { - mi := &file_secret_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SecretExistsRequest.ProtoReflect.Descriptor instead. +func (m *SecretExistsRequest) Reset() { *m = SecretExistsRequest{} } +func (m *SecretExistsRequest) String() string { return proto.CompactTextString(m) } +func (*SecretExistsRequest) ProtoMessage() {} func (*SecretExistsRequest) Descriptor() ([]byte, []int) { - return file_secret_proto_rawDescGZIP(), []int{2} + return fileDescriptor_6acf428160d7a216, []int{2} } -func (x *SecretExistsRequest) GetNamespace() string { - if x != nil { - return x.Namespace +func (m *SecretExistsRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SecretExistsRequest.Unmarshal(m, b) +} +func (m *SecretExistsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SecretExistsRequest.Marshal(b, m, deterministic) +} +func (m *SecretExistsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_SecretExistsRequest.Merge(m, src) +} +func (m *SecretExistsRequest) XXX_Size() int { + return xxx_messageInfo_SecretExistsRequest.Size(m) +} +func (m *SecretExistsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_SecretExistsRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_SecretExistsRequest proto.InternalMessageInfo + +func (m *SecretExistsRequest) GetNamespace() string { + if m != nil { + return m.Namespace } return "" } -func (x *SecretExistsRequest) GetName() string { - if x != nil { - return x.Name +func (m *SecretExistsRequest) GetName() string { + if m != nil { + return m.Name } return "" } type SecretExistsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Exists bool `protobuf:"varint,1,opt,name=exists,proto3" json:"exists,omitempty"` + Exists bool `protobuf:"varint,1,opt,name=exists,proto3" json:"exists,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *SecretExistsResponse) Reset() { - *x = SecretExistsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_secret_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SecretExistsResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SecretExistsResponse) ProtoMessage() {} - -func (x *SecretExistsResponse) ProtoReflect() protoreflect.Message { - mi := &file_secret_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SecretExistsResponse.ProtoReflect.Descriptor instead. +func (m *SecretExistsResponse) Reset() { *m = SecretExistsResponse{} } +func (m *SecretExistsResponse) String() string { return proto.CompactTextString(m) } +func (*SecretExistsResponse) ProtoMessage() {} func (*SecretExistsResponse) Descriptor() ([]byte, []int) { - return file_secret_proto_rawDescGZIP(), []int{3} + return fileDescriptor_6acf428160d7a216, []int{3} } -func (x *SecretExistsResponse) GetExists() bool { - if x != nil { - return x.Exists +func (m *SecretExistsResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SecretExistsResponse.Unmarshal(m, b) +} +func (m *SecretExistsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SecretExistsResponse.Marshal(b, m, deterministic) +} +func (m *SecretExistsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_SecretExistsResponse.Merge(m, src) +} +func (m *SecretExistsResponse) XXX_Size() int { + return xxx_messageInfo_SecretExistsResponse.Size(m) +} +func (m *SecretExistsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_SecretExistsResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_SecretExistsResponse proto.InternalMessageInfo + +func (m *SecretExistsResponse) GetExists() bool { + if m != nil { + return m.Exists } return false } type UpdateSecretKeyValueRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` - Secret *Secret `protobuf:"bytes,2,opt,name=secret,proto3" json:"secret,omitempty"` + Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` + Secret *Secret `protobuf:"bytes,2,opt,name=secret,proto3" json:"secret,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *UpdateSecretKeyValueRequest) Reset() { - *x = UpdateSecretKeyValueRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_secret_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UpdateSecretKeyValueRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UpdateSecretKeyValueRequest) ProtoMessage() {} - -func (x *UpdateSecretKeyValueRequest) ProtoReflect() protoreflect.Message { - mi := &file_secret_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UpdateSecretKeyValueRequest.ProtoReflect.Descriptor instead. +func (m *UpdateSecretKeyValueRequest) Reset() { *m = UpdateSecretKeyValueRequest{} } +func (m *UpdateSecretKeyValueRequest) String() string { return proto.CompactTextString(m) } +func (*UpdateSecretKeyValueRequest) ProtoMessage() {} func (*UpdateSecretKeyValueRequest) Descriptor() ([]byte, []int) { - return file_secret_proto_rawDescGZIP(), []int{4} + return fileDescriptor_6acf428160d7a216, []int{4} } -func (x *UpdateSecretKeyValueRequest) GetNamespace() string { - if x != nil { - return x.Namespace +func (m *UpdateSecretKeyValueRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UpdateSecretKeyValueRequest.Unmarshal(m, b) +} +func (m *UpdateSecretKeyValueRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UpdateSecretKeyValueRequest.Marshal(b, m, deterministic) +} +func (m *UpdateSecretKeyValueRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateSecretKeyValueRequest.Merge(m, src) +} +func (m *UpdateSecretKeyValueRequest) XXX_Size() int { + return xxx_messageInfo_UpdateSecretKeyValueRequest.Size(m) +} +func (m *UpdateSecretKeyValueRequest) XXX_DiscardUnknown() { + xxx_messageInfo_UpdateSecretKeyValueRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_UpdateSecretKeyValueRequest proto.InternalMessageInfo + +func (m *UpdateSecretKeyValueRequest) GetNamespace() string { + if m != nil { + return m.Namespace } return "" } -func (x *UpdateSecretKeyValueRequest) GetSecret() *Secret { - if x != nil { - return x.Secret +func (m *UpdateSecretKeyValueRequest) GetSecret() *Secret { + if m != nil { + return m.Secret } return nil } type UpdateSecretKeyValueResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Updated bool `protobuf:"varint,1,opt,name=updated,proto3" json:"updated,omitempty"` + Updated bool `protobuf:"varint,1,opt,name=updated,proto3" json:"updated,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *UpdateSecretKeyValueResponse) Reset() { - *x = UpdateSecretKeyValueResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_secret_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UpdateSecretKeyValueResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UpdateSecretKeyValueResponse) ProtoMessage() {} - -func (x *UpdateSecretKeyValueResponse) ProtoReflect() protoreflect.Message { - mi := &file_secret_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UpdateSecretKeyValueResponse.ProtoReflect.Descriptor instead. +func (m *UpdateSecretKeyValueResponse) Reset() { *m = UpdateSecretKeyValueResponse{} } +func (m *UpdateSecretKeyValueResponse) String() string { return proto.CompactTextString(m) } +func (*UpdateSecretKeyValueResponse) ProtoMessage() {} func (*UpdateSecretKeyValueResponse) Descriptor() ([]byte, []int) { - return file_secret_proto_rawDescGZIP(), []int{5} + return fileDescriptor_6acf428160d7a216, []int{5} } -func (x *UpdateSecretKeyValueResponse) GetUpdated() bool { - if x != nil { - return x.Updated +func (m *UpdateSecretKeyValueResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UpdateSecretKeyValueResponse.Unmarshal(m, b) +} +func (m *UpdateSecretKeyValueResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UpdateSecretKeyValueResponse.Marshal(b, m, deterministic) +} +func (m *UpdateSecretKeyValueResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateSecretKeyValueResponse.Merge(m, src) +} +func (m *UpdateSecretKeyValueResponse) XXX_Size() int { + return xxx_messageInfo_UpdateSecretKeyValueResponse.Size(m) +} +func (m *UpdateSecretKeyValueResponse) XXX_DiscardUnknown() { + xxx_messageInfo_UpdateSecretKeyValueResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_UpdateSecretKeyValueResponse proto.InternalMessageInfo + +func (m *UpdateSecretKeyValueResponse) GetUpdated() bool { + if m != nil { + return m.Updated } return false } type DeleteSecretRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *DeleteSecretRequest) Reset() { - *x = DeleteSecretRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_secret_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DeleteSecretRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeleteSecretRequest) ProtoMessage() {} - -func (x *DeleteSecretRequest) ProtoReflect() protoreflect.Message { - mi := &file_secret_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DeleteSecretRequest.ProtoReflect.Descriptor instead. +func (m *DeleteSecretRequest) Reset() { *m = DeleteSecretRequest{} } +func (m *DeleteSecretRequest) String() string { return proto.CompactTextString(m) } +func (*DeleteSecretRequest) ProtoMessage() {} func (*DeleteSecretRequest) Descriptor() ([]byte, []int) { - return file_secret_proto_rawDescGZIP(), []int{6} + return fileDescriptor_6acf428160d7a216, []int{6} } -func (x *DeleteSecretRequest) GetNamespace() string { - if x != nil { - return x.Namespace +func (m *DeleteSecretRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DeleteSecretRequest.Unmarshal(m, b) +} +func (m *DeleteSecretRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DeleteSecretRequest.Marshal(b, m, deterministic) +} +func (m *DeleteSecretRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeleteSecretRequest.Merge(m, src) +} +func (m *DeleteSecretRequest) XXX_Size() int { + return xxx_messageInfo_DeleteSecretRequest.Size(m) +} +func (m *DeleteSecretRequest) XXX_DiscardUnknown() { + xxx_messageInfo_DeleteSecretRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_DeleteSecretRequest proto.InternalMessageInfo + +func (m *DeleteSecretRequest) GetNamespace() string { + if m != nil { + return m.Namespace } return "" } -func (x *DeleteSecretRequest) GetName() string { - if x != nil { - return x.Name +func (m *DeleteSecretRequest) GetName() string { + if m != nil { + return m.Name } return "" } type DeleteSecretKeyRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` - SecretName string `protobuf:"bytes,2,opt,name=secretName,proto3" json:"secretName,omitempty"` - Key string `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"` + Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` + SecretName string `protobuf:"bytes,2,opt,name=secretName,proto3" json:"secretName,omitempty"` + Key string `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *DeleteSecretKeyRequest) Reset() { - *x = DeleteSecretKeyRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_secret_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DeleteSecretKeyRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeleteSecretKeyRequest) ProtoMessage() {} - -func (x *DeleteSecretKeyRequest) ProtoReflect() protoreflect.Message { - mi := &file_secret_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DeleteSecretKeyRequest.ProtoReflect.Descriptor instead. +func (m *DeleteSecretKeyRequest) Reset() { *m = DeleteSecretKeyRequest{} } +func (m *DeleteSecretKeyRequest) String() string { return proto.CompactTextString(m) } +func (*DeleteSecretKeyRequest) ProtoMessage() {} func (*DeleteSecretKeyRequest) Descriptor() ([]byte, []int) { - return file_secret_proto_rawDescGZIP(), []int{7} + return fileDescriptor_6acf428160d7a216, []int{7} } -func (x *DeleteSecretKeyRequest) GetNamespace() string { - if x != nil { - return x.Namespace +func (m *DeleteSecretKeyRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DeleteSecretKeyRequest.Unmarshal(m, b) +} +func (m *DeleteSecretKeyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DeleteSecretKeyRequest.Marshal(b, m, deterministic) +} +func (m *DeleteSecretKeyRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeleteSecretKeyRequest.Merge(m, src) +} +func (m *DeleteSecretKeyRequest) XXX_Size() int { + return xxx_messageInfo_DeleteSecretKeyRequest.Size(m) +} +func (m *DeleteSecretKeyRequest) XXX_DiscardUnknown() { + xxx_messageInfo_DeleteSecretKeyRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_DeleteSecretKeyRequest proto.InternalMessageInfo + +func (m *DeleteSecretKeyRequest) GetNamespace() string { + if m != nil { + return m.Namespace } return "" } -func (x *DeleteSecretKeyRequest) GetSecretName() string { - if x != nil { - return x.SecretName +func (m *DeleteSecretKeyRequest) GetSecretName() string { + if m != nil { + return m.SecretName } return "" } -func (x *DeleteSecretKeyRequest) GetKey() string { - if x != nil { - return x.Key +func (m *DeleteSecretKeyRequest) GetKey() string { + if m != nil { + return m.Key } return "" } type DeleteSecretKeyResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Deleted bool `protobuf:"varint,1,opt,name=deleted,proto3" json:"deleted,omitempty"` + Deleted bool `protobuf:"varint,1,opt,name=deleted,proto3" json:"deleted,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *DeleteSecretKeyResponse) Reset() { - *x = DeleteSecretKeyResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_secret_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DeleteSecretKeyResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeleteSecretKeyResponse) ProtoMessage() {} - -func (x *DeleteSecretKeyResponse) ProtoReflect() protoreflect.Message { - mi := &file_secret_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DeleteSecretKeyResponse.ProtoReflect.Descriptor instead. +func (m *DeleteSecretKeyResponse) Reset() { *m = DeleteSecretKeyResponse{} } +func (m *DeleteSecretKeyResponse) String() string { return proto.CompactTextString(m) } +func (*DeleteSecretKeyResponse) ProtoMessage() {} func (*DeleteSecretKeyResponse) Descriptor() ([]byte, []int) { - return file_secret_proto_rawDescGZIP(), []int{8} + return fileDescriptor_6acf428160d7a216, []int{8} } -func (x *DeleteSecretKeyResponse) GetDeleted() bool { - if x != nil { - return x.Deleted +func (m *DeleteSecretKeyResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DeleteSecretKeyResponse.Unmarshal(m, b) +} +func (m *DeleteSecretKeyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DeleteSecretKeyResponse.Marshal(b, m, deterministic) +} +func (m *DeleteSecretKeyResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeleteSecretKeyResponse.Merge(m, src) +} +func (m *DeleteSecretKeyResponse) XXX_Size() int { + return xxx_messageInfo_DeleteSecretKeyResponse.Size(m) +} +func (m *DeleteSecretKeyResponse) XXX_DiscardUnknown() { + xxx_messageInfo_DeleteSecretKeyResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_DeleteSecretKeyResponse proto.InternalMessageInfo + +func (m *DeleteSecretKeyResponse) GetDeleted() bool { + if m != nil { + return m.Deleted } return false } type DeleteSecretResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Deleted bool `protobuf:"varint,1,opt,name=deleted,proto3" json:"deleted,omitempty"` + Deleted bool `protobuf:"varint,1,opt,name=deleted,proto3" json:"deleted,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *DeleteSecretResponse) Reset() { - *x = DeleteSecretResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_secret_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DeleteSecretResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeleteSecretResponse) ProtoMessage() {} - -func (x *DeleteSecretResponse) ProtoReflect() protoreflect.Message { - mi := &file_secret_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DeleteSecretResponse.ProtoReflect.Descriptor instead. +func (m *DeleteSecretResponse) Reset() { *m = DeleteSecretResponse{} } +func (m *DeleteSecretResponse) String() string { return proto.CompactTextString(m) } +func (*DeleteSecretResponse) ProtoMessage() {} func (*DeleteSecretResponse) Descriptor() ([]byte, []int) { - return file_secret_proto_rawDescGZIP(), []int{9} + return fileDescriptor_6acf428160d7a216, []int{9} } -func (x *DeleteSecretResponse) GetDeleted() bool { - if x != nil { - return x.Deleted +func (m *DeleteSecretResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DeleteSecretResponse.Unmarshal(m, b) +} +func (m *DeleteSecretResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DeleteSecretResponse.Marshal(b, m, deterministic) +} +func (m *DeleteSecretResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeleteSecretResponse.Merge(m, src) +} +func (m *DeleteSecretResponse) XXX_Size() int { + return xxx_messageInfo_DeleteSecretResponse.Size(m) +} +func (m *DeleteSecretResponse) XXX_DiscardUnknown() { + xxx_messageInfo_DeleteSecretResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_DeleteSecretResponse proto.InternalMessageInfo + +func (m *DeleteSecretResponse) GetDeleted() bool { + if m != nil { + return m.Deleted } return false } type ListSecretsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` + Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *ListSecretsRequest) Reset() { - *x = ListSecretsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_secret_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ListSecretsRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListSecretsRequest) ProtoMessage() {} - -func (x *ListSecretsRequest) ProtoReflect() protoreflect.Message { - mi := &file_secret_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ListSecretsRequest.ProtoReflect.Descriptor instead. +func (m *ListSecretsRequest) Reset() { *m = ListSecretsRequest{} } +func (m *ListSecretsRequest) String() string { return proto.CompactTextString(m) } +func (*ListSecretsRequest) ProtoMessage() {} func (*ListSecretsRequest) Descriptor() ([]byte, []int) { - return file_secret_proto_rawDescGZIP(), []int{10} + return fileDescriptor_6acf428160d7a216, []int{10} } -func (x *ListSecretsRequest) GetNamespace() string { - if x != nil { - return x.Namespace +func (m *ListSecretsRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListSecretsRequest.Unmarshal(m, b) +} +func (m *ListSecretsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListSecretsRequest.Marshal(b, m, deterministic) +} +func (m *ListSecretsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListSecretsRequest.Merge(m, src) +} +func (m *ListSecretsRequest) XXX_Size() int { + return xxx_messageInfo_ListSecretsRequest.Size(m) +} +func (m *ListSecretsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ListSecretsRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_ListSecretsRequest proto.InternalMessageInfo + +func (m *ListSecretsRequest) GetNamespace() string { + if m != nil { + return m.Namespace } return "" } type ListSecretsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Count int32 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"` - Secrets []*Secret `protobuf:"bytes,2,rep,name=secrets,proto3" json:"secrets,omitempty"` + Count int32 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"` + Secrets []*Secret `protobuf:"bytes,2,rep,name=secrets,proto3" json:"secrets,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *ListSecretsResponse) Reset() { - *x = ListSecretsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_secret_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ListSecretsResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListSecretsResponse) ProtoMessage() {} - -func (x *ListSecretsResponse) ProtoReflect() protoreflect.Message { - mi := &file_secret_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ListSecretsResponse.ProtoReflect.Descriptor instead. +func (m *ListSecretsResponse) Reset() { *m = ListSecretsResponse{} } +func (m *ListSecretsResponse) String() string { return proto.CompactTextString(m) } +func (*ListSecretsResponse) ProtoMessage() {} func (*ListSecretsResponse) Descriptor() ([]byte, []int) { - return file_secret_proto_rawDescGZIP(), []int{11} + return fileDescriptor_6acf428160d7a216, []int{11} } -func (x *ListSecretsResponse) GetCount() int32 { - if x != nil { - return x.Count +func (m *ListSecretsResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListSecretsResponse.Unmarshal(m, b) +} +func (m *ListSecretsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListSecretsResponse.Marshal(b, m, deterministic) +} +func (m *ListSecretsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListSecretsResponse.Merge(m, src) +} +func (m *ListSecretsResponse) XXX_Size() int { + return xxx_messageInfo_ListSecretsResponse.Size(m) +} +func (m *ListSecretsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ListSecretsResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_ListSecretsResponse proto.InternalMessageInfo + +func (m *ListSecretsResponse) GetCount() int32 { + if m != nil { + return m.Count } return 0 } -func (x *ListSecretsResponse) GetSecrets() []*Secret { - if x != nil { - return x.Secrets +func (m *ListSecretsResponse) GetSecrets() []*Secret { + if m != nil { + return m.Secrets } return nil } type CreateSecretRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` - Secret *Secret `protobuf:"bytes,2,opt,name=secret,proto3" json:"secret,omitempty"` + Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` + Secret *Secret `protobuf:"bytes,2,opt,name=secret,proto3" json:"secret,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *CreateSecretRequest) Reset() { - *x = CreateSecretRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_secret_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CreateSecretRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CreateSecretRequest) ProtoMessage() {} - -func (x *CreateSecretRequest) ProtoReflect() protoreflect.Message { - mi := &file_secret_proto_msgTypes[12] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CreateSecretRequest.ProtoReflect.Descriptor instead. +func (m *CreateSecretRequest) Reset() { *m = CreateSecretRequest{} } +func (m *CreateSecretRequest) String() string { return proto.CompactTextString(m) } +func (*CreateSecretRequest) ProtoMessage() {} func (*CreateSecretRequest) Descriptor() ([]byte, []int) { - return file_secret_proto_rawDescGZIP(), []int{12} + return fileDescriptor_6acf428160d7a216, []int{12} } -func (x *CreateSecretRequest) GetNamespace() string { - if x != nil { - return x.Namespace +func (m *CreateSecretRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CreateSecretRequest.Unmarshal(m, b) +} +func (m *CreateSecretRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CreateSecretRequest.Marshal(b, m, deterministic) +} +func (m *CreateSecretRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateSecretRequest.Merge(m, src) +} +func (m *CreateSecretRequest) XXX_Size() int { + return xxx_messageInfo_CreateSecretRequest.Size(m) +} +func (m *CreateSecretRequest) XXX_DiscardUnknown() { + xxx_messageInfo_CreateSecretRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_CreateSecretRequest proto.InternalMessageInfo + +func (m *CreateSecretRequest) GetNamespace() string { + if m != nil { + return m.Namespace } return "" } -func (x *CreateSecretRequest) GetSecret() *Secret { - if x != nil { - return x.Secret +func (m *CreateSecretRequest) GetSecret() *Secret { + if m != nil { + return m.Secret } return nil } type GetSecretRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *GetSecretRequest) Reset() { - *x = GetSecretRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_secret_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetSecretRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetSecretRequest) ProtoMessage() {} - -func (x *GetSecretRequest) ProtoReflect() protoreflect.Message { - mi := &file_secret_proto_msgTypes[13] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetSecretRequest.ProtoReflect.Descriptor instead. +func (m *GetSecretRequest) Reset() { *m = GetSecretRequest{} } +func (m *GetSecretRequest) String() string { return proto.CompactTextString(m) } +func (*GetSecretRequest) ProtoMessage() {} func (*GetSecretRequest) Descriptor() ([]byte, []int) { - return file_secret_proto_rawDescGZIP(), []int{13} + return fileDescriptor_6acf428160d7a216, []int{13} } -func (x *GetSecretRequest) GetNamespace() string { - if x != nil { - return x.Namespace +func (m *GetSecretRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetSecretRequest.Unmarshal(m, b) +} +func (m *GetSecretRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetSecretRequest.Marshal(b, m, deterministic) +} +func (m *GetSecretRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetSecretRequest.Merge(m, src) +} +func (m *GetSecretRequest) XXX_Size() int { + return xxx_messageInfo_GetSecretRequest.Size(m) +} +func (m *GetSecretRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetSecretRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetSecretRequest proto.InternalMessageInfo + +func (m *GetSecretRequest) GetNamespace() string { + if m != nil { + return m.Namespace } return "" } -func (x *GetSecretRequest) GetName() string { - if x != nil { - return x.Name +func (m *GetSecretRequest) GetName() string { + if m != nil { + return m.Name } return "" } type Secret struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - Data map[string]string `protobuf:"bytes,2,rep,name=data,proto3" json:"data,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + Data map[string]string `protobuf:"bytes,2,rep,name=data,proto3" json:"data,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *Secret) Reset() { - *x = Secret{} - if protoimpl.UnsafeEnabled { - mi := &file_secret_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Secret) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Secret) ProtoMessage() {} - -func (x *Secret) ProtoReflect() protoreflect.Message { - mi := &file_secret_proto_msgTypes[14] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Secret.ProtoReflect.Descriptor instead. +func (m *Secret) Reset() { *m = Secret{} } +func (m *Secret) String() string { return proto.CompactTextString(m) } +func (*Secret) ProtoMessage() {} func (*Secret) Descriptor() ([]byte, []int) { - return file_secret_proto_rawDescGZIP(), []int{14} + return fileDescriptor_6acf428160d7a216, []int{14} } -func (x *Secret) GetName() string { - if x != nil { - return x.Name +func (m *Secret) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Secret.Unmarshal(m, b) +} +func (m *Secret) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Secret.Marshal(b, m, deterministic) +} +func (m *Secret) XXX_Merge(src proto.Message) { + xxx_messageInfo_Secret.Merge(m, src) +} +func (m *Secret) XXX_Size() int { + return xxx_messageInfo_Secret.Size(m) +} +func (m *Secret) XXX_DiscardUnknown() { + xxx_messageInfo_Secret.DiscardUnknown(m) +} + +var xxx_messageInfo_Secret proto.InternalMessageInfo + +func (m *Secret) GetName() string { + if m != nil { + return m.Name } return "" } -func (x *Secret) GetData() map[string]string { - if x != nil { - return x.Data +func (m *Secret) GetData() map[string]string { + if m != nil { + return m.Data } return nil } -var File_secret_proto protoreflect.FileDescriptor - -var file_secret_proto_rawDesc = []byte{ - 0x0a, 0x0c, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x03, - 0x61, 0x70, 0x69, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, - 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x5d, - 0x0a, 0x18, 0x41, 0x64, 0x64, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x4b, 0x65, 0x79, 0x56, 0x61, - 0x6c, 0x75, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x6e, 0x61, - 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6e, - 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x23, 0x0a, 0x06, 0x73, 0x65, 0x63, 0x72, - 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x53, - 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, 0x06, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x22, 0x37, 0x0a, - 0x19, 0x41, 0x64, 0x64, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x4b, 0x65, 0x79, 0x56, 0x61, 0x6c, - 0x75, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x69, 0x6e, - 0x73, 0x65, 0x72, 0x74, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x69, 0x6e, - 0x73, 0x65, 0x72, 0x74, 0x65, 0x64, 0x22, 0x47, 0x0a, 0x13, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, - 0x45, 0x78, 0x69, 0x73, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a, - 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, - 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, - 0x2e, 0x0a, 0x14, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x45, 0x78, 0x69, 0x73, 0x74, 0x73, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x65, 0x78, 0x69, 0x73, 0x74, - 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x65, 0x78, 0x69, 0x73, 0x74, 0x73, 0x22, - 0x60, 0x0a, 0x1b, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x4b, - 0x65, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, - 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x23, 0x0a, 0x06, - 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x61, - 0x70, 0x69, 0x2e, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, 0x06, 0x73, 0x65, 0x63, 0x72, 0x65, - 0x74, 0x22, 0x38, 0x0a, 0x1c, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x63, 0x72, 0x65, - 0x74, 0x4b, 0x65, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x12, 0x18, 0x0a, 0x07, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x08, 0x52, 0x07, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x22, 0x47, 0x0a, 0x13, 0x44, - 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, - 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, - 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x68, 0x0a, 0x16, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x65, - 0x63, 0x72, 0x65, 0x74, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, - 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x1e, 0x0a, 0x0a, - 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x0a, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x10, 0x0a, 0x03, - 0x6b, 0x65, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x22, 0x33, - 0x0a, 0x17, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x4b, 0x65, - 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x64, 0x65, 0x6c, - 0x65, 0x74, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x64, 0x65, 0x6c, 0x65, - 0x74, 0x65, 0x64, 0x22, 0x30, 0x0a, 0x14, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x65, 0x63, - 0x72, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x64, - 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x64, 0x65, - 0x6c, 0x65, 0x74, 0x65, 0x64, 0x22, 0x32, 0x0a, 0x12, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x65, 0x63, - 0x72, 0x65, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x6e, - 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, - 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x22, 0x52, 0x0a, 0x13, 0x4c, 0x69, 0x73, - 0x74, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, - 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x25, 0x0a, 0x07, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, - 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x53, 0x65, - 0x63, 0x72, 0x65, 0x74, 0x52, 0x07, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x73, 0x22, 0x58, 0x0a, - 0x13, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, - 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, - 0x63, 0x65, 0x12, 0x23, 0x0a, 0x06, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, - 0x06, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x22, 0x44, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x53, 0x65, - 0x63, 0x72, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x6e, - 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, - 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, - 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x80, 0x01, - 0x0a, 0x06, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x29, 0x0a, 0x04, - 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x61, 0x70, 0x69, - 0x2e, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, - 0x79, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x1a, 0x37, 0x0a, 0x09, 0x44, 0x61, 0x74, 0x61, 0x45, - 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, - 0x32, 0x90, 0x08, 0x0a, 0x0d, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, - 0x63, 0x65, 0x12, 0x73, 0x0a, 0x0c, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x65, 0x63, 0x72, - 0x65, 0x74, 0x12, 0x18, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, - 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, - 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, - 0x6d, 0x70, 0x74, 0x79, 0x22, 0x31, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2b, 0x22, 0x21, 0x2f, 0x61, - 0x70, 0x69, 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, - 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x7d, 0x2f, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x73, 0x3a, - 0x06, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x12, 0x7c, 0x0a, 0x0c, 0x53, 0x65, 0x63, 0x72, 0x65, - 0x74, 0x45, 0x78, 0x69, 0x73, 0x74, 0x73, 0x12, 0x18, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x53, 0x65, - 0x63, 0x72, 0x65, 0x74, 0x45, 0x78, 0x69, 0x73, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 0x19, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x45, 0x78, - 0x69, 0x73, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x37, 0x82, 0xd3, - 0xe4, 0x93, 0x02, 0x31, 0x12, 0x2f, 0x2f, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, - 0x74, 0x61, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x7d, 0x2f, - 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x73, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x2f, 0x65, - 0x78, 0x69, 0x73, 0x74, 0x73, 0x12, 0x61, 0x0a, 0x09, 0x47, 0x65, 0x74, 0x53, 0x65, 0x63, 0x72, - 0x65, 0x74, 0x12, 0x15, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x65, 0x63, 0x72, - 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0b, 0x2e, 0x61, 0x70, 0x69, 0x2e, - 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x22, 0x30, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2a, 0x12, 0x28, - 0x2f, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x7b, 0x6e, - 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x7d, 0x2f, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, - 0x73, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x12, 0x6b, 0x0a, 0x0b, 0x4c, 0x69, 0x73, 0x74, - 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x73, 0x12, 0x17, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x4c, 0x69, - 0x73, 0x74, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x1a, 0x18, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x65, 0x63, 0x72, 0x65, - 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x29, 0x82, 0xd3, 0xe4, 0x93, - 0x02, 0x23, 0x12, 0x21, 0x2f, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, - 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x7d, 0x2f, 0x73, 0x65, - 0x63, 0x72, 0x65, 0x74, 0x73, 0x12, 0x75, 0x0a, 0x0c, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, - 0x65, 0x63, 0x72, 0x65, 0x74, 0x12, 0x18, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x44, 0x65, 0x6c, 0x65, - 0x74, 0x65, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x19, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x65, 0x63, 0x72, - 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x30, 0x82, 0xd3, 0xe4, 0x93, - 0x02, 0x2a, 0x2a, 0x28, 0x2f, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, - 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x7d, 0x2f, 0x73, 0x65, - 0x63, 0x72, 0x65, 0x74, 0x73, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x12, 0x8f, 0x01, 0x0a, - 0x0f, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x4b, 0x65, 0x79, - 0x12, 0x1b, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x65, 0x63, - 0x72, 0x65, 0x74, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, - 0x61, 0x70, 0x69, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, - 0x4b, 0x65, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x41, 0x82, 0xd3, 0xe4, - 0x93, 0x02, 0x3b, 0x2a, 0x39, 0x2f, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, - 0x61, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x7d, 0x2f, 0x73, - 0x65, 0x63, 0x72, 0x65, 0x74, 0x73, 0x2f, 0x7b, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x4e, 0x61, - 0x6d, 0x65, 0x7d, 0x2f, 0x6b, 0x65, 0x79, 0x73, 0x2f, 0x7b, 0x6b, 0x65, 0x79, 0x7d, 0x12, 0x93, - 0x01, 0x0a, 0x11, 0x41, 0x64, 0x64, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x4b, 0x65, 0x79, 0x56, - 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1d, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x41, 0x64, 0x64, 0x53, 0x65, - 0x63, 0x72, 0x65, 0x74, 0x4b, 0x65, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x41, 0x64, 0x64, 0x53, 0x65, 0x63, - 0x72, 0x65, 0x74, 0x4b, 0x65, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x22, 0x3f, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x39, 0x22, 0x2f, 0x2f, 0x61, 0x70, - 0x69, 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, - 0x73, 0x70, 0x61, 0x63, 0x65, 0x7d, 0x2f, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x73, 0x2f, 0x7b, - 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x3a, 0x06, 0x73, 0x65, - 0x63, 0x72, 0x65, 0x74, 0x12, 0x9c, 0x01, 0x0a, 0x14, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, - 0x65, 0x63, 0x72, 0x65, 0x74, 0x4b, 0x65, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x20, 0x2e, - 0x61, 0x70, 0x69, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, - 0x4b, 0x65, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x21, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x63, 0x72, - 0x65, 0x74, 0x4b, 0x65, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x22, 0x3f, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x39, 0x32, 0x2f, 0x2f, 0x61, 0x70, 0x69, - 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x73, - 0x70, 0x61, 0x63, 0x65, 0x7d, 0x2f, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x73, 0x2f, 0x7b, 0x73, - 0x65, 0x63, 0x72, 0x65, 0x74, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x3a, 0x06, 0x73, 0x65, 0x63, - 0x72, 0x65, 0x74, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +func init() { + proto.RegisterType((*AddSecretKeyValueRequest)(nil), "api.AddSecretKeyValueRequest") + proto.RegisterType((*AddSecretKeyValueResponse)(nil), "api.AddSecretKeyValueResponse") + proto.RegisterType((*SecretExistsRequest)(nil), "api.SecretExistsRequest") + proto.RegisterType((*SecretExistsResponse)(nil), "api.SecretExistsResponse") + proto.RegisterType((*UpdateSecretKeyValueRequest)(nil), "api.UpdateSecretKeyValueRequest") + proto.RegisterType((*UpdateSecretKeyValueResponse)(nil), "api.UpdateSecretKeyValueResponse") + proto.RegisterType((*DeleteSecretRequest)(nil), "api.DeleteSecretRequest") + proto.RegisterType((*DeleteSecretKeyRequest)(nil), "api.DeleteSecretKeyRequest") + proto.RegisterType((*DeleteSecretKeyResponse)(nil), "api.DeleteSecretKeyResponse") + proto.RegisterType((*DeleteSecretResponse)(nil), "api.DeleteSecretResponse") + proto.RegisterType((*ListSecretsRequest)(nil), "api.ListSecretsRequest") + proto.RegisterType((*ListSecretsResponse)(nil), "api.ListSecretsResponse") + proto.RegisterType((*CreateSecretRequest)(nil), "api.CreateSecretRequest") + proto.RegisterType((*GetSecretRequest)(nil), "api.GetSecretRequest") + proto.RegisterType((*Secret)(nil), "api.Secret") + proto.RegisterMapType((map[string]string)(nil), "api.Secret.DataEntry") } -var ( - file_secret_proto_rawDescOnce sync.Once - file_secret_proto_rawDescData = file_secret_proto_rawDesc -) +func init() { proto.RegisterFile("secret.proto", fileDescriptor_6acf428160d7a216) } -func file_secret_proto_rawDescGZIP() []byte { - file_secret_proto_rawDescOnce.Do(func() { - file_secret_proto_rawDescData = protoimpl.X.CompressGZIP(file_secret_proto_rawDescData) - }) - return file_secret_proto_rawDescData -} - -var file_secret_proto_msgTypes = make([]protoimpl.MessageInfo, 16) -var file_secret_proto_goTypes = []interface{}{ - (*AddSecretKeyValueRequest)(nil), // 0: api.AddSecretKeyValueRequest - (*AddSecretKeyValueResponse)(nil), // 1: api.AddSecretKeyValueResponse - (*SecretExistsRequest)(nil), // 2: api.SecretExistsRequest - (*SecretExistsResponse)(nil), // 3: api.SecretExistsResponse - (*UpdateSecretKeyValueRequest)(nil), // 4: api.UpdateSecretKeyValueRequest - (*UpdateSecretKeyValueResponse)(nil), // 5: api.UpdateSecretKeyValueResponse - (*DeleteSecretRequest)(nil), // 6: api.DeleteSecretRequest - (*DeleteSecretKeyRequest)(nil), // 7: api.DeleteSecretKeyRequest - (*DeleteSecretKeyResponse)(nil), // 8: api.DeleteSecretKeyResponse - (*DeleteSecretResponse)(nil), // 9: api.DeleteSecretResponse - (*ListSecretsRequest)(nil), // 10: api.ListSecretsRequest - (*ListSecretsResponse)(nil), // 11: api.ListSecretsResponse - (*CreateSecretRequest)(nil), // 12: api.CreateSecretRequest - (*GetSecretRequest)(nil), // 13: api.GetSecretRequest - (*Secret)(nil), // 14: api.Secret - nil, // 15: api.Secret.DataEntry - (*empty.Empty)(nil), // 16: google.protobuf.Empty -} -var file_secret_proto_depIdxs = []int32{ - 14, // 0: api.AddSecretKeyValueRequest.secret:type_name -> api.Secret - 14, // 1: api.UpdateSecretKeyValueRequest.secret:type_name -> api.Secret - 14, // 2: api.ListSecretsResponse.secrets:type_name -> api.Secret - 14, // 3: api.CreateSecretRequest.secret:type_name -> api.Secret - 15, // 4: api.Secret.data:type_name -> api.Secret.DataEntry - 12, // 5: api.SecretService.CreateSecret:input_type -> api.CreateSecretRequest - 2, // 6: api.SecretService.SecretExists:input_type -> api.SecretExistsRequest - 13, // 7: api.SecretService.GetSecret:input_type -> api.GetSecretRequest - 10, // 8: api.SecretService.ListSecrets:input_type -> api.ListSecretsRequest - 6, // 9: api.SecretService.DeleteSecret:input_type -> api.DeleteSecretRequest - 7, // 10: api.SecretService.DeleteSecretKey:input_type -> api.DeleteSecretKeyRequest - 0, // 11: api.SecretService.AddSecretKeyValue:input_type -> api.AddSecretKeyValueRequest - 4, // 12: api.SecretService.UpdateSecretKeyValue:input_type -> api.UpdateSecretKeyValueRequest - 16, // 13: api.SecretService.CreateSecret:output_type -> google.protobuf.Empty - 3, // 14: api.SecretService.SecretExists:output_type -> api.SecretExistsResponse - 14, // 15: api.SecretService.GetSecret:output_type -> api.Secret - 11, // 16: api.SecretService.ListSecrets:output_type -> api.ListSecretsResponse - 9, // 17: api.SecretService.DeleteSecret:output_type -> api.DeleteSecretResponse - 8, // 18: api.SecretService.DeleteSecretKey:output_type -> api.DeleteSecretKeyResponse - 1, // 19: api.SecretService.AddSecretKeyValue:output_type -> api.AddSecretKeyValueResponse - 5, // 20: api.SecretService.UpdateSecretKeyValue:output_type -> api.UpdateSecretKeyValueResponse - 13, // [13:21] is the sub-list for method output_type - 5, // [5:13] is the sub-list for method input_type - 5, // [5:5] is the sub-list for extension type_name - 5, // [5:5] is the sub-list for extension extendee - 0, // [0:5] is the sub-list for field type_name -} - -func init() { file_secret_proto_init() } -func file_secret_proto_init() { - if File_secret_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_secret_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AddSecretKeyValueRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_secret_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AddSecretKeyValueResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_secret_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SecretExistsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_secret_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SecretExistsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_secret_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateSecretKeyValueRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_secret_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateSecretKeyValueResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_secret_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteSecretRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_secret_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteSecretKeyRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_secret_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteSecretKeyResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_secret_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteSecretResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_secret_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListSecretsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_secret_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListSecretsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_secret_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateSecretRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_secret_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetSecretRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_secret_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Secret); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_secret_proto_rawDesc, - NumEnums: 0, - NumMessages: 16, - NumExtensions: 0, - NumServices: 1, - }, - GoTypes: file_secret_proto_goTypes, - DependencyIndexes: file_secret_proto_depIdxs, - MessageInfos: file_secret_proto_msgTypes, - }.Build() - File_secret_proto = out.File - file_secret_proto_rawDesc = nil - file_secret_proto_goTypes = nil - file_secret_proto_depIdxs = nil +var fileDescriptor_6acf428160d7a216 = []byte{ + // 713 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x55, 0xcd, 0x4e, 0xdb, 0x4a, + 0x14, 0x96, 0x13, 0x08, 0xe4, 0x90, 0xab, 0xcb, 0x1d, 0x72, 0xc1, 0x98, 0x5c, 0x14, 0x06, 0x5d, + 0x09, 0xa8, 0x64, 0x93, 0xb0, 0xe0, 0xa7, 0x8b, 0x0a, 0x15, 0xc4, 0x82, 0xaa, 0x0b, 0xa3, 0x56, + 0xdd, 0x54, 0xea, 0x90, 0x9c, 0x52, 0x2b, 0x60, 0xbb, 0x99, 0x09, 0x6a, 0x44, 0x23, 0x55, 0x7d, + 0x81, 0x56, 0x62, 0xdb, 0xb7, 0xea, 0x2b, 0xf4, 0x41, 0x2a, 0xcf, 0x8c, 0x1d, 0x87, 0x18, 0x70, + 0xa9, 0xba, 0xf3, 0xcc, 0xe7, 0x39, 0xdf, 0x77, 0xbe, 0x73, 0xe6, 0x0c, 0x54, 0x38, 0xb6, 0xba, + 0x28, 0xec, 0xb0, 0x1b, 0x88, 0x80, 0x14, 0x59, 0xe8, 0x59, 0x4b, 0x67, 0x41, 0x70, 0x76, 0x8e, + 0x8e, 0xdc, 0x3a, 0xed, 0xbd, 0x75, 0xf0, 0x22, 0x14, 0x7d, 0xf5, 0x87, 0x55, 0xd3, 0x20, 0x0b, + 0x3d, 0x87, 0xf9, 0x7e, 0x20, 0x98, 0xf0, 0x02, 0x9f, 0x2b, 0x94, 0xbe, 0x06, 0x73, 0xbf, 0xdd, + 0x3e, 0x91, 0x21, 0x8f, 0xb1, 0xff, 0x92, 0x9d, 0xf7, 0xd0, 0xc5, 0xf7, 0x3d, 0xe4, 0x82, 0xd4, + 0xa0, 0xec, 0xb3, 0x0b, 0xe4, 0x21, 0x6b, 0xa1, 0x69, 0xd4, 0x8d, 0xb5, 0xb2, 0x3b, 0xdc, 0x20, + 0xab, 0x50, 0x52, 0x4a, 0xcc, 0x42, 0xdd, 0x58, 0x9b, 0x69, 0xce, 0xd8, 0x2c, 0xf4, 0x6c, 0x15, + 0xc9, 0xd5, 0x10, 0xdd, 0x86, 0xc5, 0x8c, 0xf0, 0x3c, 0x0c, 0x7c, 0x8e, 0xc4, 0x82, 0x69, 0xcf, + 0xe7, 0xd8, 0x15, 0xd8, 0x96, 0xe1, 0xa7, 0xdd, 0x64, 0x4d, 0x8f, 0x60, 0x4e, 0x9d, 0x3a, 0xfc, + 0xe0, 0x71, 0xc1, 0xf3, 0x49, 0x22, 0x30, 0x11, 0x2d, 0xa4, 0xa0, 0xb2, 0x2b, 0xbf, 0xa9, 0x0d, + 0xd5, 0xd1, 0x40, 0x9a, 0x7c, 0x1e, 0x4a, 0x28, 0x77, 0x34, 0xb5, 0x5e, 0xd1, 0x37, 0xb0, 0xf4, + 0x22, 0x6c, 0x33, 0x81, 0x7f, 0xcc, 0x93, 0x1d, 0xa8, 0x65, 0x33, 0x68, 0x65, 0x26, 0x4c, 0xf5, + 0x24, 0x1e, 0xbb, 0x12, 0x2f, 0x23, 0x53, 0x0e, 0xf0, 0x1c, 0xe3, 0x93, 0x0f, 0x37, 0xe5, 0x1d, + 0xcc, 0xa7, 0x03, 0x1d, 0x63, 0x3f, 0x5f, 0xac, 0x65, 0x00, 0x95, 0xc4, 0xf3, 0x61, 0xc4, 0xd4, + 0x0e, 0x99, 0x85, 0x62, 0x07, 0xfb, 0x66, 0x51, 0x02, 0xd1, 0x27, 0xdd, 0x82, 0x85, 0x31, 0xa6, + 0x61, 0x9e, 0x6d, 0x09, 0x25, 0x79, 0xea, 0x25, 0xdd, 0x84, 0xea, 0x68, 0x9e, 0xf7, 0x9e, 0x68, + 0x02, 0x79, 0xe6, 0x71, 0xa1, 0xfe, 0xcf, 0xd7, 0x2d, 0xd4, 0x85, 0xb9, 0x91, 0x33, 0x9a, 0xa4, + 0x0a, 0x93, 0xad, 0xa0, 0xe7, 0x0b, 0x79, 0x60, 0xd2, 0x55, 0x0b, 0xf2, 0x3f, 0x4c, 0xa9, 0x3c, + 0xb9, 0x59, 0xa8, 0x17, 0x6f, 0x96, 0x36, 0xc6, 0xe8, 0x2b, 0x98, 0x7b, 0xda, 0x45, 0xf6, 0x6b, + 0x15, 0xca, 0xd5, 0x35, 0x07, 0x30, 0x7b, 0x84, 0xe2, 0x77, 0x0b, 0xff, 0xc9, 0x80, 0x92, 0x8a, + 0x91, 0xc0, 0xc6, 0x10, 0x26, 0xeb, 0x30, 0xd1, 0x66, 0x82, 0xe9, 0x14, 0xff, 0x4d, 0xe9, 0xb0, + 0x0f, 0x98, 0x60, 0x87, 0xbe, 0xe8, 0xf6, 0x5d, 0xf9, 0x8b, 0xb5, 0x0d, 0xe5, 0x64, 0x2b, 0xae, + 0xbb, 0x91, 0xd4, 0x3d, 0x72, 0xf1, 0x32, 0xea, 0x6a, 0xcd, 0xae, 0x16, 0x7b, 0x85, 0x1d, 0xa3, + 0xf9, 0x75, 0x1a, 0xfe, 0x52, 0x31, 0x4f, 0xb0, 0x7b, 0xe9, 0xb5, 0x90, 0x70, 0xa8, 0xa4, 0x4d, + 0x23, 0xa6, 0xe4, 0xcd, 0xf0, 0xd1, 0x9a, 0xb7, 0xd5, 0x30, 0xb3, 0xe3, 0x49, 0x67, 0x1f, 0x46, + 0x93, 0x8e, 0x36, 0x3e, 0x7f, 0xff, 0x71, 0x5d, 0x78, 0x44, 0x57, 0xa2, 0x29, 0xc7, 0x9d, 0xcb, + 0xc6, 0x29, 0x0a, 0xd6, 0x70, 0xae, 0x12, 0x33, 0x06, 0x8e, 0xae, 0xd0, 0x9e, 0xf6, 0x93, 0x7c, + 0x84, 0x4a, 0x7a, 0x2e, 0x68, 0xd2, 0x8c, 0x99, 0x63, 0x2d, 0x66, 0x20, 0xaa, 0x57, 0xe8, 0xb6, + 0xe4, 0x6d, 0x10, 0xe7, 0x5e, 0x5e, 0xb5, 0x37, 0x70, 0xd4, 0x94, 0x21, 0x0c, 0xca, 0x49, 0x35, + 0x89, 0xf2, 0xf9, 0x66, 0x75, 0xad, 0x74, 0x1b, 0xd0, 0x4d, 0xc9, 0xb4, 0x41, 0xd6, 0xf2, 0x32, + 0x91, 0x0e, 0xcc, 0xa4, 0xda, 0x9b, 0x2c, 0xc8, 0x68, 0xe3, 0x97, 0xc4, 0x32, 0xc7, 0x01, 0x9d, + 0xdd, 0xba, 0xe4, 0x5c, 0x25, 0xf7, 0xbb, 0x4a, 0x7a, 0x50, 0x49, 0xdf, 0x58, 0xed, 0x66, 0xc6, + 0xb0, 0xd2, 0x6e, 0x66, 0x5d, 0xef, 0x38, 0xc7, 0x8d, 0xfc, 0x39, 0x7e, 0x31, 0xe0, 0xef, 0x1b, + 0xe3, 0x85, 0x2c, 0x8d, 0x11, 0x0c, 0xc7, 0x9b, 0x55, 0xcb, 0x06, 0xb5, 0x80, 0x7d, 0x29, 0xe0, + 0xf1, 0xc6, 0x6e, 0x0e, 0x01, 0xc3, 0xa9, 0x37, 0x70, 0x3a, 0xd8, 0xe7, 0xce, 0x55, 0x07, 0xfb, + 0x03, 0x72, 0x6d, 0xc0, 0x3f, 0x63, 0x2f, 0x1e, 0xf9, 0x4f, 0xd2, 0xde, 0xf6, 0xd0, 0x5a, 0xcb, + 0xb7, 0xc1, 0x5a, 0xd7, 0x13, 0xa9, 0x6b, 0x97, 0x3a, 0xb9, 0x75, 0xd9, 0xd2, 0x9f, 0xa4, 0xd9, + 0xbf, 0x19, 0x50, 0xcd, 0x7a, 0x73, 0x48, 0x5d, 0x32, 0xdf, 0xf1, 0xe0, 0x59, 0x2b, 0x77, 0xfc, + 0x31, 0x2a, 0xaf, 0xf9, 0x50, 0x79, 0xa7, 0x25, 0x79, 0x9d, 0xb7, 0x7e, 0x06, 0x00, 0x00, 0xff, + 0xff, 0x9d, 0x7b, 0x21, 0x46, 0xdb, 0x08, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. var _ context.Context -var _ grpc.ClientConnInterface +var _ grpc.ClientConn // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package it is being compiled against. -const _ = grpc.SupportPackageIsVersion6 +const _ = grpc.SupportPackageIsVersion4 // SecretServiceClient is the client API for SecretService service. // @@ -1254,10 +784,10 @@ type SecretServiceClient interface { } type secretServiceClient struct { - cc grpc.ClientConnInterface + cc *grpc.ClientConn } -func NewSecretServiceClient(cc grpc.ClientConnInterface) SecretServiceClient { +func NewSecretServiceClient(cc *grpc.ClientConn) SecretServiceClient { return &secretServiceClient{cc} } @@ -1349,28 +879,28 @@ type SecretServiceServer interface { type UnimplementedSecretServiceServer struct { } -func (*UnimplementedSecretServiceServer) CreateSecret(context.Context, *CreateSecretRequest) (*empty.Empty, error) { +func (*UnimplementedSecretServiceServer) CreateSecret(ctx context.Context, req *CreateSecretRequest) (*empty.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method CreateSecret not implemented") } -func (*UnimplementedSecretServiceServer) SecretExists(context.Context, *SecretExistsRequest) (*SecretExistsResponse, error) { +func (*UnimplementedSecretServiceServer) SecretExists(ctx context.Context, req *SecretExistsRequest) (*SecretExistsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method SecretExists not implemented") } -func (*UnimplementedSecretServiceServer) GetSecret(context.Context, *GetSecretRequest) (*Secret, error) { +func (*UnimplementedSecretServiceServer) GetSecret(ctx context.Context, req *GetSecretRequest) (*Secret, error) { return nil, status.Errorf(codes.Unimplemented, "method GetSecret not implemented") } -func (*UnimplementedSecretServiceServer) ListSecrets(context.Context, *ListSecretsRequest) (*ListSecretsResponse, error) { +func (*UnimplementedSecretServiceServer) ListSecrets(ctx context.Context, req *ListSecretsRequest) (*ListSecretsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ListSecrets not implemented") } -func (*UnimplementedSecretServiceServer) DeleteSecret(context.Context, *DeleteSecretRequest) (*DeleteSecretResponse, error) { +func (*UnimplementedSecretServiceServer) DeleteSecret(ctx context.Context, req *DeleteSecretRequest) (*DeleteSecretResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method DeleteSecret not implemented") } -func (*UnimplementedSecretServiceServer) DeleteSecretKey(context.Context, *DeleteSecretKeyRequest) (*DeleteSecretKeyResponse, error) { +func (*UnimplementedSecretServiceServer) DeleteSecretKey(ctx context.Context, req *DeleteSecretKeyRequest) (*DeleteSecretKeyResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method DeleteSecretKey not implemented") } -func (*UnimplementedSecretServiceServer) AddSecretKeyValue(context.Context, *AddSecretKeyValueRequest) (*AddSecretKeyValueResponse, error) { +func (*UnimplementedSecretServiceServer) AddSecretKeyValue(ctx context.Context, req *AddSecretKeyValueRequest) (*AddSecretKeyValueResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method AddSecretKeyValue not implemented") } -func (*UnimplementedSecretServiceServer) UpdateSecretKeyValue(context.Context, *UpdateSecretKeyValueRequest) (*UpdateSecretKeyValueResponse, error) { +func (*UnimplementedSecretServiceServer) UpdateSecretKeyValue(ctx context.Context, req *UpdateSecretKeyValueRequest) (*UpdateSecretKeyValueResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method UpdateSecretKeyValue not implemented") } diff --git a/api/workflow.pb.go b/api/workflow.pb.go index e086aa1..eab7b59 100644 --- a/api/workflow.pb.go +++ b/api/workflow.pb.go @@ -1,2112 +1,1344 @@ // Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.21.0 -// protoc v3.11.3 // source: workflow.proto package api import ( context "context" + fmt "fmt" proto "github.com/golang/protobuf/proto" empty "github.com/golang/protobuf/ptypes/empty" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" + math "math" ) -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf -// This is a compile-time assertion that a sufficiently up-to-date version -// of the legacy proto package is being used. -const _ = proto.ProtoPackageIsVersion4 +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package type CreateWorkflowExecutionRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` - WorkflowExecution *WorkflowExecution `protobuf:"bytes,2,opt,name=workflowExecution,proto3" json:"workflowExecution,omitempty"` + Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` + WorkflowExecution *WorkflowExecution `protobuf:"bytes,2,opt,name=workflowExecution,proto3" json:"workflowExecution,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *CreateWorkflowExecutionRequest) Reset() { - *x = CreateWorkflowExecutionRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_workflow_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CreateWorkflowExecutionRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CreateWorkflowExecutionRequest) ProtoMessage() {} - -func (x *CreateWorkflowExecutionRequest) ProtoReflect() protoreflect.Message { - mi := &file_workflow_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CreateWorkflowExecutionRequest.ProtoReflect.Descriptor instead. +func (m *CreateWorkflowExecutionRequest) Reset() { *m = CreateWorkflowExecutionRequest{} } +func (m *CreateWorkflowExecutionRequest) String() string { return proto.CompactTextString(m) } +func (*CreateWorkflowExecutionRequest) ProtoMessage() {} func (*CreateWorkflowExecutionRequest) Descriptor() ([]byte, []int) { - return file_workflow_proto_rawDescGZIP(), []int{0} + return fileDescriptor_892c7f566756b0be, []int{0} } -func (x *CreateWorkflowExecutionRequest) GetNamespace() string { - if x != nil { - return x.Namespace +func (m *CreateWorkflowExecutionRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CreateWorkflowExecutionRequest.Unmarshal(m, b) +} +func (m *CreateWorkflowExecutionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CreateWorkflowExecutionRequest.Marshal(b, m, deterministic) +} +func (m *CreateWorkflowExecutionRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateWorkflowExecutionRequest.Merge(m, src) +} +func (m *CreateWorkflowExecutionRequest) XXX_Size() int { + return xxx_messageInfo_CreateWorkflowExecutionRequest.Size(m) +} +func (m *CreateWorkflowExecutionRequest) XXX_DiscardUnknown() { + xxx_messageInfo_CreateWorkflowExecutionRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_CreateWorkflowExecutionRequest proto.InternalMessageInfo + +func (m *CreateWorkflowExecutionRequest) GetNamespace() string { + if m != nil { + return m.Namespace } return "" } -func (x *CreateWorkflowExecutionRequest) GetWorkflowExecution() *WorkflowExecution { - if x != nil { - return x.WorkflowExecution +func (m *CreateWorkflowExecutionRequest) GetWorkflowExecution() *WorkflowExecution { + if m != nil { + return m.WorkflowExecution } return nil } type GetWorkflowExecutionRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *GetWorkflowExecutionRequest) Reset() { - *x = GetWorkflowExecutionRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_workflow_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetWorkflowExecutionRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetWorkflowExecutionRequest) ProtoMessage() {} - -func (x *GetWorkflowExecutionRequest) ProtoReflect() protoreflect.Message { - mi := &file_workflow_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetWorkflowExecutionRequest.ProtoReflect.Descriptor instead. +func (m *GetWorkflowExecutionRequest) Reset() { *m = GetWorkflowExecutionRequest{} } +func (m *GetWorkflowExecutionRequest) String() string { return proto.CompactTextString(m) } +func (*GetWorkflowExecutionRequest) ProtoMessage() {} func (*GetWorkflowExecutionRequest) Descriptor() ([]byte, []int) { - return file_workflow_proto_rawDescGZIP(), []int{1} + return fileDescriptor_892c7f566756b0be, []int{1} } -func (x *GetWorkflowExecutionRequest) GetNamespace() string { - if x != nil { - return x.Namespace +func (m *GetWorkflowExecutionRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetWorkflowExecutionRequest.Unmarshal(m, b) +} +func (m *GetWorkflowExecutionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetWorkflowExecutionRequest.Marshal(b, m, deterministic) +} +func (m *GetWorkflowExecutionRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetWorkflowExecutionRequest.Merge(m, src) +} +func (m *GetWorkflowExecutionRequest) XXX_Size() int { + return xxx_messageInfo_GetWorkflowExecutionRequest.Size(m) +} +func (m *GetWorkflowExecutionRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetWorkflowExecutionRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetWorkflowExecutionRequest proto.InternalMessageInfo + +func (m *GetWorkflowExecutionRequest) GetNamespace() string { + if m != nil { + return m.Namespace } return "" } -func (x *GetWorkflowExecutionRequest) GetName() string { - if x != nil { - return x.Name +func (m *GetWorkflowExecutionRequest) GetName() string { + if m != nil { + return m.Name } return "" } type GetArtifactRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - Key string `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"` + Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + Key string `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *GetArtifactRequest) Reset() { - *x = GetArtifactRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_workflow_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetArtifactRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetArtifactRequest) ProtoMessage() {} - -func (x *GetArtifactRequest) ProtoReflect() protoreflect.Message { - mi := &file_workflow_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetArtifactRequest.ProtoReflect.Descriptor instead. +func (m *GetArtifactRequest) Reset() { *m = GetArtifactRequest{} } +func (m *GetArtifactRequest) String() string { return proto.CompactTextString(m) } +func (*GetArtifactRequest) ProtoMessage() {} func (*GetArtifactRequest) Descriptor() ([]byte, []int) { - return file_workflow_proto_rawDescGZIP(), []int{2} + return fileDescriptor_892c7f566756b0be, []int{2} } -func (x *GetArtifactRequest) GetNamespace() string { - if x != nil { - return x.Namespace +func (m *GetArtifactRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetArtifactRequest.Unmarshal(m, b) +} +func (m *GetArtifactRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetArtifactRequest.Marshal(b, m, deterministic) +} +func (m *GetArtifactRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetArtifactRequest.Merge(m, src) +} +func (m *GetArtifactRequest) XXX_Size() int { + return xxx_messageInfo_GetArtifactRequest.Size(m) +} +func (m *GetArtifactRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetArtifactRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetArtifactRequest proto.InternalMessageInfo + +func (m *GetArtifactRequest) GetNamespace() string { + if m != nil { + return m.Namespace } return "" } -func (x *GetArtifactRequest) GetName() string { - if x != nil { - return x.Name +func (m *GetArtifactRequest) GetName() string { + if m != nil { + return m.Name } return "" } -func (x *GetArtifactRequest) GetKey() string { - if x != nil { - return x.Key +func (m *GetArtifactRequest) GetKey() string { + if m != nil { + return m.Key } return "" } type WatchWorkflowExecutionRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *WatchWorkflowExecutionRequest) Reset() { - *x = WatchWorkflowExecutionRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_workflow_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *WatchWorkflowExecutionRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*WatchWorkflowExecutionRequest) ProtoMessage() {} - -func (x *WatchWorkflowExecutionRequest) ProtoReflect() protoreflect.Message { - mi := &file_workflow_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use WatchWorkflowExecutionRequest.ProtoReflect.Descriptor instead. +func (m *WatchWorkflowExecutionRequest) Reset() { *m = WatchWorkflowExecutionRequest{} } +func (m *WatchWorkflowExecutionRequest) String() string { return proto.CompactTextString(m) } +func (*WatchWorkflowExecutionRequest) ProtoMessage() {} func (*WatchWorkflowExecutionRequest) Descriptor() ([]byte, []int) { - return file_workflow_proto_rawDescGZIP(), []int{3} + return fileDescriptor_892c7f566756b0be, []int{3} } -func (x *WatchWorkflowExecutionRequest) GetNamespace() string { - if x != nil { - return x.Namespace +func (m *WatchWorkflowExecutionRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_WatchWorkflowExecutionRequest.Unmarshal(m, b) +} +func (m *WatchWorkflowExecutionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_WatchWorkflowExecutionRequest.Marshal(b, m, deterministic) +} +func (m *WatchWorkflowExecutionRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_WatchWorkflowExecutionRequest.Merge(m, src) +} +func (m *WatchWorkflowExecutionRequest) XXX_Size() int { + return xxx_messageInfo_WatchWorkflowExecutionRequest.Size(m) +} +func (m *WatchWorkflowExecutionRequest) XXX_DiscardUnknown() { + xxx_messageInfo_WatchWorkflowExecutionRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_WatchWorkflowExecutionRequest proto.InternalMessageInfo + +func (m *WatchWorkflowExecutionRequest) GetNamespace() string { + if m != nil { + return m.Namespace } return "" } -func (x *WatchWorkflowExecutionRequest) GetName() string { - if x != nil { - return x.Name +func (m *WatchWorkflowExecutionRequest) GetName() string { + if m != nil { + return m.Name } return "" } type ResubmitWorkflowExecutionRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *ResubmitWorkflowExecutionRequest) Reset() { - *x = ResubmitWorkflowExecutionRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_workflow_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ResubmitWorkflowExecutionRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ResubmitWorkflowExecutionRequest) ProtoMessage() {} - -func (x *ResubmitWorkflowExecutionRequest) ProtoReflect() protoreflect.Message { - mi := &file_workflow_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ResubmitWorkflowExecutionRequest.ProtoReflect.Descriptor instead. +func (m *ResubmitWorkflowExecutionRequest) Reset() { *m = ResubmitWorkflowExecutionRequest{} } +func (m *ResubmitWorkflowExecutionRequest) String() string { return proto.CompactTextString(m) } +func (*ResubmitWorkflowExecutionRequest) ProtoMessage() {} func (*ResubmitWorkflowExecutionRequest) Descriptor() ([]byte, []int) { - return file_workflow_proto_rawDescGZIP(), []int{4} + return fileDescriptor_892c7f566756b0be, []int{4} } -func (x *ResubmitWorkflowExecutionRequest) GetNamespace() string { - if x != nil { - return x.Namespace +func (m *ResubmitWorkflowExecutionRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ResubmitWorkflowExecutionRequest.Unmarshal(m, b) +} +func (m *ResubmitWorkflowExecutionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ResubmitWorkflowExecutionRequest.Marshal(b, m, deterministic) +} +func (m *ResubmitWorkflowExecutionRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ResubmitWorkflowExecutionRequest.Merge(m, src) +} +func (m *ResubmitWorkflowExecutionRequest) XXX_Size() int { + return xxx_messageInfo_ResubmitWorkflowExecutionRequest.Size(m) +} +func (m *ResubmitWorkflowExecutionRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ResubmitWorkflowExecutionRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_ResubmitWorkflowExecutionRequest proto.InternalMessageInfo + +func (m *ResubmitWorkflowExecutionRequest) GetNamespace() string { + if m != nil { + return m.Namespace } return "" } -func (x *ResubmitWorkflowExecutionRequest) GetName() string { - if x != nil { - return x.Name +func (m *ResubmitWorkflowExecutionRequest) GetName() string { + if m != nil { + return m.Name } return "" } type TerminateWorkflowExecutionRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *TerminateWorkflowExecutionRequest) Reset() { - *x = TerminateWorkflowExecutionRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_workflow_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *TerminateWorkflowExecutionRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*TerminateWorkflowExecutionRequest) ProtoMessage() {} - -func (x *TerminateWorkflowExecutionRequest) ProtoReflect() protoreflect.Message { - mi := &file_workflow_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use TerminateWorkflowExecutionRequest.ProtoReflect.Descriptor instead. +func (m *TerminateWorkflowExecutionRequest) Reset() { *m = TerminateWorkflowExecutionRequest{} } +func (m *TerminateWorkflowExecutionRequest) String() string { return proto.CompactTextString(m) } +func (*TerminateWorkflowExecutionRequest) ProtoMessage() {} func (*TerminateWorkflowExecutionRequest) Descriptor() ([]byte, []int) { - return file_workflow_proto_rawDescGZIP(), []int{5} + return fileDescriptor_892c7f566756b0be, []int{5} } -func (x *TerminateWorkflowExecutionRequest) GetNamespace() string { - if x != nil { - return x.Namespace +func (m *TerminateWorkflowExecutionRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_TerminateWorkflowExecutionRequest.Unmarshal(m, b) +} +func (m *TerminateWorkflowExecutionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_TerminateWorkflowExecutionRequest.Marshal(b, m, deterministic) +} +func (m *TerminateWorkflowExecutionRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_TerminateWorkflowExecutionRequest.Merge(m, src) +} +func (m *TerminateWorkflowExecutionRequest) XXX_Size() int { + return xxx_messageInfo_TerminateWorkflowExecutionRequest.Size(m) +} +func (m *TerminateWorkflowExecutionRequest) XXX_DiscardUnknown() { + xxx_messageInfo_TerminateWorkflowExecutionRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_TerminateWorkflowExecutionRequest proto.InternalMessageInfo + +func (m *TerminateWorkflowExecutionRequest) GetNamespace() string { + if m != nil { + return m.Namespace } return "" } -func (x *TerminateWorkflowExecutionRequest) GetName() string { - if x != nil { - return x.Name +func (m *TerminateWorkflowExecutionRequest) GetName() string { + if m != nil { + return m.Name } return "" } type GetWorkflowExecutionLogsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - PodName string `protobuf:"bytes,3,opt,name=podName,proto3" json:"podName,omitempty"` - ContainerName string `protobuf:"bytes,4,opt,name=containerName,proto3" json:"containerName,omitempty"` + Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + PodName string `protobuf:"bytes,3,opt,name=podName,proto3" json:"podName,omitempty"` + ContainerName string `protobuf:"bytes,4,opt,name=containerName,proto3" json:"containerName,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *GetWorkflowExecutionLogsRequest) Reset() { - *x = GetWorkflowExecutionLogsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_workflow_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetWorkflowExecutionLogsRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetWorkflowExecutionLogsRequest) ProtoMessage() {} - -func (x *GetWorkflowExecutionLogsRequest) ProtoReflect() protoreflect.Message { - mi := &file_workflow_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetWorkflowExecutionLogsRequest.ProtoReflect.Descriptor instead. +func (m *GetWorkflowExecutionLogsRequest) Reset() { *m = GetWorkflowExecutionLogsRequest{} } +func (m *GetWorkflowExecutionLogsRequest) String() string { return proto.CompactTextString(m) } +func (*GetWorkflowExecutionLogsRequest) ProtoMessage() {} func (*GetWorkflowExecutionLogsRequest) Descriptor() ([]byte, []int) { - return file_workflow_proto_rawDescGZIP(), []int{6} + return fileDescriptor_892c7f566756b0be, []int{6} } -func (x *GetWorkflowExecutionLogsRequest) GetNamespace() string { - if x != nil { - return x.Namespace +func (m *GetWorkflowExecutionLogsRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetWorkflowExecutionLogsRequest.Unmarshal(m, b) +} +func (m *GetWorkflowExecutionLogsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetWorkflowExecutionLogsRequest.Marshal(b, m, deterministic) +} +func (m *GetWorkflowExecutionLogsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetWorkflowExecutionLogsRequest.Merge(m, src) +} +func (m *GetWorkflowExecutionLogsRequest) XXX_Size() int { + return xxx_messageInfo_GetWorkflowExecutionLogsRequest.Size(m) +} +func (m *GetWorkflowExecutionLogsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetWorkflowExecutionLogsRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetWorkflowExecutionLogsRequest proto.InternalMessageInfo + +func (m *GetWorkflowExecutionLogsRequest) GetNamespace() string { + if m != nil { + return m.Namespace } return "" } -func (x *GetWorkflowExecutionLogsRequest) GetName() string { - if x != nil { - return x.Name +func (m *GetWorkflowExecutionLogsRequest) GetName() string { + if m != nil { + return m.Name } return "" } -func (x *GetWorkflowExecutionLogsRequest) GetPodName() string { - if x != nil { - return x.PodName +func (m *GetWorkflowExecutionLogsRequest) GetPodName() string { + if m != nil { + return m.PodName } return "" } -func (x *GetWorkflowExecutionLogsRequest) GetContainerName() string { - if x != nil { - return x.ContainerName +func (m *GetWorkflowExecutionLogsRequest) GetContainerName() string { + if m != nil { + return m.ContainerName } return "" } type GetWorkflowExecutionMetricsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - PodName string `protobuf:"bytes,3,opt,name=podName,proto3" json:"podName,omitempty"` + Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + PodName string `protobuf:"bytes,3,opt,name=podName,proto3" json:"podName,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *GetWorkflowExecutionMetricsRequest) Reset() { - *x = GetWorkflowExecutionMetricsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_workflow_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetWorkflowExecutionMetricsRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetWorkflowExecutionMetricsRequest) ProtoMessage() {} - -func (x *GetWorkflowExecutionMetricsRequest) ProtoReflect() protoreflect.Message { - mi := &file_workflow_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetWorkflowExecutionMetricsRequest.ProtoReflect.Descriptor instead. +func (m *GetWorkflowExecutionMetricsRequest) Reset() { *m = GetWorkflowExecutionMetricsRequest{} } +func (m *GetWorkflowExecutionMetricsRequest) String() string { return proto.CompactTextString(m) } +func (*GetWorkflowExecutionMetricsRequest) ProtoMessage() {} func (*GetWorkflowExecutionMetricsRequest) Descriptor() ([]byte, []int) { - return file_workflow_proto_rawDescGZIP(), []int{7} + return fileDescriptor_892c7f566756b0be, []int{7} } -func (x *GetWorkflowExecutionMetricsRequest) GetNamespace() string { - if x != nil { - return x.Namespace +func (m *GetWorkflowExecutionMetricsRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetWorkflowExecutionMetricsRequest.Unmarshal(m, b) +} +func (m *GetWorkflowExecutionMetricsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetWorkflowExecutionMetricsRequest.Marshal(b, m, deterministic) +} +func (m *GetWorkflowExecutionMetricsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetWorkflowExecutionMetricsRequest.Merge(m, src) +} +func (m *GetWorkflowExecutionMetricsRequest) XXX_Size() int { + return xxx_messageInfo_GetWorkflowExecutionMetricsRequest.Size(m) +} +func (m *GetWorkflowExecutionMetricsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetWorkflowExecutionMetricsRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetWorkflowExecutionMetricsRequest proto.InternalMessageInfo + +func (m *GetWorkflowExecutionMetricsRequest) GetNamespace() string { + if m != nil { + return m.Namespace } return "" } -func (x *GetWorkflowExecutionMetricsRequest) GetName() string { - if x != nil { - return x.Name +func (m *GetWorkflowExecutionMetricsRequest) GetName() string { + if m != nil { + return m.Name } return "" } -func (x *GetWorkflowExecutionMetricsRequest) GetPodName() string { - if x != nil { - return x.PodName +func (m *GetWorkflowExecutionMetricsRequest) GetPodName() string { + if m != nil { + return m.PodName } return "" } type GetWorkflowExecutionMetricsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Metrics []*Metric `protobuf:"bytes,1,rep,name=metrics,proto3" json:"metrics,omitempty"` + Metrics []*Metric `protobuf:"bytes,1,rep,name=metrics,proto3" json:"metrics,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *GetWorkflowExecutionMetricsResponse) Reset() { - *x = GetWorkflowExecutionMetricsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_workflow_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetWorkflowExecutionMetricsResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetWorkflowExecutionMetricsResponse) ProtoMessage() {} - -func (x *GetWorkflowExecutionMetricsResponse) ProtoReflect() protoreflect.Message { - mi := &file_workflow_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetWorkflowExecutionMetricsResponse.ProtoReflect.Descriptor instead. +func (m *GetWorkflowExecutionMetricsResponse) Reset() { *m = GetWorkflowExecutionMetricsResponse{} } +func (m *GetWorkflowExecutionMetricsResponse) String() string { return proto.CompactTextString(m) } +func (*GetWorkflowExecutionMetricsResponse) ProtoMessage() {} func (*GetWorkflowExecutionMetricsResponse) Descriptor() ([]byte, []int) { - return file_workflow_proto_rawDescGZIP(), []int{8} + return fileDescriptor_892c7f566756b0be, []int{8} } -func (x *GetWorkflowExecutionMetricsResponse) GetMetrics() []*Metric { - if x != nil { - return x.Metrics +func (m *GetWorkflowExecutionMetricsResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetWorkflowExecutionMetricsResponse.Unmarshal(m, b) +} +func (m *GetWorkflowExecutionMetricsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetWorkflowExecutionMetricsResponse.Marshal(b, m, deterministic) +} +func (m *GetWorkflowExecutionMetricsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetWorkflowExecutionMetricsResponse.Merge(m, src) +} +func (m *GetWorkflowExecutionMetricsResponse) XXX_Size() int { + return xxx_messageInfo_GetWorkflowExecutionMetricsResponse.Size(m) +} +func (m *GetWorkflowExecutionMetricsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_GetWorkflowExecutionMetricsResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_GetWorkflowExecutionMetricsResponse proto.InternalMessageInfo + +func (m *GetWorkflowExecutionMetricsResponse) GetMetrics() []*Metric { + if m != nil { + return m.Metrics } return nil } type ListWorkflowExecutionsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` - WorkflowTemplateUid string `protobuf:"bytes,2,opt,name=workflowTemplateUid,proto3" json:"workflowTemplateUid,omitempty"` - WorkflowTemplateVersion string `protobuf:"bytes,3,opt,name=workflowTemplateVersion,proto3" json:"workflowTemplateVersion,omitempty"` - PageSize int32 `protobuf:"varint,4,opt,name=pageSize,proto3" json:"pageSize,omitempty"` - Page int32 `protobuf:"varint,5,opt,name=page,proto3" json:"page,omitempty"` + Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` + WorkflowTemplateUid string `protobuf:"bytes,2,opt,name=workflowTemplateUid,proto3" json:"workflowTemplateUid,omitempty"` + WorkflowTemplateVersion string `protobuf:"bytes,3,opt,name=workflowTemplateVersion,proto3" json:"workflowTemplateVersion,omitempty"` + PageSize int32 `protobuf:"varint,4,opt,name=pageSize,proto3" json:"pageSize,omitempty"` + Page int32 `protobuf:"varint,5,opt,name=page,proto3" json:"page,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *ListWorkflowExecutionsRequest) Reset() { - *x = ListWorkflowExecutionsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_workflow_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ListWorkflowExecutionsRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListWorkflowExecutionsRequest) ProtoMessage() {} - -func (x *ListWorkflowExecutionsRequest) ProtoReflect() protoreflect.Message { - mi := &file_workflow_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ListWorkflowExecutionsRequest.ProtoReflect.Descriptor instead. +func (m *ListWorkflowExecutionsRequest) Reset() { *m = ListWorkflowExecutionsRequest{} } +func (m *ListWorkflowExecutionsRequest) String() string { return proto.CompactTextString(m) } +func (*ListWorkflowExecutionsRequest) ProtoMessage() {} func (*ListWorkflowExecutionsRequest) Descriptor() ([]byte, []int) { - return file_workflow_proto_rawDescGZIP(), []int{9} + return fileDescriptor_892c7f566756b0be, []int{9} } -func (x *ListWorkflowExecutionsRequest) GetNamespace() string { - if x != nil { - return x.Namespace +func (m *ListWorkflowExecutionsRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListWorkflowExecutionsRequest.Unmarshal(m, b) +} +func (m *ListWorkflowExecutionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListWorkflowExecutionsRequest.Marshal(b, m, deterministic) +} +func (m *ListWorkflowExecutionsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListWorkflowExecutionsRequest.Merge(m, src) +} +func (m *ListWorkflowExecutionsRequest) XXX_Size() int { + return xxx_messageInfo_ListWorkflowExecutionsRequest.Size(m) +} +func (m *ListWorkflowExecutionsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ListWorkflowExecutionsRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_ListWorkflowExecutionsRequest proto.InternalMessageInfo + +func (m *ListWorkflowExecutionsRequest) GetNamespace() string { + if m != nil { + return m.Namespace } return "" } -func (x *ListWorkflowExecutionsRequest) GetWorkflowTemplateUid() string { - if x != nil { - return x.WorkflowTemplateUid +func (m *ListWorkflowExecutionsRequest) GetWorkflowTemplateUid() string { + if m != nil { + return m.WorkflowTemplateUid } return "" } -func (x *ListWorkflowExecutionsRequest) GetWorkflowTemplateVersion() string { - if x != nil { - return x.WorkflowTemplateVersion +func (m *ListWorkflowExecutionsRequest) GetWorkflowTemplateVersion() string { + if m != nil { + return m.WorkflowTemplateVersion } return "" } -func (x *ListWorkflowExecutionsRequest) GetPageSize() int32 { - if x != nil { - return x.PageSize +func (m *ListWorkflowExecutionsRequest) GetPageSize() int32 { + if m != nil { + return m.PageSize } return 0 } -func (x *ListWorkflowExecutionsRequest) GetPage() int32 { - if x != nil { - return x.Page +func (m *ListWorkflowExecutionsRequest) GetPage() int32 { + if m != nil { + return m.Page } return 0 } type ListWorkflowExecutionsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Count int32 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"` - WorkflowExecutions []*WorkflowExecution `protobuf:"bytes,2,rep,name=workflowExecutions,proto3" json:"workflowExecutions,omitempty"` - Page int32 `protobuf:"varint,3,opt,name=page,proto3" json:"page,omitempty"` - Pages int32 `protobuf:"varint,4,opt,name=pages,proto3" json:"pages,omitempty"` - TotalCount int32 `protobuf:"varint,5,opt,name=totalCount,proto3" json:"totalCount,omitempty"` + Count int32 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"` + WorkflowExecutions []*WorkflowExecution `protobuf:"bytes,2,rep,name=workflowExecutions,proto3" json:"workflowExecutions,omitempty"` + Page int32 `protobuf:"varint,3,opt,name=page,proto3" json:"page,omitempty"` + Pages int32 `protobuf:"varint,4,opt,name=pages,proto3" json:"pages,omitempty"` + TotalCount int32 `protobuf:"varint,5,opt,name=totalCount,proto3" json:"totalCount,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *ListWorkflowExecutionsResponse) Reset() { - *x = ListWorkflowExecutionsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_workflow_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ListWorkflowExecutionsResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListWorkflowExecutionsResponse) ProtoMessage() {} - -func (x *ListWorkflowExecutionsResponse) ProtoReflect() protoreflect.Message { - mi := &file_workflow_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ListWorkflowExecutionsResponse.ProtoReflect.Descriptor instead. +func (m *ListWorkflowExecutionsResponse) Reset() { *m = ListWorkflowExecutionsResponse{} } +func (m *ListWorkflowExecutionsResponse) String() string { return proto.CompactTextString(m) } +func (*ListWorkflowExecutionsResponse) ProtoMessage() {} func (*ListWorkflowExecutionsResponse) Descriptor() ([]byte, []int) { - return file_workflow_proto_rawDescGZIP(), []int{10} + return fileDescriptor_892c7f566756b0be, []int{10} } -func (x *ListWorkflowExecutionsResponse) GetCount() int32 { - if x != nil { - return x.Count +func (m *ListWorkflowExecutionsResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListWorkflowExecutionsResponse.Unmarshal(m, b) +} +func (m *ListWorkflowExecutionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListWorkflowExecutionsResponse.Marshal(b, m, deterministic) +} +func (m *ListWorkflowExecutionsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListWorkflowExecutionsResponse.Merge(m, src) +} +func (m *ListWorkflowExecutionsResponse) XXX_Size() int { + return xxx_messageInfo_ListWorkflowExecutionsResponse.Size(m) +} +func (m *ListWorkflowExecutionsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ListWorkflowExecutionsResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_ListWorkflowExecutionsResponse proto.InternalMessageInfo + +func (m *ListWorkflowExecutionsResponse) GetCount() int32 { + if m != nil { + return m.Count } return 0 } -func (x *ListWorkflowExecutionsResponse) GetWorkflowExecutions() []*WorkflowExecution { - if x != nil { - return x.WorkflowExecutions +func (m *ListWorkflowExecutionsResponse) GetWorkflowExecutions() []*WorkflowExecution { + if m != nil { + return m.WorkflowExecutions } return nil } -func (x *ListWorkflowExecutionsResponse) GetPage() int32 { - if x != nil { - return x.Page +func (m *ListWorkflowExecutionsResponse) GetPage() int32 { + if m != nil { + return m.Page } return 0 } -func (x *ListWorkflowExecutionsResponse) GetPages() int32 { - if x != nil { - return x.Pages +func (m *ListWorkflowExecutionsResponse) GetPages() int32 { + if m != nil { + return m.Pages } return 0 } -func (x *ListWorkflowExecutionsResponse) GetTotalCount() int32 { - if x != nil { - return x.TotalCount +func (m *ListWorkflowExecutionsResponse) GetTotalCount() int32 { + if m != nil { + return m.TotalCount } return 0 } type LogEntry struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Timestamp string `protobuf:"bytes,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` - Content string `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"` + Timestamp string `protobuf:"bytes,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` + Content string `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *LogEntry) Reset() { - *x = LogEntry{} - if protoimpl.UnsafeEnabled { - mi := &file_workflow_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *LogEntry) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*LogEntry) ProtoMessage() {} - -func (x *LogEntry) ProtoReflect() protoreflect.Message { - mi := &file_workflow_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use LogEntry.ProtoReflect.Descriptor instead. +func (m *LogEntry) Reset() { *m = LogEntry{} } +func (m *LogEntry) String() string { return proto.CompactTextString(m) } +func (*LogEntry) ProtoMessage() {} func (*LogEntry) Descriptor() ([]byte, []int) { - return file_workflow_proto_rawDescGZIP(), []int{11} + return fileDescriptor_892c7f566756b0be, []int{11} } -func (x *LogEntry) GetTimestamp() string { - if x != nil { - return x.Timestamp +func (m *LogEntry) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_LogEntry.Unmarshal(m, b) +} +func (m *LogEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_LogEntry.Marshal(b, m, deterministic) +} +func (m *LogEntry) XXX_Merge(src proto.Message) { + xxx_messageInfo_LogEntry.Merge(m, src) +} +func (m *LogEntry) XXX_Size() int { + return xxx_messageInfo_LogEntry.Size(m) +} +func (m *LogEntry) XXX_DiscardUnknown() { + xxx_messageInfo_LogEntry.DiscardUnknown(m) +} + +var xxx_messageInfo_LogEntry proto.InternalMessageInfo + +func (m *LogEntry) GetTimestamp() string { + if m != nil { + return m.Timestamp } return "" } -func (x *LogEntry) GetContent() string { - if x != nil { - return x.Content +func (m *LogEntry) GetContent() string { + if m != nil { + return m.Content } return "" } type WorkflowExecution struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - CreatedAt string `protobuf:"bytes,1,opt,name=createdAt,proto3" json:"createdAt,omitempty"` - Uid string `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid,omitempty"` - Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` - Phase string `protobuf:"bytes,4,opt,name=phase,proto3" json:"phase,omitempty"` - StartedAt string `protobuf:"bytes,5,opt,name=startedAt,proto3" json:"startedAt,omitempty"` - FinishedAt string `protobuf:"bytes,6,opt,name=finishedAt,proto3" json:"finishedAt,omitempty"` - Manifest string `protobuf:"bytes,7,opt,name=manifest,proto3" json:"manifest,omitempty"` - Parameters []*WorkflowExecutionParameter `protobuf:"bytes,8,rep,name=parameters,proto3" json:"parameters,omitempty"` - WorkflowTemplate *WorkflowTemplate `protobuf:"bytes,9,opt,name=workflowTemplate,proto3" json:"workflowTemplate,omitempty"` - Labels []*KeyValue `protobuf:"bytes,10,rep,name=labels,proto3" json:"labels,omitempty"` + CreatedAt string `protobuf:"bytes,1,opt,name=createdAt,proto3" json:"createdAt,omitempty"` + Uid string `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid,omitempty"` + Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` + Phase string `protobuf:"bytes,4,opt,name=phase,proto3" json:"phase,omitempty"` + StartedAt string `protobuf:"bytes,5,opt,name=startedAt,proto3" json:"startedAt,omitempty"` + FinishedAt string `protobuf:"bytes,6,opt,name=finishedAt,proto3" json:"finishedAt,omitempty"` + Manifest string `protobuf:"bytes,7,opt,name=manifest,proto3" json:"manifest,omitempty"` + Parameters []*WorkflowExecutionParameter `protobuf:"bytes,8,rep,name=parameters,proto3" json:"parameters,omitempty"` + WorkflowTemplate *WorkflowTemplate `protobuf:"bytes,9,opt,name=workflowTemplate,proto3" json:"workflowTemplate,omitempty"` + Labels []*KeyValue `protobuf:"bytes,10,rep,name=labels,proto3" json:"labels,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *WorkflowExecution) Reset() { - *x = WorkflowExecution{} - if protoimpl.UnsafeEnabled { - mi := &file_workflow_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *WorkflowExecution) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*WorkflowExecution) ProtoMessage() {} - -func (x *WorkflowExecution) ProtoReflect() protoreflect.Message { - mi := &file_workflow_proto_msgTypes[12] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use WorkflowExecution.ProtoReflect.Descriptor instead. +func (m *WorkflowExecution) Reset() { *m = WorkflowExecution{} } +func (m *WorkflowExecution) String() string { return proto.CompactTextString(m) } +func (*WorkflowExecution) ProtoMessage() {} func (*WorkflowExecution) Descriptor() ([]byte, []int) { - return file_workflow_proto_rawDescGZIP(), []int{12} + return fileDescriptor_892c7f566756b0be, []int{12} } -func (x *WorkflowExecution) GetCreatedAt() string { - if x != nil { - return x.CreatedAt +func (m *WorkflowExecution) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_WorkflowExecution.Unmarshal(m, b) +} +func (m *WorkflowExecution) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_WorkflowExecution.Marshal(b, m, deterministic) +} +func (m *WorkflowExecution) XXX_Merge(src proto.Message) { + xxx_messageInfo_WorkflowExecution.Merge(m, src) +} +func (m *WorkflowExecution) XXX_Size() int { + return xxx_messageInfo_WorkflowExecution.Size(m) +} +func (m *WorkflowExecution) XXX_DiscardUnknown() { + xxx_messageInfo_WorkflowExecution.DiscardUnknown(m) +} + +var xxx_messageInfo_WorkflowExecution proto.InternalMessageInfo + +func (m *WorkflowExecution) GetCreatedAt() string { + if m != nil { + return m.CreatedAt } return "" } -func (x *WorkflowExecution) GetUid() string { - if x != nil { - return x.Uid +func (m *WorkflowExecution) GetUid() string { + if m != nil { + return m.Uid } return "" } -func (x *WorkflowExecution) GetName() string { - if x != nil { - return x.Name +func (m *WorkflowExecution) GetName() string { + if m != nil { + return m.Name } return "" } -func (x *WorkflowExecution) GetPhase() string { - if x != nil { - return x.Phase +func (m *WorkflowExecution) GetPhase() string { + if m != nil { + return m.Phase } return "" } -func (x *WorkflowExecution) GetStartedAt() string { - if x != nil { - return x.StartedAt +func (m *WorkflowExecution) GetStartedAt() string { + if m != nil { + return m.StartedAt } return "" } -func (x *WorkflowExecution) GetFinishedAt() string { - if x != nil { - return x.FinishedAt +func (m *WorkflowExecution) GetFinishedAt() string { + if m != nil { + return m.FinishedAt } return "" } -func (x *WorkflowExecution) GetManifest() string { - if x != nil { - return x.Manifest +func (m *WorkflowExecution) GetManifest() string { + if m != nil { + return m.Manifest } return "" } -func (x *WorkflowExecution) GetParameters() []*WorkflowExecutionParameter { - if x != nil { - return x.Parameters +func (m *WorkflowExecution) GetParameters() []*WorkflowExecutionParameter { + if m != nil { + return m.Parameters } return nil } -func (x *WorkflowExecution) GetWorkflowTemplate() *WorkflowTemplate { - if x != nil { - return x.WorkflowTemplate +func (m *WorkflowExecution) GetWorkflowTemplate() *WorkflowTemplate { + if m != nil { + return m.WorkflowTemplate } return nil } -func (x *WorkflowExecution) GetLabels() []*KeyValue { - if x != nil { - return x.Labels +func (m *WorkflowExecution) GetLabels() []*KeyValue { + if m != nil { + return m.Labels } return nil } type WorkflowExecutionParameter struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *WorkflowExecutionParameter) Reset() { - *x = WorkflowExecutionParameter{} - if protoimpl.UnsafeEnabled { - mi := &file_workflow_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *WorkflowExecutionParameter) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*WorkflowExecutionParameter) ProtoMessage() {} - -func (x *WorkflowExecutionParameter) ProtoReflect() protoreflect.Message { - mi := &file_workflow_proto_msgTypes[13] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use WorkflowExecutionParameter.ProtoReflect.Descriptor instead. +func (m *WorkflowExecutionParameter) Reset() { *m = WorkflowExecutionParameter{} } +func (m *WorkflowExecutionParameter) String() string { return proto.CompactTextString(m) } +func (*WorkflowExecutionParameter) ProtoMessage() {} func (*WorkflowExecutionParameter) Descriptor() ([]byte, []int) { - return file_workflow_proto_rawDescGZIP(), []int{13} + return fileDescriptor_892c7f566756b0be, []int{13} } -func (x *WorkflowExecutionParameter) GetName() string { - if x != nil { - return x.Name +func (m *WorkflowExecutionParameter) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_WorkflowExecutionParameter.Unmarshal(m, b) +} +func (m *WorkflowExecutionParameter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_WorkflowExecutionParameter.Marshal(b, m, deterministic) +} +func (m *WorkflowExecutionParameter) XXX_Merge(src proto.Message) { + xxx_messageInfo_WorkflowExecutionParameter.Merge(m, src) +} +func (m *WorkflowExecutionParameter) XXX_Size() int { + return xxx_messageInfo_WorkflowExecutionParameter.Size(m) +} +func (m *WorkflowExecutionParameter) XXX_DiscardUnknown() { + xxx_messageInfo_WorkflowExecutionParameter.DiscardUnknown(m) +} + +var xxx_messageInfo_WorkflowExecutionParameter proto.InternalMessageInfo + +func (m *WorkflowExecutionParameter) GetName() string { + if m != nil { + return m.Name } return "" } -func (x *WorkflowExecutionParameter) GetValue() string { - if x != nil { - return x.Value +func (m *WorkflowExecutionParameter) GetValue() string { + if m != nil { + return m.Value } return "" } type ArtifactResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` + Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *ArtifactResponse) Reset() { - *x = ArtifactResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_workflow_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ArtifactResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ArtifactResponse) ProtoMessage() {} - -func (x *ArtifactResponse) ProtoReflect() protoreflect.Message { - mi := &file_workflow_proto_msgTypes[14] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ArtifactResponse.ProtoReflect.Descriptor instead. +func (m *ArtifactResponse) Reset() { *m = ArtifactResponse{} } +func (m *ArtifactResponse) String() string { return proto.CompactTextString(m) } +func (*ArtifactResponse) ProtoMessage() {} func (*ArtifactResponse) Descriptor() ([]byte, []int) { - return file_workflow_proto_rawDescGZIP(), []int{14} + return fileDescriptor_892c7f566756b0be, []int{14} } -func (x *ArtifactResponse) GetData() []byte { - if x != nil { - return x.Data +func (m *ArtifactResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ArtifactResponse.Unmarshal(m, b) +} +func (m *ArtifactResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ArtifactResponse.Marshal(b, m, deterministic) +} +func (m *ArtifactResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ArtifactResponse.Merge(m, src) +} +func (m *ArtifactResponse) XXX_Size() int { + return xxx_messageInfo_ArtifactResponse.Size(m) +} +func (m *ArtifactResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ArtifactResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_ArtifactResponse proto.InternalMessageInfo + +func (m *ArtifactResponse) GetData() []byte { + if m != nil { + return m.Data } return nil } type File struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - Extension string `protobuf:"bytes,3,opt,name=extension,proto3" json:"extension,omitempty"` - Size int64 `protobuf:"varint,4,opt,name=size,proto3" json:"size,omitempty"` - ContentType string `protobuf:"bytes,5,opt,name=contentType,proto3" json:"contentType,omitempty"` - LastModified string `protobuf:"bytes,6,opt,name=lastModified,proto3" json:"lastModified,omitempty"` - Directory bool `protobuf:"varint,7,opt,name=directory,proto3" json:"directory,omitempty"` + Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + Extension string `protobuf:"bytes,3,opt,name=extension,proto3" json:"extension,omitempty"` + Size int64 `protobuf:"varint,4,opt,name=size,proto3" json:"size,omitempty"` + ContentType string `protobuf:"bytes,5,opt,name=contentType,proto3" json:"contentType,omitempty"` + LastModified string `protobuf:"bytes,6,opt,name=lastModified,proto3" json:"lastModified,omitempty"` + Directory bool `protobuf:"varint,7,opt,name=directory,proto3" json:"directory,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *File) Reset() { - *x = File{} - if protoimpl.UnsafeEnabled { - mi := &file_workflow_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *File) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*File) ProtoMessage() {} - -func (x *File) ProtoReflect() protoreflect.Message { - mi := &file_workflow_proto_msgTypes[15] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use File.ProtoReflect.Descriptor instead. +func (m *File) Reset() { *m = File{} } +func (m *File) String() string { return proto.CompactTextString(m) } +func (*File) ProtoMessage() {} func (*File) Descriptor() ([]byte, []int) { - return file_workflow_proto_rawDescGZIP(), []int{15} + return fileDescriptor_892c7f566756b0be, []int{15} } -func (x *File) GetPath() string { - if x != nil { - return x.Path +func (m *File) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_File.Unmarshal(m, b) +} +func (m *File) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_File.Marshal(b, m, deterministic) +} +func (m *File) XXX_Merge(src proto.Message) { + xxx_messageInfo_File.Merge(m, src) +} +func (m *File) XXX_Size() int { + return xxx_messageInfo_File.Size(m) +} +func (m *File) XXX_DiscardUnknown() { + xxx_messageInfo_File.DiscardUnknown(m) +} + +var xxx_messageInfo_File proto.InternalMessageInfo + +func (m *File) GetPath() string { + if m != nil { + return m.Path } return "" } -func (x *File) GetName() string { - if x != nil { - return x.Name +func (m *File) GetName() string { + if m != nil { + return m.Name } return "" } -func (x *File) GetExtension() string { - if x != nil { - return x.Extension +func (m *File) GetExtension() string { + if m != nil { + return m.Extension } return "" } -func (x *File) GetSize() int64 { - if x != nil { - return x.Size +func (m *File) GetSize() int64 { + if m != nil { + return m.Size } return 0 } -func (x *File) GetContentType() string { - if x != nil { - return x.ContentType +func (m *File) GetContentType() string { + if m != nil { + return m.ContentType } return "" } -func (x *File) GetLastModified() string { - if x != nil { - return x.LastModified +func (m *File) GetLastModified() string { + if m != nil { + return m.LastModified } return "" } -func (x *File) GetDirectory() bool { - if x != nil { - return x.Directory +func (m *File) GetDirectory() bool { + if m != nil { + return m.Directory } return false } type ListFilesRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - Path string `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"` + Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + Path string `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *ListFilesRequest) Reset() { - *x = ListFilesRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_workflow_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ListFilesRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListFilesRequest) ProtoMessage() {} - -func (x *ListFilesRequest) ProtoReflect() protoreflect.Message { - mi := &file_workflow_proto_msgTypes[16] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ListFilesRequest.ProtoReflect.Descriptor instead. +func (m *ListFilesRequest) Reset() { *m = ListFilesRequest{} } +func (m *ListFilesRequest) String() string { return proto.CompactTextString(m) } +func (*ListFilesRequest) ProtoMessage() {} func (*ListFilesRequest) Descriptor() ([]byte, []int) { - return file_workflow_proto_rawDescGZIP(), []int{16} + return fileDescriptor_892c7f566756b0be, []int{16} } -func (x *ListFilesRequest) GetNamespace() string { - if x != nil { - return x.Namespace +func (m *ListFilesRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListFilesRequest.Unmarshal(m, b) +} +func (m *ListFilesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListFilesRequest.Marshal(b, m, deterministic) +} +func (m *ListFilesRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListFilesRequest.Merge(m, src) +} +func (m *ListFilesRequest) XXX_Size() int { + return xxx_messageInfo_ListFilesRequest.Size(m) +} +func (m *ListFilesRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ListFilesRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_ListFilesRequest proto.InternalMessageInfo + +func (m *ListFilesRequest) GetNamespace() string { + if m != nil { + return m.Namespace } return "" } -func (x *ListFilesRequest) GetName() string { - if x != nil { - return x.Name +func (m *ListFilesRequest) GetName() string { + if m != nil { + return m.Name } return "" } -func (x *ListFilesRequest) GetPath() string { - if x != nil { - return x.Path +func (m *ListFilesRequest) GetPath() string { + if m != nil { + return m.Path } return "" } type ListFilesResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Files []*File `protobuf:"bytes,1,rep,name=files,proto3" json:"files,omitempty"` - ParentPath string `protobuf:"bytes,2,opt,name=parentPath,proto3" json:"parentPath,omitempty"` + Files []*File `protobuf:"bytes,1,rep,name=files,proto3" json:"files,omitempty"` + ParentPath string `protobuf:"bytes,2,opt,name=parentPath,proto3" json:"parentPath,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *ListFilesResponse) Reset() { - *x = ListFilesResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_workflow_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ListFilesResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListFilesResponse) ProtoMessage() {} - -func (x *ListFilesResponse) ProtoReflect() protoreflect.Message { - mi := &file_workflow_proto_msgTypes[17] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ListFilesResponse.ProtoReflect.Descriptor instead. +func (m *ListFilesResponse) Reset() { *m = ListFilesResponse{} } +func (m *ListFilesResponse) String() string { return proto.CompactTextString(m) } +func (*ListFilesResponse) ProtoMessage() {} func (*ListFilesResponse) Descriptor() ([]byte, []int) { - return file_workflow_proto_rawDescGZIP(), []int{17} + return fileDescriptor_892c7f566756b0be, []int{17} } -func (x *ListFilesResponse) GetFiles() []*File { - if x != nil { - return x.Files +func (m *ListFilesResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListFilesResponse.Unmarshal(m, b) +} +func (m *ListFilesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListFilesResponse.Marshal(b, m, deterministic) +} +func (m *ListFilesResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListFilesResponse.Merge(m, src) +} +func (m *ListFilesResponse) XXX_Size() int { + return xxx_messageInfo_ListFilesResponse.Size(m) +} +func (m *ListFilesResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ListFilesResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_ListFilesResponse proto.InternalMessageInfo + +func (m *ListFilesResponse) GetFiles() []*File { + if m != nil { + return m.Files } return nil } -func (x *ListFilesResponse) GetParentPath() string { - if x != nil { - return x.ParentPath +func (m *ListFilesResponse) GetParentPath() string { + if m != nil { + return m.ParentPath } return "" } type Statistics struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - WorkflowStatus string `protobuf:"bytes,1,opt,name=workflowStatus,proto3" json:"workflowStatus,omitempty"` - WorkflowTemplateId int64 `protobuf:"varint,2,opt,name=workflowTemplateId,proto3" json:"workflowTemplateId,omitempty"` + WorkflowStatus string `protobuf:"bytes,1,opt,name=workflowStatus,proto3" json:"workflowStatus,omitempty"` + WorkflowTemplateId int64 `protobuf:"varint,2,opt,name=workflowTemplateId,proto3" json:"workflowTemplateId,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *Statistics) Reset() { - *x = Statistics{} - if protoimpl.UnsafeEnabled { - mi := &file_workflow_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Statistics) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Statistics) ProtoMessage() {} - -func (x *Statistics) ProtoReflect() protoreflect.Message { - mi := &file_workflow_proto_msgTypes[18] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Statistics.ProtoReflect.Descriptor instead. +func (m *Statistics) Reset() { *m = Statistics{} } +func (m *Statistics) String() string { return proto.CompactTextString(m) } +func (*Statistics) ProtoMessage() {} func (*Statistics) Descriptor() ([]byte, []int) { - return file_workflow_proto_rawDescGZIP(), []int{18} + return fileDescriptor_892c7f566756b0be, []int{18} } -func (x *Statistics) GetWorkflowStatus() string { - if x != nil { - return x.WorkflowStatus +func (m *Statistics) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Statistics.Unmarshal(m, b) +} +func (m *Statistics) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Statistics.Marshal(b, m, deterministic) +} +func (m *Statistics) XXX_Merge(src proto.Message) { + xxx_messageInfo_Statistics.Merge(m, src) +} +func (m *Statistics) XXX_Size() int { + return xxx_messageInfo_Statistics.Size(m) +} +func (m *Statistics) XXX_DiscardUnknown() { + xxx_messageInfo_Statistics.DiscardUnknown(m) +} + +var xxx_messageInfo_Statistics proto.InternalMessageInfo + +func (m *Statistics) GetWorkflowStatus() string { + if m != nil { + return m.WorkflowStatus } return "" } -func (x *Statistics) GetWorkflowTemplateId() int64 { - if x != nil { - return x.WorkflowTemplateId +func (m *Statistics) GetWorkflowTemplateId() int64 { + if m != nil { + return m.WorkflowTemplateId } return 0 } type AddWorkflowExecutionStatisticRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - Statistics *Statistics `protobuf:"bytes,3,opt,name=statistics,proto3" json:"statistics,omitempty"` + Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + Statistics *Statistics `protobuf:"bytes,3,opt,name=statistics,proto3" json:"statistics,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *AddWorkflowExecutionStatisticRequest) Reset() { - *x = AddWorkflowExecutionStatisticRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_workflow_proto_msgTypes[19] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *AddWorkflowExecutionStatisticRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*AddWorkflowExecutionStatisticRequest) ProtoMessage() {} - -func (x *AddWorkflowExecutionStatisticRequest) ProtoReflect() protoreflect.Message { - mi := &file_workflow_proto_msgTypes[19] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use AddWorkflowExecutionStatisticRequest.ProtoReflect.Descriptor instead. +func (m *AddWorkflowExecutionStatisticRequest) Reset() { *m = AddWorkflowExecutionStatisticRequest{} } +func (m *AddWorkflowExecutionStatisticRequest) String() string { return proto.CompactTextString(m) } +func (*AddWorkflowExecutionStatisticRequest) ProtoMessage() {} func (*AddWorkflowExecutionStatisticRequest) Descriptor() ([]byte, []int) { - return file_workflow_proto_rawDescGZIP(), []int{19} + return fileDescriptor_892c7f566756b0be, []int{19} } -func (x *AddWorkflowExecutionStatisticRequest) GetNamespace() string { - if x != nil { - return x.Namespace +func (m *AddWorkflowExecutionStatisticRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AddWorkflowExecutionStatisticRequest.Unmarshal(m, b) +} +func (m *AddWorkflowExecutionStatisticRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AddWorkflowExecutionStatisticRequest.Marshal(b, m, deterministic) +} +func (m *AddWorkflowExecutionStatisticRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_AddWorkflowExecutionStatisticRequest.Merge(m, src) +} +func (m *AddWorkflowExecutionStatisticRequest) XXX_Size() int { + return xxx_messageInfo_AddWorkflowExecutionStatisticRequest.Size(m) +} +func (m *AddWorkflowExecutionStatisticRequest) XXX_DiscardUnknown() { + xxx_messageInfo_AddWorkflowExecutionStatisticRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_AddWorkflowExecutionStatisticRequest proto.InternalMessageInfo + +func (m *AddWorkflowExecutionStatisticRequest) GetNamespace() string { + if m != nil { + return m.Namespace } return "" } -func (x *AddWorkflowExecutionStatisticRequest) GetName() string { - if x != nil { - return x.Name +func (m *AddWorkflowExecutionStatisticRequest) GetName() string { + if m != nil { + return m.Name } return "" } -func (x *AddWorkflowExecutionStatisticRequest) GetStatistics() *Statistics { - if x != nil { - return x.Statistics +func (m *AddWorkflowExecutionStatisticRequest) GetStatistics() *Statistics { + if m != nil { + return m.Statistics } return nil } type CronStartWorkflowExecutionStatisticRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - WorkflowTemplateId int64 `protobuf:"varint,3,opt,name=workflowTemplateId,proto3" json:"workflowTemplateId,omitempty"` + Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + WorkflowTemplateId int64 `protobuf:"varint,3,opt,name=workflowTemplateId,proto3" json:"workflowTemplateId,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *CronStartWorkflowExecutionStatisticRequest) Reset() { - *x = CronStartWorkflowExecutionStatisticRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_workflow_proto_msgTypes[20] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *CronStartWorkflowExecutionStatisticRequest) Reset() { + *m = CronStartWorkflowExecutionStatisticRequest{} } - -func (x *CronStartWorkflowExecutionStatisticRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *CronStartWorkflowExecutionStatisticRequest) String() string { + return proto.CompactTextString(m) } - func (*CronStartWorkflowExecutionStatisticRequest) ProtoMessage() {} - -func (x *CronStartWorkflowExecutionStatisticRequest) ProtoReflect() protoreflect.Message { - mi := &file_workflow_proto_msgTypes[20] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CronStartWorkflowExecutionStatisticRequest.ProtoReflect.Descriptor instead. func (*CronStartWorkflowExecutionStatisticRequest) Descriptor() ([]byte, []int) { - return file_workflow_proto_rawDescGZIP(), []int{20} + return fileDescriptor_892c7f566756b0be, []int{20} } -func (x *CronStartWorkflowExecutionStatisticRequest) GetNamespace() string { - if x != nil { - return x.Namespace +func (m *CronStartWorkflowExecutionStatisticRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CronStartWorkflowExecutionStatisticRequest.Unmarshal(m, b) +} +func (m *CronStartWorkflowExecutionStatisticRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CronStartWorkflowExecutionStatisticRequest.Marshal(b, m, deterministic) +} +func (m *CronStartWorkflowExecutionStatisticRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_CronStartWorkflowExecutionStatisticRequest.Merge(m, src) +} +func (m *CronStartWorkflowExecutionStatisticRequest) XXX_Size() int { + return xxx_messageInfo_CronStartWorkflowExecutionStatisticRequest.Size(m) +} +func (m *CronStartWorkflowExecutionStatisticRequest) XXX_DiscardUnknown() { + xxx_messageInfo_CronStartWorkflowExecutionStatisticRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_CronStartWorkflowExecutionStatisticRequest proto.InternalMessageInfo + +func (m *CronStartWorkflowExecutionStatisticRequest) GetNamespace() string { + if m != nil { + return m.Namespace } return "" } -func (x *CronStartWorkflowExecutionStatisticRequest) GetName() string { - if x != nil { - return x.Name +func (m *CronStartWorkflowExecutionStatisticRequest) GetName() string { + if m != nil { + return m.Name } return "" } -func (x *CronStartWorkflowExecutionStatisticRequest) GetWorkflowTemplateId() int64 { - if x != nil { - return x.WorkflowTemplateId +func (m *CronStartWorkflowExecutionStatisticRequest) GetWorkflowTemplateId() int64 { + if m != nil { + return m.WorkflowTemplateId } return 0 } -var File_workflow_proto protoreflect.FileDescriptor - -var file_workflow_proto_rawDesc = []byte{ - 0x0a, 0x0e, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x12, 0x03, 0x61, 0x70, 0x69, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, - 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x1a, 0x17, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x5f, 0x74, 0x65, 0x6d, 0x70, 0x6c, - 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0c, 0x6d, 0x65, 0x74, 0x72, 0x69, - 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0b, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x84, 0x01, 0x0a, 0x1e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x57, - 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, - 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6e, 0x61, 0x6d, 0x65, - 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x44, 0x0a, 0x11, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, - 0x77, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x16, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x45, - 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x11, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, - 0x6f, 0x77, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x4f, 0x0a, 0x1b, 0x47, - 0x65, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, - 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x6e, 0x61, - 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6e, - 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x58, 0x0a, 0x12, - 0x47, 0x65, 0x74, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, - 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, - 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x22, 0x51, 0x0a, 0x1d, 0x57, 0x61, 0x74, 0x63, 0x68, 0x57, - 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, - 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6e, 0x61, 0x6d, 0x65, - 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x54, 0x0a, 0x20, 0x52, 0x65, 0x73, - 0x75, 0x62, 0x6d, 0x69, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x45, 0x78, 0x65, - 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a, - 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, - 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, - 0x55, 0x0a, 0x21, 0x54, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x57, 0x6f, 0x72, 0x6b, - 0x66, 0x6c, 0x6f, 0x77, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, - 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, - 0x63, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x93, 0x01, 0x0a, 0x1f, 0x47, 0x65, 0x74, 0x57, 0x6f, - 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x4c, - 0x6f, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x6e, 0x61, - 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6e, - 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, - 0x70, 0x6f, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x70, - 0x6f, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x24, 0x0a, 0x0d, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, - 0x6e, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x63, - 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x70, 0x0a, 0x22, - 0x47, 0x65, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x45, 0x78, 0x65, 0x63, 0x75, - 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, - 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, - 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x6f, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x18, - 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x70, 0x6f, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x4c, - 0x0a, 0x23, 0x47, 0x65, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x45, 0x78, 0x65, - 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x25, 0x0a, 0x07, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, - 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x4d, 0x65, 0x74, - 0x72, 0x69, 0x63, 0x52, 0x07, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x22, 0xd9, 0x01, 0x0a, - 0x1d, 0x4c, 0x69, 0x73, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x45, 0x78, 0x65, - 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, - 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x30, 0x0a, 0x13, - 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, - 0x55, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x13, 0x77, 0x6f, 0x72, 0x6b, 0x66, - 0x6c, 0x6f, 0x77, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x55, 0x69, 0x64, 0x12, 0x38, - 0x0a, 0x17, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, - 0x74, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x17, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, - 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x61, 0x67, 0x65, - 0x53, 0x69, 0x7a, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, - 0x53, 0x69, 0x7a, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x67, 0x65, 0x18, 0x05, 0x20, 0x01, - 0x28, 0x05, 0x52, 0x04, 0x70, 0x61, 0x67, 0x65, 0x22, 0xc8, 0x01, 0x0a, 0x1e, 0x4c, 0x69, 0x73, - 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, - 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x63, - 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, - 0x74, 0x12, 0x46, 0x0a, 0x12, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x45, 0x78, 0x65, - 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, - 0x61, 0x70, 0x69, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x45, 0x78, 0x65, 0x63, - 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x12, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x45, - 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x67, - 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x70, 0x61, 0x67, 0x65, 0x12, 0x14, 0x0a, - 0x05, 0x70, 0x61, 0x67, 0x65, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x70, 0x61, - 0x67, 0x65, 0x73, 0x12, 0x1e, 0x0a, 0x0a, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x43, 0x6f, 0x75, 0x6e, - 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x43, 0x6f, - 0x75, 0x6e, 0x74, 0x22, 0x42, 0x0a, 0x08, 0x4c, 0x6f, 0x67, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, - 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x18, 0x0a, - 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, - 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x22, 0xf2, 0x02, 0x0a, 0x11, 0x57, 0x6f, 0x72, 0x6b, - 0x66, 0x6c, 0x6f, 0x77, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1c, 0x0a, - 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x75, - 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x12, 0x0a, - 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, - 0x65, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x68, 0x61, 0x73, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x05, 0x70, 0x68, 0x61, 0x73, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, - 0x65, 0x64, 0x41, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x74, 0x61, 0x72, - 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x66, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, - 0x64, 0x41, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x66, 0x69, 0x6e, 0x69, 0x73, - 0x68, 0x65, 0x64, 0x41, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, - 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, - 0x74, 0x12, 0x3f, 0x0a, 0x0a, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x18, - 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x57, 0x6f, 0x72, 0x6b, - 0x66, 0x6c, 0x6f, 0x77, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x61, 0x72, - 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x52, 0x0a, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, - 0x72, 0x73, 0x12, 0x41, 0x0a, 0x10, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x54, 0x65, - 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x61, - 0x70, 0x69, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x54, 0x65, 0x6d, 0x70, 0x6c, - 0x61, 0x74, 0x65, 0x52, 0x10, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x54, 0x65, 0x6d, - 0x70, 0x6c, 0x61, 0x74, 0x65, 0x12, 0x25, 0x0a, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, - 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x4b, 0x65, 0x79, 0x56, - 0x61, 0x6c, 0x75, 0x65, 0x52, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x22, 0x46, 0x0a, 0x1a, - 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, - 0x6e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, - 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, - 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, - 0x61, 0x6c, 0x75, 0x65, 0x22, 0x26, 0x0a, 0x10, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0xc4, 0x01, 0x0a, - 0x04, 0x46, 0x69, 0x6c, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, - 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1c, 0x0a, - 0x09, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x09, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x73, - 0x69, 0x7a, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x12, - 0x20, 0x0a, 0x0b, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x18, 0x05, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, - 0x65, 0x12, 0x22, 0x0a, 0x0c, 0x6c, 0x61, 0x73, 0x74, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, - 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6c, 0x61, 0x73, 0x74, 0x4d, 0x6f, 0x64, - 0x69, 0x66, 0x69, 0x65, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, - 0x72, 0x79, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, - 0x6f, 0x72, 0x79, 0x22, 0x58, 0x0a, 0x10, 0x4c, 0x69, 0x73, 0x74, 0x46, 0x69, 0x6c, 0x65, 0x73, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, - 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6e, 0x61, 0x6d, 0x65, - 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, - 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x22, 0x54, 0x0a, - 0x11, 0x4c, 0x69, 0x73, 0x74, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x12, 0x1f, 0x0a, 0x05, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x09, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x52, 0x05, 0x66, 0x69, - 0x6c, 0x65, 0x73, 0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x50, 0x61, 0x74, - 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x50, - 0x61, 0x74, 0x68, 0x22, 0x64, 0x0a, 0x0a, 0x53, 0x74, 0x61, 0x74, 0x69, 0x73, 0x74, 0x69, 0x63, - 0x73, 0x12, 0x26, 0x0a, 0x0e, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x53, 0x74, 0x61, - 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x77, 0x6f, 0x72, 0x6b, 0x66, - 0x6c, 0x6f, 0x77, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x2e, 0x0a, 0x12, 0x77, 0x6f, 0x72, - 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x49, 0x64, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x12, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x54, - 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x49, 0x64, 0x22, 0x89, 0x01, 0x0a, 0x24, 0x41, 0x64, - 0x64, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, - 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x69, 0x73, 0x74, 0x69, 0x63, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, - 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, - 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x2f, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x74, 0x69, 0x73, 0x74, 0x69, - 0x63, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x53, - 0x74, 0x61, 0x74, 0x69, 0x73, 0x74, 0x69, 0x63, 0x73, 0x52, 0x0a, 0x73, 0x74, 0x61, 0x74, 0x69, - 0x73, 0x74, 0x69, 0x63, 0x73, 0x22, 0x8e, 0x01, 0x0a, 0x2a, 0x43, 0x72, 0x6f, 0x6e, 0x53, 0x74, - 0x61, 0x72, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x45, 0x78, 0x65, 0x63, 0x75, - 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x69, 0x73, 0x74, 0x69, 0x63, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, - 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, - 0x63, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x2e, 0x0a, 0x12, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, - 0x6f, 0x77, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x03, 0x52, 0x12, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x54, 0x65, 0x6d, 0x70, - 0x6c, 0x61, 0x74, 0x65, 0x49, 0x64, 0x32, 0xf0, 0x14, 0x0a, 0x0f, 0x57, 0x6f, 0x72, 0x6b, 0x66, - 0x6c, 0x6f, 0x77, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0xa0, 0x01, 0x0a, 0x17, 0x43, - 0x72, 0x65, 0x61, 0x74, 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x45, 0x78, 0x65, - 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x23, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x43, 0x72, 0x65, - 0x61, 0x74, 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x45, 0x78, 0x65, 0x63, 0x75, - 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x61, 0x70, - 0x69, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, - 0x69, 0x6f, 0x6e, 0x22, 0x48, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x42, 0x22, 0x2d, 0x2f, 0x61, 0x70, - 0x69, 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, - 0x73, 0x70, 0x61, 0x63, 0x65, 0x7d, 0x2f, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x5f, - 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x3a, 0x11, 0x77, 0x6f, 0x72, 0x6b, - 0x66, 0x6c, 0x6f, 0x77, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x8e, 0x01, - 0x0a, 0x14, 0x47, 0x65, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x45, 0x78, 0x65, - 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x20, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x47, 0x65, 0x74, - 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, - 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x57, - 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, - 0x22, 0x3c, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x36, 0x12, 0x34, 0x2f, 0x61, 0x70, 0x69, 0x73, 0x2f, - 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, - 0x63, 0x65, 0x7d, 0x2f, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x5f, 0x65, 0x78, 0x65, - 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x12, 0x98, - 0x01, 0x0a, 0x16, 0x4c, 0x69, 0x73, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x45, - 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x22, 0x2e, 0x61, 0x70, 0x69, 0x2e, - 0x4c, 0x69, 0x73, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x45, 0x78, 0x65, 0x63, - 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, - 0x61, 0x70, 0x69, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, - 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x22, 0x35, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2f, 0x12, 0x2d, 0x2f, 0x61, 0x70, 0x69, - 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x73, - 0x70, 0x61, 0x63, 0x65, 0x7d, 0x2f, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x5f, 0x65, - 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x9a, 0x01, 0x0a, 0x16, 0x57, 0x61, - 0x74, 0x63, 0x68, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x45, 0x78, 0x65, 0x63, 0x75, - 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x22, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x57, 0x61, 0x74, 0x63, 0x68, - 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, - 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x57, - 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, - 0x22, 0x42, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3c, 0x12, 0x3a, 0x2f, 0x61, 0x70, 0x69, 0x73, 0x2f, - 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, - 0x63, 0x65, 0x7d, 0x2f, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x5f, 0x65, 0x78, 0x65, - 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x2f, 0x77, - 0x61, 0x74, 0x63, 0x68, 0x30, 0x01, 0x12, 0xbe, 0x01, 0x0a, 0x18, 0x47, 0x65, 0x74, 0x57, 0x6f, - 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x4c, - 0x6f, 0x67, 0x73, 0x12, 0x24, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x47, 0x65, 0x74, 0x57, 0x6f, 0x72, - 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x6f, - 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0d, 0x2e, 0x61, 0x70, 0x69, 0x2e, - 0x4c, 0x6f, 0x67, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x22, 0x6b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x65, - 0x12, 0x63, 0x2f, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, - 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x7d, 0x2f, 0x77, 0x6f, 0x72, 0x6b, - 0x66, 0x6c, 0x6f, 0x77, 0x5f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, - 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x2f, 0x70, 0x6f, 0x64, 0x73, 0x2f, 0x7b, 0x70, 0x6f, 0x64, - 0x4e, 0x61, 0x6d, 0x65, 0x7d, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, - 0x2f, 0x7b, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x7d, - 0x2f, 0x6c, 0x6f, 0x67, 0x73, 0x30, 0x01, 0x12, 0xc5, 0x01, 0x0a, 0x1b, 0x47, 0x65, 0x74, 0x57, - 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, - 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x12, 0x27, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x47, 0x65, - 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, - 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x1a, 0x28, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x47, 0x65, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, - 0x6f, 0x77, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x72, 0x69, - 0x63, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x53, 0x82, 0xd3, 0xe4, 0x93, - 0x02, 0x4d, 0x12, 0x4b, 0x2f, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, - 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x7d, 0x2f, 0x77, 0x6f, - 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x5f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, - 0x73, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x2f, 0x70, 0x6f, 0x64, 0x73, 0x2f, 0x7b, 0x70, - 0x6f, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x7d, 0x2f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x12, - 0xa1, 0x01, 0x0a, 0x19, 0x52, 0x65, 0x73, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x57, 0x6f, 0x72, 0x6b, - 0x66, 0x6c, 0x6f, 0x77, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x25, 0x2e, - 0x61, 0x70, 0x69, 0x2e, 0x52, 0x65, 0x73, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x57, 0x6f, 0x72, 0x6b, - 0x66, 0x6c, 0x6f, 0x77, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, - 0x6c, 0x6f, 0x77, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x45, 0x82, 0xd3, - 0xe4, 0x93, 0x02, 0x3f, 0x1a, 0x3d, 0x2f, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, - 0x74, 0x61, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x7d, 0x2f, - 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x5f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, - 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x2f, 0x72, 0x65, 0x73, 0x75, 0x62, - 0x6d, 0x69, 0x74, 0x12, 0xa4, 0x01, 0x0a, 0x1a, 0x54, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x61, 0x74, - 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, - 0x6f, 0x6e, 0x12, 0x26, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x54, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x61, - 0x74, 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, - 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, - 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, - 0x74, 0x79, 0x22, 0x46, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x40, 0x1a, 0x3e, 0x2f, 0x61, 0x70, 0x69, - 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x73, - 0x70, 0x61, 0x63, 0x65, 0x7d, 0x2f, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x5f, 0x65, - 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x7d, - 0x2f, 0x74, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x12, 0x8e, 0x01, 0x0a, 0x0b, 0x47, - 0x65, 0x74, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x12, 0x17, 0x2e, 0x61, 0x70, 0x69, - 0x2e, 0x47, 0x65, 0x74, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 0x15, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, - 0x63, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x4f, 0x82, 0xd3, 0xe4, 0x93, - 0x02, 0x49, 0x12, 0x47, 0x2f, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, - 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x7d, 0x2f, 0x77, 0x6f, - 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x5f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, - 0x73, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x2f, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, - 0x74, 0x73, 0x2f, 0x7b, 0x6b, 0x65, 0x79, 0x3d, 0x2a, 0x2a, 0x7d, 0x12, 0x88, 0x01, 0x0a, 0x09, - 0x4c, 0x69, 0x73, 0x74, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x12, 0x15, 0x2e, 0x61, 0x70, 0x69, 0x2e, - 0x4c, 0x69, 0x73, 0x74, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x1a, 0x16, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x46, 0x69, 0x6c, 0x65, 0x73, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x4c, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x46, - 0x12, 0x44, 0x2f, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, - 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x7d, 0x2f, 0x77, 0x6f, 0x72, 0x6b, - 0x66, 0x6c, 0x6f, 0x77, 0x5f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, - 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x2f, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x2f, 0x7b, 0x70, 0x61, - 0x74, 0x68, 0x3d, 0x2a, 0x2a, 0x7d, 0x12, 0x90, 0x01, 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x57, 0x6f, - 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x4c, - 0x61, 0x62, 0x65, 0x6c, 0x73, 0x12, 0x15, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x47, 0x65, 0x74, 0x4c, - 0x61, 0x62, 0x65, 0x6c, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x61, - 0x70, 0x69, 0x2e, 0x47, 0x65, 0x74, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x43, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3d, 0x12, 0x3b, 0x2f, 0x61, - 0x70, 0x69, 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, - 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x7d, 0x2f, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, - 0x5f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, - 0x65, 0x7d, 0x2f, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x12, 0x98, 0x01, 0x0a, 0x1a, 0x41, 0x64, - 0x64, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, - 0x6f, 0x6e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x12, 0x15, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x41, - 0x64, 0x64, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x16, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x47, 0x65, 0x74, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x4b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x45, 0x22, - 0x3b, 0x2f, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x7b, - 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x7d, 0x2f, 0x77, 0x6f, 0x72, 0x6b, 0x66, - 0x6c, 0x6f, 0x77, 0x5f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, - 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x2f, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x3a, 0x06, 0x6c, 0x61, - 0x62, 0x65, 0x6c, 0x73, 0x12, 0xa0, 0x01, 0x0a, 0x1e, 0x52, 0x65, 0x70, 0x6c, 0x61, 0x63, 0x65, - 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, - 0x6e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x12, 0x19, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x52, 0x65, - 0x70, 0x6c, 0x61, 0x63, 0x65, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x47, 0x65, 0x74, 0x4c, 0x61, 0x62, 0x65, - 0x6c, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x4b, 0x82, 0xd3, 0xe4, 0x93, - 0x02, 0x45, 0x1a, 0x3b, 0x2f, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, - 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x7d, 0x2f, 0x77, 0x6f, - 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x5f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, - 0x73, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x2f, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x3a, - 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x12, 0x9a, 0x01, 0x0a, 0x1c, 0x44, 0x65, 0x6c, 0x65, - 0x74, 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, - 0x69, 0x6f, 0x6e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x12, 0x17, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x44, - 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 0x16, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x47, 0x65, 0x74, 0x4c, 0x61, 0x62, 0x65, 0x6c, - 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x49, 0x82, 0xd3, 0xe4, 0x93, 0x02, - 0x43, 0x2a, 0x41, 0x2f, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, - 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x7d, 0x2f, 0x77, 0x6f, 0x72, - 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x5f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, - 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x2f, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x2f, 0x7b, - 0x6b, 0x65, 0x79, 0x7d, 0x12, 0xb8, 0x01, 0x0a, 0x1e, 0x41, 0x64, 0x64, 0x57, 0x6f, 0x72, 0x6b, - 0x66, 0x6c, 0x6f, 0x77, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, - 0x74, 0x69, 0x73, 0x74, 0x69, 0x63, 0x73, 0x12, 0x29, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x41, 0x64, - 0x64, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, - 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x69, 0x73, 0x74, 0x69, 0x63, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x53, 0x82, 0xd3, 0xe4, 0x93, - 0x02, 0x4d, 0x22, 0x3f, 0x2f, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, - 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x7d, 0x2f, 0x77, 0x6f, - 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x5f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, - 0x73, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x69, 0x73, 0x74, - 0x69, 0x63, 0x73, 0x3a, 0x0a, 0x73, 0x74, 0x61, 0x74, 0x69, 0x73, 0x74, 0x69, 0x63, 0x73, 0x12, - 0xd7, 0x01, 0x0a, 0x23, 0x43, 0x72, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x72, 0x74, 0x57, 0x6f, 0x72, - 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, - 0x61, 0x74, 0x69, 0x73, 0x74, 0x69, 0x63, 0x12, 0x2f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x43, 0x72, - 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x72, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x45, - 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x69, 0x73, 0x74, 0x69, - 0x63, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, - 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, - 0x22, 0x67, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x61, 0x12, 0x5f, 0x2f, 0x61, 0x70, 0x69, 0x73, 0x2f, - 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, - 0x63, 0x65, 0x7d, 0x2f, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x5f, 0x65, 0x78, 0x65, - 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x2f, 0x63, - 0x72, 0x6f, 0x6e, 0x5f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x69, 0x73, - 0x74, 0x69, 0x63, 0x73, 0x2f, 0x7b, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x54, 0x65, - 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x49, 0x64, 0x7d, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x33, +func init() { + proto.RegisterType((*CreateWorkflowExecutionRequest)(nil), "api.CreateWorkflowExecutionRequest") + proto.RegisterType((*GetWorkflowExecutionRequest)(nil), "api.GetWorkflowExecutionRequest") + proto.RegisterType((*GetArtifactRequest)(nil), "api.GetArtifactRequest") + proto.RegisterType((*WatchWorkflowExecutionRequest)(nil), "api.WatchWorkflowExecutionRequest") + proto.RegisterType((*ResubmitWorkflowExecutionRequest)(nil), "api.ResubmitWorkflowExecutionRequest") + proto.RegisterType((*TerminateWorkflowExecutionRequest)(nil), "api.TerminateWorkflowExecutionRequest") + proto.RegisterType((*GetWorkflowExecutionLogsRequest)(nil), "api.GetWorkflowExecutionLogsRequest") + proto.RegisterType((*GetWorkflowExecutionMetricsRequest)(nil), "api.GetWorkflowExecutionMetricsRequest") + proto.RegisterType((*GetWorkflowExecutionMetricsResponse)(nil), "api.GetWorkflowExecutionMetricsResponse") + proto.RegisterType((*ListWorkflowExecutionsRequest)(nil), "api.ListWorkflowExecutionsRequest") + proto.RegisterType((*ListWorkflowExecutionsResponse)(nil), "api.ListWorkflowExecutionsResponse") + proto.RegisterType((*LogEntry)(nil), "api.LogEntry") + proto.RegisterType((*WorkflowExecution)(nil), "api.WorkflowExecution") + proto.RegisterType((*WorkflowExecutionParameter)(nil), "api.WorkflowExecutionParameter") + proto.RegisterType((*ArtifactResponse)(nil), "api.ArtifactResponse") + proto.RegisterType((*File)(nil), "api.File") + proto.RegisterType((*ListFilesRequest)(nil), "api.ListFilesRequest") + proto.RegisterType((*ListFilesResponse)(nil), "api.ListFilesResponse") + proto.RegisterType((*Statistics)(nil), "api.Statistics") + proto.RegisterType((*AddWorkflowExecutionStatisticRequest)(nil), "api.AddWorkflowExecutionStatisticRequest") + proto.RegisterType((*CronStartWorkflowExecutionStatisticRequest)(nil), "api.CronStartWorkflowExecutionStatisticRequest") } -var ( - file_workflow_proto_rawDescOnce sync.Once - file_workflow_proto_rawDescData = file_workflow_proto_rawDesc -) +func init() { proto.RegisterFile("workflow.proto", fileDescriptor_892c7f566756b0be) } -func file_workflow_proto_rawDescGZIP() []byte { - file_workflow_proto_rawDescOnce.Do(func() { - file_workflow_proto_rawDescData = protoimpl.X.CompressGZIP(file_workflow_proto_rawDescData) - }) - return file_workflow_proto_rawDescData -} - -var file_workflow_proto_msgTypes = make([]protoimpl.MessageInfo, 21) -var file_workflow_proto_goTypes = []interface{}{ - (*CreateWorkflowExecutionRequest)(nil), // 0: api.CreateWorkflowExecutionRequest - (*GetWorkflowExecutionRequest)(nil), // 1: api.GetWorkflowExecutionRequest - (*GetArtifactRequest)(nil), // 2: api.GetArtifactRequest - (*WatchWorkflowExecutionRequest)(nil), // 3: api.WatchWorkflowExecutionRequest - (*ResubmitWorkflowExecutionRequest)(nil), // 4: api.ResubmitWorkflowExecutionRequest - (*TerminateWorkflowExecutionRequest)(nil), // 5: api.TerminateWorkflowExecutionRequest - (*GetWorkflowExecutionLogsRequest)(nil), // 6: api.GetWorkflowExecutionLogsRequest - (*GetWorkflowExecutionMetricsRequest)(nil), // 7: api.GetWorkflowExecutionMetricsRequest - (*GetWorkflowExecutionMetricsResponse)(nil), // 8: api.GetWorkflowExecutionMetricsResponse - (*ListWorkflowExecutionsRequest)(nil), // 9: api.ListWorkflowExecutionsRequest - (*ListWorkflowExecutionsResponse)(nil), // 10: api.ListWorkflowExecutionsResponse - (*LogEntry)(nil), // 11: api.LogEntry - (*WorkflowExecution)(nil), // 12: api.WorkflowExecution - (*WorkflowExecutionParameter)(nil), // 13: api.WorkflowExecutionParameter - (*ArtifactResponse)(nil), // 14: api.ArtifactResponse - (*File)(nil), // 15: api.File - (*ListFilesRequest)(nil), // 16: api.ListFilesRequest - (*ListFilesResponse)(nil), // 17: api.ListFilesResponse - (*Statistics)(nil), // 18: api.Statistics - (*AddWorkflowExecutionStatisticRequest)(nil), // 19: api.AddWorkflowExecutionStatisticRequest - (*CronStartWorkflowExecutionStatisticRequest)(nil), // 20: api.CronStartWorkflowExecutionStatisticRequest - (*Metric)(nil), // 21: api.Metric - (*WorkflowTemplate)(nil), // 22: api.WorkflowTemplate - (*KeyValue)(nil), // 23: api.KeyValue - (*GetLabelsRequest)(nil), // 24: api.GetLabelsRequest - (*AddLabelsRequest)(nil), // 25: api.AddLabelsRequest - (*ReplaceLabelsRequest)(nil), // 26: api.ReplaceLabelsRequest - (*DeleteLabelRequest)(nil), // 27: api.DeleteLabelRequest - (*empty.Empty)(nil), // 28: google.protobuf.Empty - (*GetLabelsResponse)(nil), // 29: api.GetLabelsResponse -} -var file_workflow_proto_depIdxs = []int32{ - 12, // 0: api.CreateWorkflowExecutionRequest.workflowExecution:type_name -> api.WorkflowExecution - 21, // 1: api.GetWorkflowExecutionMetricsResponse.metrics:type_name -> api.Metric - 12, // 2: api.ListWorkflowExecutionsResponse.workflowExecutions:type_name -> api.WorkflowExecution - 13, // 3: api.WorkflowExecution.parameters:type_name -> api.WorkflowExecutionParameter - 22, // 4: api.WorkflowExecution.workflowTemplate:type_name -> api.WorkflowTemplate - 23, // 5: api.WorkflowExecution.labels:type_name -> api.KeyValue - 15, // 6: api.ListFilesResponse.files:type_name -> api.File - 18, // 7: api.AddWorkflowExecutionStatisticRequest.statistics:type_name -> api.Statistics - 0, // 8: api.WorkflowService.CreateWorkflowExecution:input_type -> api.CreateWorkflowExecutionRequest - 1, // 9: api.WorkflowService.GetWorkflowExecution:input_type -> api.GetWorkflowExecutionRequest - 9, // 10: api.WorkflowService.ListWorkflowExecutions:input_type -> api.ListWorkflowExecutionsRequest - 3, // 11: api.WorkflowService.WatchWorkflowExecution:input_type -> api.WatchWorkflowExecutionRequest - 6, // 12: api.WorkflowService.GetWorkflowExecutionLogs:input_type -> api.GetWorkflowExecutionLogsRequest - 7, // 13: api.WorkflowService.GetWorkflowExecutionMetrics:input_type -> api.GetWorkflowExecutionMetricsRequest - 4, // 14: api.WorkflowService.ResubmitWorkflowExecution:input_type -> api.ResubmitWorkflowExecutionRequest - 5, // 15: api.WorkflowService.TerminateWorkflowExecution:input_type -> api.TerminateWorkflowExecutionRequest - 2, // 16: api.WorkflowService.GetArtifact:input_type -> api.GetArtifactRequest - 16, // 17: api.WorkflowService.ListFiles:input_type -> api.ListFilesRequest - 24, // 18: api.WorkflowService.GetWorkflowExecutionLabels:input_type -> api.GetLabelsRequest - 25, // 19: api.WorkflowService.AddWorkflowExecutionLabels:input_type -> api.AddLabelsRequest - 26, // 20: api.WorkflowService.ReplaceWorkflowExecutionLabels:input_type -> api.ReplaceLabelsRequest - 27, // 21: api.WorkflowService.DeleteWorkflowExecutionLabel:input_type -> api.DeleteLabelRequest - 19, // 22: api.WorkflowService.AddWorkflowExecutionStatistics:input_type -> api.AddWorkflowExecutionStatisticRequest - 20, // 23: api.WorkflowService.CronStartWorkflowExecutionStatistic:input_type -> api.CronStartWorkflowExecutionStatisticRequest - 12, // 24: api.WorkflowService.CreateWorkflowExecution:output_type -> api.WorkflowExecution - 12, // 25: api.WorkflowService.GetWorkflowExecution:output_type -> api.WorkflowExecution - 10, // 26: api.WorkflowService.ListWorkflowExecutions:output_type -> api.ListWorkflowExecutionsResponse - 12, // 27: api.WorkflowService.WatchWorkflowExecution:output_type -> api.WorkflowExecution - 11, // 28: api.WorkflowService.GetWorkflowExecutionLogs:output_type -> api.LogEntry - 8, // 29: api.WorkflowService.GetWorkflowExecutionMetrics:output_type -> api.GetWorkflowExecutionMetricsResponse - 12, // 30: api.WorkflowService.ResubmitWorkflowExecution:output_type -> api.WorkflowExecution - 28, // 31: api.WorkflowService.TerminateWorkflowExecution:output_type -> google.protobuf.Empty - 14, // 32: api.WorkflowService.GetArtifact:output_type -> api.ArtifactResponse - 17, // 33: api.WorkflowService.ListFiles:output_type -> api.ListFilesResponse - 29, // 34: api.WorkflowService.GetWorkflowExecutionLabels:output_type -> api.GetLabelsResponse - 29, // 35: api.WorkflowService.AddWorkflowExecutionLabels:output_type -> api.GetLabelsResponse - 29, // 36: api.WorkflowService.ReplaceWorkflowExecutionLabels:output_type -> api.GetLabelsResponse - 29, // 37: api.WorkflowService.DeleteWorkflowExecutionLabel:output_type -> api.GetLabelsResponse - 28, // 38: api.WorkflowService.AddWorkflowExecutionStatistics:output_type -> google.protobuf.Empty - 28, // 39: api.WorkflowService.CronStartWorkflowExecutionStatistic:output_type -> google.protobuf.Empty - 24, // [24:40] is the sub-list for method output_type - 8, // [8:24] is the sub-list for method input_type - 8, // [8:8] is the sub-list for extension type_name - 8, // [8:8] is the sub-list for extension extendee - 0, // [0:8] is the sub-list for field type_name -} - -func init() { file_workflow_proto_init() } -func file_workflow_proto_init() { - if File_workflow_proto != nil { - return - } - file_workflow_template_proto_init() - file_metric_proto_init() - file_label_proto_init() - if !protoimpl.UnsafeEnabled { - file_workflow_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateWorkflowExecutionRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_workflow_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetWorkflowExecutionRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_workflow_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetArtifactRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_workflow_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*WatchWorkflowExecutionRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_workflow_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ResubmitWorkflowExecutionRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_workflow_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TerminateWorkflowExecutionRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_workflow_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetWorkflowExecutionLogsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_workflow_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetWorkflowExecutionMetricsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_workflow_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetWorkflowExecutionMetricsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_workflow_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListWorkflowExecutionsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_workflow_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListWorkflowExecutionsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_workflow_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*LogEntry); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_workflow_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*WorkflowExecution); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_workflow_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*WorkflowExecutionParameter); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_workflow_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ArtifactResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_workflow_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*File); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_workflow_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListFilesRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_workflow_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListFilesResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_workflow_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Statistics); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_workflow_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AddWorkflowExecutionStatisticRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_workflow_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CronStartWorkflowExecutionStatisticRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_workflow_proto_rawDesc, - NumEnums: 0, - NumMessages: 21, - NumExtensions: 0, - NumServices: 1, - }, - GoTypes: file_workflow_proto_goTypes, - DependencyIndexes: file_workflow_proto_depIdxs, - MessageInfos: file_workflow_proto_msgTypes, - }.Build() - File_workflow_proto = out.File - file_workflow_proto_rawDesc = nil - file_workflow_proto_goTypes = nil - file_workflow_proto_depIdxs = nil +var fileDescriptor_892c7f566756b0be = []byte{ + // 1484 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x57, 0xcf, 0x4f, 0xdc, 0xc6, + 0x17, 0x97, 0x59, 0x48, 0xe0, 0x91, 0x7c, 0x43, 0xe6, 0x9b, 0xc0, 0xc6, 0x21, 0x84, 0xef, 0x90, + 0xe4, 0x4b, 0x91, 0x8a, 0x13, 0xfa, 0x43, 0x15, 0x4d, 0x9a, 0x12, 0x02, 0x34, 0x0a, 0x69, 0x52, + 0x43, 0x7e, 0xdc, 0xd0, 0xe0, 0x1d, 0x16, 0x8b, 0x5d, 0xdb, 0xf5, 0xcc, 0x86, 0x6c, 0xd1, 0x5e, + 0xaa, 0x1e, 0xda, 0x4b, 0x54, 0x29, 0x97, 0x2a, 0xa7, 0x56, 0xea, 0x1f, 0xd1, 0x53, 0x4f, 0xad, + 0xd4, 0x7b, 0x0f, 0x55, 0xef, 0xfd, 0x03, 0xaa, 0xfe, 0x05, 0xd5, 0x3c, 0x8f, 0xbd, 0x5e, 0xd6, + 0x5e, 0x88, 0x43, 0x4e, 0xf6, 0xbc, 0x37, 0xf3, 0xde, 0xe7, 0xfd, 0x98, 0x99, 0xcf, 0xc0, 0x7f, + 0x76, 0xfd, 0x70, 0x67, 0xab, 0xe6, 0xef, 0xce, 0x06, 0xa1, 0x2f, 0x7d, 0x52, 0x62, 0x81, 0x6b, + 0x8e, 0x57, 0x7d, 0xbf, 0x5a, 0xe3, 0x16, 0x0b, 0x5c, 0x8b, 0x79, 0x9e, 0x2f, 0x99, 0x74, 0x7d, + 0x4f, 0x44, 0x53, 0xcc, 0xf3, 0x5a, 0x8b, 0xa3, 0xcd, 0xc6, 0x96, 0xc5, 0xeb, 0x81, 0x6c, 0x6a, + 0xe5, 0x58, 0x6c, 0x6f, 0x43, 0xf2, 0x7a, 0x50, 0x63, 0x92, 0x6b, 0xc5, 0x89, 0x3a, 0x97, 0xa1, + 0xeb, 0xe8, 0xd1, 0x70, 0x8d, 0x6d, 0xf2, 0x5a, 0x34, 0xa0, 0x5f, 0x19, 0x30, 0xb1, 0x18, 0x72, + 0x26, 0xf9, 0x63, 0xbd, 0x78, 0xe9, 0x19, 0x77, 0x1a, 0xca, 0xa7, 0xcd, 0x3f, 0x6f, 0x70, 0x21, + 0xc9, 0x38, 0x0c, 0x79, 0xac, 0xce, 0x45, 0xc0, 0x1c, 0x5e, 0x36, 0x26, 0x8d, 0xe9, 0x21, 0xbb, + 0x2d, 0x20, 0xb7, 0xe1, 0xf4, 0xee, 0xfe, 0x95, 0xe5, 0xbe, 0x49, 0x63, 0x7a, 0x78, 0x6e, 0x74, + 0x96, 0x05, 0xee, 0x6c, 0xb7, 0xdd, 0xee, 0x05, 0xf4, 0x3e, 0x9c, 0x5f, 0xe1, 0xb2, 0x20, 0x04, + 0x02, 0xfd, 0x6a, 0x80, 0x5e, 0x87, 0x6c, 0xfc, 0xa7, 0x4f, 0x80, 0xac, 0x70, 0xb9, 0x10, 0x4a, + 0x77, 0x8b, 0x39, 0xb2, 0xb0, 0x1d, 0x32, 0x02, 0xa5, 0x1d, 0xde, 0x2c, 0x97, 0x50, 0xa4, 0x7e, + 0xe9, 0x67, 0x70, 0xe1, 0x31, 0x93, 0xce, 0xf6, 0x11, 0x82, 0x5d, 0x87, 0x49, 0x9b, 0x8b, 0xc6, + 0x66, 0xdd, 0x3d, 0xca, 0x14, 0x3c, 0x84, 0xff, 0xad, 0xf3, 0xb0, 0xee, 0x7a, 0xc5, 0x8b, 0x9b, + 0x65, 0xf6, 0x85, 0x01, 0x17, 0xb3, 0x6a, 0xb5, 0xea, 0x57, 0x45, 0xf1, 0x3c, 0x97, 0xe1, 0x78, + 0xe0, 0x57, 0x3e, 0x55, 0xe2, 0x28, 0xd7, 0xf1, 0x90, 0x5c, 0x82, 0x93, 0x8e, 0xef, 0x49, 0xe6, + 0x7a, 0x3c, 0x44, 0x7d, 0x3f, 0xea, 0x3b, 0x85, 0x34, 0x00, 0x9a, 0x05, 0xea, 0x1e, 0x36, 0xfe, + 0x9b, 0xc0, 0x45, 0x57, 0x61, 0xaa, 0xa7, 0x47, 0x11, 0xf8, 0x9e, 0xe0, 0xe4, 0x32, 0x1c, 0x8f, + 0x76, 0x9f, 0x28, 0x1b, 0x93, 0xa5, 0xe9, 0xe1, 0xb9, 0x61, 0xdc, 0x15, 0xd1, 0x34, 0x3b, 0xd6, + 0xd1, 0x3f, 0x0d, 0xb8, 0xb0, 0xea, 0x8a, 0x6e, 0x7b, 0x87, 0xc4, 0x7e, 0x15, 0xfe, 0x1b, 0xef, + 0xaa, 0x75, 0xbd, 0xf9, 0x1f, 0xba, 0x15, 0x1d, 0x4a, 0x96, 0x8a, 0x7c, 0x00, 0x63, 0xfb, 0xc5, + 0x8f, 0x78, 0x28, 0xd4, 0xf6, 0x8d, 0x22, 0xcd, 0x53, 0x13, 0x13, 0x06, 0x03, 0x56, 0xe5, 0x6b, + 0xee, 0x17, 0x51, 0x31, 0x06, 0xec, 0x64, 0xac, 0x72, 0xa8, 0xfe, 0xcb, 0x03, 0x28, 0xc7, 0x7f, + 0xfa, 0x9b, 0x01, 0x13, 0x79, 0xb1, 0xe9, 0x2c, 0x9d, 0x81, 0x01, 0xc7, 0x6f, 0x78, 0x12, 0x03, + 0x1b, 0xb0, 0xa3, 0x01, 0x59, 0x06, 0xd2, 0x75, 0x54, 0x88, 0x72, 0x1f, 0xa6, 0x31, 0xef, 0x70, + 0xc9, 0x58, 0x91, 0x80, 0x2a, 0xb5, 0x41, 0x29, 0x8f, 0xea, 0x2b, 0x74, 0x04, 0xd1, 0x80, 0x4c, + 0x00, 0x48, 0x5f, 0xb2, 0xda, 0x22, 0x82, 0x89, 0x82, 0x48, 0x49, 0xe8, 0x2d, 0x18, 0x5c, 0xf5, + 0xab, 0x4b, 0x9e, 0x0c, 0x9b, 0xaa, 0x20, 0xd2, 0xad, 0x73, 0x21, 0x59, 0x3d, 0x88, 0x0b, 0x92, + 0x08, 0x54, 0xe3, 0xa8, 0x0e, 0xe5, 0x9e, 0xd4, 0x45, 0x88, 0x87, 0xf4, 0x9f, 0x3e, 0x38, 0xdd, + 0x85, 0x5b, 0x59, 0x73, 0xf0, 0x1c, 0xae, 0x2c, 0xc8, 0xd8, 0x5a, 0x22, 0x50, 0xc7, 0x50, 0x23, + 0x29, 0xa7, 0xfa, 0x4d, 0x9a, 0xb5, 0x94, 0x6a, 0x56, 0x15, 0xd3, 0x36, 0x13, 0xf1, 0x16, 0x89, + 0x06, 0xca, 0xb2, 0x90, 0x2c, 0x8c, 0x2c, 0x0f, 0x44, 0x96, 0x13, 0x81, 0x8a, 0x78, 0xcb, 0xf5, + 0x5c, 0xb1, 0x8d, 0xea, 0x63, 0xa8, 0x4e, 0x49, 0x54, 0xb1, 0xeb, 0xcc, 0x73, 0xb7, 0xb8, 0x90, + 0xe5, 0xe3, 0xa8, 0x4d, 0xc6, 0xe4, 0x26, 0x40, 0xc0, 0x42, 0x56, 0xe7, 0x92, 0x87, 0xa2, 0x3c, + 0x88, 0x75, 0xb9, 0x98, 0x5d, 0x97, 0x07, 0xf1, 0x3c, 0x3b, 0xb5, 0x84, 0x2c, 0xc0, 0xc8, 0xfe, + 0x26, 0x2b, 0x0f, 0xe1, 0xdd, 0x71, 0xb6, 0xc3, 0x4c, 0xac, 0xb4, 0xbb, 0xa6, 0x93, 0xcb, 0x70, + 0x0c, 0xef, 0x33, 0x51, 0x06, 0xf4, 0x7f, 0x12, 0x17, 0xde, 0xe5, 0xcd, 0x47, 0xac, 0xd6, 0xe0, + 0xb6, 0x56, 0xd2, 0x65, 0x30, 0xf3, 0x31, 0x25, 0xc9, 0x34, 0x3a, 0x93, 0xf9, 0x54, 0x99, 0xd0, + 0x49, 0x8f, 0x06, 0xf4, 0x0a, 0x8c, 0xb4, 0x2f, 0x15, 0xdd, 0xbc, 0x04, 0xfa, 0x2b, 0x4c, 0x32, + 0x5c, 0x7d, 0xc2, 0xc6, 0x7f, 0xfa, 0x8b, 0x01, 0xfd, 0xcb, 0x6e, 0x4d, 0x6f, 0x08, 0xb9, 0x1d, + 0x9b, 0x56, 0xff, 0x99, 0x07, 0xcd, 0x38, 0x0c, 0xf1, 0x67, 0x92, 0x7b, 0xa9, 0x0d, 0xd8, 0x16, + 0xa8, 0x15, 0x22, 0xde, 0x6e, 0x25, 0x1b, 0xff, 0xc9, 0x24, 0x0c, 0xeb, 0x96, 0x5a, 0x6f, 0x06, + 0x5c, 0x57, 0x36, 0x2d, 0x22, 0x14, 0x4e, 0xd4, 0x98, 0x90, 0xf7, 0xfc, 0x8a, 0xbb, 0xe5, 0xf2, + 0x8a, 0xae, 0x6e, 0x87, 0x4c, 0xf9, 0xad, 0xb8, 0x21, 0x77, 0xa4, 0x1f, 0x36, 0xb1, 0xc0, 0x83, + 0x76, 0x5b, 0x40, 0x9f, 0xc0, 0x88, 0xda, 0xb9, 0x2a, 0x92, 0xd7, 0x38, 0x44, 0xe3, 0x1c, 0x94, + 0xda, 0x39, 0xa0, 0xeb, 0x70, 0x3a, 0x65, 0x59, 0x67, 0xf2, 0x22, 0x0c, 0x6c, 0x29, 0x81, 0x3e, + 0x2a, 0x87, 0xb0, 0x96, 0x6a, 0x8a, 0x1d, 0xc9, 0x55, 0xb7, 0x06, 0x2c, 0xe4, 0x9e, 0x7c, 0xa0, + 0xec, 0x45, 0x3e, 0x52, 0x12, 0x5a, 0x01, 0x58, 0x53, 0x8c, 0x49, 0x48, 0xd7, 0x11, 0xe4, 0x4a, + 0x9b, 0x62, 0x29, 0x69, 0x43, 0x68, 0xb8, 0xfb, 0xa4, 0x64, 0xb6, 0x7d, 0xce, 0xc4, 0x7d, 0x75, + 0x27, 0xda, 0x6c, 0x25, 0x3b, 0x43, 0x43, 0xbf, 0x31, 0xe0, 0xd2, 0x42, 0xa5, 0xd2, 0xd5, 0x50, + 0x89, 0xeb, 0xe2, 0xa9, 0xb2, 0x00, 0x44, 0x12, 0x00, 0x26, 0x6c, 0x78, 0xee, 0x14, 0xa6, 0xa1, + 0x1d, 0x97, 0x9d, 0x9a, 0x42, 0x9f, 0x1b, 0x30, 0xb3, 0x18, 0xa2, 0xef, 0x50, 0xbe, 0x09, 0x44, + 0xd9, 0xc9, 0x29, 0xe5, 0x25, 0x67, 0xee, 0xef, 0x33, 0x70, 0x2a, 0xc6, 0xb1, 0xc6, 0xc3, 0xa7, + 0xae, 0xc3, 0xc9, 0xf7, 0x06, 0x8c, 0xe5, 0xb0, 0x4c, 0x32, 0x85, 0xd1, 0xf5, 0xe6, 0xa0, 0x66, + 0xce, 0x69, 0x4f, 0x3f, 0xf9, 0xf2, 0xf7, 0xbf, 0x5e, 0xf4, 0xdd, 0xa2, 0x6f, 0x2b, 0xbe, 0x2c, + 0xac, 0xa7, 0xd7, 0x36, 0xb9, 0x64, 0xd7, 0xac, 0xbd, 0x24, 0xa4, 0x96, 0x95, 0x90, 0x62, 0x9e, + 0x5c, 0x08, 0xf3, 0xdd, 0x0c, 0x94, 0x3c, 0x37, 0xe0, 0x4c, 0xd6, 0x7d, 0x4e, 0x26, 0xd1, 0x75, + 0x0f, 0x76, 0x9a, 0x0b, 0xee, 0x3a, 0x82, 0x7b, 0x9f, 0xbc, 0xfb, 0x4a, 0xe0, 0x22, 0x7d, 0x8b, + 0x7c, 0x67, 0xc0, 0x68, 0xf6, 0xad, 0x49, 0x28, 0x3a, 0xec, 0x49, 0x17, 0xcc, 0xa9, 0x9e, 0x73, + 0xa2, 0xfd, 0x46, 0xdf, 0x43, 0x84, 0x16, 0x79, 0xb5, 0xf4, 0x91, 0x97, 0x06, 0x8c, 0x66, 0x73, + 0x60, 0x0d, 0xad, 0x27, 0x41, 0xce, 0xcd, 0xd7, 0x2d, 0x44, 0x73, 0x9d, 0xcc, 0x17, 0xc9, 0x97, + 0xb5, 0xab, 0x7c, 0x5e, 0x35, 0xc8, 0xcf, 0x06, 0x94, 0xf3, 0xf8, 0x29, 0xb9, 0x94, 0x5b, 0xcc, + 0x14, 0x7d, 0x35, 0xa3, 0x3b, 0x24, 0xbe, 0xe8, 0xe9, 0x0e, 0xe2, 0xe2, 0xc4, 0x29, 0x84, 0x2b, + 0xf0, 0x2b, 0xc2, 0xda, 0xd3, 0xac, 0xb1, 0x65, 0x25, 0xb4, 0x55, 0x58, 0x7b, 0x1d, 0x14, 0xb6, + 0x65, 0xd5, 0xfc, 0xaa, 0xb8, 0x6a, 0x90, 0x5f, 0x8d, 0xec, 0xc7, 0x90, 0x66, 0x96, 0xe4, 0xff, + 0xb9, 0x31, 0x74, 0xb2, 0x5d, 0x73, 0xfa, 0xe0, 0x89, 0xba, 0x0f, 0xd6, 0x30, 0xc2, 0x7b, 0xe4, + 0xee, 0x51, 0x44, 0xa8, 0x29, 0x2d, 0xf9, 0xc1, 0x80, 0x73, 0xb9, 0xcf, 0x1a, 0x72, 0x19, 0xc1, + 0x1d, 0xf4, 0xec, 0xc9, 0xed, 0x95, 0x25, 0x44, 0x7c, 0xd3, 0xbc, 0x51, 0x08, 0x71, 0xa8, 0xdd, + 0x92, 0x1f, 0x0d, 0x30, 0xf3, 0x1f, 0x49, 0xe4, 0x0a, 0x7a, 0x3f, 0xf0, 0x15, 0x65, 0x8e, 0xce, + 0x46, 0xef, 0xf2, 0xd9, 0xf8, 0x5d, 0x3e, 0xbb, 0xa4, 0xde, 0xe5, 0x74, 0x19, 0x51, 0x7e, 0x6c, + 0x7e, 0x54, 0x08, 0xa5, 0x8c, 0xfd, 0xaa, 0xc3, 0x69, 0x38, 0xf5, 0x9c, 0x25, 0x63, 0x71, 0x65, + 0xf7, 0x3d, 0x70, 0xcd, 0x88, 0x36, 0xed, 0x67, 0x28, 0xf4, 0x3e, 0xe2, 0xb8, 0x43, 0x56, 0x0a, + 0xe1, 0x60, 0xda, 0x9c, 0xb0, 0xf6, 0x76, 0x78, 0xf3, 0xc6, 0xcc, 0x4c, 0x8b, 0x7c, 0x6d, 0xc0, + 0x50, 0x72, 0x7d, 0x93, 0xb3, 0xc9, 0x59, 0x93, 0x26, 0x0a, 0xba, 0x76, 0x5d, 0xb7, 0x3c, 0x5d, + 0x45, 0x34, 0xcb, 0xe4, 0x76, 0x21, 0x34, 0x48, 0x04, 0xac, 0x3d, 0x45, 0x22, 0x10, 0xca, 0xb7, + 0x06, 0x98, 0x99, 0x1b, 0x1a, 0x89, 0x9f, 0xc6, 0xb6, 0xc2, 0x65, 0x34, 0xee, 0xc4, 0x96, 0x12, + 0x6b, 0x6c, 0x8b, 0x88, 0xed, 0x06, 0xf9, 0xb0, 0x10, 0xb6, 0x88, 0x6c, 0xaa, 0xa3, 0xdb, 0xcc, + 0xe2, 0x07, 0x1d, 0x90, 0x16, 0x2a, 0x95, 0xc3, 0x41, 0xba, 0x8b, 0x90, 0x96, 0xe8, 0xeb, 0x40, + 0x9a, 0xd7, 0x3c, 0x58, 0xdd, 0xc4, 0x13, 0x36, 0x0f, 0x6a, 0xcc, 0xe1, 0x79, 0xf0, 0xce, 0xe9, + 0x9d, 0x89, 0x93, 0x5e, 0x09, 0xa2, 0x79, 0x24, 0x10, 0x5f, 0x1a, 0x30, 0x7e, 0x9b, 0xd7, 0xb8, + 0xcc, 0x41, 0xa8, 0xbb, 0x3f, 0x9a, 0x82, 0x92, 0x83, 0xe0, 0xdd, 0x41, 0x78, 0x8b, 0x33, 0x0b, + 0xaf, 0x01, 0x0f, 0x7b, 0xbf, 0x45, 0x7e, 0x32, 0x60, 0xa2, 0x27, 0xf5, 0x13, 0xe4, 0xad, 0xb8, + 0xbc, 0x07, 0xb2, 0xb1, 0xdc, 0x73, 0x43, 0x9f, 0xc7, 0xf4, 0x66, 0x21, 0xc0, 0x6d, 0x76, 0x38, + 0x9f, 0x62, 0x8a, 0xe4, 0x0f, 0x03, 0xa6, 0x0e, 0xc1, 0x14, 0x89, 0xa5, 0x09, 0xd9, 0x61, 0x39, + 0x65, 0x6e, 0x14, 0x55, 0x8c, 0x82, 0x91, 0x8d, 0x42, 0x51, 0x38, 0xa1, 0xef, 0x6d, 0xe0, 0x3b, + 0x75, 0xa3, 0x1d, 0x84, 0xb5, 0xd7, 0xcd, 0x38, 0x5b, 0x9b, 0xc7, 0xd0, 0xf1, 0x3b, 0xff, 0x06, + 0x00, 0x00, 0xff, 0xff, 0x2d, 0x98, 0x6f, 0x89, 0x51, 0x15, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. var _ context.Context -var _ grpc.ClientConnInterface +var _ grpc.ClientConn // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package it is being compiled against. -const _ = grpc.SupportPackageIsVersion6 +const _ = grpc.SupportPackageIsVersion4 // WorkflowServiceClient is the client API for WorkflowService service. // @@ -2132,10 +1364,10 @@ type WorkflowServiceClient interface { } type workflowServiceClient struct { - cc grpc.ClientConnInterface + cc *grpc.ClientConn } -func NewWorkflowServiceClient(cc grpc.ClientConnInterface) WorkflowServiceClient { +func NewWorkflowServiceClient(cc *grpc.ClientConn) WorkflowServiceClient { return &workflowServiceClient{cc} } @@ -2354,52 +1586,52 @@ type WorkflowServiceServer interface { type UnimplementedWorkflowServiceServer struct { } -func (*UnimplementedWorkflowServiceServer) CreateWorkflowExecution(context.Context, *CreateWorkflowExecutionRequest) (*WorkflowExecution, error) { +func (*UnimplementedWorkflowServiceServer) CreateWorkflowExecution(ctx context.Context, req *CreateWorkflowExecutionRequest) (*WorkflowExecution, error) { return nil, status.Errorf(codes.Unimplemented, "method CreateWorkflowExecution not implemented") } -func (*UnimplementedWorkflowServiceServer) GetWorkflowExecution(context.Context, *GetWorkflowExecutionRequest) (*WorkflowExecution, error) { +func (*UnimplementedWorkflowServiceServer) GetWorkflowExecution(ctx context.Context, req *GetWorkflowExecutionRequest) (*WorkflowExecution, error) { return nil, status.Errorf(codes.Unimplemented, "method GetWorkflowExecution not implemented") } -func (*UnimplementedWorkflowServiceServer) ListWorkflowExecutions(context.Context, *ListWorkflowExecutionsRequest) (*ListWorkflowExecutionsResponse, error) { +func (*UnimplementedWorkflowServiceServer) ListWorkflowExecutions(ctx context.Context, req *ListWorkflowExecutionsRequest) (*ListWorkflowExecutionsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ListWorkflowExecutions not implemented") } -func (*UnimplementedWorkflowServiceServer) WatchWorkflowExecution(*WatchWorkflowExecutionRequest, WorkflowService_WatchWorkflowExecutionServer) error { +func (*UnimplementedWorkflowServiceServer) WatchWorkflowExecution(req *WatchWorkflowExecutionRequest, srv WorkflowService_WatchWorkflowExecutionServer) error { return status.Errorf(codes.Unimplemented, "method WatchWorkflowExecution not implemented") } -func (*UnimplementedWorkflowServiceServer) GetWorkflowExecutionLogs(*GetWorkflowExecutionLogsRequest, WorkflowService_GetWorkflowExecutionLogsServer) error { +func (*UnimplementedWorkflowServiceServer) GetWorkflowExecutionLogs(req *GetWorkflowExecutionLogsRequest, srv WorkflowService_GetWorkflowExecutionLogsServer) error { return status.Errorf(codes.Unimplemented, "method GetWorkflowExecutionLogs not implemented") } -func (*UnimplementedWorkflowServiceServer) GetWorkflowExecutionMetrics(context.Context, *GetWorkflowExecutionMetricsRequest) (*GetWorkflowExecutionMetricsResponse, error) { +func (*UnimplementedWorkflowServiceServer) GetWorkflowExecutionMetrics(ctx context.Context, req *GetWorkflowExecutionMetricsRequest) (*GetWorkflowExecutionMetricsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetWorkflowExecutionMetrics not implemented") } -func (*UnimplementedWorkflowServiceServer) ResubmitWorkflowExecution(context.Context, *ResubmitWorkflowExecutionRequest) (*WorkflowExecution, error) { +func (*UnimplementedWorkflowServiceServer) ResubmitWorkflowExecution(ctx context.Context, req *ResubmitWorkflowExecutionRequest) (*WorkflowExecution, error) { return nil, status.Errorf(codes.Unimplemented, "method ResubmitWorkflowExecution not implemented") } -func (*UnimplementedWorkflowServiceServer) TerminateWorkflowExecution(context.Context, *TerminateWorkflowExecutionRequest) (*empty.Empty, error) { +func (*UnimplementedWorkflowServiceServer) TerminateWorkflowExecution(ctx context.Context, req *TerminateWorkflowExecutionRequest) (*empty.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method TerminateWorkflowExecution not implemented") } -func (*UnimplementedWorkflowServiceServer) GetArtifact(context.Context, *GetArtifactRequest) (*ArtifactResponse, error) { +func (*UnimplementedWorkflowServiceServer) GetArtifact(ctx context.Context, req *GetArtifactRequest) (*ArtifactResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetArtifact not implemented") } -func (*UnimplementedWorkflowServiceServer) ListFiles(context.Context, *ListFilesRequest) (*ListFilesResponse, error) { +func (*UnimplementedWorkflowServiceServer) ListFiles(ctx context.Context, req *ListFilesRequest) (*ListFilesResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ListFiles not implemented") } -func (*UnimplementedWorkflowServiceServer) GetWorkflowExecutionLabels(context.Context, *GetLabelsRequest) (*GetLabelsResponse, error) { +func (*UnimplementedWorkflowServiceServer) GetWorkflowExecutionLabels(ctx context.Context, req *GetLabelsRequest) (*GetLabelsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetWorkflowExecutionLabels not implemented") } -func (*UnimplementedWorkflowServiceServer) AddWorkflowExecutionLabels(context.Context, *AddLabelsRequest) (*GetLabelsResponse, error) { +func (*UnimplementedWorkflowServiceServer) AddWorkflowExecutionLabels(ctx context.Context, req *AddLabelsRequest) (*GetLabelsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method AddWorkflowExecutionLabels not implemented") } -func (*UnimplementedWorkflowServiceServer) ReplaceWorkflowExecutionLabels(context.Context, *ReplaceLabelsRequest) (*GetLabelsResponse, error) { +func (*UnimplementedWorkflowServiceServer) ReplaceWorkflowExecutionLabels(ctx context.Context, req *ReplaceLabelsRequest) (*GetLabelsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ReplaceWorkflowExecutionLabels not implemented") } -func (*UnimplementedWorkflowServiceServer) DeleteWorkflowExecutionLabel(context.Context, *DeleteLabelRequest) (*GetLabelsResponse, error) { +func (*UnimplementedWorkflowServiceServer) DeleteWorkflowExecutionLabel(ctx context.Context, req *DeleteLabelRequest) (*GetLabelsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method DeleteWorkflowExecutionLabel not implemented") } -func (*UnimplementedWorkflowServiceServer) AddWorkflowExecutionStatistics(context.Context, *AddWorkflowExecutionStatisticRequest) (*empty.Empty, error) { +func (*UnimplementedWorkflowServiceServer) AddWorkflowExecutionStatistics(ctx context.Context, req *AddWorkflowExecutionStatisticRequest) (*empty.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method AddWorkflowExecutionStatistics not implemented") } -func (*UnimplementedWorkflowServiceServer) CronStartWorkflowExecutionStatistic(context.Context, *CronStartWorkflowExecutionStatisticRequest) (*empty.Empty, error) { +func (*UnimplementedWorkflowServiceServer) CronStartWorkflowExecutionStatistic(ctx context.Context, req *CronStartWorkflowExecutionStatisticRequest) (*empty.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method CronStartWorkflowExecutionStatistic not implemented") } diff --git a/api/workflow_template.pb.go b/api/workflow_template.pb.go index 3a18fc8..178dbb2 100644 --- a/api/workflow_template.pb.go +++ b/api/workflow_template.pb.go @@ -1,1385 +1,844 @@ // Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.21.0 -// protoc v3.11.3 // source: workflow_template.proto package api import ( context "context" + fmt "fmt" proto "github.com/golang/protobuf/proto" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" + math "math" ) -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf -// This is a compile-time assertion that a sufficiently up-to-date version -// of the legacy proto package is being used. -const _ = proto.ProtoPackageIsVersion4 +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package type CreateWorkflowTemplateRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` - WorkflowTemplate *WorkflowTemplate `protobuf:"bytes,2,opt,name=workflowTemplate,proto3" json:"workflowTemplate,omitempty"` + Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` + WorkflowTemplate *WorkflowTemplate `protobuf:"bytes,2,opt,name=workflowTemplate,proto3" json:"workflowTemplate,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *CreateWorkflowTemplateRequest) Reset() { - *x = CreateWorkflowTemplateRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_workflow_template_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CreateWorkflowTemplateRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CreateWorkflowTemplateRequest) ProtoMessage() {} - -func (x *CreateWorkflowTemplateRequest) ProtoReflect() protoreflect.Message { - mi := &file_workflow_template_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CreateWorkflowTemplateRequest.ProtoReflect.Descriptor instead. +func (m *CreateWorkflowTemplateRequest) Reset() { *m = CreateWorkflowTemplateRequest{} } +func (m *CreateWorkflowTemplateRequest) String() string { return proto.CompactTextString(m) } +func (*CreateWorkflowTemplateRequest) ProtoMessage() {} func (*CreateWorkflowTemplateRequest) Descriptor() ([]byte, []int) { - return file_workflow_template_proto_rawDescGZIP(), []int{0} + return fileDescriptor_b9a07547748a96e8, []int{0} } -func (x *CreateWorkflowTemplateRequest) GetNamespace() string { - if x != nil { - return x.Namespace +func (m *CreateWorkflowTemplateRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CreateWorkflowTemplateRequest.Unmarshal(m, b) +} +func (m *CreateWorkflowTemplateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CreateWorkflowTemplateRequest.Marshal(b, m, deterministic) +} +func (m *CreateWorkflowTemplateRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateWorkflowTemplateRequest.Merge(m, src) +} +func (m *CreateWorkflowTemplateRequest) XXX_Size() int { + return xxx_messageInfo_CreateWorkflowTemplateRequest.Size(m) +} +func (m *CreateWorkflowTemplateRequest) XXX_DiscardUnknown() { + xxx_messageInfo_CreateWorkflowTemplateRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_CreateWorkflowTemplateRequest proto.InternalMessageInfo + +func (m *CreateWorkflowTemplateRequest) GetNamespace() string { + if m != nil { + return m.Namespace } return "" } -func (x *CreateWorkflowTemplateRequest) GetWorkflowTemplate() *WorkflowTemplate { - if x != nil { - return x.WorkflowTemplate +func (m *CreateWorkflowTemplateRequest) GetWorkflowTemplate() *WorkflowTemplate { + if m != nil { + return m.WorkflowTemplate } return nil } type UpdateWorkflowTemplateVersionRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` - WorkflowTemplate *WorkflowTemplate `protobuf:"bytes,2,opt,name=workflowTemplate,proto3" json:"workflowTemplate,omitempty"` + Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` + WorkflowTemplate *WorkflowTemplate `protobuf:"bytes,2,opt,name=workflowTemplate,proto3" json:"workflowTemplate,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *UpdateWorkflowTemplateVersionRequest) Reset() { - *x = UpdateWorkflowTemplateVersionRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_workflow_template_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UpdateWorkflowTemplateVersionRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UpdateWorkflowTemplateVersionRequest) ProtoMessage() {} - -func (x *UpdateWorkflowTemplateVersionRequest) ProtoReflect() protoreflect.Message { - mi := &file_workflow_template_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UpdateWorkflowTemplateVersionRequest.ProtoReflect.Descriptor instead. +func (m *UpdateWorkflowTemplateVersionRequest) Reset() { *m = UpdateWorkflowTemplateVersionRequest{} } +func (m *UpdateWorkflowTemplateVersionRequest) String() string { return proto.CompactTextString(m) } +func (*UpdateWorkflowTemplateVersionRequest) ProtoMessage() {} func (*UpdateWorkflowTemplateVersionRequest) Descriptor() ([]byte, []int) { - return file_workflow_template_proto_rawDescGZIP(), []int{1} + return fileDescriptor_b9a07547748a96e8, []int{1} } -func (x *UpdateWorkflowTemplateVersionRequest) GetNamespace() string { - if x != nil { - return x.Namespace +func (m *UpdateWorkflowTemplateVersionRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UpdateWorkflowTemplateVersionRequest.Unmarshal(m, b) +} +func (m *UpdateWorkflowTemplateVersionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UpdateWorkflowTemplateVersionRequest.Marshal(b, m, deterministic) +} +func (m *UpdateWorkflowTemplateVersionRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateWorkflowTemplateVersionRequest.Merge(m, src) +} +func (m *UpdateWorkflowTemplateVersionRequest) XXX_Size() int { + return xxx_messageInfo_UpdateWorkflowTemplateVersionRequest.Size(m) +} +func (m *UpdateWorkflowTemplateVersionRequest) XXX_DiscardUnknown() { + xxx_messageInfo_UpdateWorkflowTemplateVersionRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_UpdateWorkflowTemplateVersionRequest proto.InternalMessageInfo + +func (m *UpdateWorkflowTemplateVersionRequest) GetNamespace() string { + if m != nil { + return m.Namespace } return "" } -func (x *UpdateWorkflowTemplateVersionRequest) GetWorkflowTemplate() *WorkflowTemplate { - if x != nil { - return x.WorkflowTemplate +func (m *UpdateWorkflowTemplateVersionRequest) GetWorkflowTemplate() *WorkflowTemplate { + if m != nil { + return m.WorkflowTemplate } return nil } type GetWorkflowTemplateRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` - Uid string `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid,omitempty"` - Version int32 `protobuf:"varint,3,opt,name=version,proto3" json:"version,omitempty"` + Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` + Uid string `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid,omitempty"` + Version int64 `protobuf:"varint,3,opt,name=version,proto3" json:"version,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *GetWorkflowTemplateRequest) Reset() { - *x = GetWorkflowTemplateRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_workflow_template_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetWorkflowTemplateRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetWorkflowTemplateRequest) ProtoMessage() {} - -func (x *GetWorkflowTemplateRequest) ProtoReflect() protoreflect.Message { - mi := &file_workflow_template_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetWorkflowTemplateRequest.ProtoReflect.Descriptor instead. +func (m *GetWorkflowTemplateRequest) Reset() { *m = GetWorkflowTemplateRequest{} } +func (m *GetWorkflowTemplateRequest) String() string { return proto.CompactTextString(m) } +func (*GetWorkflowTemplateRequest) ProtoMessage() {} func (*GetWorkflowTemplateRequest) Descriptor() ([]byte, []int) { - return file_workflow_template_proto_rawDescGZIP(), []int{2} + return fileDescriptor_b9a07547748a96e8, []int{2} } -func (x *GetWorkflowTemplateRequest) GetNamespace() string { - if x != nil { - return x.Namespace +func (m *GetWorkflowTemplateRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetWorkflowTemplateRequest.Unmarshal(m, b) +} +func (m *GetWorkflowTemplateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetWorkflowTemplateRequest.Marshal(b, m, deterministic) +} +func (m *GetWorkflowTemplateRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetWorkflowTemplateRequest.Merge(m, src) +} +func (m *GetWorkflowTemplateRequest) XXX_Size() int { + return xxx_messageInfo_GetWorkflowTemplateRequest.Size(m) +} +func (m *GetWorkflowTemplateRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetWorkflowTemplateRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetWorkflowTemplateRequest proto.InternalMessageInfo + +func (m *GetWorkflowTemplateRequest) GetNamespace() string { + if m != nil { + return m.Namespace } return "" } -func (x *GetWorkflowTemplateRequest) GetUid() string { - if x != nil { - return x.Uid +func (m *GetWorkflowTemplateRequest) GetUid() string { + if m != nil { + return m.Uid } return "" } -func (x *GetWorkflowTemplateRequest) GetVersion() int32 { - if x != nil { - return x.Version +func (m *GetWorkflowTemplateRequest) GetVersion() int64 { + if m != nil { + return m.Version } return 0 } type CloneWorkflowTemplateRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` - Uid string `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid,omitempty"` - Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` - Version int32 `protobuf:"varint,4,opt,name=version,proto3" json:"version,omitempty"` + Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` + Uid string `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid,omitempty"` + Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` + Version int64 `protobuf:"varint,4,opt,name=version,proto3" json:"version,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *CloneWorkflowTemplateRequest) Reset() { - *x = CloneWorkflowTemplateRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_workflow_template_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CloneWorkflowTemplateRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CloneWorkflowTemplateRequest) ProtoMessage() {} - -func (x *CloneWorkflowTemplateRequest) ProtoReflect() protoreflect.Message { - mi := &file_workflow_template_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CloneWorkflowTemplateRequest.ProtoReflect.Descriptor instead. +func (m *CloneWorkflowTemplateRequest) Reset() { *m = CloneWorkflowTemplateRequest{} } +func (m *CloneWorkflowTemplateRequest) String() string { return proto.CompactTextString(m) } +func (*CloneWorkflowTemplateRequest) ProtoMessage() {} func (*CloneWorkflowTemplateRequest) Descriptor() ([]byte, []int) { - return file_workflow_template_proto_rawDescGZIP(), []int{3} + return fileDescriptor_b9a07547748a96e8, []int{3} } -func (x *CloneWorkflowTemplateRequest) GetNamespace() string { - if x != nil { - return x.Namespace +func (m *CloneWorkflowTemplateRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CloneWorkflowTemplateRequest.Unmarshal(m, b) +} +func (m *CloneWorkflowTemplateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CloneWorkflowTemplateRequest.Marshal(b, m, deterministic) +} +func (m *CloneWorkflowTemplateRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_CloneWorkflowTemplateRequest.Merge(m, src) +} +func (m *CloneWorkflowTemplateRequest) XXX_Size() int { + return xxx_messageInfo_CloneWorkflowTemplateRequest.Size(m) +} +func (m *CloneWorkflowTemplateRequest) XXX_DiscardUnknown() { + xxx_messageInfo_CloneWorkflowTemplateRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_CloneWorkflowTemplateRequest proto.InternalMessageInfo + +func (m *CloneWorkflowTemplateRequest) GetNamespace() string { + if m != nil { + return m.Namespace } return "" } -func (x *CloneWorkflowTemplateRequest) GetUid() string { - if x != nil { - return x.Uid +func (m *CloneWorkflowTemplateRequest) GetUid() string { + if m != nil { + return m.Uid } return "" } -func (x *CloneWorkflowTemplateRequest) GetName() string { - if x != nil { - return x.Name +func (m *CloneWorkflowTemplateRequest) GetName() string { + if m != nil { + return m.Name } return "" } -func (x *CloneWorkflowTemplateRequest) GetVersion() int32 { - if x != nil { - return x.Version +func (m *CloneWorkflowTemplateRequest) GetVersion() int64 { + if m != nil { + return m.Version } return 0 } type ListWorkflowTemplateVersionsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` - Uid string `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid,omitempty"` + Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` + Uid string `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *ListWorkflowTemplateVersionsRequest) Reset() { - *x = ListWorkflowTemplateVersionsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_workflow_template_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ListWorkflowTemplateVersionsRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListWorkflowTemplateVersionsRequest) ProtoMessage() {} - -func (x *ListWorkflowTemplateVersionsRequest) ProtoReflect() protoreflect.Message { - mi := &file_workflow_template_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ListWorkflowTemplateVersionsRequest.ProtoReflect.Descriptor instead. +func (m *ListWorkflowTemplateVersionsRequest) Reset() { *m = ListWorkflowTemplateVersionsRequest{} } +func (m *ListWorkflowTemplateVersionsRequest) String() string { return proto.CompactTextString(m) } +func (*ListWorkflowTemplateVersionsRequest) ProtoMessage() {} func (*ListWorkflowTemplateVersionsRequest) Descriptor() ([]byte, []int) { - return file_workflow_template_proto_rawDescGZIP(), []int{4} + return fileDescriptor_b9a07547748a96e8, []int{4} } -func (x *ListWorkflowTemplateVersionsRequest) GetNamespace() string { - if x != nil { - return x.Namespace +func (m *ListWorkflowTemplateVersionsRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListWorkflowTemplateVersionsRequest.Unmarshal(m, b) +} +func (m *ListWorkflowTemplateVersionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListWorkflowTemplateVersionsRequest.Marshal(b, m, deterministic) +} +func (m *ListWorkflowTemplateVersionsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListWorkflowTemplateVersionsRequest.Merge(m, src) +} +func (m *ListWorkflowTemplateVersionsRequest) XXX_Size() int { + return xxx_messageInfo_ListWorkflowTemplateVersionsRequest.Size(m) +} +func (m *ListWorkflowTemplateVersionsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ListWorkflowTemplateVersionsRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_ListWorkflowTemplateVersionsRequest proto.InternalMessageInfo + +func (m *ListWorkflowTemplateVersionsRequest) GetNamespace() string { + if m != nil { + return m.Namespace } return "" } -func (x *ListWorkflowTemplateVersionsRequest) GetUid() string { - if x != nil { - return x.Uid +func (m *ListWorkflowTemplateVersionsRequest) GetUid() string { + if m != nil { + return m.Uid } return "" } type ListWorkflowTemplateVersionsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Count int32 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"` - WorkflowTemplates []*WorkflowTemplate `protobuf:"bytes,2,rep,name=workflowTemplates,proto3" json:"workflowTemplates,omitempty"` + Count int32 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"` + WorkflowTemplates []*WorkflowTemplate `protobuf:"bytes,2,rep,name=workflowTemplates,proto3" json:"workflowTemplates,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *ListWorkflowTemplateVersionsResponse) Reset() { - *x = ListWorkflowTemplateVersionsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_workflow_template_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ListWorkflowTemplateVersionsResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListWorkflowTemplateVersionsResponse) ProtoMessage() {} - -func (x *ListWorkflowTemplateVersionsResponse) ProtoReflect() protoreflect.Message { - mi := &file_workflow_template_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ListWorkflowTemplateVersionsResponse.ProtoReflect.Descriptor instead. +func (m *ListWorkflowTemplateVersionsResponse) Reset() { *m = ListWorkflowTemplateVersionsResponse{} } +func (m *ListWorkflowTemplateVersionsResponse) String() string { return proto.CompactTextString(m) } +func (*ListWorkflowTemplateVersionsResponse) ProtoMessage() {} func (*ListWorkflowTemplateVersionsResponse) Descriptor() ([]byte, []int) { - return file_workflow_template_proto_rawDescGZIP(), []int{5} + return fileDescriptor_b9a07547748a96e8, []int{5} } -func (x *ListWorkflowTemplateVersionsResponse) GetCount() int32 { - if x != nil { - return x.Count +func (m *ListWorkflowTemplateVersionsResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListWorkflowTemplateVersionsResponse.Unmarshal(m, b) +} +func (m *ListWorkflowTemplateVersionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListWorkflowTemplateVersionsResponse.Marshal(b, m, deterministic) +} +func (m *ListWorkflowTemplateVersionsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListWorkflowTemplateVersionsResponse.Merge(m, src) +} +func (m *ListWorkflowTemplateVersionsResponse) XXX_Size() int { + return xxx_messageInfo_ListWorkflowTemplateVersionsResponse.Size(m) +} +func (m *ListWorkflowTemplateVersionsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ListWorkflowTemplateVersionsResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_ListWorkflowTemplateVersionsResponse proto.InternalMessageInfo + +func (m *ListWorkflowTemplateVersionsResponse) GetCount() int32 { + if m != nil { + return m.Count } return 0 } -func (x *ListWorkflowTemplateVersionsResponse) GetWorkflowTemplates() []*WorkflowTemplate { - if x != nil { - return x.WorkflowTemplates +func (m *ListWorkflowTemplateVersionsResponse) GetWorkflowTemplates() []*WorkflowTemplate { + if m != nil { + return m.WorkflowTemplates } return nil } type ListWorkflowTemplatesRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` + Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *ListWorkflowTemplatesRequest) Reset() { - *x = ListWorkflowTemplatesRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_workflow_template_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ListWorkflowTemplatesRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListWorkflowTemplatesRequest) ProtoMessage() {} - -func (x *ListWorkflowTemplatesRequest) ProtoReflect() protoreflect.Message { - mi := &file_workflow_template_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ListWorkflowTemplatesRequest.ProtoReflect.Descriptor instead. +func (m *ListWorkflowTemplatesRequest) Reset() { *m = ListWorkflowTemplatesRequest{} } +func (m *ListWorkflowTemplatesRequest) String() string { return proto.CompactTextString(m) } +func (*ListWorkflowTemplatesRequest) ProtoMessage() {} func (*ListWorkflowTemplatesRequest) Descriptor() ([]byte, []int) { - return file_workflow_template_proto_rawDescGZIP(), []int{6} + return fileDescriptor_b9a07547748a96e8, []int{6} } -func (x *ListWorkflowTemplatesRequest) GetNamespace() string { - if x != nil { - return x.Namespace +func (m *ListWorkflowTemplatesRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListWorkflowTemplatesRequest.Unmarshal(m, b) +} +func (m *ListWorkflowTemplatesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListWorkflowTemplatesRequest.Marshal(b, m, deterministic) +} +func (m *ListWorkflowTemplatesRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListWorkflowTemplatesRequest.Merge(m, src) +} +func (m *ListWorkflowTemplatesRequest) XXX_Size() int { + return xxx_messageInfo_ListWorkflowTemplatesRequest.Size(m) +} +func (m *ListWorkflowTemplatesRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ListWorkflowTemplatesRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_ListWorkflowTemplatesRequest proto.InternalMessageInfo + +func (m *ListWorkflowTemplatesRequest) GetNamespace() string { + if m != nil { + return m.Namespace } return "" } type ListWorkflowTemplatesResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Count int32 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"` - WorkflowTemplates []*WorkflowTemplate `protobuf:"bytes,2,rep,name=workflowTemplates,proto3" json:"workflowTemplates,omitempty"` + Count int32 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"` + WorkflowTemplates []*WorkflowTemplate `protobuf:"bytes,2,rep,name=workflowTemplates,proto3" json:"workflowTemplates,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *ListWorkflowTemplatesResponse) Reset() { - *x = ListWorkflowTemplatesResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_workflow_template_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ListWorkflowTemplatesResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListWorkflowTemplatesResponse) ProtoMessage() {} - -func (x *ListWorkflowTemplatesResponse) ProtoReflect() protoreflect.Message { - mi := &file_workflow_template_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ListWorkflowTemplatesResponse.ProtoReflect.Descriptor instead. +func (m *ListWorkflowTemplatesResponse) Reset() { *m = ListWorkflowTemplatesResponse{} } +func (m *ListWorkflowTemplatesResponse) String() string { return proto.CompactTextString(m) } +func (*ListWorkflowTemplatesResponse) ProtoMessage() {} func (*ListWorkflowTemplatesResponse) Descriptor() ([]byte, []int) { - return file_workflow_template_proto_rawDescGZIP(), []int{7} + return fileDescriptor_b9a07547748a96e8, []int{7} } -func (x *ListWorkflowTemplatesResponse) GetCount() int32 { - if x != nil { - return x.Count +func (m *ListWorkflowTemplatesResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListWorkflowTemplatesResponse.Unmarshal(m, b) +} +func (m *ListWorkflowTemplatesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListWorkflowTemplatesResponse.Marshal(b, m, deterministic) +} +func (m *ListWorkflowTemplatesResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListWorkflowTemplatesResponse.Merge(m, src) +} +func (m *ListWorkflowTemplatesResponse) XXX_Size() int { + return xxx_messageInfo_ListWorkflowTemplatesResponse.Size(m) +} +func (m *ListWorkflowTemplatesResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ListWorkflowTemplatesResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_ListWorkflowTemplatesResponse proto.InternalMessageInfo + +func (m *ListWorkflowTemplatesResponse) GetCount() int32 { + if m != nil { + return m.Count } return 0 } -func (x *ListWorkflowTemplatesResponse) GetWorkflowTemplates() []*WorkflowTemplate { - if x != nil { - return x.WorkflowTemplates +func (m *ListWorkflowTemplatesResponse) GetWorkflowTemplates() []*WorkflowTemplate { + if m != nil { + return m.WorkflowTemplates } return nil } type ArchiveWorkflowTemplateRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` - Uid string `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid,omitempty"` + Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` + Uid string `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *ArchiveWorkflowTemplateRequest) Reset() { - *x = ArchiveWorkflowTemplateRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_workflow_template_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ArchiveWorkflowTemplateRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ArchiveWorkflowTemplateRequest) ProtoMessage() {} - -func (x *ArchiveWorkflowTemplateRequest) ProtoReflect() protoreflect.Message { - mi := &file_workflow_template_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ArchiveWorkflowTemplateRequest.ProtoReflect.Descriptor instead. +func (m *ArchiveWorkflowTemplateRequest) Reset() { *m = ArchiveWorkflowTemplateRequest{} } +func (m *ArchiveWorkflowTemplateRequest) String() string { return proto.CompactTextString(m) } +func (*ArchiveWorkflowTemplateRequest) ProtoMessage() {} func (*ArchiveWorkflowTemplateRequest) Descriptor() ([]byte, []int) { - return file_workflow_template_proto_rawDescGZIP(), []int{8} + return fileDescriptor_b9a07547748a96e8, []int{8} } -func (x *ArchiveWorkflowTemplateRequest) GetNamespace() string { - if x != nil { - return x.Namespace +func (m *ArchiveWorkflowTemplateRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ArchiveWorkflowTemplateRequest.Unmarshal(m, b) +} +func (m *ArchiveWorkflowTemplateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ArchiveWorkflowTemplateRequest.Marshal(b, m, deterministic) +} +func (m *ArchiveWorkflowTemplateRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ArchiveWorkflowTemplateRequest.Merge(m, src) +} +func (m *ArchiveWorkflowTemplateRequest) XXX_Size() int { + return xxx_messageInfo_ArchiveWorkflowTemplateRequest.Size(m) +} +func (m *ArchiveWorkflowTemplateRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ArchiveWorkflowTemplateRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_ArchiveWorkflowTemplateRequest proto.InternalMessageInfo + +func (m *ArchiveWorkflowTemplateRequest) GetNamespace() string { + if m != nil { + return m.Namespace } return "" } -func (x *ArchiveWorkflowTemplateRequest) GetUid() string { - if x != nil { - return x.Uid +func (m *ArchiveWorkflowTemplateRequest) GetUid() string { + if m != nil { + return m.Uid } return "" } type ArchiveWorkflowTemplateResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - WorkflowTemplate *WorkflowTemplate `protobuf:"bytes,1,opt,name=workflowTemplate,proto3" json:"workflowTemplate,omitempty"` + WorkflowTemplate *WorkflowTemplate `protobuf:"bytes,1,opt,name=workflowTemplate,proto3" json:"workflowTemplate,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *ArchiveWorkflowTemplateResponse) Reset() { - *x = ArchiveWorkflowTemplateResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_workflow_template_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ArchiveWorkflowTemplateResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ArchiveWorkflowTemplateResponse) ProtoMessage() {} - -func (x *ArchiveWorkflowTemplateResponse) ProtoReflect() protoreflect.Message { - mi := &file_workflow_template_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ArchiveWorkflowTemplateResponse.ProtoReflect.Descriptor instead. +func (m *ArchiveWorkflowTemplateResponse) Reset() { *m = ArchiveWorkflowTemplateResponse{} } +func (m *ArchiveWorkflowTemplateResponse) String() string { return proto.CompactTextString(m) } +func (*ArchiveWorkflowTemplateResponse) ProtoMessage() {} func (*ArchiveWorkflowTemplateResponse) Descriptor() ([]byte, []int) { - return file_workflow_template_proto_rawDescGZIP(), []int{9} + return fileDescriptor_b9a07547748a96e8, []int{9} } -func (x *ArchiveWorkflowTemplateResponse) GetWorkflowTemplate() *WorkflowTemplate { - if x != nil { - return x.WorkflowTemplate +func (m *ArchiveWorkflowTemplateResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ArchiveWorkflowTemplateResponse.Unmarshal(m, b) +} +func (m *ArchiveWorkflowTemplateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ArchiveWorkflowTemplateResponse.Marshal(b, m, deterministic) +} +func (m *ArchiveWorkflowTemplateResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ArchiveWorkflowTemplateResponse.Merge(m, src) +} +func (m *ArchiveWorkflowTemplateResponse) XXX_Size() int { + return xxx_messageInfo_ArchiveWorkflowTemplateResponse.Size(m) +} +func (m *ArchiveWorkflowTemplateResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ArchiveWorkflowTemplateResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_ArchiveWorkflowTemplateResponse proto.InternalMessageInfo + +func (m *ArchiveWorkflowTemplateResponse) GetWorkflowTemplate() *WorkflowTemplate { + if m != nil { + return m.WorkflowTemplate } return nil } type WorkflowExecutionStatisticReport struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Total int32 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"` - LastExecuted string `protobuf:"bytes,2,opt,name=lastExecuted,proto3" json:"lastExecuted,omitempty"` - Running int32 `protobuf:"varint,3,opt,name=running,proto3" json:"running,omitempty"` - Completed int32 `protobuf:"varint,4,opt,name=completed,proto3" json:"completed,omitempty"` - Failed int32 `protobuf:"varint,5,opt,name=failed,proto3" json:"failed,omitempty"` + Total int32 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"` + LastExecuted string `protobuf:"bytes,2,opt,name=lastExecuted,proto3" json:"lastExecuted,omitempty"` + Running int32 `protobuf:"varint,3,opt,name=running,proto3" json:"running,omitempty"` + Completed int32 `protobuf:"varint,4,opt,name=completed,proto3" json:"completed,omitempty"` + Failed int32 `protobuf:"varint,5,opt,name=failed,proto3" json:"failed,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *WorkflowExecutionStatisticReport) Reset() { - *x = WorkflowExecutionStatisticReport{} - if protoimpl.UnsafeEnabled { - mi := &file_workflow_template_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *WorkflowExecutionStatisticReport) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*WorkflowExecutionStatisticReport) ProtoMessage() {} - -func (x *WorkflowExecutionStatisticReport) ProtoReflect() protoreflect.Message { - mi := &file_workflow_template_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use WorkflowExecutionStatisticReport.ProtoReflect.Descriptor instead. +func (m *WorkflowExecutionStatisticReport) Reset() { *m = WorkflowExecutionStatisticReport{} } +func (m *WorkflowExecutionStatisticReport) String() string { return proto.CompactTextString(m) } +func (*WorkflowExecutionStatisticReport) ProtoMessage() {} func (*WorkflowExecutionStatisticReport) Descriptor() ([]byte, []int) { - return file_workflow_template_proto_rawDescGZIP(), []int{10} + return fileDescriptor_b9a07547748a96e8, []int{10} } -func (x *WorkflowExecutionStatisticReport) GetTotal() int32 { - if x != nil { - return x.Total +func (m *WorkflowExecutionStatisticReport) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_WorkflowExecutionStatisticReport.Unmarshal(m, b) +} +func (m *WorkflowExecutionStatisticReport) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_WorkflowExecutionStatisticReport.Marshal(b, m, deterministic) +} +func (m *WorkflowExecutionStatisticReport) XXX_Merge(src proto.Message) { + xxx_messageInfo_WorkflowExecutionStatisticReport.Merge(m, src) +} +func (m *WorkflowExecutionStatisticReport) XXX_Size() int { + return xxx_messageInfo_WorkflowExecutionStatisticReport.Size(m) +} +func (m *WorkflowExecutionStatisticReport) XXX_DiscardUnknown() { + xxx_messageInfo_WorkflowExecutionStatisticReport.DiscardUnknown(m) +} + +var xxx_messageInfo_WorkflowExecutionStatisticReport proto.InternalMessageInfo + +func (m *WorkflowExecutionStatisticReport) GetTotal() int32 { + if m != nil { + return m.Total } return 0 } -func (x *WorkflowExecutionStatisticReport) GetLastExecuted() string { - if x != nil { - return x.LastExecuted +func (m *WorkflowExecutionStatisticReport) GetLastExecuted() string { + if m != nil { + return m.LastExecuted } return "" } -func (x *WorkflowExecutionStatisticReport) GetRunning() int32 { - if x != nil { - return x.Running +func (m *WorkflowExecutionStatisticReport) GetRunning() int32 { + if m != nil { + return m.Running } return 0 } -func (x *WorkflowExecutionStatisticReport) GetCompleted() int32 { - if x != nil { - return x.Completed +func (m *WorkflowExecutionStatisticReport) GetCompleted() int32 { + if m != nil { + return m.Completed } return 0 } -func (x *WorkflowExecutionStatisticReport) GetFailed() int32 { - if x != nil { - return x.Failed +func (m *WorkflowExecutionStatisticReport) GetFailed() int32 { + if m != nil { + return m.Failed } return 0 } type WorkflowTemplate struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - CreatedAt string `protobuf:"bytes,1,opt,name=createdAt,proto3" json:"createdAt,omitempty"` - Uid string `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid,omitempty"` - Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` - Version int32 `protobuf:"varint,4,opt,name=version,proto3" json:"version,omitempty"` - Versions int32 `protobuf:"varint,5,opt,name=versions,proto3" json:"versions,omitempty"` - Manifest string `protobuf:"bytes,6,opt,name=manifest,proto3" json:"manifest,omitempty"` - IsLatest bool `protobuf:"varint,7,opt,name=isLatest,proto3" json:"isLatest,omitempty"` - IsArchived bool `protobuf:"varint,8,opt,name=isArchived,proto3" json:"isArchived,omitempty"` - Labels []*KeyValue `protobuf:"bytes,9,rep,name=labels,proto3" json:"labels,omitempty"` - Stats *WorkflowExecutionStatisticReport `protobuf:"bytes,10,opt,name=stats,proto3" json:"stats,omitempty"` + CreatedAt string `protobuf:"bytes,1,opt,name=createdAt,proto3" json:"createdAt,omitempty"` + Uid string `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid,omitempty"` + Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` + Version int64 `protobuf:"varint,4,opt,name=version,proto3" json:"version,omitempty"` + Versions int64 `protobuf:"varint,5,opt,name=versions,proto3" json:"versions,omitempty"` + Manifest string `protobuf:"bytes,6,opt,name=manifest,proto3" json:"manifest,omitempty"` + IsLatest bool `protobuf:"varint,7,opt,name=isLatest,proto3" json:"isLatest,omitempty"` + IsArchived bool `protobuf:"varint,8,opt,name=isArchived,proto3" json:"isArchived,omitempty"` + Labels []*KeyValue `protobuf:"bytes,9,rep,name=labels,proto3" json:"labels,omitempty"` + Stats *WorkflowExecutionStatisticReport `protobuf:"bytes,10,opt,name=stats,proto3" json:"stats,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *WorkflowTemplate) Reset() { - *x = WorkflowTemplate{} - if protoimpl.UnsafeEnabled { - mi := &file_workflow_template_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *WorkflowTemplate) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*WorkflowTemplate) ProtoMessage() {} - -func (x *WorkflowTemplate) ProtoReflect() protoreflect.Message { - mi := &file_workflow_template_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use WorkflowTemplate.ProtoReflect.Descriptor instead. +func (m *WorkflowTemplate) Reset() { *m = WorkflowTemplate{} } +func (m *WorkflowTemplate) String() string { return proto.CompactTextString(m) } +func (*WorkflowTemplate) ProtoMessage() {} func (*WorkflowTemplate) Descriptor() ([]byte, []int) { - return file_workflow_template_proto_rawDescGZIP(), []int{11} + return fileDescriptor_b9a07547748a96e8, []int{11} } -func (x *WorkflowTemplate) GetCreatedAt() string { - if x != nil { - return x.CreatedAt +func (m *WorkflowTemplate) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_WorkflowTemplate.Unmarshal(m, b) +} +func (m *WorkflowTemplate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_WorkflowTemplate.Marshal(b, m, deterministic) +} +func (m *WorkflowTemplate) XXX_Merge(src proto.Message) { + xxx_messageInfo_WorkflowTemplate.Merge(m, src) +} +func (m *WorkflowTemplate) XXX_Size() int { + return xxx_messageInfo_WorkflowTemplate.Size(m) +} +func (m *WorkflowTemplate) XXX_DiscardUnknown() { + xxx_messageInfo_WorkflowTemplate.DiscardUnknown(m) +} + +var xxx_messageInfo_WorkflowTemplate proto.InternalMessageInfo + +func (m *WorkflowTemplate) GetCreatedAt() string { + if m != nil { + return m.CreatedAt } return "" } -func (x *WorkflowTemplate) GetUid() string { - if x != nil { - return x.Uid +func (m *WorkflowTemplate) GetUid() string { + if m != nil { + return m.Uid } return "" } -func (x *WorkflowTemplate) GetName() string { - if x != nil { - return x.Name +func (m *WorkflowTemplate) GetName() string { + if m != nil { + return m.Name } return "" } -func (x *WorkflowTemplate) GetVersion() int32 { - if x != nil { - return x.Version +func (m *WorkflowTemplate) GetVersion() int64 { + if m != nil { + return m.Version } return 0 } -func (x *WorkflowTemplate) GetVersions() int32 { - if x != nil { - return x.Versions +func (m *WorkflowTemplate) GetVersions() int64 { + if m != nil { + return m.Versions } return 0 } -func (x *WorkflowTemplate) GetManifest() string { - if x != nil { - return x.Manifest +func (m *WorkflowTemplate) GetManifest() string { + if m != nil { + return m.Manifest } return "" } -func (x *WorkflowTemplate) GetIsLatest() bool { - if x != nil { - return x.IsLatest +func (m *WorkflowTemplate) GetIsLatest() bool { + if m != nil { + return m.IsLatest } return false } -func (x *WorkflowTemplate) GetIsArchived() bool { - if x != nil { - return x.IsArchived +func (m *WorkflowTemplate) GetIsArchived() bool { + if m != nil { + return m.IsArchived } return false } -func (x *WorkflowTemplate) GetLabels() []*KeyValue { - if x != nil { - return x.Labels +func (m *WorkflowTemplate) GetLabels() []*KeyValue { + if m != nil { + return m.Labels } return nil } -func (x *WorkflowTemplate) GetStats() *WorkflowExecutionStatisticReport { - if x != nil { - return x.Stats +func (m *WorkflowTemplate) GetStats() *WorkflowExecutionStatisticReport { + if m != nil { + return m.Stats } return nil } type GetWorkflowTemplateLabelsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - Version int32 `protobuf:"varint,3,opt,name=version,proto3" json:"version,omitempty"` - Stats *WorkflowExecutionStatisticReport `protobuf:"bytes,8,opt,name=stats,proto3" json:"stats,omitempty"` + Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + Version int64 `protobuf:"varint,3,opt,name=version,proto3" json:"version,omitempty"` + Stats *WorkflowExecutionStatisticReport `protobuf:"bytes,8,opt,name=stats,proto3" json:"stats,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *GetWorkflowTemplateLabelsRequest) Reset() { - *x = GetWorkflowTemplateLabelsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_workflow_template_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetWorkflowTemplateLabelsRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetWorkflowTemplateLabelsRequest) ProtoMessage() {} - -func (x *GetWorkflowTemplateLabelsRequest) ProtoReflect() protoreflect.Message { - mi := &file_workflow_template_proto_msgTypes[12] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetWorkflowTemplateLabelsRequest.ProtoReflect.Descriptor instead. +func (m *GetWorkflowTemplateLabelsRequest) Reset() { *m = GetWorkflowTemplateLabelsRequest{} } +func (m *GetWorkflowTemplateLabelsRequest) String() string { return proto.CompactTextString(m) } +func (*GetWorkflowTemplateLabelsRequest) ProtoMessage() {} func (*GetWorkflowTemplateLabelsRequest) Descriptor() ([]byte, []int) { - return file_workflow_template_proto_rawDescGZIP(), []int{12} + return fileDescriptor_b9a07547748a96e8, []int{12} } -func (x *GetWorkflowTemplateLabelsRequest) GetNamespace() string { - if x != nil { - return x.Namespace +func (m *GetWorkflowTemplateLabelsRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetWorkflowTemplateLabelsRequest.Unmarshal(m, b) +} +func (m *GetWorkflowTemplateLabelsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetWorkflowTemplateLabelsRequest.Marshal(b, m, deterministic) +} +func (m *GetWorkflowTemplateLabelsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetWorkflowTemplateLabelsRequest.Merge(m, src) +} +func (m *GetWorkflowTemplateLabelsRequest) XXX_Size() int { + return xxx_messageInfo_GetWorkflowTemplateLabelsRequest.Size(m) +} +func (m *GetWorkflowTemplateLabelsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetWorkflowTemplateLabelsRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetWorkflowTemplateLabelsRequest proto.InternalMessageInfo + +func (m *GetWorkflowTemplateLabelsRequest) GetNamespace() string { + if m != nil { + return m.Namespace } return "" } -func (x *GetWorkflowTemplateLabelsRequest) GetName() string { - if x != nil { - return x.Name +func (m *GetWorkflowTemplateLabelsRequest) GetName() string { + if m != nil { + return m.Name } return "" } -func (x *GetWorkflowTemplateLabelsRequest) GetVersion() int32 { - if x != nil { - return x.Version +func (m *GetWorkflowTemplateLabelsRequest) GetVersion() int64 { + if m != nil { + return m.Version } return 0 } -func (x *GetWorkflowTemplateLabelsRequest) GetStats() *WorkflowExecutionStatisticReport { - if x != nil { - return x.Stats +func (m *GetWorkflowTemplateLabelsRequest) GetStats() *WorkflowExecutionStatisticReport { + if m != nil { + return m.Stats } return nil } -var File_workflow_template_proto protoreflect.FileDescriptor - -var file_workflow_template_proto_rawDesc = []byte{ - 0x0a, 0x17, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x5f, 0x74, 0x65, 0x6d, 0x70, 0x6c, - 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x03, 0x61, 0x70, 0x69, 0x1a, 0x1c, - 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0b, 0x6c, 0x61, - 0x62, 0x65, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x80, 0x01, 0x0a, 0x1d, 0x43, 0x72, - 0x65, 0x61, 0x74, 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x54, 0x65, 0x6d, 0x70, - 0x6c, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x6e, - 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, - 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x41, 0x0a, 0x10, 0x77, 0x6f, 0x72, - 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, - 0x6f, 0x77, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x52, 0x10, 0x77, 0x6f, 0x72, 0x6b, - 0x66, 0x6c, 0x6f, 0x77, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x22, 0x87, 0x01, 0x0a, - 0x24, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x54, - 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, - 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, - 0x61, 0x63, 0x65, 0x12, 0x41, 0x0a, 0x10, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x54, - 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, - 0x61, 0x70, 0x69, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x54, 0x65, 0x6d, 0x70, - 0x6c, 0x61, 0x74, 0x65, 0x52, 0x10, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x54, 0x65, - 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x22, 0x66, 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x57, 0x6f, 0x72, - 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, - 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, - 0x63, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x03, 0x75, 0x69, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, - 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x7c, - 0x0a, 0x1c, 0x43, 0x6c, 0x6f, 0x6e, 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x54, - 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, - 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x10, 0x0a, 0x03, - 0x75, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x12, - 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, - 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, - 0x01, 0x28, 0x05, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x55, 0x0a, 0x23, - 0x4c, 0x69, 0x73, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x54, 0x65, 0x6d, 0x70, - 0x6c, 0x61, 0x74, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, - 0x65, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, - 0x75, 0x69, 0x64, 0x22, 0x81, 0x01, 0x0a, 0x24, 0x4c, 0x69, 0x73, 0x74, 0x57, 0x6f, 0x72, 0x6b, - 0x66, 0x6c, 0x6f, 0x77, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x56, 0x65, 0x72, 0x73, - 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, - 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x63, 0x6f, 0x75, - 0x6e, 0x74, 0x12, 0x43, 0x0a, 0x11, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x54, 0x65, - 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, - 0x61, 0x70, 0x69, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x54, 0x65, 0x6d, 0x70, - 0x6c, 0x61, 0x74, 0x65, 0x52, 0x11, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x54, 0x65, - 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x22, 0x3c, 0x0a, 0x1c, 0x4c, 0x69, 0x73, 0x74, 0x57, - 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x73, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, - 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6e, 0x61, 0x6d, 0x65, - 0x73, 0x70, 0x61, 0x63, 0x65, 0x22, 0x7a, 0x0a, 0x1d, 0x4c, 0x69, 0x73, 0x74, 0x57, 0x6f, 0x72, - 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x43, 0x0a, 0x11, - 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, - 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x57, 0x6f, - 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x52, 0x11, - 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, - 0x73, 0x22, 0x50, 0x0a, 0x1e, 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x57, 0x6f, 0x72, 0x6b, - 0x66, 0x6c, 0x6f, 0x77, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, - 0x65, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, - 0x75, 0x69, 0x64, 0x22, 0x64, 0x0a, 0x1f, 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x57, 0x6f, - 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x41, 0x0a, 0x10, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, - 0x6f, 0x77, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x15, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x54, - 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x52, 0x10, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, - 0x77, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x22, 0xac, 0x01, 0x0a, 0x20, 0x57, 0x6f, - 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x53, - 0x74, 0x61, 0x74, 0x69, 0x73, 0x74, 0x69, 0x63, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x14, - 0x0a, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x74, - 0x6f, 0x74, 0x61, 0x6c, 0x12, 0x22, 0x0a, 0x0c, 0x6c, 0x61, 0x73, 0x74, 0x45, 0x78, 0x65, 0x63, - 0x75, 0x74, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6c, 0x61, 0x73, 0x74, - 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x75, 0x6e, 0x6e, - 0x69, 0x6e, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x75, 0x6e, 0x6e, 0x69, - 0x6e, 0x67, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x18, - 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x64, - 0x12, 0x16, 0x0a, 0x06, 0x66, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, - 0x52, 0x06, 0x66, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x22, 0xc8, 0x02, 0x0a, 0x10, 0x57, 0x6f, 0x72, - 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x12, 0x1c, 0x0a, - 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x75, - 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x12, 0x0a, - 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, - 0x65, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, - 0x28, 0x05, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x76, - 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x76, - 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x6d, 0x61, 0x6e, 0x69, 0x66, - 0x65, 0x73, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x61, 0x6e, 0x69, 0x66, - 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x69, 0x73, 0x4c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x18, - 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x69, 0x73, 0x4c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x12, - 0x1e, 0x0a, 0x0a, 0x69, 0x73, 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x64, 0x18, 0x08, 0x20, - 0x01, 0x28, 0x08, 0x52, 0x0a, 0x69, 0x73, 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x64, 0x12, - 0x25, 0x0a, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, - 0x0d, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x4b, 0x65, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x06, - 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x12, 0x3b, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x73, 0x18, - 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x57, 0x6f, 0x72, 0x6b, - 0x66, 0x6c, 0x6f, 0x77, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, - 0x74, 0x69, 0x73, 0x74, 0x69, 0x63, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x05, 0x73, 0x74, - 0x61, 0x74, 0x73, 0x22, 0xab, 0x01, 0x0a, 0x20, 0x47, 0x65, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x66, - 0x6c, 0x6f, 0x77, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x4c, 0x61, 0x62, 0x65, 0x6c, - 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, - 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6e, 0x61, 0x6d, - 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, - 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x76, 0x65, 0x72, - 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x3b, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x73, 0x18, 0x08, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, - 0x6f, 0x77, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x69, - 0x73, 0x74, 0x69, 0x63, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, - 0x73, 0x32, 0x99, 0x11, 0x0a, 0x17, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x54, 0x65, - 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x9b, 0x01, - 0x0a, 0x16, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, - 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x12, 0x22, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x43, - 0x72, 0x65, 0x61, 0x74, 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x54, 0x65, 0x6d, - 0x70, 0x6c, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x15, 0x2e, 0x61, - 0x70, 0x69, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x54, 0x65, 0x6d, 0x70, 0x6c, - 0x61, 0x74, 0x65, 0x22, 0x46, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x40, 0x22, 0x2c, 0x2f, 0x61, 0x70, - 0x69, 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, - 0x73, 0x70, 0x61, 0x63, 0x65, 0x7d, 0x2f, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x5f, - 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x3a, 0x10, 0x77, 0x6f, 0x72, 0x6b, 0x66, - 0x6c, 0x6f, 0x77, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x12, 0xe5, 0x01, 0x0a, 0x1d, - 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x54, 0x65, - 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x29, 0x2e, - 0x61, 0x70, 0x69, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, - 0x6f, 0x77, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, - 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x15, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x57, - 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x22, - 0x81, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x7b, 0x1a, 0x67, 0x2f, 0x61, 0x70, 0x69, 0x73, 0x2f, - 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, - 0x63, 0x65, 0x7d, 0x2f, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x5f, 0x74, 0x65, 0x6d, - 0x70, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x2f, 0x7b, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, - 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x2e, 0x75, 0x69, 0x64, 0x7d, 0x2f, 0x76, 0x65, - 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, - 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x2e, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, - 0x7d, 0x3a, 0x10, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x54, 0x65, 0x6d, 0x70, 0x6c, - 0x61, 0x74, 0x65, 0x12, 0xc2, 0x01, 0x0a, 0x1d, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x57, 0x6f, - 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x56, 0x65, - 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x22, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x43, 0x72, 0x65, 0x61, - 0x74, 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, - 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x15, 0x2e, 0x61, 0x70, 0x69, 0x2e, - 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, - 0x22, 0x66, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x60, 0x22, 0x4c, 0x2f, 0x61, 0x70, 0x69, 0x73, 0x2f, - 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, - 0x63, 0x65, 0x7d, 0x2f, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x5f, 0x74, 0x65, 0x6d, - 0x70, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x2f, 0x7b, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, - 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x2e, 0x75, 0x69, 0x64, 0x7d, 0x2f, 0x76, 0x65, - 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x3a, 0x10, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, - 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x12, 0xd3, 0x01, 0x0a, 0x13, 0x47, 0x65, 0x74, - 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, - 0x12, 0x1f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x47, 0x65, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, - 0x6f, 0x77, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 0x15, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, - 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x22, 0x83, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, - 0x7d, 0x12, 0x32, 0x2f, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, - 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x7d, 0x2f, 0x77, 0x6f, 0x72, - 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x5f, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x2f, - 0x7b, 0x75, 0x69, 0x64, 0x7d, 0x5a, 0x47, 0x12, 0x45, 0x2f, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x76, - 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, - 0x65, 0x7d, 0x2f, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x5f, 0x74, 0x65, 0x6d, 0x70, - 0x6c, 0x61, 0x74, 0x65, 0x73, 0x2f, 0x7b, 0x75, 0x69, 0x64, 0x7d, 0x2f, 0x76, 0x65, 0x72, 0x73, - 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x7d, 0x12, 0xb8, - 0x01, 0x0a, 0x1c, 0x4c, 0x69, 0x73, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x54, - 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, - 0x28, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, - 0x6f, 0x77, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, - 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x61, 0x70, 0x69, 0x2e, - 0x4c, 0x69, 0x73, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x54, 0x65, 0x6d, 0x70, - 0x6c, 0x61, 0x74, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x43, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3d, 0x12, 0x3b, 0x2f, 0x61, - 0x70, 0x69, 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, - 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x7d, 0x2f, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, - 0x5f, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x2f, 0x7b, 0x75, 0x69, 0x64, 0x7d, - 0x2f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x94, 0x01, 0x0a, 0x15, 0x4c, 0x69, - 0x73, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, - 0x74, 0x65, 0x73, 0x12, 0x21, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x57, 0x6f, - 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x4c, 0x69, 0x73, - 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, - 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x34, 0x82, 0xd3, 0xe4, 0x93, - 0x02, 0x2e, 0x12, 0x2c, 0x2f, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, - 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x7d, 0x2f, 0x77, 0x6f, - 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x5f, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x73, - 0x12, 0xe9, 0x01, 0x0a, 0x15, 0x43, 0x6c, 0x6f, 0x6e, 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, - 0x6f, 0x77, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x12, 0x21, 0x2e, 0x61, 0x70, 0x69, - 0x2e, 0x43, 0x6c, 0x6f, 0x6e, 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x54, 0x65, - 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x15, 0x2e, - 0x61, 0x70, 0x69, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x54, 0x65, 0x6d, 0x70, - 0x6c, 0x61, 0x74, 0x65, 0x22, 0x95, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x8e, 0x01, 0x12, 0x3f, - 0x2f, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x7b, 0x6e, - 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x7d, 0x2f, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, - 0x6f, 0x77, 0x5f, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x2f, 0x7b, 0x75, 0x69, - 0x64, 0x7d, 0x2f, 0x63, 0x6c, 0x6f, 0x6e, 0x65, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x5a, - 0x4b, 0x12, 0x49, 0x2f, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, - 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x7d, 0x2f, 0x77, 0x6f, 0x72, - 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x5f, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x2f, - 0x7b, 0x75, 0x69, 0x64, 0x7d, 0x2f, 0x63, 0x6c, 0x6f, 0x6e, 0x65, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, - 0x65, 0x7d, 0x2f, 0x7b, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x7d, 0x12, 0xa8, 0x01, 0x0a, - 0x17, 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, - 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x12, 0x23, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x41, - 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x54, 0x65, - 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, - 0x61, 0x70, 0x69, 0x2e, 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x66, - 0x6c, 0x6f, 0x77, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x22, 0x42, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3c, 0x1a, 0x3a, 0x2f, 0x61, 0x70, - 0x69, 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, - 0x73, 0x70, 0x61, 0x63, 0x65, 0x7d, 0x2f, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x5f, - 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x2f, 0x7b, 0x75, 0x69, 0x64, 0x7d, 0x2f, - 0x61, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x12, 0x9e, 0x01, 0x0a, 0x19, 0x47, 0x65, 0x74, 0x57, - 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x4c, - 0x61, 0x62, 0x65, 0x6c, 0x73, 0x12, 0x25, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x47, 0x65, 0x74, 0x57, - 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x4c, - 0x61, 0x62, 0x65, 0x6c, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x61, - 0x70, 0x69, 0x2e, 0x47, 0x65, 0x74, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x42, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3c, 0x12, 0x3a, 0x2f, 0x61, - 0x70, 0x69, 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, - 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x7d, 0x2f, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, - 0x5f, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, - 0x7d, 0x2f, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x12, 0x96, 0x01, 0x0a, 0x19, 0x41, 0x64, 0x64, - 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, - 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x12, 0x15, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x41, 0x64, 0x64, - 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, - 0x61, 0x70, 0x69, 0x2e, 0x47, 0x65, 0x74, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x4a, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x44, 0x22, 0x3a, 0x2f, - 0x61, 0x70, 0x69, 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x7b, 0x6e, 0x61, - 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x7d, 0x2f, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, - 0x77, 0x5f, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, - 0x65, 0x7d, 0x2f, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x3a, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, - 0x73, 0x12, 0x9e, 0x01, 0x0a, 0x1d, 0x52, 0x65, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x57, 0x6f, 0x72, - 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x4c, 0x61, 0x62, - 0x65, 0x6c, 0x73, 0x12, 0x19, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x52, 0x65, 0x70, 0x6c, 0x61, 0x63, - 0x65, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, - 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x47, 0x65, 0x74, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x4a, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x44, 0x1a, 0x3a, - 0x2f, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x7b, 0x6e, - 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x7d, 0x2f, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, - 0x6f, 0x77, 0x5f, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x2f, 0x7b, 0x6e, 0x61, - 0x6d, 0x65, 0x7d, 0x2f, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x3a, 0x06, 0x6c, 0x61, 0x62, 0x65, - 0x6c, 0x73, 0x12, 0x98, 0x01, 0x0a, 0x1b, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x57, 0x6f, 0x72, - 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x4c, 0x61, 0x62, - 0x65, 0x6c, 0x12, 0x17, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4c, - 0x61, 0x62, 0x65, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x61, 0x70, - 0x69, 0x2e, 0x47, 0x65, 0x74, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x22, 0x48, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x42, 0x2a, 0x40, 0x2f, 0x61, 0x70, - 0x69, 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, - 0x73, 0x70, 0x61, 0x63, 0x65, 0x7d, 0x2f, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x5f, - 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x7d, - 0x2f, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x2f, 0x7b, 0x6b, 0x65, 0x79, 0x7d, 0x62, 0x06, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x33, +func init() { + proto.RegisterType((*CreateWorkflowTemplateRequest)(nil), "api.CreateWorkflowTemplateRequest") + proto.RegisterType((*UpdateWorkflowTemplateVersionRequest)(nil), "api.UpdateWorkflowTemplateVersionRequest") + proto.RegisterType((*GetWorkflowTemplateRequest)(nil), "api.GetWorkflowTemplateRequest") + proto.RegisterType((*CloneWorkflowTemplateRequest)(nil), "api.CloneWorkflowTemplateRequest") + proto.RegisterType((*ListWorkflowTemplateVersionsRequest)(nil), "api.ListWorkflowTemplateVersionsRequest") + proto.RegisterType((*ListWorkflowTemplateVersionsResponse)(nil), "api.ListWorkflowTemplateVersionsResponse") + proto.RegisterType((*ListWorkflowTemplatesRequest)(nil), "api.ListWorkflowTemplatesRequest") + proto.RegisterType((*ListWorkflowTemplatesResponse)(nil), "api.ListWorkflowTemplatesResponse") + proto.RegisterType((*ArchiveWorkflowTemplateRequest)(nil), "api.ArchiveWorkflowTemplateRequest") + proto.RegisterType((*ArchiveWorkflowTemplateResponse)(nil), "api.ArchiveWorkflowTemplateResponse") + proto.RegisterType((*WorkflowExecutionStatisticReport)(nil), "api.WorkflowExecutionStatisticReport") + proto.RegisterType((*WorkflowTemplate)(nil), "api.WorkflowTemplate") + proto.RegisterType((*GetWorkflowTemplateLabelsRequest)(nil), "api.GetWorkflowTemplateLabelsRequest") } -var ( - file_workflow_template_proto_rawDescOnce sync.Once - file_workflow_template_proto_rawDescData = file_workflow_template_proto_rawDesc -) +func init() { proto.RegisterFile("workflow_template.proto", fileDescriptor_b9a07547748a96e8) } -func file_workflow_template_proto_rawDescGZIP() []byte { - file_workflow_template_proto_rawDescOnce.Do(func() { - file_workflow_template_proto_rawDescData = protoimpl.X.CompressGZIP(file_workflow_template_proto_rawDescData) - }) - return file_workflow_template_proto_rawDescData -} - -var file_workflow_template_proto_msgTypes = make([]protoimpl.MessageInfo, 13) -var file_workflow_template_proto_goTypes = []interface{}{ - (*CreateWorkflowTemplateRequest)(nil), // 0: api.CreateWorkflowTemplateRequest - (*UpdateWorkflowTemplateVersionRequest)(nil), // 1: api.UpdateWorkflowTemplateVersionRequest - (*GetWorkflowTemplateRequest)(nil), // 2: api.GetWorkflowTemplateRequest - (*CloneWorkflowTemplateRequest)(nil), // 3: api.CloneWorkflowTemplateRequest - (*ListWorkflowTemplateVersionsRequest)(nil), // 4: api.ListWorkflowTemplateVersionsRequest - (*ListWorkflowTemplateVersionsResponse)(nil), // 5: api.ListWorkflowTemplateVersionsResponse - (*ListWorkflowTemplatesRequest)(nil), // 6: api.ListWorkflowTemplatesRequest - (*ListWorkflowTemplatesResponse)(nil), // 7: api.ListWorkflowTemplatesResponse - (*ArchiveWorkflowTemplateRequest)(nil), // 8: api.ArchiveWorkflowTemplateRequest - (*ArchiveWorkflowTemplateResponse)(nil), // 9: api.ArchiveWorkflowTemplateResponse - (*WorkflowExecutionStatisticReport)(nil), // 10: api.WorkflowExecutionStatisticReport - (*WorkflowTemplate)(nil), // 11: api.WorkflowTemplate - (*GetWorkflowTemplateLabelsRequest)(nil), // 12: api.GetWorkflowTemplateLabelsRequest - (*KeyValue)(nil), // 13: api.KeyValue - (*AddLabelsRequest)(nil), // 14: api.AddLabelsRequest - (*ReplaceLabelsRequest)(nil), // 15: api.ReplaceLabelsRequest - (*DeleteLabelRequest)(nil), // 16: api.DeleteLabelRequest - (*GetLabelsResponse)(nil), // 17: api.GetLabelsResponse -} -var file_workflow_template_proto_depIdxs = []int32{ - 11, // 0: api.CreateWorkflowTemplateRequest.workflowTemplate:type_name -> api.WorkflowTemplate - 11, // 1: api.UpdateWorkflowTemplateVersionRequest.workflowTemplate:type_name -> api.WorkflowTemplate - 11, // 2: api.ListWorkflowTemplateVersionsResponse.workflowTemplates:type_name -> api.WorkflowTemplate - 11, // 3: api.ListWorkflowTemplatesResponse.workflowTemplates:type_name -> api.WorkflowTemplate - 11, // 4: api.ArchiveWorkflowTemplateResponse.workflowTemplate:type_name -> api.WorkflowTemplate - 13, // 5: api.WorkflowTemplate.labels:type_name -> api.KeyValue - 10, // 6: api.WorkflowTemplate.stats:type_name -> api.WorkflowExecutionStatisticReport - 10, // 7: api.GetWorkflowTemplateLabelsRequest.stats:type_name -> api.WorkflowExecutionStatisticReport - 0, // 8: api.WorkflowTemplateService.CreateWorkflowTemplate:input_type -> api.CreateWorkflowTemplateRequest - 1, // 9: api.WorkflowTemplateService.UpdateWorkflowTemplateVersion:input_type -> api.UpdateWorkflowTemplateVersionRequest - 0, // 10: api.WorkflowTemplateService.CreateWorkflowTemplateVersion:input_type -> api.CreateWorkflowTemplateRequest - 2, // 11: api.WorkflowTemplateService.GetWorkflowTemplate:input_type -> api.GetWorkflowTemplateRequest - 4, // 12: api.WorkflowTemplateService.ListWorkflowTemplateVersions:input_type -> api.ListWorkflowTemplateVersionsRequest - 6, // 13: api.WorkflowTemplateService.ListWorkflowTemplates:input_type -> api.ListWorkflowTemplatesRequest - 3, // 14: api.WorkflowTemplateService.CloneWorkflowTemplate:input_type -> api.CloneWorkflowTemplateRequest - 8, // 15: api.WorkflowTemplateService.ArchiveWorkflowTemplate:input_type -> api.ArchiveWorkflowTemplateRequest - 12, // 16: api.WorkflowTemplateService.GetWorkflowTemplateLabels:input_type -> api.GetWorkflowTemplateLabelsRequest - 14, // 17: api.WorkflowTemplateService.AddWorkflowTemplateLabels:input_type -> api.AddLabelsRequest - 15, // 18: api.WorkflowTemplateService.ReplaceWorkflowTemplateLabels:input_type -> api.ReplaceLabelsRequest - 16, // 19: api.WorkflowTemplateService.DeleteWorkflowTemplateLabel:input_type -> api.DeleteLabelRequest - 11, // 20: api.WorkflowTemplateService.CreateWorkflowTemplate:output_type -> api.WorkflowTemplate - 11, // 21: api.WorkflowTemplateService.UpdateWorkflowTemplateVersion:output_type -> api.WorkflowTemplate - 11, // 22: api.WorkflowTemplateService.CreateWorkflowTemplateVersion:output_type -> api.WorkflowTemplate - 11, // 23: api.WorkflowTemplateService.GetWorkflowTemplate:output_type -> api.WorkflowTemplate - 5, // 24: api.WorkflowTemplateService.ListWorkflowTemplateVersions:output_type -> api.ListWorkflowTemplateVersionsResponse - 7, // 25: api.WorkflowTemplateService.ListWorkflowTemplates:output_type -> api.ListWorkflowTemplatesResponse - 11, // 26: api.WorkflowTemplateService.CloneWorkflowTemplate:output_type -> api.WorkflowTemplate - 9, // 27: api.WorkflowTemplateService.ArchiveWorkflowTemplate:output_type -> api.ArchiveWorkflowTemplateResponse - 17, // 28: api.WorkflowTemplateService.GetWorkflowTemplateLabels:output_type -> api.GetLabelsResponse - 17, // 29: api.WorkflowTemplateService.AddWorkflowTemplateLabels:output_type -> api.GetLabelsResponse - 17, // 30: api.WorkflowTemplateService.ReplaceWorkflowTemplateLabels:output_type -> api.GetLabelsResponse - 17, // 31: api.WorkflowTemplateService.DeleteWorkflowTemplateLabel:output_type -> api.GetLabelsResponse - 20, // [20:32] is the sub-list for method output_type - 8, // [8:20] is the sub-list for method input_type - 8, // [8:8] is the sub-list for extension type_name - 8, // [8:8] is the sub-list for extension extendee - 0, // [0:8] is the sub-list for field type_name -} - -func init() { file_workflow_template_proto_init() } -func file_workflow_template_proto_init() { - if File_workflow_template_proto != nil { - return - } - file_label_proto_init() - if !protoimpl.UnsafeEnabled { - file_workflow_template_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateWorkflowTemplateRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_workflow_template_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateWorkflowTemplateVersionRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_workflow_template_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetWorkflowTemplateRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_workflow_template_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CloneWorkflowTemplateRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_workflow_template_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListWorkflowTemplateVersionsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_workflow_template_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListWorkflowTemplateVersionsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_workflow_template_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListWorkflowTemplatesRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_workflow_template_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListWorkflowTemplatesResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_workflow_template_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ArchiveWorkflowTemplateRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_workflow_template_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ArchiveWorkflowTemplateResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_workflow_template_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*WorkflowExecutionStatisticReport); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_workflow_template_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*WorkflowTemplate); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_workflow_template_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetWorkflowTemplateLabelsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_workflow_template_proto_rawDesc, - NumEnums: 0, - NumMessages: 13, - NumExtensions: 0, - NumServices: 1, - }, - GoTypes: file_workflow_template_proto_goTypes, - DependencyIndexes: file_workflow_template_proto_depIdxs, - MessageInfos: file_workflow_template_proto_msgTypes, - }.Build() - File_workflow_template_proto = out.File - file_workflow_template_proto_rawDesc = nil - file_workflow_template_proto_goTypes = nil - file_workflow_template_proto_depIdxs = nil +var fileDescriptor_b9a07547748a96e8 = []byte{ + // 987 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x97, 0x4f, 0x6f, 0x1b, 0x45, + 0x14, 0xc0, 0x35, 0x76, 0x9c, 0xc6, 0xaf, 0x20, 0xa5, 0x0f, 0x92, 0x6c, 0x96, 0xa4, 0x35, 0xd3, + 0x44, 0x72, 0x11, 0xb2, 0xd5, 0xc0, 0x29, 0x2d, 0xa2, 0x6e, 0x5a, 0x0a, 0x34, 0x07, 0xb4, 0xa5, + 0x45, 0xea, 0x05, 0x26, 0xbb, 0xe3, 0xb0, 0xea, 0x66, 0x77, 0xf1, 0x8c, 0x13, 0x4a, 0xb0, 0x44, + 0xe1, 0xc0, 0x8d, 0x0b, 0x7f, 0x04, 0x42, 0xea, 0x19, 0x09, 0x3e, 0x00, 0x67, 0x4e, 0xdc, 0xf3, + 0x15, 0xe0, 0xc0, 0xb7, 0x40, 0xfb, 0x76, 0xd7, 0x89, 0xed, 0x5d, 0xe3, 0x7f, 0xf4, 0xb6, 0x33, + 0xf3, 0xe6, 0xcd, 0xef, 0xfd, 0x99, 0x79, 0x6f, 0x61, 0xe5, 0x28, 0x68, 0x3d, 0x6a, 0x7a, 0xc1, + 0xd1, 0x87, 0x5a, 0x1e, 0x84, 0x9e, 0xd0, 0xb2, 0x16, 0xb6, 0x02, 0x1d, 0x60, 0x51, 0x84, 0xae, + 0xb9, 0xb6, 0x1f, 0x04, 0xfb, 0x9e, 0xac, 0x8b, 0xd0, 0xad, 0x0b, 0xdf, 0x0f, 0xb4, 0xd0, 0x6e, + 0xe0, 0xab, 0x58, 0xc4, 0x3c, 0xef, 0x89, 0x3d, 0xe9, 0xc5, 0x03, 0xfe, 0x05, 0x83, 0xf5, 0x9d, + 0x96, 0x14, 0x5a, 0x7e, 0x90, 0x68, 0x7c, 0x3f, 0x51, 0x68, 0xc9, 0x4f, 0xda, 0x52, 0x69, 0x5c, + 0x83, 0xb2, 0x2f, 0x0e, 0xa4, 0x0a, 0x85, 0x2d, 0x0d, 0x56, 0x61, 0xd5, 0xb2, 0x75, 0x3a, 0x81, + 0x0d, 0x58, 0x3c, 0xea, 0xdb, 0x68, 0x14, 0x2a, 0xac, 0x7a, 0x7e, 0x6b, 0xa9, 0x26, 0x42, 0xb7, + 0x36, 0xa0, 0x75, 0x40, 0x9c, 0x7f, 0xcd, 0x60, 0xe3, 0x7e, 0xe8, 0x64, 0x20, 0x3c, 0x90, 0x2d, + 0xe5, 0x06, 0xfe, 0x33, 0x23, 0x69, 0x82, 0x79, 0x47, 0xea, 0xc9, 0x1c, 0xb1, 0x08, 0xc5, 0xb6, + 0xeb, 0xd0, 0x89, 0x65, 0x2b, 0xfa, 0x44, 0x03, 0xce, 0x1d, 0xc6, 0x06, 0x18, 0xc5, 0x0a, 0xab, + 0x16, 0xad, 0x74, 0xc8, 0x3f, 0x87, 0xb5, 0x1d, 0x2f, 0xf0, 0xe5, 0xac, 0x4e, 0x42, 0x98, 0x8b, + 0x96, 0xe9, 0x98, 0xb2, 0x45, 0xdf, 0x67, 0x4f, 0x9f, 0xeb, 0x3d, 0xfd, 0x3e, 0x5c, 0xde, 0x75, + 0x95, 0xce, 0x71, 0xb6, 0x9a, 0x10, 0x82, 0x3f, 0x61, 0xb0, 0x31, 0x5c, 0xaf, 0x0a, 0x03, 0x5f, + 0x49, 0x7c, 0x11, 0x4a, 0x76, 0xd0, 0xf6, 0x35, 0x29, 0x2d, 0x59, 0xf1, 0x00, 0x77, 0xe0, 0x42, + 0x7f, 0x3c, 0x94, 0x51, 0xa8, 0x14, 0xf3, 0xe3, 0x37, 0x28, 0xcf, 0xaf, 0xc3, 0x5a, 0x16, 0xc2, + 0x68, 0x36, 0xf1, 0xcf, 0x60, 0x3d, 0x67, 0xf7, 0xff, 0x4f, 0xfe, 0x1e, 0x5c, 0x6c, 0xb4, 0xec, + 0x8f, 0xdd, 0xc3, 0x59, 0x25, 0x05, 0x77, 0xe0, 0x52, 0xae, 0xc6, 0xc4, 0x9e, 0xac, 0x2b, 0xc3, + 0xc6, 0xbb, 0x32, 0xbf, 0x31, 0xa8, 0xa4, 0x62, 0xb7, 0x3f, 0x95, 0x76, 0x3b, 0x7a, 0x69, 0xee, + 0x45, 0x0f, 0x8e, 0xd2, 0xae, 0x6d, 0xc9, 0x30, 0x68, 0xe9, 0xc8, 0x6f, 0x3a, 0xd0, 0xc2, 0x4b, + 0xfd, 0x46, 0x03, 0xe4, 0xf0, 0x9c, 0x27, 0x94, 0x8e, 0x77, 0xc9, 0x94, 0xbd, 0x67, 0x2e, 0xca, + 0xe2, 0x56, 0xdb, 0xf7, 0x5d, 0x7f, 0x9f, 0x92, 0xbb, 0x64, 0xa5, 0xc3, 0xc8, 0x1d, 0x76, 0x70, + 0x10, 0x7a, 0x32, 0xda, 0x3a, 0x47, 0x6b, 0xa7, 0x13, 0xb8, 0x0c, 0xf3, 0x4d, 0xe1, 0x7a, 0xd2, + 0x31, 0x4a, 0xb4, 0x94, 0x8c, 0xf8, 0x9f, 0x05, 0x58, 0xec, 0xb7, 0x8a, 0x54, 0xd1, 0x13, 0xe8, + 0x34, 0x74, 0xea, 0xd9, 0xee, 0xc4, 0xb4, 0xd7, 0x0d, 0x4d, 0x58, 0x48, 0x3e, 0x15, 0xc1, 0x14, + 0xad, 0xee, 0x38, 0x5a, 0x3b, 0x10, 0xbe, 0xdb, 0x94, 0x4a, 0x1b, 0xf3, 0xa4, 0xad, 0x3b, 0x8e, + 0xd6, 0x5c, 0xb5, 0x1b, 0x25, 0x87, 0x36, 0xce, 0x55, 0x58, 0x75, 0xc1, 0xea, 0x8e, 0xf1, 0x22, + 0x80, 0xab, 0x92, 0xe8, 0x3a, 0xc6, 0x02, 0xad, 0x9e, 0x99, 0xc1, 0x4d, 0x98, 0xa7, 0x47, 0x5e, + 0x19, 0x65, 0xca, 0xc3, 0xe7, 0x29, 0x9c, 0x77, 0xe5, 0xe3, 0x07, 0xc2, 0x6b, 0x4b, 0x2b, 0x59, + 0xc4, 0x6b, 0x50, 0x52, 0x5a, 0x68, 0x65, 0x00, 0x05, 0x7d, 0xb3, 0x27, 0xe8, 0x79, 0xd1, 0xb4, + 0xe2, 0x3d, 0xfc, 0x57, 0x06, 0x95, 0x8c, 0xd7, 0x72, 0x97, 0x54, 0x8f, 0x96, 0xb4, 0xa9, 0x23, + 0x0b, 0xd9, 0x8e, 0xec, 0x7d, 0x35, 0x4f, 0x69, 0x17, 0xc6, 0xa7, 0xdd, 0xfa, 0xe9, 0x02, 0xac, + 0xf4, 0xa3, 0xde, 0x93, 0xad, 0x43, 0xd7, 0x96, 0xf8, 0x33, 0x83, 0xe5, 0xec, 0x1a, 0x88, 0x9c, + 0x0e, 0x19, 0x5a, 0x20, 0xcd, 0xec, 0xbb, 0xc2, 0xdf, 0xfa, 0xf2, 0xe4, 0xaf, 0x6f, 0x0b, 0x37, + 0xf8, 0xab, 0x51, 0x19, 0x56, 0xf5, 0xc3, 0xab, 0x7b, 0x52, 0x8b, 0xab, 0xf5, 0xe3, 0xae, 0xf9, + 0x9d, 0xfa, 0x40, 0x11, 0x57, 0xdb, 0x03, 0x37, 0x0c, 0xff, 0x66, 0xb0, 0x3e, 0xb4, 0x3c, 0xe2, + 0x15, 0x02, 0x18, 0xa5, 0x84, 0xe6, 0xb1, 0x3e, 0x61, 0x04, 0x7b, 0x6c, 0xee, 0x8f, 0x03, 0x5b, + 0x3f, 0xee, 0x87, 0xad, 0xb5, 0x5d, 0xa7, 0x53, 0x4f, 0xd3, 0x3b, 0x63, 0x3d, 0x59, 0xea, 0x64, + 0xd8, 0xf9, 0x47, 0x6e, 0x27, 0x92, 0xda, 0x39, 0x45, 0x30, 0x9a, 0x64, 0xdf, 0x47, 0x7c, 0x77, + 0x96, 0xf6, 0x65, 0x18, 0x71, 0xc2, 0xe0, 0x85, 0x8c, 0x4b, 0x81, 0x97, 0x08, 0x2b, 0xbf, 0xb9, + 0xc8, 0xe3, 0xfe, 0x2a, 0x0e, 0x4c, 0x07, 0xb7, 0xc6, 0x03, 0x8f, 0x38, 0x1f, 0xde, 0xc1, 0xdb, + 0xe3, 0xef, 0x3a, 0x13, 0xbd, 0x34, 0x58, 0xf8, 0x3b, 0xcb, 0xae, 0xab, 0x69, 0x69, 0xc7, 0x2a, + 0xd1, 0x8f, 0xd0, 0x55, 0x98, 0x57, 0x46, 0x90, 0x8c, 0xab, 0x13, 0xdf, 0x21, 0xd3, 0xdf, 0xc0, + 0x6b, 0x53, 0x18, 0x81, 0xdf, 0x31, 0x58, 0xca, 0x2c, 0xea, 0xf8, 0x72, 0x2e, 0x49, 0x17, 0x96, + 0x0f, 0x13, 0x49, 0x28, 0x5f, 0x27, 0xca, 0x1a, 0x8e, 0x75, 0xcd, 0xf1, 0x1f, 0x06, 0x4b, 0x99, + 0x2d, 0x60, 0x82, 0x35, 0xac, 0x3d, 0xcc, 0xcb, 0x95, 0xef, 0xe3, 0x5c, 0xf9, 0x86, 0xe1, 0x9b, + 0x13, 0x78, 0xcc, 0x8e, 0x4e, 0x8c, 0x45, 0x3b, 0x0f, 0xef, 0xe2, 0x3b, 0x53, 0xaa, 0x38, 0x93, + 0x3d, 0xbf, 0x30, 0x58, 0xc9, 0xe9, 0x44, 0xf0, 0x32, 0x99, 0x32, 0xbc, 0xf3, 0x31, 0x37, 0x86, + 0x0b, 0x25, 0x81, 0xb8, 0x49, 0xd6, 0x5f, 0x37, 0xb7, 0x27, 0x20, 0x17, 0xb1, 0x6e, 0x7c, 0xca, + 0x60, 0x35, 0xb7, 0xa6, 0xe1, 0x66, 0xde, 0x25, 0xee, 0xa9, 0x79, 0xe6, 0x72, 0x2a, 0x96, 0x4e, + 0xf7, 0x02, 0xe2, 0x98, 0x80, 0xb1, 0x3b, 0x93, 0x8a, 0xfd, 0x03, 0x83, 0xd5, 0x86, 0xe3, 0xe4, + 0x00, 0xc6, 0x89, 0xd1, 0x70, 0x9c, 0xd1, 0x80, 0xde, 0x25, 0xa0, 0x5b, 0x7c, 0x0a, 0xa0, 0xed, + 0xb4, 0x95, 0x78, 0xca, 0x60, 0xdd, 0x92, 0xa1, 0x27, 0x6c, 0x99, 0x03, 0xb7, 0x4a, 0x14, 0x89, + 0xcc, 0x58, 0x80, 0xe6, 0x2c, 0x00, 0x7f, 0x64, 0xf0, 0xd2, 0x2d, 0x19, 0x75, 0x87, 0x99, 0x7c, + 0xb8, 0x42, 0x0c, 0xb1, 0x04, 0xcd, 0xfc, 0x17, 0xdc, 0xdb, 0x04, 0x77, 0xf3, 0x95, 0x1b, 0x93, + 0xc3, 0xd5, 0x8f, 0x1f, 0xc9, 0xc7, 0x9d, 0xbd, 0x79, 0xfa, 0x15, 0x7f, 0xed, 0xdf, 0x00, 0x00, + 0x00, 0xff, 0xff, 0xa7, 0xb2, 0x1d, 0x6c, 0xd5, 0x0f, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. var _ context.Context -var _ grpc.ClientConnInterface +var _ grpc.ClientConn // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package it is being compiled against. -const _ = grpc.SupportPackageIsVersion6 +const _ = grpc.SupportPackageIsVersion4 // WorkflowTemplateServiceClient is the client API for WorkflowTemplateService service. // @@ -1400,10 +859,10 @@ type WorkflowTemplateServiceClient interface { } type workflowTemplateServiceClient struct { - cc grpc.ClientConnInterface + cc *grpc.ClientConn } -func NewWorkflowTemplateServiceClient(cc grpc.ClientConnInterface) WorkflowTemplateServiceClient { +func NewWorkflowTemplateServiceClient(cc *grpc.ClientConn) WorkflowTemplateServiceClient { return &workflowTemplateServiceClient{cc} } @@ -1535,40 +994,40 @@ type WorkflowTemplateServiceServer interface { type UnimplementedWorkflowTemplateServiceServer struct { } -func (*UnimplementedWorkflowTemplateServiceServer) CreateWorkflowTemplate(context.Context, *CreateWorkflowTemplateRequest) (*WorkflowTemplate, error) { +func (*UnimplementedWorkflowTemplateServiceServer) CreateWorkflowTemplate(ctx context.Context, req *CreateWorkflowTemplateRequest) (*WorkflowTemplate, error) { return nil, status.Errorf(codes.Unimplemented, "method CreateWorkflowTemplate not implemented") } -func (*UnimplementedWorkflowTemplateServiceServer) UpdateWorkflowTemplateVersion(context.Context, *UpdateWorkflowTemplateVersionRequest) (*WorkflowTemplate, error) { +func (*UnimplementedWorkflowTemplateServiceServer) UpdateWorkflowTemplateVersion(ctx context.Context, req *UpdateWorkflowTemplateVersionRequest) (*WorkflowTemplate, error) { return nil, status.Errorf(codes.Unimplemented, "method UpdateWorkflowTemplateVersion not implemented") } -func (*UnimplementedWorkflowTemplateServiceServer) CreateWorkflowTemplateVersion(context.Context, *CreateWorkflowTemplateRequest) (*WorkflowTemplate, error) { +func (*UnimplementedWorkflowTemplateServiceServer) CreateWorkflowTemplateVersion(ctx context.Context, req *CreateWorkflowTemplateRequest) (*WorkflowTemplate, error) { return nil, status.Errorf(codes.Unimplemented, "method CreateWorkflowTemplateVersion not implemented") } -func (*UnimplementedWorkflowTemplateServiceServer) GetWorkflowTemplate(context.Context, *GetWorkflowTemplateRequest) (*WorkflowTemplate, error) { +func (*UnimplementedWorkflowTemplateServiceServer) GetWorkflowTemplate(ctx context.Context, req *GetWorkflowTemplateRequest) (*WorkflowTemplate, error) { return nil, status.Errorf(codes.Unimplemented, "method GetWorkflowTemplate not implemented") } -func (*UnimplementedWorkflowTemplateServiceServer) ListWorkflowTemplateVersions(context.Context, *ListWorkflowTemplateVersionsRequest) (*ListWorkflowTemplateVersionsResponse, error) { +func (*UnimplementedWorkflowTemplateServiceServer) ListWorkflowTemplateVersions(ctx context.Context, req *ListWorkflowTemplateVersionsRequest) (*ListWorkflowTemplateVersionsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ListWorkflowTemplateVersions not implemented") } -func (*UnimplementedWorkflowTemplateServiceServer) ListWorkflowTemplates(context.Context, *ListWorkflowTemplatesRequest) (*ListWorkflowTemplatesResponse, error) { +func (*UnimplementedWorkflowTemplateServiceServer) ListWorkflowTemplates(ctx context.Context, req *ListWorkflowTemplatesRequest) (*ListWorkflowTemplatesResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ListWorkflowTemplates not implemented") } -func (*UnimplementedWorkflowTemplateServiceServer) CloneWorkflowTemplate(context.Context, *CloneWorkflowTemplateRequest) (*WorkflowTemplate, error) { +func (*UnimplementedWorkflowTemplateServiceServer) CloneWorkflowTemplate(ctx context.Context, req *CloneWorkflowTemplateRequest) (*WorkflowTemplate, error) { return nil, status.Errorf(codes.Unimplemented, "method CloneWorkflowTemplate not implemented") } -func (*UnimplementedWorkflowTemplateServiceServer) ArchiveWorkflowTemplate(context.Context, *ArchiveWorkflowTemplateRequest) (*ArchiveWorkflowTemplateResponse, error) { +func (*UnimplementedWorkflowTemplateServiceServer) ArchiveWorkflowTemplate(ctx context.Context, req *ArchiveWorkflowTemplateRequest) (*ArchiveWorkflowTemplateResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ArchiveWorkflowTemplate not implemented") } -func (*UnimplementedWorkflowTemplateServiceServer) GetWorkflowTemplateLabels(context.Context, *GetWorkflowTemplateLabelsRequest) (*GetLabelsResponse, error) { +func (*UnimplementedWorkflowTemplateServiceServer) GetWorkflowTemplateLabels(ctx context.Context, req *GetWorkflowTemplateLabelsRequest) (*GetLabelsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetWorkflowTemplateLabels not implemented") } -func (*UnimplementedWorkflowTemplateServiceServer) AddWorkflowTemplateLabels(context.Context, *AddLabelsRequest) (*GetLabelsResponse, error) { +func (*UnimplementedWorkflowTemplateServiceServer) AddWorkflowTemplateLabels(ctx context.Context, req *AddLabelsRequest) (*GetLabelsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method AddWorkflowTemplateLabels not implemented") } -func (*UnimplementedWorkflowTemplateServiceServer) ReplaceWorkflowTemplateLabels(context.Context, *ReplaceLabelsRequest) (*GetLabelsResponse, error) { +func (*UnimplementedWorkflowTemplateServiceServer) ReplaceWorkflowTemplateLabels(ctx context.Context, req *ReplaceLabelsRequest) (*GetLabelsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ReplaceWorkflowTemplateLabels not implemented") } -func (*UnimplementedWorkflowTemplateServiceServer) DeleteWorkflowTemplateLabel(context.Context, *DeleteLabelRequest) (*GetLabelsResponse, error) { +func (*UnimplementedWorkflowTemplateServiceServer) DeleteWorkflowTemplateLabel(ctx context.Context, req *DeleteLabelRequest) (*GetLabelsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method DeleteWorkflowTemplateLabel not implemented") } diff --git a/api/workflow_template.pb.gw.go b/api/workflow_template.pb.gw.go index 8d9bcc1..7169bee 100644 --- a/api/workflow_template.pb.gw.go +++ b/api/workflow_template.pb.gw.go @@ -436,7 +436,7 @@ func request_WorkflowTemplateService_GetWorkflowTemplate_1(ctx context.Context, return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "version") } - protoReq.Version, err = runtime.Int32(val) + protoReq.Version, err = runtime.Int64(val) if err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "version", err) @@ -485,7 +485,7 @@ func local_request_WorkflowTemplateService_GetWorkflowTemplate_1(ctx context.Con return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "version") } - protoReq.Version, err = runtime.Int32(val) + protoReq.Version, err = runtime.Int64(val) if err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "version", err) @@ -788,7 +788,7 @@ func request_WorkflowTemplateService_CloneWorkflowTemplate_1(ctx context.Context return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "version") } - protoReq.Version, err = runtime.Int32(val) + protoReq.Version, err = runtime.Int64(val) if err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "version", err) @@ -848,7 +848,7 @@ func local_request_WorkflowTemplateService_CloneWorkflowTemplate_1(ctx context.C return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "version") } - protoReq.Version, err = runtime.Int32(val) + protoReq.Version, err = runtime.Int64(val) if err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "version", err) diff --git a/api/workflow_template.proto b/api/workflow_template.proto index 4dd9720..cd0fea5 100644 --- a/api/workflow_template.proto +++ b/api/workflow_template.proto @@ -103,14 +103,14 @@ message UpdateWorkflowTemplateVersionRequest { message GetWorkflowTemplateRequest { string namespace = 1; string uid = 2; - int32 version = 3; + int64 version = 3; } message CloneWorkflowTemplateRequest { string namespace = 1; string uid = 2; string name = 3; - int32 version = 4; + int64 version = 4; } message ListWorkflowTemplateVersionsRequest { @@ -153,8 +153,8 @@ message WorkflowTemplate { string createdAt = 1; string uid = 2; string name = 3; - int32 version = 4; - int32 versions = 5; + int64 version = 4; + int64 versions = 5; string manifest = 6; bool isLatest = 7; bool isArchived = 8; @@ -166,6 +166,6 @@ message WorkflowTemplate { message GetWorkflowTemplateLabelsRequest { string namespace = 1; string name = 2; - int32 version = 3; + int64 version = 3; WorkflowExecutionStatisticReport stats = 8; } \ No newline at end of file diff --git a/db/20200421103946_add_back_workflow_template_versions.sql b/db/20200421103946_add_back_workflow_template_versions.sql new file mode 100644 index 0000000..d90439c --- /dev/null +++ b/db/20200421103946_add_back_workflow_template_versions.sql @@ -0,0 +1,22 @@ +-- +goose Up +CREATE TABLE workflow_template_versions +( + id serial PRIMARY KEY, + workflow_template_id integer NOT NULL REFERENCES workflow_templates ON DELETE CASCADE, + version integer NOT NULL, + is_latest boolean NOT NULL, + manifest text NOT NULL, + + -- auditing info + created_at timestamp NOT NULL DEFAULT (NOW() at time zone 'utc') +); + +ALTER TABLE workflow_templates DROP COLUMN versions; + +-- +goose Down +ALTER TABLE workflow_templates ADD COLUMN versions INTEGER; +UPDATE workflow_templates SET versions = 1; +ALTER TABLE workflow_templates ALTER COLUMN versions SET NOT NULL; + +DROP TABLE workflow_template_versions; + diff --git a/go.mod b/go.mod index 5ee1372..234b7db 100644 --- a/go.mod +++ b/go.mod @@ -17,7 +17,7 @@ require ( github.com/gorilla/handlers v1.4.2 github.com/grpc-ecosystem/go-grpc-middleware v1.2.0 github.com/grpc-ecosystem/grpc-gateway v1.14.3 - github.com/hashicorp/go-uuid v1.0.2 // indirect + github.com/hashicorp/go-uuid v1.0.2 github.com/hashicorp/golang-lru v0.5.4 // indirect github.com/jmoiron/sqlx v1.2.0 github.com/lib/pq v1.3.0 @@ -32,8 +32,8 @@ require ( github.com/ziutek/mymysql v1.5.4 // indirect google.golang.org/genproto v0.0.0-20200413115906-b5235f65be36 google.golang.org/grpc v1.28.0 - gopkg.in/yaml.v2 v2.2.8 google.golang.org/protobuf v1.21.0 + gopkg.in/yaml.v2 v2.2.8 k8s.io/api v0.16.4 k8s.io/apimachinery v0.16.7-beta.0 k8s.io/client-go v0.16.4 diff --git a/main.go b/main.go index b548734..69c7195 100644 --- a/main.go +++ b/main.go @@ -47,7 +47,7 @@ func main() { } databaseDataSourceName := fmt.Sprintf("host=%v user=%v password=%v dbname=%v sslmode=disable", - config["databaseHost"], config["databaseUsername"], config["databasePassword"], config["databaseName"]) + "localhost", "admin", "admin", "onepanel-core") db := sqlx.MustConnect(config["databaseDriverName"], databaseDataSourceName) if err := goose.Run("up", db.DB, "db"); err != nil { log.Fatalf("Failed to run database migrations: %v", err) @@ -59,7 +59,7 @@ func main() { func startRPCServer(db *v1.DB, kubeConfig *v1.Config) { log.Printf("Starting RPC server on port %v", *rpcPort) - lis, err := net.Listen("tcp", *rpcPort) + lis, err := net.Listen("tcp", "0.0.0.0"+*rpcPort) if err != nil { log.Fatalf("Failed to start RPC listener: %v", err) } diff --git a/pkg/cron_workflow.go b/pkg/cron_workflow.go index 98fbfd9..160f7c6 100644 --- a/pkg/cron_workflow.go +++ b/pkg/cron_workflow.go @@ -365,6 +365,7 @@ func (c *Client) updateCronWorkflow(namespace string, name string, workflowTempl if err = c.injectAutomatedFields(namespace, wf, opts); err != nil { return nil, err } + err = InjectExitHandlerWorkflowExecutionStatistic(wf, namespace, workflowTemplateId) if err != nil { return nil, err @@ -448,6 +449,7 @@ func (c *Client) createCronWorkflow(namespace string, workflowTemplateId *uint64 if err != nil { return nil, err } + cwf.Spec.WorkflowSpec = wf.Spec cwf.Spec.WorkflowMetadata = &wf.ObjectMeta diff --git a/pkg/types.go b/pkg/types.go index aedf070..3a8f9ee 100644 --- a/pkg/types.go +++ b/pkg/types.go @@ -61,8 +61,8 @@ type WorkflowTemplate struct { UID string Name string Manifest string - Version int32 - Versions int32 `db:"versions"` + Version int64 + Versions int64 `db:"versions"` IsLatest bool IsArchived bool `db:"is_archived"` ArgoWorkflowTemplate *wfv1.WorkflowTemplate @@ -79,6 +79,14 @@ type WorkflowExecutionStatisticReport struct { Failed int32 } +type WorkflowTemplateVersion struct { + ID uint64 + Version int64 + IsLatest bool `db:"is_latest"` + Manifest string + CreatedAt time.Time `db:"created_at"` +} + type WorkflowExecutionStatistic struct { ID uint64 WorkflowTemplateId uint64 diff --git a/pkg/workflow_execution.go b/pkg/workflow_execution.go index 4ad0a6a..a7bb26b 100644 --- a/pkg/workflow_execution.go +++ b/pkg/workflow_execution.go @@ -473,7 +473,7 @@ func (c *Client) GetWorkflowExecution(namespace, name string) (workflow *Workflo }).Error("Invalid version number.") return nil, util.NewUserError(codes.InvalidArgument, "Invalid version number.") } - workflowTemplate, err := c.GetWorkflowTemplate(namespace, uid, int32(version)) + workflowTemplate, err := c.GetWorkflowTemplate(namespace, uid, version) if err != nil { log.WithFields(log.Fields{ "Namespace": namespace, @@ -551,10 +551,10 @@ func (c *Client) ListWorkflowExecutions(namespace, workflowTemplateUID, workflow versionString, ok := wf.Labels[workflowTemplateVersionLabelKey] if ok { - versionNumber, err := strconv.Atoi(versionString) + versionNumber, err := strconv.ParseInt(versionString, 10, 64) if err == nil { execution.WorkflowTemplate = &WorkflowTemplate{ - Version: int32(versionNumber), + Version: versionNumber, } } else { log.WithFields(log.Fields{ @@ -1207,7 +1207,10 @@ func (c *Client) GetWorkflowExecutionStatisticsForTemplates(workflowTemplates .. } for _, workflowTemplate := range workflowTemplates { - workflowTemplate.WorkflowExecutionStatisticReport = resultMapping[workflowTemplate.ID] + resultMap, ok := resultMapping[workflowTemplate.ID] + if ok { + workflowTemplate.WorkflowExecutionStatisticReport = resultMap + } } return diff --git a/pkg/workflow_template.go b/pkg/workflow_template.go index 2a5fe14..b0d4f5d 100644 --- a/pkg/workflow_template.go +++ b/pkg/workflow_template.go @@ -7,6 +7,7 @@ import ( "regexp" "strconv" "strings" + "time" sq "github.com/Masterminds/squirrel" "github.com/argoproj/argo/pkg/apis/workflow/v1alpha1" @@ -14,7 +15,6 @@ import ( "github.com/ghodss/yaml" "github.com/onepanelio/core/pkg/util" "github.com/onepanelio/core/pkg/util/label" - "github.com/onepanelio/core/pkg/util/number" log "github.com/sirupsen/logrus" "google.golang.org/grpc/codes" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" @@ -34,12 +34,13 @@ func (c *Client) createWorkflowTemplate(namespace string, workflowTemplate *Work } defer tx.Rollback() + versionUnix := time.Now().Unix() + err = sb.Insert("workflow_templates"). SetMap(sq.Eq{ "uid": uid, "name": workflowTemplate.Name, "namespace": namespace, - "versions": 1, }). Suffix("RETURNING id"). RunWith(tx). @@ -48,20 +49,20 @@ func (c *Client) createWorkflowTemplate(namespace string, workflowTemplate *Work return nil, err } - argoWft, err := createArgoWorkflowTemplate(workflowTemplate, "1") - - parametersMap, err := workflowTemplate.GetParametersKeyString() + _, err = sb.Insert("workflow_template_versions"). + SetMap(sq.Eq{ + "workflow_template_id": workflowTemplate.ID, + "version": versionUnix, + "is_latest": true, + "manifest": workflowTemplate.Manifest, + }). + RunWith(tx). + Exec() if err != nil { return nil, err } - if argoWft.Annotations == nil { - argoWft.Annotations = make(map[string]string) - } - for key, value := range parametersMap { - argoWft.Annotations[key] = value - } - + argoWft, err := createArgoWorkflowTemplate(workflowTemplate, versionUnix) argoWft, err = c.ArgoprojV1alpha1().WorkflowTemplates(namespace).Create(argoWft) if err != nil { return nil, err @@ -78,7 +79,7 @@ func (c *Client) createWorkflowTemplate(namespace string, workflowTemplate *Work } func (c *Client) workflowTemplatesSelectBuilder(namespace string) sq.SelectBuilder { - sb := sb.Select("wt.id", "wt.created_at", "wt.uid", "wt.name", "wt.is_archived", "wt.versions"). + sb := sb.Select("wt.id", "wt.created_at", "wt.uid", "wt.name", "wt.is_archived"). From("workflow_templates wt"). Where(sq.Eq{ "wt.namespace": namespace, @@ -87,12 +88,33 @@ func (c *Client) workflowTemplatesSelectBuilder(namespace string) sq.SelectBuild return sb } -func (c *Client) getWorkflowTemplate(namespace, uid string, version int32) (workflowTemplate *WorkflowTemplate, err error) { +func (c *Client) workflowTemplatesVersionSelectBuilder(namespace string) sq.SelectBuilder { + sb := sb.Select("wtv.id", "wtv.version", "wtv.is_latest", "wtv.manifest", "wtv.created_at"). + From("workflow_template_versions wtv"). + Join("workflow_templates wt ON wt.id = wtv.workflow_template_id"). + Where(sq.Eq{ + "wt.namespace": namespace, + }) + + return sb +} + +func (c *Client) getWorkflowTemplate(namespace, uid string, version int64) (workflowTemplate *WorkflowTemplate, err error) { workflowTemplate = &WorkflowTemplate{ WorkflowExecutionStatisticReport: &WorkflowExecutionStatisticReport{}, } - sb := c.workflowTemplatesSelectBuilder(namespace).Where(sq.Eq{"wt.uid": uid}) + sb := c.workflowTemplatesSelectBuilder(namespace). + Column("wtv.manifest"). + Join("workflow_template_versions wtv ON wt.id = wtv.workflow_template_id"). + Where(sq.Eq{"wt.uid": uid}) + + if version == 0 { + sb = sb.Where(sq.Eq{"wtv.is_latest": true}) + } else { + sb = sb.Where(sq.Eq{"wtv.version": version}) + } + query, args, err := sb.ToSql() if err != nil { return @@ -116,25 +138,19 @@ func (c *Client) getWorkflowTemplate(namespace, uid string, version int32) (work if err != nil { return nil, err } - - manifest, err := yaml.Marshal(argoWft) - if err != nil { - return nil, err - } - workflowTemplate.Manifest = string(manifest) workflowTemplate.ArgoWorkflowTemplate = argoWft - templateVersion, err := strconv.Atoi(argoWft.Labels[label.Version]) + templateVersion, err := strconv.ParseInt(argoWft.Labels[label.Version], 10, 64) if err != nil { return nil, err } - workflowTemplate.Version = int32(templateVersion) + workflowTemplate.Version = templateVersion return workflowTemplate, nil } -func (c *Client) getWorkflowTemplateByName(namespace, name string, version int32) (workflowTemplate *WorkflowTemplate, err error) { +func (c *Client) getWorkflowTemplateByName(namespace, name string, version int64) (workflowTemplate *WorkflowTemplate, err error) { workflowTemplate = &WorkflowTemplate{} sb := c.workflowTemplatesSelectBuilder(namespace).Where(sq.Eq{"wt.name": name}). @@ -168,8 +184,18 @@ func (c *Client) listWorkflowTemplateVersions(namespace, uid string) (workflowTe return nil, err } + dbVersions, err := c.listDbWorkflowTemplateVersions(namespace, uid) + if err != nil { + return nil, err + } + + mapByVersion := make(map[int64]*WorkflowTemplateVersion) + for _, dbVersion := range dbVersions { + mapByVersion[dbVersion.Version] = dbVersion + } + for _, argoTemplate := range *argoTemplates { - version, versionErr := strconv.Atoi(argoTemplate.Labels[label.Version]) + version, versionErr := strconv.ParseInt(argoTemplate.Labels[label.Version], 10, 64) if versionErr != nil { return nil, versionErr } @@ -179,10 +205,7 @@ func (c *Client) listWorkflowTemplateVersions(namespace, uid string) (workflowTe isLatest = true } - manifest, err := yaml.Marshal(argoTemplate) - if err != nil { - return nil, err - } + dbVersion := mapByVersion[version] labels := label.FilterByPrefix(label.TagPrefix, argoTemplate.Labels) @@ -191,8 +214,8 @@ func (c *Client) listWorkflowTemplateVersions(namespace, uid string) (workflowTe CreatedAt: argoTemplate.CreationTimestamp.Time, UID: template.UID, Name: template.Name, - Manifest: string(manifest), - Version: int32(version), + Manifest: dbVersion.Manifest, + Version: version, IsLatest: isLatest, IsArchived: template.IsArchived, Labels: labels, @@ -208,7 +231,10 @@ func (c *Client) listWorkflowTemplates(namespace string) (workflowTemplateVersio workflowTemplateVersions = []*WorkflowTemplate{} query, args, err := c.workflowTemplatesSelectBuilder(namespace). - Options("DISTINCT ON (wt.id) wt.id,"). + Column("COUNT(wtv.*) versions"). + Options("DISTINCT ON (wt.id)"). + Join("workflow_template_versions wtv ON wtv.workflow_template_id = wt.id"). + GroupBy("wt.id", "wt.created_at", "wt.uid", "wt.name", "wt.is_archived"). Where(sq.Eq{ "wt.is_archived": false, }). @@ -242,26 +268,6 @@ func (c *Client) archiveWorkflowTemplate(namespace, uid string) (bool, error) { return true, nil } -func (c *Client) updateWorkflowTemplateVersions(namespace, uid string) (bool, error) { - query, args, err := sb.Update("workflow_templates"). - Set("versions", sq.Expr("versions + 1")). - Where(sq.Eq{ - "uid": uid, - "namespace": namespace, - }). - ToSql() - - if err != nil { - return false, err - } - - if _, err := c.DB.Exec(query, args...); err != nil { - return false, err - } - - return true, nil -} - func (c *Client) CreateWorkflowTemplate(namespace string, workflowTemplate *WorkflowTemplate) (*WorkflowTemplate, error) { // validate workflow template finalBytes, err := workflowTemplate.WrapSpec() @@ -307,6 +313,51 @@ func (c *Client) CreateWorkflowTemplateVersion(namespace string, workflowTemplat return nil, util.NewUserError(codes.InvalidArgument, err.Error()) } + versionUnix := time.Now().Unix() + + tx, err := c.DB.Begin() + if err != nil { + return nil, err + } + defer tx.Rollback() + + wftSb := c.workflowTemplatesSelectBuilder(namespace).Where(sq.Eq{"wt.uid": workflowTemplate.UID}) + query, args, err := wftSb.ToSql() + if err != nil { + return nil, err + } + workflowTemplateDb := &WorkflowTemplate{} + if err = c.DB.Get(workflowTemplateDb, query, args...); err != nil { + return nil, err + } + + _, err = sb.Update("workflow_template_versions"). + Set("is_latest", false). + Where(sq.Eq{ + "workflow_template_id": workflowTemplateDb.ID, + }). + RunWith(tx). + Exec() + if err != nil { + return nil, err + } + + _, err = sb.Insert("workflow_template_versions"). + SetMap(sq.Eq{ + "workflow_template_id": workflowTemplateDb.ID, + "version": versionUnix, + "is_latest": true, + "manifest": workflowTemplate.Manifest, + }). + RunWith(tx). + Exec() + if err != nil { + return nil, err + } + if err := tx.Commit(); err != nil { + return nil, err + } + latest, err := c.getArgoWorkflowTemplate(namespace, workflowTemplate.UID, "latest") if err != nil { log.WithFields(log.Fields{ @@ -318,15 +369,13 @@ func (c *Client) CreateWorkflowTemplateVersion(namespace string, workflowTemplat return nil, err } - incrementedVersion, err := number.IncrementStringInt(latest.Labels[label.Version]) - delete(latest.Labels, label.VersionLatest) if _, err := c.ArgoprojV1alpha1().WorkflowTemplates(namespace).Update(latest); err != nil { return nil, err } - updatedTemplate, err := createArgoWorkflowTemplate(workflowTemplate, incrementedVersion) + updatedTemplate, err := createArgoWorkflowTemplate(workflowTemplate, versionUnix) if err != nil { return nil, err } @@ -351,16 +400,11 @@ func (c *Client) CreateWorkflowTemplateVersion(namespace string, workflowTemplat return nil, err } - _, err = c.updateWorkflowTemplateVersions(namespace, workflowTemplate.UID) - if err != nil { - return nil, err - } - return workflowTemplate, nil } // If version is 0, it returns the latest. -func (c *Client) GetWorkflowTemplate(namespace, uid string, version int32) (workflowTemplate *WorkflowTemplate, err error) { +func (c *Client) GetWorkflowTemplate(namespace, uid string, version int64) (workflowTemplate *WorkflowTemplate, err error) { workflowTemplate, err = c.getWorkflowTemplate(namespace, uid, version) if err != nil { log.WithFields(log.Fields{ @@ -377,7 +421,7 @@ func (c *Client) GetWorkflowTemplate(namespace, uid string, version int32) (work return } -func (c *Client) GetWorkflowTemplateByName(namespace, name string, version int32) (workflowTemplate *WorkflowTemplate, err error) { +func (c *Client) GetWorkflowTemplateByName(namespace, name string, version int64) (workflowTemplate *WorkflowTemplate, err error) { workflowTemplate, err = c.getWorkflowTemplateByName(namespace, name, version) if err != nil { log.WithFields(log.Fields{ @@ -471,7 +515,7 @@ func (c *Client) ArchiveWorkflowTemplate(namespace, uid string) (archived bool, return } -func createArgoWorkflowTemplate(workflowTemplate *WorkflowTemplate, version string) (*v1alpha1.WorkflowTemplate, error) { +func createArgoWorkflowTemplate(workflowTemplate *WorkflowTemplate, version int64) (*v1alpha1.WorkflowTemplate, error) { var argoWft *v1alpha1.WorkflowTemplate var jsonOpts []argojson.JSONOpt jsonOpts = append(jsonOpts, argojson.DisallowUnknownFields) @@ -494,7 +538,7 @@ func createArgoWorkflowTemplate(workflowTemplate *WorkflowTemplate, version stri labels := map[string]string{ label.WorkflowTemplate: worfklowTemplateName, label.WorkflowTemplateUid: workflowTemplate.UID, - label.Version: version, + label.Version: fmt.Sprintf("%v", version), label.VersionLatest: "true", } @@ -546,10 +590,28 @@ func (c *Client) listArgoWorkflowTemplates(namespace, workflowTemplateUid string return &templates, nil } +func (c *Client) listDbWorkflowTemplateVersions(namespace, workflowTemplateUid string) ([]*WorkflowTemplateVersion, error) { + versions := make([]*WorkflowTemplateVersion, 0) + + sb := c.workflowTemplatesVersionSelectBuilder(namespace) + sb.Where(sq.Eq{"wt.uid": workflowTemplateUid}) + + sql, args, err := sb.ToSql() + if err != nil { + return versions, err + } + + if err := c.DB.Select(&versions, sql, args...); err != nil { + return versions, err + } + + return versions, nil +} + // prefix is the label prefix. // e.g. prefix/my-label-key: my-label-value // if version is 0, latest is used. -func (c *Client) GetWorkflowTemplateLabels(namespace, name, prefix string, version int32) (labels map[string]string, err error) { +func (c *Client) GetWorkflowTemplateLabels(namespace, name, prefix string, version int64) (labels map[string]string, err error) { versionAsString := "latest" if version != 0 { versionAsString = fmt.Sprintf("%v", version) diff --git a/server/workflow_template_server.go b/server/workflow_template_server.go index 54055ab..2d21eec 100644 --- a/server/workflow_template_server.go +++ b/server/workflow_template_server.go @@ -19,18 +19,13 @@ func NewWorkflowTemplateServer() *WorkflowTemplateServer { } func apiWorkflowTemplate(wft *v1.WorkflowTemplate) *api.WorkflowTemplate { - manifest, err := wft.FormatManifest() - if err != nil { - manifest = "" - } - res := &api.WorkflowTemplate{ Uid: wft.UID, CreatedAt: wft.CreatedAt.UTC().Format(time.RFC3339), Name: wft.Name, Version: wft.Version, Versions: wft.Versions, - Manifest: manifest, + Manifest: wft.Manifest, IsLatest: wft.IsLatest, IsArchived: wft.IsArchived, Labels: converter.MappingToKeyValue(wft.Labels), @@ -39,7 +34,7 @@ func apiWorkflowTemplate(wft *v1.WorkflowTemplate) *api.WorkflowTemplate { if wft.WorkflowExecutionStatisticReport != nil { res.Stats = &api.WorkflowExecutionStatisticReport{ Total: wft.WorkflowExecutionStatisticReport.Total, - LastExecuted: wft.WorkflowExecutionStatisticReport.LastExecuted.String(), + LastExecuted: wft.WorkflowExecutionStatisticReport.LastExecuted.Format(time.RFC3339), Running: wft.WorkflowExecutionStatisticReport.Running, Completed: wft.WorkflowExecutionStatisticReport.Completed, Failed: wft.WorkflowExecutionStatisticReport.Failed,