From 9f83cef410d1bfc3c194c29b5be8ec8d4a2dbeb4 Mon Sep 17 00:00:00 2001 From: surajgour-d11 Date: Tue, 1 Oct 2024 15:37:02 +0530 Subject: [PATCH 1/2] feat: add proto gen to gitignore Signed-off-by: surajgour-d11 --- .gitignore | 5 +- .../dream11/oam/dto/v1/provider_account.pb.go | 400 ---- .../provideraccount/v1/provider_account.pb.go | 455 ---- .../v1/provider_account_grpc.pb.go | 147 -- proto/gen/go/dream11/od/auth/v1/auth.pb.go | 230 -- .../gen/go/dream11/od/auth/v1/auth_grpc.pb.go | 109 - .../dream11/od/component/v1/component.pb.go | 401 ---- .../od/component/v1/component_grpc.pb.go | 146 -- .../gen/go/dream11/od/dto/v1/component.pb.go | 443 ---- .../go/dream11/od/dto/v1/component_task.pb.go | 273 --- .../go/dream11/od/dto/v1/environment.pb.go | 469 ---- .../dream11/od/dto/v1/provisioning_type.pb.go | 147 -- proto/gen/go/dream11/od/dto/v1/service.pb.go | 1017 --------- .../go/dream11/od/dto/v1/service_task.pb.go | 261 --- .../od/environment/v1/environment.pb.go | 840 -------- .../od/environment/v1/environment_grpc.pb.go | 312 --- .../go/dream11/od/service/v1/service.pb.go | 1888 ----------------- .../dream11/od/service/v1/service_grpc.pb.go | 531 ----- 18 files changed, 4 insertions(+), 8070 deletions(-) delete mode 100644 proto/gen/go/dream11/oam/dto/v1/provider_account.pb.go delete mode 100644 proto/gen/go/dream11/oam/provideraccount/v1/provider_account.pb.go delete mode 100644 proto/gen/go/dream11/oam/provideraccount/v1/provider_account_grpc.pb.go delete mode 100644 proto/gen/go/dream11/od/auth/v1/auth.pb.go delete mode 100644 proto/gen/go/dream11/od/auth/v1/auth_grpc.pb.go delete mode 100644 proto/gen/go/dream11/od/component/v1/component.pb.go delete mode 100644 proto/gen/go/dream11/od/component/v1/component_grpc.pb.go delete mode 100644 proto/gen/go/dream11/od/dto/v1/component.pb.go delete mode 100644 proto/gen/go/dream11/od/dto/v1/component_task.pb.go delete mode 100644 proto/gen/go/dream11/od/dto/v1/environment.pb.go delete mode 100644 proto/gen/go/dream11/od/dto/v1/provisioning_type.pb.go delete mode 100644 proto/gen/go/dream11/od/dto/v1/service.pb.go delete mode 100644 proto/gen/go/dream11/od/dto/v1/service_task.pb.go delete mode 100644 proto/gen/go/dream11/od/environment/v1/environment.pb.go delete mode 100644 proto/gen/go/dream11/od/environment/v1/environment_grpc.pb.go delete mode 100644 proto/gen/go/dream11/od/service/v1/service.pb.go delete mode 100644 proto/gen/go/dream11/od/service/v1/service_grpc.pb.go diff --git a/.gitignore b/.gitignore index 7b197075..2e305388 100644 --- a/.gitignore +++ b/.gitignore @@ -22,4 +22,7 @@ bin # Service definition files service.yaml -service.json \ No newline at end of file +service.json + +# Ignore proto generated files +*.pb.go diff --git a/proto/gen/go/dream11/oam/dto/v1/provider_account.pb.go b/proto/gen/go/dream11/oam/dto/v1/provider_account.pb.go deleted file mode 100644 index 5c2052c2..00000000 --- a/proto/gen/go/dream11/oam/dto/v1/provider_account.pb.go +++ /dev/null @@ -1,400 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.34.1 -// protoc v5.26.1 -// source: dream11/oam/dto/v1/provider_account.proto - -package v1 - -import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - structpb "google.golang.org/protobuf/types/known/structpb" - reflect "reflect" - sync "sync" -) - -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) -) - -type ProviderAccount struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - Provider string `protobuf:"bytes,2,opt,name=provider,proto3" json:"provider,omitempty"` - Category string `protobuf:"bytes,3,opt,name=category,proto3" json:"category,omitempty"` - Data *structpb.Struct `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"` - Services []*ProviderServiceAccount `protobuf:"bytes,5,rep,name=services,proto3" json:"services,omitempty"` - Default bool `protobuf:"varint,6,opt,name=default,proto3" json:"default,omitempty"` - Id int64 `protobuf:"varint,7,opt,name=id,proto3" json:"id,omitempty"` - LinkedProviderAccountIds []int64 `protobuf:"varint,8,rep,packed,name=linked_provider_account_ids,json=linkedProviderAccountIds,proto3" json:"linked_provider_account_ids,omitempty"` -} - -func (x *ProviderAccount) Reset() { - *x = ProviderAccount{} - if protoimpl.UnsafeEnabled { - mi := &file_dream11_oam_dto_v1_provider_account_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ProviderAccount) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ProviderAccount) ProtoMessage() {} - -func (x *ProviderAccount) ProtoReflect() protoreflect.Message { - mi := &file_dream11_oam_dto_v1_provider_account_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 ProviderAccount.ProtoReflect.Descriptor instead. -func (*ProviderAccount) Descriptor() ([]byte, []int) { - return file_dream11_oam_dto_v1_provider_account_proto_rawDescGZIP(), []int{0} -} - -func (x *ProviderAccount) GetName() string { - if x != nil { - return x.Name - } - return "" -} - -func (x *ProviderAccount) GetProvider() string { - if x != nil { - return x.Provider - } - return "" -} - -func (x *ProviderAccount) GetCategory() string { - if x != nil { - return x.Category - } - return "" -} - -func (x *ProviderAccount) GetData() *structpb.Struct { - if x != nil { - return x.Data - } - return nil -} - -func (x *ProviderAccount) GetServices() []*ProviderServiceAccount { - if x != nil { - return x.Services - } - return nil -} - -func (x *ProviderAccount) GetDefault() bool { - if x != nil { - return x.Default - } - return false -} - -func (x *ProviderAccount) GetId() int64 { - if x != nil { - return x.Id - } - return 0 -} - -func (x *ProviderAccount) GetLinkedProviderAccountIds() []int64 { - if x != nil { - return x.LinkedProviderAccountIds - } - return nil -} - -type ProviderServiceAccountEnriched struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Service *ProviderServiceAccount `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"` - Account *ProviderAccount `protobuf:"bytes,2,opt,name=account,proto3" json:"account,omitempty"` -} - -func (x *ProviderServiceAccountEnriched) Reset() { - *x = ProviderServiceAccountEnriched{} - if protoimpl.UnsafeEnabled { - mi := &file_dream11_oam_dto_v1_provider_account_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ProviderServiceAccountEnriched) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ProviderServiceAccountEnriched) ProtoMessage() {} - -func (x *ProviderServiceAccountEnriched) ProtoReflect() protoreflect.Message { - mi := &file_dream11_oam_dto_v1_provider_account_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 ProviderServiceAccountEnriched.ProtoReflect.Descriptor instead. -func (*ProviderServiceAccountEnriched) Descriptor() ([]byte, []int) { - return file_dream11_oam_dto_v1_provider_account_proto_rawDescGZIP(), []int{1} -} - -func (x *ProviderServiceAccountEnriched) GetService() *ProviderServiceAccount { - if x != nil { - return x.Service - } - return nil -} - -func (x *ProviderServiceAccountEnriched) GetAccount() *ProviderAccount { - if x != nil { - return x.Account - } - return nil -} - -type ProviderServiceAccount struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - Category string `protobuf:"bytes,2,opt,name=category,proto3" json:"category,omitempty"` - Data *structpb.Struct `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` - Id int64 `protobuf:"varint,4,opt,name=id,proto3" json:"id,omitempty"` -} - -func (x *ProviderServiceAccount) Reset() { - *x = ProviderServiceAccount{} - if protoimpl.UnsafeEnabled { - mi := &file_dream11_oam_dto_v1_provider_account_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ProviderServiceAccount) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ProviderServiceAccount) ProtoMessage() {} - -func (x *ProviderServiceAccount) ProtoReflect() protoreflect.Message { - mi := &file_dream11_oam_dto_v1_provider_account_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 ProviderServiceAccount.ProtoReflect.Descriptor instead. -func (*ProviderServiceAccount) Descriptor() ([]byte, []int) { - return file_dream11_oam_dto_v1_provider_account_proto_rawDescGZIP(), []int{2} -} - -func (x *ProviderServiceAccount) GetName() string { - if x != nil { - return x.Name - } - return "" -} - -func (x *ProviderServiceAccount) GetCategory() string { - if x != nil { - return x.Category - } - return "" -} - -func (x *ProviderServiceAccount) GetData() *structpb.Struct { - if x != nil { - return x.Data - } - return nil -} - -func (x *ProviderServiceAccount) GetId() int64 { - if x != nil { - return x.Id - } - return 0 -} - -var File_dream11_oam_dto_v1_provider_account_proto protoreflect.FileDescriptor - -var file_dream11_oam_dto_v1_provider_account_proto_rawDesc = []byte{ - 0x0a, 0x29, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2f, 0x6f, 0x61, 0x6d, 0x2f, 0x64, 0x74, - 0x6f, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x5f, 0x61, 0x63, - 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x12, 0x64, 0x72, 0x65, - 0x61, 0x6d, 0x31, 0x31, 0x2e, 0x6f, 0x61, 0x6d, 0x2e, 0x64, 0x74, 0x6f, 0x2e, 0x76, 0x31, 0x1a, - 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, - 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xbb, 0x02, - 0x0a, 0x0f, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, - 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, - 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, - 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x18, 0x03, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x08, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x12, 0x2b, 0x0a, - 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, - 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, - 0x72, 0x75, 0x63, 0x74, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x46, 0x0a, 0x08, 0x73, 0x65, - 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x64, - 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2e, 0x6f, 0x61, 0x6d, 0x2e, 0x64, 0x74, 0x6f, 0x2e, 0x76, - 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, - 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x08, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, - 0x65, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x18, 0x06, 0x20, - 0x01, 0x28, 0x08, 0x52, 0x07, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x12, 0x0e, 0x0a, 0x02, - 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x3d, 0x0a, 0x1b, - 0x6c, 0x69, 0x6e, 0x6b, 0x65, 0x64, 0x5f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x5f, - 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, - 0x03, 0x52, 0x18, 0x6c, 0x69, 0x6e, 0x6b, 0x65, 0x64, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, - 0x72, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x73, 0x22, 0xa5, 0x01, 0x0a, 0x1e, - 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, - 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x45, 0x6e, 0x72, 0x69, 0x63, 0x68, 0x65, 0x64, 0x12, 0x44, - 0x0a, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x2a, 0x2e, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2e, 0x6f, 0x61, 0x6d, 0x2e, 0x64, 0x74, - 0x6f, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x53, 0x65, 0x72, - 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x07, 0x73, 0x65, 0x72, - 0x76, 0x69, 0x63, 0x65, 0x12, 0x3d, 0x0a, 0x07, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2e, - 0x6f, 0x61, 0x6d, 0x2e, 0x64, 0x74, 0x6f, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x76, 0x69, - 0x64, 0x65, 0x72, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x07, 0x61, 0x63, 0x63, 0x6f, - 0x75, 0x6e, 0x74, 0x22, 0x85, 0x01, 0x0a, 0x16, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, - 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x12, - 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, - 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x12, 0x2b, - 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, - 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, - 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x0e, 0x0a, 0x02, 0x69, - 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x42, 0x39, 0x5a, 0x37, 0x67, - 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, - 0x31, 0x2f, 0x6f, 0x64, 0x69, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x65, 0x6e, - 0x2f, 0x67, 0x6f, 0x2f, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2f, 0x6f, 0x61, 0x6d, 0x2f, - 0x64, 0x74, 0x6f, 0x2f, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_dream11_oam_dto_v1_provider_account_proto_rawDescOnce sync.Once - file_dream11_oam_dto_v1_provider_account_proto_rawDescData = file_dream11_oam_dto_v1_provider_account_proto_rawDesc -) - -func file_dream11_oam_dto_v1_provider_account_proto_rawDescGZIP() []byte { - file_dream11_oam_dto_v1_provider_account_proto_rawDescOnce.Do(func() { - file_dream11_oam_dto_v1_provider_account_proto_rawDescData = protoimpl.X.CompressGZIP(file_dream11_oam_dto_v1_provider_account_proto_rawDescData) - }) - return file_dream11_oam_dto_v1_provider_account_proto_rawDescData -} - -var file_dream11_oam_dto_v1_provider_account_proto_msgTypes = make([]protoimpl.MessageInfo, 3) -var file_dream11_oam_dto_v1_provider_account_proto_goTypes = []interface{}{ - (*ProviderAccount)(nil), // 0: dream11.oam.dto.v1.ProviderAccount - (*ProviderServiceAccountEnriched)(nil), // 1: dream11.oam.dto.v1.ProviderServiceAccountEnriched - (*ProviderServiceAccount)(nil), // 2: dream11.oam.dto.v1.ProviderServiceAccount - (*structpb.Struct)(nil), // 3: google.protobuf.Struct -} -var file_dream11_oam_dto_v1_provider_account_proto_depIdxs = []int32{ - 3, // 0: dream11.oam.dto.v1.ProviderAccount.data:type_name -> google.protobuf.Struct - 2, // 1: dream11.oam.dto.v1.ProviderAccount.services:type_name -> dream11.oam.dto.v1.ProviderServiceAccount - 2, // 2: dream11.oam.dto.v1.ProviderServiceAccountEnriched.service:type_name -> dream11.oam.dto.v1.ProviderServiceAccount - 0, // 3: dream11.oam.dto.v1.ProviderServiceAccountEnriched.account:type_name -> dream11.oam.dto.v1.ProviderAccount - 3, // 4: dream11.oam.dto.v1.ProviderServiceAccount.data:type_name -> google.protobuf.Struct - 5, // [5:5] is the sub-list for method output_type - 5, // [5:5] 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_dream11_oam_dto_v1_provider_account_proto_init() } -func file_dream11_oam_dto_v1_provider_account_proto_init() { - if File_dream11_oam_dto_v1_provider_account_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_dream11_oam_dto_v1_provider_account_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ProviderAccount); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_dream11_oam_dto_v1_provider_account_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ProviderServiceAccountEnriched); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_dream11_oam_dto_v1_provider_account_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ProviderServiceAccount); 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_dream11_oam_dto_v1_provider_account_proto_rawDesc, - NumEnums: 0, - NumMessages: 3, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_dream11_oam_dto_v1_provider_account_proto_goTypes, - DependencyIndexes: file_dream11_oam_dto_v1_provider_account_proto_depIdxs, - MessageInfos: file_dream11_oam_dto_v1_provider_account_proto_msgTypes, - }.Build() - File_dream11_oam_dto_v1_provider_account_proto = out.File - file_dream11_oam_dto_v1_provider_account_proto_rawDesc = nil - file_dream11_oam_dto_v1_provider_account_proto_goTypes = nil - file_dream11_oam_dto_v1_provider_account_proto_depIdxs = nil -} diff --git a/proto/gen/go/dream11/oam/provideraccount/v1/provider_account.pb.go b/proto/gen/go/dream11/oam/provideraccount/v1/provider_account.pb.go deleted file mode 100644 index ad377710..00000000 --- a/proto/gen/go/dream11/oam/provideraccount/v1/provider_account.pb.go +++ /dev/null @@ -1,455 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.34.1 -// protoc v5.26.1 -// source: dream11/oam/provideraccount/v1/provider_account.proto - -package v1 - -import ( - v1 "github.com/dream11/odin/proto/gen/go/dream11/oam/dto/v1" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" -) - -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) -) - -type GetProviderAccountRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Headers map[string]string `protobuf:"bytes,1,rep,name=headers,proto3" json:"headers,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - FetchLinkedAccountDetails bool `protobuf:"varint,3,opt,name=fetch_linked_account_details,json=fetchLinkedAccountDetails,proto3" json:"fetch_linked_account_details,omitempty"` -} - -func (x *GetProviderAccountRequest) Reset() { - *x = GetProviderAccountRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_dream11_oam_provideraccount_v1_provider_account_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetProviderAccountRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetProviderAccountRequest) ProtoMessage() {} - -func (x *GetProviderAccountRequest) ProtoReflect() protoreflect.Message { - mi := &file_dream11_oam_provideraccount_v1_provider_account_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 GetProviderAccountRequest.ProtoReflect.Descriptor instead. -func (*GetProviderAccountRequest) Descriptor() ([]byte, []int) { - return file_dream11_oam_provideraccount_v1_provider_account_proto_rawDescGZIP(), []int{0} -} - -func (x *GetProviderAccountRequest) GetHeaders() map[string]string { - if x != nil { - return x.Headers - } - return nil -} - -func (x *GetProviderAccountRequest) GetName() string { - if x != nil { - return x.Name - } - return "" -} - -func (x *GetProviderAccountRequest) GetFetchLinkedAccountDetails() bool { - if x != nil { - return x.FetchLinkedAccountDetails - } - return false -} - -type GetProviderAccountResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Account *v1.ProviderAccount `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` - LinkedAccounts []*v1.ProviderAccount `protobuf:"bytes,2,rep,name=linked_accounts,json=linkedAccounts,proto3" json:"linked_accounts,omitempty"` -} - -func (x *GetProviderAccountResponse) Reset() { - *x = GetProviderAccountResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_dream11_oam_provideraccount_v1_provider_account_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetProviderAccountResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetProviderAccountResponse) ProtoMessage() {} - -func (x *GetProviderAccountResponse) ProtoReflect() protoreflect.Message { - mi := &file_dream11_oam_provideraccount_v1_provider_account_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 GetProviderAccountResponse.ProtoReflect.Descriptor instead. -func (*GetProviderAccountResponse) Descriptor() ([]byte, []int) { - return file_dream11_oam_provideraccount_v1_provider_account_proto_rawDescGZIP(), []int{1} -} - -func (x *GetProviderAccountResponse) GetAccount() *v1.ProviderAccount { - if x != nil { - return x.Account - } - return nil -} - -func (x *GetProviderAccountResponse) GetLinkedAccounts() []*v1.ProviderAccount { - if x != nil { - return x.LinkedAccounts - } - return nil -} - -type GetProviderAccountsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Headers map[string]string `protobuf:"bytes,1,rep,name=headers,proto3" json:"headers,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - Name []string `protobuf:"bytes,2,rep,name=name,proto3" json:"name,omitempty"` - FetchLinkedAccountDetails bool `protobuf:"varint,3,opt,name=fetch_linked_account_details,json=fetchLinkedAccountDetails,proto3" json:"fetch_linked_account_details,omitempty"` -} - -func (x *GetProviderAccountsRequest) Reset() { - *x = GetProviderAccountsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_dream11_oam_provideraccount_v1_provider_account_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetProviderAccountsRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetProviderAccountsRequest) ProtoMessage() {} - -func (x *GetProviderAccountsRequest) ProtoReflect() protoreflect.Message { - mi := &file_dream11_oam_provideraccount_v1_provider_account_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 GetProviderAccountsRequest.ProtoReflect.Descriptor instead. -func (*GetProviderAccountsRequest) Descriptor() ([]byte, []int) { - return file_dream11_oam_provideraccount_v1_provider_account_proto_rawDescGZIP(), []int{2} -} - -func (x *GetProviderAccountsRequest) GetHeaders() map[string]string { - if x != nil { - return x.Headers - } - return nil -} - -func (x *GetProviderAccountsRequest) GetName() []string { - if x != nil { - return x.Name - } - return nil -} - -func (x *GetProviderAccountsRequest) GetFetchLinkedAccountDetails() bool { - if x != nil { - return x.FetchLinkedAccountDetails - } - return false -} - -type GetProviderAccountsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Accounts []*GetProviderAccountResponse `protobuf:"bytes,1,rep,name=accounts,proto3" json:"accounts,omitempty"` -} - -func (x *GetProviderAccountsResponse) Reset() { - *x = GetProviderAccountsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_dream11_oam_provideraccount_v1_provider_account_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetProviderAccountsResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetProviderAccountsResponse) ProtoMessage() {} - -func (x *GetProviderAccountsResponse) ProtoReflect() protoreflect.Message { - mi := &file_dream11_oam_provideraccount_v1_provider_account_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 GetProviderAccountsResponse.ProtoReflect.Descriptor instead. -func (*GetProviderAccountsResponse) Descriptor() ([]byte, []int) { - return file_dream11_oam_provideraccount_v1_provider_account_proto_rawDescGZIP(), []int{3} -} - -func (x *GetProviderAccountsResponse) GetAccounts() []*GetProviderAccountResponse { - if x != nil { - return x.Accounts - } - return nil -} - -var File_dream11_oam_provideraccount_v1_provider_account_proto protoreflect.FileDescriptor - -var file_dream11_oam_provideraccount_v1_provider_account_proto_rawDesc = []byte{ - 0x0a, 0x35, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2f, 0x6f, 0x61, 0x6d, 0x2f, 0x70, 0x72, - 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2f, 0x76, 0x31, - 0x2f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, - 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1e, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, - 0x2e, 0x6f, 0x61, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x61, 0x63, 0x63, - 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x1a, 0x29, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, - 0x2f, 0x6f, 0x61, 0x6d, 0x2f, 0x64, 0x74, 0x6f, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x72, 0x6f, 0x76, - 0x69, 0x64, 0x65, 0x72, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x22, 0x8e, 0x02, 0x0a, 0x19, 0x47, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, - 0x65, 0x72, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x12, 0x60, 0x0a, 0x07, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x46, 0x2e, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2e, 0x6f, 0x61, 0x6d, 0x2e, - 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, - 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x41, 0x63, - 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x48, 0x65, 0x61, - 0x64, 0x65, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x07, 0x68, 0x65, 0x61, 0x64, 0x65, - 0x72, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x3f, 0x0a, 0x1c, 0x66, 0x65, 0x74, 0x63, 0x68, 0x5f, - 0x6c, 0x69, 0x6e, 0x6b, 0x65, 0x64, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x64, - 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x19, 0x66, 0x65, - 0x74, 0x63, 0x68, 0x4c, 0x69, 0x6e, 0x6b, 0x65, 0x64, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, - 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x1a, 0x3a, 0x0a, 0x0c, 0x48, 0x65, 0x61, 0x64, 0x65, - 0x72, 0x73, 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, 0x22, 0xa9, 0x01, 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x76, 0x69, - 0x64, 0x65, 0x72, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x12, 0x3d, 0x0a, 0x07, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2e, 0x6f, 0x61, - 0x6d, 0x2e, 0x64, 0x74, 0x6f, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, - 0x72, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x07, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, - 0x74, 0x12, 0x4c, 0x0a, 0x0f, 0x6c, 0x69, 0x6e, 0x6b, 0x65, 0x64, 0x5f, 0x61, 0x63, 0x63, 0x6f, - 0x75, 0x6e, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x64, 0x72, 0x65, - 0x61, 0x6d, 0x31, 0x31, 0x2e, 0x6f, 0x61, 0x6d, 0x2e, 0x64, 0x74, 0x6f, 0x2e, 0x76, 0x31, 0x2e, - 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, - 0x0e, 0x6c, 0x69, 0x6e, 0x6b, 0x65, 0x64, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x22, - 0x90, 0x02, 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x41, - 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x61, - 0x0a, 0x07, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, - 0x47, 0x2e, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2e, 0x6f, 0x61, 0x6d, 0x2e, 0x70, 0x72, - 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x76, 0x31, - 0x2e, 0x47, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x41, 0x63, 0x63, 0x6f, - 0x75, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x48, 0x65, 0x61, 0x64, - 0x65, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x07, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, - 0x73, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, - 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x3f, 0x0a, 0x1c, 0x66, 0x65, 0x74, 0x63, 0x68, 0x5f, 0x6c, - 0x69, 0x6e, 0x6b, 0x65, 0x64, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x64, 0x65, - 0x74, 0x61, 0x69, 0x6c, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x19, 0x66, 0x65, 0x74, - 0x63, 0x68, 0x4c, 0x69, 0x6e, 0x6b, 0x65, 0x64, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x44, - 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x1a, 0x3a, 0x0a, 0x0c, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, - 0x73, 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, 0x22, 0x75, 0x0a, 0x1b, 0x47, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, - 0x72, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x12, 0x56, 0x0a, 0x08, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, - 0x03, 0x28, 0x0b, 0x32, 0x3a, 0x2e, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2e, 0x6f, 0x61, - 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, - 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, - 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, - 0x08, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x32, 0xbb, 0x02, 0x0a, 0x16, 0x50, 0x72, - 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x53, 0x65, 0x72, - 0x76, 0x69, 0x63, 0x65, 0x12, 0x8d, 0x01, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x76, - 0x69, 0x64, 0x65, 0x72, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x39, 0x2e, 0x64, 0x72, - 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2e, 0x6f, 0x61, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, - 0x65, 0x72, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, - 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3a, 0x2e, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, - 0x2e, 0x6f, 0x61, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x61, 0x63, 0x63, - 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x76, 0x69, - 0x64, 0x65, 0x72, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x22, 0x00, 0x12, 0x90, 0x01, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x76, - 0x69, 0x64, 0x65, 0x72, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x12, 0x3a, 0x2e, 0x64, - 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2e, 0x6f, 0x61, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, - 0x64, 0x65, 0x72, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, - 0x74, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, - 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3b, 0x2e, 0x64, 0x72, 0x65, 0x61, 0x6d, - 0x31, 0x31, 0x2e, 0x6f, 0x61, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x61, - 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x72, 0x6f, - 0x76, 0x69, 0x64, 0x65, 0x72, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x45, 0x5a, 0x43, 0x67, 0x69, 0x74, 0x68, 0x75, - 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2f, 0x6f, 0x64, - 0x69, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x67, 0x6f, 0x2f, - 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2f, 0x6f, 0x61, 0x6d, 0x2f, 0x70, 0x72, 0x6f, 0x76, - 0x69, 0x64, 0x65, 0x72, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2f, 0x76, 0x31, 0x62, 0x06, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_dream11_oam_provideraccount_v1_provider_account_proto_rawDescOnce sync.Once - file_dream11_oam_provideraccount_v1_provider_account_proto_rawDescData = file_dream11_oam_provideraccount_v1_provider_account_proto_rawDesc -) - -func file_dream11_oam_provideraccount_v1_provider_account_proto_rawDescGZIP() []byte { - file_dream11_oam_provideraccount_v1_provider_account_proto_rawDescOnce.Do(func() { - file_dream11_oam_provideraccount_v1_provider_account_proto_rawDescData = protoimpl.X.CompressGZIP(file_dream11_oam_provideraccount_v1_provider_account_proto_rawDescData) - }) - return file_dream11_oam_provideraccount_v1_provider_account_proto_rawDescData -} - -var file_dream11_oam_provideraccount_v1_provider_account_proto_msgTypes = make([]protoimpl.MessageInfo, 6) -var file_dream11_oam_provideraccount_v1_provider_account_proto_goTypes = []interface{}{ - (*GetProviderAccountRequest)(nil), // 0: dream11.oam.provideraccount.v1.GetProviderAccountRequest - (*GetProviderAccountResponse)(nil), // 1: dream11.oam.provideraccount.v1.GetProviderAccountResponse - (*GetProviderAccountsRequest)(nil), // 2: dream11.oam.provideraccount.v1.GetProviderAccountsRequest - (*GetProviderAccountsResponse)(nil), // 3: dream11.oam.provideraccount.v1.GetProviderAccountsResponse - nil, // 4: dream11.oam.provideraccount.v1.GetProviderAccountRequest.HeadersEntry - nil, // 5: dream11.oam.provideraccount.v1.GetProviderAccountsRequest.HeadersEntry - (*v1.ProviderAccount)(nil), // 6: dream11.oam.dto.v1.ProviderAccount -} -var file_dream11_oam_provideraccount_v1_provider_account_proto_depIdxs = []int32{ - 4, // 0: dream11.oam.provideraccount.v1.GetProviderAccountRequest.headers:type_name -> dream11.oam.provideraccount.v1.GetProviderAccountRequest.HeadersEntry - 6, // 1: dream11.oam.provideraccount.v1.GetProviderAccountResponse.account:type_name -> dream11.oam.dto.v1.ProviderAccount - 6, // 2: dream11.oam.provideraccount.v1.GetProviderAccountResponse.linked_accounts:type_name -> dream11.oam.dto.v1.ProviderAccount - 5, // 3: dream11.oam.provideraccount.v1.GetProviderAccountsRequest.headers:type_name -> dream11.oam.provideraccount.v1.GetProviderAccountsRequest.HeadersEntry - 1, // 4: dream11.oam.provideraccount.v1.GetProviderAccountsResponse.accounts:type_name -> dream11.oam.provideraccount.v1.GetProviderAccountResponse - 0, // 5: dream11.oam.provideraccount.v1.ProviderAccountService.GetProviderAccount:input_type -> dream11.oam.provideraccount.v1.GetProviderAccountRequest - 2, // 6: dream11.oam.provideraccount.v1.ProviderAccountService.GetProviderAccounts:input_type -> dream11.oam.provideraccount.v1.GetProviderAccountsRequest - 1, // 7: dream11.oam.provideraccount.v1.ProviderAccountService.GetProviderAccount:output_type -> dream11.oam.provideraccount.v1.GetProviderAccountResponse - 3, // 8: dream11.oam.provideraccount.v1.ProviderAccountService.GetProviderAccounts:output_type -> dream11.oam.provideraccount.v1.GetProviderAccountsResponse - 7, // [7:9] is the sub-list for method output_type - 5, // [5:7] 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_dream11_oam_provideraccount_v1_provider_account_proto_init() } -func file_dream11_oam_provideraccount_v1_provider_account_proto_init() { - if File_dream11_oam_provideraccount_v1_provider_account_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_dream11_oam_provideraccount_v1_provider_account_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetProviderAccountRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_dream11_oam_provideraccount_v1_provider_account_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetProviderAccountResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_dream11_oam_provideraccount_v1_provider_account_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetProviderAccountsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_dream11_oam_provideraccount_v1_provider_account_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetProviderAccountsResponse); 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_dream11_oam_provideraccount_v1_provider_account_proto_rawDesc, - NumEnums: 0, - NumMessages: 6, - NumExtensions: 0, - NumServices: 1, - }, - GoTypes: file_dream11_oam_provideraccount_v1_provider_account_proto_goTypes, - DependencyIndexes: file_dream11_oam_provideraccount_v1_provider_account_proto_depIdxs, - MessageInfos: file_dream11_oam_provideraccount_v1_provider_account_proto_msgTypes, - }.Build() - File_dream11_oam_provideraccount_v1_provider_account_proto = out.File - file_dream11_oam_provideraccount_v1_provider_account_proto_rawDesc = nil - file_dream11_oam_provideraccount_v1_provider_account_proto_goTypes = nil - file_dream11_oam_provideraccount_v1_provider_account_proto_depIdxs = nil -} diff --git a/proto/gen/go/dream11/oam/provideraccount/v1/provider_account_grpc.pb.go b/proto/gen/go/dream11/oam/provideraccount/v1/provider_account_grpc.pb.go deleted file mode 100644 index 058d5d5c..00000000 --- a/proto/gen/go/dream11/oam/provideraccount/v1/provider_account_grpc.pb.go +++ /dev/null @@ -1,147 +0,0 @@ -// Code generated by protoc-gen-go-grpc. DO NOT EDIT. -// versions: -// - protoc-gen-go-grpc v1.3.0 -// - protoc v5.26.1 -// source: dream11/oam/provideraccount/v1/provider_account.proto - -package v1 - -import ( - context "context" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/status" -) - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the grpc package it is being compiled against. -// Requires gRPC-Go v1.32.0 or later. -const _ = grpc.SupportPackageIsVersion7 - -const ( - ProviderAccountService_GetProviderAccount_FullMethodName = "/dream11.oam.provideraccount.v1.ProviderAccountService/GetProviderAccount" - ProviderAccountService_GetProviderAccounts_FullMethodName = "/dream11.oam.provideraccount.v1.ProviderAccountService/GetProviderAccounts" -) - -// ProviderAccountServiceClient is the client API for ProviderAccountService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. -type ProviderAccountServiceClient interface { - GetProviderAccount(ctx context.Context, in *GetProviderAccountRequest, opts ...grpc.CallOption) (*GetProviderAccountResponse, error) - GetProviderAccounts(ctx context.Context, in *GetProviderAccountsRequest, opts ...grpc.CallOption) (*GetProviderAccountsResponse, error) -} - -type providerAccountServiceClient struct { - cc grpc.ClientConnInterface -} - -func NewProviderAccountServiceClient(cc grpc.ClientConnInterface) ProviderAccountServiceClient { - return &providerAccountServiceClient{cc} -} - -func (c *providerAccountServiceClient) GetProviderAccount(ctx context.Context, in *GetProviderAccountRequest, opts ...grpc.CallOption) (*GetProviderAccountResponse, error) { - out := new(GetProviderAccountResponse) - err := c.cc.Invoke(ctx, ProviderAccountService_GetProviderAccount_FullMethodName, in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *providerAccountServiceClient) GetProviderAccounts(ctx context.Context, in *GetProviderAccountsRequest, opts ...grpc.CallOption) (*GetProviderAccountsResponse, error) { - out := new(GetProviderAccountsResponse) - err := c.cc.Invoke(ctx, ProviderAccountService_GetProviderAccounts_FullMethodName, in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// ProviderAccountServiceServer is the server API for ProviderAccountService service. -// All implementations must embed UnimplementedProviderAccountServiceServer -// for forward compatibility -type ProviderAccountServiceServer interface { - GetProviderAccount(context.Context, *GetProviderAccountRequest) (*GetProviderAccountResponse, error) - GetProviderAccounts(context.Context, *GetProviderAccountsRequest) (*GetProviderAccountsResponse, error) - mustEmbedUnimplementedProviderAccountServiceServer() -} - -// UnimplementedProviderAccountServiceServer must be embedded to have forward compatible implementations. -type UnimplementedProviderAccountServiceServer struct { -} - -func (UnimplementedProviderAccountServiceServer) GetProviderAccount(context.Context, *GetProviderAccountRequest) (*GetProviderAccountResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetProviderAccount not implemented") -} -func (UnimplementedProviderAccountServiceServer) GetProviderAccounts(context.Context, *GetProviderAccountsRequest) (*GetProviderAccountsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetProviderAccounts not implemented") -} -func (UnimplementedProviderAccountServiceServer) mustEmbedUnimplementedProviderAccountServiceServer() { -} - -// UnsafeProviderAccountServiceServer may be embedded to opt out of forward compatibility for this service. -// Use of this interface is not recommended, as added methods to ProviderAccountServiceServer will -// result in compilation errors. -type UnsafeProviderAccountServiceServer interface { - mustEmbedUnimplementedProviderAccountServiceServer() -} - -func RegisterProviderAccountServiceServer(s grpc.ServiceRegistrar, srv ProviderAccountServiceServer) { - s.RegisterService(&ProviderAccountService_ServiceDesc, srv) -} - -func _ProviderAccountService_GetProviderAccount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetProviderAccountRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ProviderAccountServiceServer).GetProviderAccount(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: ProviderAccountService_GetProviderAccount_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ProviderAccountServiceServer).GetProviderAccount(ctx, req.(*GetProviderAccountRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ProviderAccountService_GetProviderAccounts_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetProviderAccountsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ProviderAccountServiceServer).GetProviderAccounts(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: ProviderAccountService_GetProviderAccounts_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ProviderAccountServiceServer).GetProviderAccounts(ctx, req.(*GetProviderAccountsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -// ProviderAccountService_ServiceDesc is the grpc.ServiceDesc for ProviderAccountService service. -// It's only intended for direct use with grpc.RegisterService, -// and not to be introspected or modified (even as a copy) -var ProviderAccountService_ServiceDesc = grpc.ServiceDesc{ - ServiceName: "dream11.oam.provideraccount.v1.ProviderAccountService", - HandlerType: (*ProviderAccountServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetProviderAccount", - Handler: _ProviderAccountService_GetProviderAccount_Handler, - }, - { - MethodName: "GetProviderAccounts", - Handler: _ProviderAccountService_GetProviderAccounts_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "dream11/oam/provideraccount/v1/provider_account.proto", -} diff --git a/proto/gen/go/dream11/od/auth/v1/auth.pb.go b/proto/gen/go/dream11/od/auth/v1/auth.pb.go deleted file mode 100644 index 81dba86b..00000000 --- a/proto/gen/go/dream11/od/auth/v1/auth.pb.go +++ /dev/null @@ -1,230 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.34.1 -// protoc v5.26.1 -// source: dream11/od/auth/v1/auth.proto - -package v1 - -import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" -) - -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) -) - -type GetUserTokenRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ClientId string `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"` - ClientSecretHash string `protobuf:"bytes,2,opt,name=client_secret_hash,json=clientSecretHash,proto3" json:"client_secret_hash,omitempty"` -} - -func (x *GetUserTokenRequest) Reset() { - *x = GetUserTokenRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_dream11_od_auth_v1_auth_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetUserTokenRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetUserTokenRequest) ProtoMessage() {} - -func (x *GetUserTokenRequest) ProtoReflect() protoreflect.Message { - mi := &file_dream11_od_auth_v1_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 GetUserTokenRequest.ProtoReflect.Descriptor instead. -func (*GetUserTokenRequest) Descriptor() ([]byte, []int) { - return file_dream11_od_auth_v1_auth_proto_rawDescGZIP(), []int{0} -} - -func (x *GetUserTokenRequest) GetClientId() string { - if x != nil { - return x.ClientId - } - return "" -} - -func (x *GetUserTokenRequest) GetClientSecretHash() string { - if x != nil { - return x.ClientSecretHash - } - return "" -} - -type GetUserTokenResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` -} - -func (x *GetUserTokenResponse) Reset() { - *x = GetUserTokenResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_dream11_od_auth_v1_auth_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetUserTokenResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetUserTokenResponse) ProtoMessage() {} - -func (x *GetUserTokenResponse) ProtoReflect() protoreflect.Message { - mi := &file_dream11_od_auth_v1_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 GetUserTokenResponse.ProtoReflect.Descriptor instead. -func (*GetUserTokenResponse) Descriptor() ([]byte, []int) { - return file_dream11_od_auth_v1_auth_proto_rawDescGZIP(), []int{1} -} - -func (x *GetUserTokenResponse) GetToken() string { - if x != nil { - return x.Token - } - return "" -} - -var File_dream11_od_auth_v1_auth_proto protoreflect.FileDescriptor - -var file_dream11_od_auth_v1_auth_proto_rawDesc = []byte{ - 0x0a, 0x1d, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2f, 0x6f, 0x64, 0x2f, 0x61, 0x75, 0x74, - 0x68, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, - 0x12, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2e, 0x6f, 0x64, 0x2e, 0x61, 0x75, 0x74, 0x68, - 0x2e, 0x76, 0x31, 0x22, 0x60, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x54, 0x6f, - 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x6c, - 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x63, - 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x2c, 0x0a, 0x12, 0x63, 0x6c, 0x69, 0x65, 0x6e, - 0x74, 0x5f, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x10, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x53, 0x65, 0x63, 0x72, 0x65, - 0x74, 0x48, 0x61, 0x73, 0x68, 0x22, 0x2c, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, - 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, - 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x6f, - 0x6b, 0x65, 0x6e, 0x32, 0x72, 0x0a, 0x0b, 0x41, 0x75, 0x74, 0x68, 0x53, 0x65, 0x72, 0x76, 0x69, - 0x63, 0x65, 0x12, 0x63, 0x0a, 0x0c, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x54, 0x6f, 0x6b, - 0x65, 0x6e, 0x12, 0x27, 0x2e, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2e, 0x6f, 0x64, 0x2e, - 0x61, 0x75, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x54, - 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x64, 0x72, - 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2e, 0x6f, 0x64, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x76, 0x31, - 0x2e, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x39, 0x5a, 0x37, 0x67, 0x69, 0x74, 0x68, 0x75, - 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2f, 0x6f, 0x64, - 0x69, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x67, 0x6f, 0x2f, - 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2f, 0x6f, 0x64, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, - 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_dream11_od_auth_v1_auth_proto_rawDescOnce sync.Once - file_dream11_od_auth_v1_auth_proto_rawDescData = file_dream11_od_auth_v1_auth_proto_rawDesc -) - -func file_dream11_od_auth_v1_auth_proto_rawDescGZIP() []byte { - file_dream11_od_auth_v1_auth_proto_rawDescOnce.Do(func() { - file_dream11_od_auth_v1_auth_proto_rawDescData = protoimpl.X.CompressGZIP(file_dream11_od_auth_v1_auth_proto_rawDescData) - }) - return file_dream11_od_auth_v1_auth_proto_rawDescData -} - -var file_dream11_od_auth_v1_auth_proto_msgTypes = make([]protoimpl.MessageInfo, 2) -var file_dream11_od_auth_v1_auth_proto_goTypes = []interface{}{ - (*GetUserTokenRequest)(nil), // 0: dream11.od.auth.v1.GetUserTokenRequest - (*GetUserTokenResponse)(nil), // 1: dream11.od.auth.v1.GetUserTokenResponse -} -var file_dream11_od_auth_v1_auth_proto_depIdxs = []int32{ - 0, // 0: dream11.od.auth.v1.AuthService.GetUserToken:input_type -> dream11.od.auth.v1.GetUserTokenRequest - 1, // 1: dream11.od.auth.v1.AuthService.GetUserToken:output_type -> dream11.od.auth.v1.GetUserTokenResponse - 1, // [1:2] is the sub-list for method output_type - 0, // [0:1] 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_dream11_od_auth_v1_auth_proto_init() } -func file_dream11_od_auth_v1_auth_proto_init() { - if File_dream11_od_auth_v1_auth_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_dream11_od_auth_v1_auth_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetUserTokenRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_dream11_od_auth_v1_auth_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetUserTokenResponse); 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_dream11_od_auth_v1_auth_proto_rawDesc, - NumEnums: 0, - NumMessages: 2, - NumExtensions: 0, - NumServices: 1, - }, - GoTypes: file_dream11_od_auth_v1_auth_proto_goTypes, - DependencyIndexes: file_dream11_od_auth_v1_auth_proto_depIdxs, - MessageInfos: file_dream11_od_auth_v1_auth_proto_msgTypes, - }.Build() - File_dream11_od_auth_v1_auth_proto = out.File - file_dream11_od_auth_v1_auth_proto_rawDesc = nil - file_dream11_od_auth_v1_auth_proto_goTypes = nil - file_dream11_od_auth_v1_auth_proto_depIdxs = nil -} diff --git a/proto/gen/go/dream11/od/auth/v1/auth_grpc.pb.go b/proto/gen/go/dream11/od/auth/v1/auth_grpc.pb.go deleted file mode 100644 index dce36b78..00000000 --- a/proto/gen/go/dream11/od/auth/v1/auth_grpc.pb.go +++ /dev/null @@ -1,109 +0,0 @@ -// Code generated by protoc-gen-go-grpc. DO NOT EDIT. -// versions: -// - protoc-gen-go-grpc v1.3.0 -// - protoc v5.26.1 -// source: dream11/od/auth/v1/auth.proto - -package v1 - -import ( - context "context" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/status" -) - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the grpc package it is being compiled against. -// Requires gRPC-Go v1.32.0 or later. -const _ = grpc.SupportPackageIsVersion7 - -const ( - AuthService_GetUserToken_FullMethodName = "/dream11.od.auth.v1.AuthService/GetUserToken" -) - -// AuthServiceClient is the client API for AuthService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. -type AuthServiceClient interface { - GetUserToken(ctx context.Context, in *GetUserTokenRequest, opts ...grpc.CallOption) (*GetUserTokenResponse, error) -} - -type authServiceClient struct { - cc grpc.ClientConnInterface -} - -func NewAuthServiceClient(cc grpc.ClientConnInterface) AuthServiceClient { - return &authServiceClient{cc} -} - -func (c *authServiceClient) GetUserToken(ctx context.Context, in *GetUserTokenRequest, opts ...grpc.CallOption) (*GetUserTokenResponse, error) { - out := new(GetUserTokenResponse) - err := c.cc.Invoke(ctx, AuthService_GetUserToken_FullMethodName, in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// AuthServiceServer is the server API for AuthService service. -// All implementations must embed UnimplementedAuthServiceServer -// for forward compatibility -type AuthServiceServer interface { - GetUserToken(context.Context, *GetUserTokenRequest) (*GetUserTokenResponse, error) - mustEmbedUnimplementedAuthServiceServer() -} - -// UnimplementedAuthServiceServer must be embedded to have forward compatible implementations. -type UnimplementedAuthServiceServer struct { -} - -func (UnimplementedAuthServiceServer) GetUserToken(context.Context, *GetUserTokenRequest) (*GetUserTokenResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetUserToken not implemented") -} -func (UnimplementedAuthServiceServer) mustEmbedUnimplementedAuthServiceServer() {} - -// UnsafeAuthServiceServer may be embedded to opt out of forward compatibility for this service. -// Use of this interface is not recommended, as added methods to AuthServiceServer will -// result in compilation errors. -type UnsafeAuthServiceServer interface { - mustEmbedUnimplementedAuthServiceServer() -} - -func RegisterAuthServiceServer(s grpc.ServiceRegistrar, srv AuthServiceServer) { - s.RegisterService(&AuthService_ServiceDesc, srv) -} - -func _AuthService_GetUserToken_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetUserTokenRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AuthServiceServer).GetUserToken(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: AuthService_GetUserToken_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AuthServiceServer).GetUserToken(ctx, req.(*GetUserTokenRequest)) - } - return interceptor(ctx, in, info, handler) -} - -// AuthService_ServiceDesc is the grpc.ServiceDesc for AuthService service. -// It's only intended for direct use with grpc.RegisterService, -// and not to be introspected or modified (even as a copy) -var AuthService_ServiceDesc = grpc.ServiceDesc{ - ServiceName: "dream11.od.auth.v1.AuthService", - HandlerType: (*AuthServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetUserToken", - Handler: _AuthService_GetUserToken_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "dream11/od/auth/v1/auth.proto", -} diff --git a/proto/gen/go/dream11/od/component/v1/component.pb.go b/proto/gen/go/dream11/od/component/v1/component.pb.go deleted file mode 100644 index dc0b79b1..00000000 --- a/proto/gen/go/dream11/od/component/v1/component.pb.go +++ /dev/null @@ -1,401 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.34.1 -// protoc v5.26.1 -// source: dream11/od/component/v1/component.proto - -package v1 - -import ( - v1 "github.com/dream11/odin/proto/gen/go/dream11/od/dto/v1" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" -) - -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) -) - -type ListComponentTypeRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Params map[string]string `protobuf:"bytes,1,rep,name=params,proto3" json:"params,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` -} - -func (x *ListComponentTypeRequest) Reset() { - *x = ListComponentTypeRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_dream11_od_component_v1_component_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ListComponentTypeRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListComponentTypeRequest) ProtoMessage() {} - -func (x *ListComponentTypeRequest) ProtoReflect() protoreflect.Message { - mi := &file_dream11_od_component_v1_component_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 ListComponentTypeRequest.ProtoReflect.Descriptor instead. -func (*ListComponentTypeRequest) Descriptor() ([]byte, []int) { - return file_dream11_od_component_v1_component_proto_rawDescGZIP(), []int{0} -} - -func (x *ListComponentTypeRequest) GetParams() map[string]string { - if x != nil { - return x.Params - } - return nil -} - -type ListComponentTypeResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Components []*v1.Component `protobuf:"bytes,1,rep,name=components,proto3" json:"components,omitempty"` -} - -func (x *ListComponentTypeResponse) Reset() { - *x = ListComponentTypeResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_dream11_od_component_v1_component_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ListComponentTypeResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListComponentTypeResponse) ProtoMessage() {} - -func (x *ListComponentTypeResponse) ProtoReflect() protoreflect.Message { - mi := &file_dream11_od_component_v1_component_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 ListComponentTypeResponse.ProtoReflect.Descriptor instead. -func (*ListComponentTypeResponse) Descriptor() ([]byte, []int) { - return file_dream11_od_component_v1_component_proto_rawDescGZIP(), []int{1} -} - -func (x *ListComponentTypeResponse) GetComponents() []*v1.Component { - if x != nil { - return x.Components - } - return nil -} - -type DescribeComponentTypeRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ComponentType string `protobuf:"bytes,1,opt,name=component_type,json=componentType,proto3" json:"component_type,omitempty"` - Params map[string]string `protobuf:"bytes,2,rep,name=params,proto3" json:"params,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` -} - -func (x *DescribeComponentTypeRequest) Reset() { - *x = DescribeComponentTypeRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_dream11_od_component_v1_component_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DescribeComponentTypeRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DescribeComponentTypeRequest) ProtoMessage() {} - -func (x *DescribeComponentTypeRequest) ProtoReflect() protoreflect.Message { - mi := &file_dream11_od_component_v1_component_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 DescribeComponentTypeRequest.ProtoReflect.Descriptor instead. -func (*DescribeComponentTypeRequest) Descriptor() ([]byte, []int) { - return file_dream11_od_component_v1_component_proto_rawDescGZIP(), []int{2} -} - -func (x *DescribeComponentTypeRequest) GetComponentType() string { - if x != nil { - return x.ComponentType - } - return "" -} - -func (x *DescribeComponentTypeRequest) GetParams() map[string]string { - if x != nil { - return x.Params - } - return nil -} - -type DescribeComponentTypeResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Component *v1.Component `protobuf:"bytes,1,opt,name=component,proto3" json:"component,omitempty"` -} - -func (x *DescribeComponentTypeResponse) Reset() { - *x = DescribeComponentTypeResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_dream11_od_component_v1_component_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DescribeComponentTypeResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DescribeComponentTypeResponse) ProtoMessage() {} - -func (x *DescribeComponentTypeResponse) ProtoReflect() protoreflect.Message { - mi := &file_dream11_od_component_v1_component_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 DescribeComponentTypeResponse.ProtoReflect.Descriptor instead. -func (*DescribeComponentTypeResponse) Descriptor() ([]byte, []int) { - return file_dream11_od_component_v1_component_proto_rawDescGZIP(), []int{3} -} - -func (x *DescribeComponentTypeResponse) GetComponent() *v1.Component { - if x != nil { - return x.Component - } - return nil -} - -var File_dream11_od_component_v1_component_proto protoreflect.FileDescriptor - -var file_dream11_od_component_v1_component_proto_rawDesc = []byte{ - 0x0a, 0x27, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2f, 0x6f, 0x64, 0x2f, 0x63, 0x6f, 0x6d, - 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, - 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x17, 0x64, 0x72, 0x65, 0x61, 0x6d, - 0x31, 0x31, 0x2e, 0x6f, 0x64, 0x2e, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x2e, - 0x76, 0x31, 0x1a, 0x21, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2f, 0x6f, 0x64, 0x2f, 0x64, - 0x74, 0x6f, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xac, 0x01, 0x0a, 0x18, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x6f, - 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x12, 0x55, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x01, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x3d, 0x2e, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2e, 0x6f, 0x64, 0x2e, - 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, - 0x74, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x45, 0x6e, 0x74, 0x72, - 0x79, 0x52, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x1a, 0x39, 0x0a, 0x0b, 0x50, 0x61, 0x72, - 0x61, 0x6d, 0x73, 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, 0x22, 0x59, 0x0a, 0x19, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x6f, 0x6d, 0x70, - 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x12, 0x3c, 0x0a, 0x0a, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x73, 0x18, - 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2e, - 0x6f, 0x64, 0x2e, 0x64, 0x74, 0x6f, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, - 0x65, 0x6e, 0x74, 0x52, 0x0a, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x73, 0x22, - 0xdb, 0x01, 0x0a, 0x1c, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x43, 0x6f, 0x6d, 0x70, - 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x12, 0x25, 0x0a, 0x0e, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x79, - 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, - 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x59, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, - 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x41, 0x2e, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, - 0x31, 0x2e, 0x6f, 0x64, 0x2e, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x2e, 0x76, - 0x31, 0x2e, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, - 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x50, - 0x61, 0x72, 0x61, 0x6d, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x70, 0x61, 0x72, 0x61, - 0x6d, 0x73, 0x1a, 0x39, 0x0a, 0x0b, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 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, 0x22, 0x5b, 0x0a, - 0x1d, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, - 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3a, - 0x0a, 0x09, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x1c, 0x2e, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2e, 0x6f, 0x64, 0x2e, 0x64, - 0x74, 0x6f, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x52, - 0x09, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x32, 0x9b, 0x02, 0x0a, 0x10, 0x43, - 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, - 0x7c, 0x0a, 0x11, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, - 0x54, 0x79, 0x70, 0x65, 0x12, 0x31, 0x2e, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2e, 0x6f, - 0x64, 0x2e, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x4c, - 0x69, 0x73, 0x74, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x32, 0x2e, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, - 0x31, 0x2e, 0x6f, 0x64, 0x2e, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x2e, 0x76, - 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x54, - 0x79, 0x70, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x88, 0x01, - 0x0a, 0x15, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, - 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x35, 0x2e, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, - 0x31, 0x2e, 0x6f, 0x64, 0x2e, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x2e, 0x76, - 0x31, 0x2e, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, - 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x36, - 0x2e, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2e, 0x6f, 0x64, 0x2e, 0x63, 0x6f, 0x6d, 0x70, - 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x62, - 0x65, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x3e, 0x5a, 0x3c, 0x67, 0x69, 0x74, 0x68, - 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2f, 0x6f, - 0x64, 0x69, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x67, 0x6f, - 0x2f, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2f, 0x6f, 0x64, 0x2f, 0x63, 0x6f, 0x6d, 0x70, - 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x2f, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_dream11_od_component_v1_component_proto_rawDescOnce sync.Once - file_dream11_od_component_v1_component_proto_rawDescData = file_dream11_od_component_v1_component_proto_rawDesc -) - -func file_dream11_od_component_v1_component_proto_rawDescGZIP() []byte { - file_dream11_od_component_v1_component_proto_rawDescOnce.Do(func() { - file_dream11_od_component_v1_component_proto_rawDescData = protoimpl.X.CompressGZIP(file_dream11_od_component_v1_component_proto_rawDescData) - }) - return file_dream11_od_component_v1_component_proto_rawDescData -} - -var file_dream11_od_component_v1_component_proto_msgTypes = make([]protoimpl.MessageInfo, 6) -var file_dream11_od_component_v1_component_proto_goTypes = []interface{}{ - (*ListComponentTypeRequest)(nil), // 0: dream11.od.component.v1.ListComponentTypeRequest - (*ListComponentTypeResponse)(nil), // 1: dream11.od.component.v1.ListComponentTypeResponse - (*DescribeComponentTypeRequest)(nil), // 2: dream11.od.component.v1.DescribeComponentTypeRequest - (*DescribeComponentTypeResponse)(nil), // 3: dream11.od.component.v1.DescribeComponentTypeResponse - nil, // 4: dream11.od.component.v1.ListComponentTypeRequest.ParamsEntry - nil, // 5: dream11.od.component.v1.DescribeComponentTypeRequest.ParamsEntry - (*v1.Component)(nil), // 6: dream11.od.dto.v1.Component -} -var file_dream11_od_component_v1_component_proto_depIdxs = []int32{ - 4, // 0: dream11.od.component.v1.ListComponentTypeRequest.params:type_name -> dream11.od.component.v1.ListComponentTypeRequest.ParamsEntry - 6, // 1: dream11.od.component.v1.ListComponentTypeResponse.components:type_name -> dream11.od.dto.v1.Component - 5, // 2: dream11.od.component.v1.DescribeComponentTypeRequest.params:type_name -> dream11.od.component.v1.DescribeComponentTypeRequest.ParamsEntry - 6, // 3: dream11.od.component.v1.DescribeComponentTypeResponse.component:type_name -> dream11.od.dto.v1.Component - 0, // 4: dream11.od.component.v1.ComponentService.ListComponentType:input_type -> dream11.od.component.v1.ListComponentTypeRequest - 2, // 5: dream11.od.component.v1.ComponentService.DescribeComponentType:input_type -> dream11.od.component.v1.DescribeComponentTypeRequest - 1, // 6: dream11.od.component.v1.ComponentService.ListComponentType:output_type -> dream11.od.component.v1.ListComponentTypeResponse - 3, // 7: dream11.od.component.v1.ComponentService.DescribeComponentType:output_type -> dream11.od.component.v1.DescribeComponentTypeResponse - 6, // [6:8] is the sub-list for method output_type - 4, // [4:6] 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_dream11_od_component_v1_component_proto_init() } -func file_dream11_od_component_v1_component_proto_init() { - if File_dream11_od_component_v1_component_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_dream11_od_component_v1_component_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListComponentTypeRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_dream11_od_component_v1_component_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListComponentTypeResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_dream11_od_component_v1_component_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DescribeComponentTypeRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_dream11_od_component_v1_component_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DescribeComponentTypeResponse); 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_dream11_od_component_v1_component_proto_rawDesc, - NumEnums: 0, - NumMessages: 6, - NumExtensions: 0, - NumServices: 1, - }, - GoTypes: file_dream11_od_component_v1_component_proto_goTypes, - DependencyIndexes: file_dream11_od_component_v1_component_proto_depIdxs, - MessageInfos: file_dream11_od_component_v1_component_proto_msgTypes, - }.Build() - File_dream11_od_component_v1_component_proto = out.File - file_dream11_od_component_v1_component_proto_rawDesc = nil - file_dream11_od_component_v1_component_proto_goTypes = nil - file_dream11_od_component_v1_component_proto_depIdxs = nil -} diff --git a/proto/gen/go/dream11/od/component/v1/component_grpc.pb.go b/proto/gen/go/dream11/od/component/v1/component_grpc.pb.go deleted file mode 100644 index 5989ad67..00000000 --- a/proto/gen/go/dream11/od/component/v1/component_grpc.pb.go +++ /dev/null @@ -1,146 +0,0 @@ -// Code generated by protoc-gen-go-grpc. DO NOT EDIT. -// versions: -// - protoc-gen-go-grpc v1.3.0 -// - protoc v5.26.1 -// source: dream11/od/component/v1/component.proto - -package v1 - -import ( - context "context" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/status" -) - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the grpc package it is being compiled against. -// Requires gRPC-Go v1.32.0 or later. -const _ = grpc.SupportPackageIsVersion7 - -const ( - ComponentService_ListComponentType_FullMethodName = "/dream11.od.component.v1.ComponentService/ListComponentType" - ComponentService_DescribeComponentType_FullMethodName = "/dream11.od.component.v1.ComponentService/DescribeComponentType" -) - -// ComponentServiceClient is the client API for ComponentService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. -type ComponentServiceClient interface { - ListComponentType(ctx context.Context, in *ListComponentTypeRequest, opts ...grpc.CallOption) (*ListComponentTypeResponse, error) - DescribeComponentType(ctx context.Context, in *DescribeComponentTypeRequest, opts ...grpc.CallOption) (*DescribeComponentTypeResponse, error) -} - -type componentServiceClient struct { - cc grpc.ClientConnInterface -} - -func NewComponentServiceClient(cc grpc.ClientConnInterface) ComponentServiceClient { - return &componentServiceClient{cc} -} - -func (c *componentServiceClient) ListComponentType(ctx context.Context, in *ListComponentTypeRequest, opts ...grpc.CallOption) (*ListComponentTypeResponse, error) { - out := new(ListComponentTypeResponse) - err := c.cc.Invoke(ctx, ComponentService_ListComponentType_FullMethodName, in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *componentServiceClient) DescribeComponentType(ctx context.Context, in *DescribeComponentTypeRequest, opts ...grpc.CallOption) (*DescribeComponentTypeResponse, error) { - out := new(DescribeComponentTypeResponse) - err := c.cc.Invoke(ctx, ComponentService_DescribeComponentType_FullMethodName, in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// ComponentServiceServer is the server API for ComponentService service. -// All implementations must embed UnimplementedComponentServiceServer -// for forward compatibility -type ComponentServiceServer interface { - ListComponentType(context.Context, *ListComponentTypeRequest) (*ListComponentTypeResponse, error) - DescribeComponentType(context.Context, *DescribeComponentTypeRequest) (*DescribeComponentTypeResponse, error) - mustEmbedUnimplementedComponentServiceServer() -} - -// UnimplementedComponentServiceServer must be embedded to have forward compatible implementations. -type UnimplementedComponentServiceServer struct { -} - -func (UnimplementedComponentServiceServer) ListComponentType(context.Context, *ListComponentTypeRequest) (*ListComponentTypeResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListComponentType not implemented") -} -func (UnimplementedComponentServiceServer) DescribeComponentType(context.Context, *DescribeComponentTypeRequest) (*DescribeComponentTypeResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method DescribeComponentType not implemented") -} -func (UnimplementedComponentServiceServer) mustEmbedUnimplementedComponentServiceServer() {} - -// UnsafeComponentServiceServer may be embedded to opt out of forward compatibility for this service. -// Use of this interface is not recommended, as added methods to ComponentServiceServer will -// result in compilation errors. -type UnsafeComponentServiceServer interface { - mustEmbedUnimplementedComponentServiceServer() -} - -func RegisterComponentServiceServer(s grpc.ServiceRegistrar, srv ComponentServiceServer) { - s.RegisterService(&ComponentService_ServiceDesc, srv) -} - -func _ComponentService_ListComponentType_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListComponentTypeRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ComponentServiceServer).ListComponentType(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: ComponentService_ListComponentType_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ComponentServiceServer).ListComponentType(ctx, req.(*ListComponentTypeRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ComponentService_DescribeComponentType_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DescribeComponentTypeRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ComponentServiceServer).DescribeComponentType(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: ComponentService_DescribeComponentType_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ComponentServiceServer).DescribeComponentType(ctx, req.(*DescribeComponentTypeRequest)) - } - return interceptor(ctx, in, info, handler) -} - -// ComponentService_ServiceDesc is the grpc.ServiceDesc for ComponentService service. -// It's only intended for direct use with grpc.RegisterService, -// and not to be introspected or modified (even as a copy) -var ComponentService_ServiceDesc = grpc.ServiceDesc{ - ServiceName: "dream11.od.component.v1.ComponentService", - HandlerType: (*ComponentServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "ListComponentType", - Handler: _ComponentService_ListComponentType_Handler, - }, - { - MethodName: "DescribeComponentType", - Handler: _ComponentService_DescribeComponentType_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "dream11/od/component/v1/component.proto", -} diff --git a/proto/gen/go/dream11/od/dto/v1/component.pb.go b/proto/gen/go/dream11/od/dto/v1/component.pb.go deleted file mode 100644 index 6b17f5c4..00000000 --- a/proto/gen/go/dream11/od/dto/v1/component.pb.go +++ /dev/null @@ -1,443 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.34.1 -// protoc v5.26.1 -// source: dream11/od/dto/v1/component.proto - -package v1 - -import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - structpb "google.golang.org/protobuf/types/known/structpb" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" -) - -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) -) - -type Component struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id *int64 `protobuf:"varint,1,opt,name=id,proto3,oneof" json:"id,omitempty"` - CreatedAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3,oneof" json:"created_at,omitempty"` - UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=updated_at,json=updatedAt,proto3,oneof" json:"updated_at,omitempty"` - ComponentType *string `protobuf:"bytes,6,opt,name=component_type,json=componentType,proto3,oneof" json:"component_type,omitempty"` - ComponentVersion *string `protobuf:"bytes,7,opt,name=component_version,json=componentVersion,proto3,oneof" json:"component_version,omitempty"` - CommonSchema *structpb.Struct `protobuf:"bytes,8,opt,name=common_schema,json=commonSchema,proto3,oneof" json:"common_schema,omitempty"` - CommonDefaults *structpb.Struct `protobuf:"bytes,9,opt,name=common_defaults,json=commonDefaults,proto3,oneof" json:"common_defaults,omitempty"` - Flavours []*Flavour `protobuf:"bytes,10,rep,name=flavours,proto3" json:"flavours,omitempty"` -} - -func (x *Component) Reset() { - *x = Component{} - if protoimpl.UnsafeEnabled { - mi := &file_dream11_od_dto_v1_component_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Component) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Component) ProtoMessage() {} - -func (x *Component) ProtoReflect() protoreflect.Message { - mi := &file_dream11_od_dto_v1_component_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 Component.ProtoReflect.Descriptor instead. -func (*Component) Descriptor() ([]byte, []int) { - return file_dream11_od_dto_v1_component_proto_rawDescGZIP(), []int{0} -} - -func (x *Component) GetId() int64 { - if x != nil && x.Id != nil { - return *x.Id - } - return 0 -} - -func (x *Component) GetCreatedAt() *timestamppb.Timestamp { - if x != nil { - return x.CreatedAt - } - return nil -} - -func (x *Component) GetUpdatedAt() *timestamppb.Timestamp { - if x != nil { - return x.UpdatedAt - } - return nil -} - -func (x *Component) GetComponentType() string { - if x != nil && x.ComponentType != nil { - return *x.ComponentType - } - return "" -} - -func (x *Component) GetComponentVersion() string { - if x != nil && x.ComponentVersion != nil { - return *x.ComponentVersion - } - return "" -} - -func (x *Component) GetCommonSchema() *structpb.Struct { - if x != nil { - return x.CommonSchema - } - return nil -} - -func (x *Component) GetCommonDefaults() *structpb.Struct { - if x != nil { - return x.CommonDefaults - } - return nil -} - -func (x *Component) GetFlavours() []*Flavour { - if x != nil { - return x.Flavours - } - return nil -} - -type Flavour struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Name *string `protobuf:"bytes,1,opt,name=name,proto3,oneof" json:"name,omitempty"` - Schema *structpb.Struct `protobuf:"bytes,2,opt,name=schema,proto3,oneof" json:"schema,omitempty"` - Defaults *structpb.Struct `protobuf:"bytes,3,opt,name=defaults,proto3,oneof" json:"defaults,omitempty"` - Operations []*Operation `protobuf:"bytes,4,rep,name=operations,proto3" json:"operations,omitempty"` -} - -func (x *Flavour) Reset() { - *x = Flavour{} - if protoimpl.UnsafeEnabled { - mi := &file_dream11_od_dto_v1_component_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Flavour) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Flavour) ProtoMessage() {} - -func (x *Flavour) ProtoReflect() protoreflect.Message { - mi := &file_dream11_od_dto_v1_component_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 Flavour.ProtoReflect.Descriptor instead. -func (*Flavour) Descriptor() ([]byte, []int) { - return file_dream11_od_dto_v1_component_proto_rawDescGZIP(), []int{1} -} - -func (x *Flavour) GetName() string { - if x != nil && x.Name != nil { - return *x.Name - } - return "" -} - -func (x *Flavour) GetSchema() *structpb.Struct { - if x != nil { - return x.Schema - } - return nil -} - -func (x *Flavour) GetDefaults() *structpb.Struct { - if x != nil { - return x.Defaults - } - return nil -} - -func (x *Flavour) GetOperations() []*Operation { - if x != nil { - return x.Operations - } - return nil -} - -type Operation struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Name *string `protobuf:"bytes,1,opt,name=name,proto3,oneof" json:"name,omitempty"` - Schema *structpb.Struct `protobuf:"bytes,2,opt,name=schema,proto3,oneof" json:"schema,omitempty"` - Defaults *structpb.Struct `protobuf:"bytes,3,opt,name=defaults,proto3,oneof" json:"defaults,omitempty"` -} - -func (x *Operation) Reset() { - *x = Operation{} - if protoimpl.UnsafeEnabled { - mi := &file_dream11_od_dto_v1_component_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Operation) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Operation) ProtoMessage() {} - -func (x *Operation) ProtoReflect() protoreflect.Message { - mi := &file_dream11_od_dto_v1_component_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 Operation.ProtoReflect.Descriptor instead. -func (*Operation) Descriptor() ([]byte, []int) { - return file_dream11_od_dto_v1_component_proto_rawDescGZIP(), []int{2} -} - -func (x *Operation) GetName() string { - if x != nil && x.Name != nil { - return *x.Name - } - return "" -} - -func (x *Operation) GetSchema() *structpb.Struct { - if x != nil { - return x.Schema - } - return nil -} - -func (x *Operation) GetDefaults() *structpb.Struct { - if x != nil { - return x.Defaults - } - return nil -} - -var File_dream11_od_dto_v1_component_proto protoreflect.FileDescriptor - -var file_dream11_od_dto_v1_component_proto_rawDesc = []byte{ - 0x0a, 0x21, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2f, 0x6f, 0x64, 0x2f, 0x64, 0x74, 0x6f, - 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x12, 0x11, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2e, 0x6f, 0x64, 0x2e, - 0x64, 0x74, 0x6f, 0x2e, 0x76, 0x31, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb4, 0x04, 0x0a, 0x09, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, - 0x65, 0x6e, 0x74, 0x12, 0x13, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x48, - 0x00, 0x52, 0x02, 0x69, 0x64, 0x88, 0x01, 0x01, 0x12, 0x3e, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, - 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, - 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, - 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x48, 0x01, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, - 0x74, 0x65, 0x64, 0x41, 0x74, 0x88, 0x01, 0x01, 0x12, 0x3e, 0x0a, 0x0a, 0x75, 0x70, 0x64, 0x61, - 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, - 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, - 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x48, 0x02, 0x52, 0x09, 0x75, 0x70, 0x64, 0x61, - 0x74, 0x65, 0x64, 0x41, 0x74, 0x88, 0x01, 0x01, 0x12, 0x2a, 0x0a, 0x0e, 0x63, 0x6f, 0x6d, 0x70, - 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, - 0x48, 0x03, 0x52, 0x0d, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, - 0x65, 0x88, 0x01, 0x01, 0x12, 0x30, 0x0a, 0x11, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, - 0x74, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x48, - 0x04, 0x52, 0x10, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x56, 0x65, 0x72, 0x73, - 0x69, 0x6f, 0x6e, 0x88, 0x01, 0x01, 0x12, 0x41, 0x0a, 0x0d, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, - 0x5f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, - 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, - 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x48, 0x05, 0x52, 0x0c, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, - 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x88, 0x01, 0x01, 0x12, 0x45, 0x0a, 0x0f, 0x63, 0x6f, 0x6d, - 0x6d, 0x6f, 0x6e, 0x5f, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x09, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x48, 0x06, 0x52, 0x0e, 0x63, - 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x88, 0x01, 0x01, - 0x12, 0x36, 0x0a, 0x08, 0x66, 0x6c, 0x61, 0x76, 0x6f, 0x75, 0x72, 0x73, 0x18, 0x0a, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2e, 0x6f, 0x64, 0x2e, - 0x64, 0x74, 0x6f, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x6c, 0x61, 0x76, 0x6f, 0x75, 0x72, 0x52, 0x08, - 0x66, 0x6c, 0x61, 0x76, 0x6f, 0x75, 0x72, 0x73, 0x42, 0x05, 0x0a, 0x03, 0x5f, 0x69, 0x64, 0x42, - 0x0d, 0x0a, 0x0b, 0x5f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x42, 0x0d, - 0x0a, 0x0b, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x42, 0x11, 0x0a, - 0x0f, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, - 0x42, 0x14, 0x0a, 0x12, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x5f, 0x76, - 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x42, 0x10, 0x0a, 0x0e, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, - 0x6e, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x42, 0x12, 0x0a, 0x10, 0x5f, 0x63, 0x6f, 0x6d, - 0x6d, 0x6f, 0x6e, 0x5f, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x22, 0xf1, 0x01, 0x0a, - 0x07, 0x46, 0x6c, 0x61, 0x76, 0x6f, 0x75, 0x72, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x88, 0x01, - 0x01, 0x12, 0x34, 0x0a, 0x06, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x48, 0x01, 0x52, 0x06, 0x73, 0x63, - 0x68, 0x65, 0x6d, 0x61, 0x88, 0x01, 0x01, 0x12, 0x38, 0x0a, 0x08, 0x64, 0x65, 0x66, 0x61, 0x75, - 0x6c, 0x74, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, - 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, - 0x63, 0x74, 0x48, 0x02, 0x52, 0x08, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x88, 0x01, - 0x01, 0x12, 0x3c, 0x0a, 0x0a, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, - 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2e, - 0x6f, 0x64, 0x2e, 0x64, 0x74, 0x6f, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x42, - 0x07, 0x0a, 0x05, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x73, 0x63, 0x68, - 0x65, 0x6d, 0x61, 0x42, 0x0b, 0x0a, 0x09, 0x5f, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, - 0x22, 0xb5, 0x01, 0x0a, 0x09, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x17, - 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x04, - 0x6e, 0x61, 0x6d, 0x65, 0x88, 0x01, 0x01, 0x12, 0x34, 0x0a, 0x06, 0x73, 0x63, 0x68, 0x65, 0x6d, - 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, - 0x48, 0x01, 0x52, 0x06, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x88, 0x01, 0x01, 0x12, 0x38, 0x0a, - 0x08, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, - 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x48, 0x02, 0x52, 0x08, 0x64, 0x65, 0x66, 0x61, - 0x75, 0x6c, 0x74, 0x73, 0x88, 0x01, 0x01, 0x42, 0x07, 0x0a, 0x05, 0x5f, 0x6e, 0x61, 0x6d, 0x65, - 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x42, 0x0b, 0x0a, 0x09, 0x5f, - 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x42, 0x38, 0x5a, 0x36, 0x67, 0x69, 0x74, 0x68, - 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2f, 0x6f, - 0x64, 0x69, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x67, 0x6f, - 0x2f, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2f, 0x6f, 0x64, 0x2f, 0x64, 0x74, 0x6f, 0x2f, - 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_dream11_od_dto_v1_component_proto_rawDescOnce sync.Once - file_dream11_od_dto_v1_component_proto_rawDescData = file_dream11_od_dto_v1_component_proto_rawDesc -) - -func file_dream11_od_dto_v1_component_proto_rawDescGZIP() []byte { - file_dream11_od_dto_v1_component_proto_rawDescOnce.Do(func() { - file_dream11_od_dto_v1_component_proto_rawDescData = protoimpl.X.CompressGZIP(file_dream11_od_dto_v1_component_proto_rawDescData) - }) - return file_dream11_od_dto_v1_component_proto_rawDescData -} - -var file_dream11_od_dto_v1_component_proto_msgTypes = make([]protoimpl.MessageInfo, 3) -var file_dream11_od_dto_v1_component_proto_goTypes = []interface{}{ - (*Component)(nil), // 0: dream11.od.dto.v1.Component - (*Flavour)(nil), // 1: dream11.od.dto.v1.Flavour - (*Operation)(nil), // 2: dream11.od.dto.v1.Operation - (*timestamppb.Timestamp)(nil), // 3: google.protobuf.Timestamp - (*structpb.Struct)(nil), // 4: google.protobuf.Struct -} -var file_dream11_od_dto_v1_component_proto_depIdxs = []int32{ - 3, // 0: dream11.od.dto.v1.Component.created_at:type_name -> google.protobuf.Timestamp - 3, // 1: dream11.od.dto.v1.Component.updated_at:type_name -> google.protobuf.Timestamp - 4, // 2: dream11.od.dto.v1.Component.common_schema:type_name -> google.protobuf.Struct - 4, // 3: dream11.od.dto.v1.Component.common_defaults:type_name -> google.protobuf.Struct - 1, // 4: dream11.od.dto.v1.Component.flavours:type_name -> dream11.od.dto.v1.Flavour - 4, // 5: dream11.od.dto.v1.Flavour.schema:type_name -> google.protobuf.Struct - 4, // 6: dream11.od.dto.v1.Flavour.defaults:type_name -> google.protobuf.Struct - 2, // 7: dream11.od.dto.v1.Flavour.operations:type_name -> dream11.od.dto.v1.Operation - 4, // 8: dream11.od.dto.v1.Operation.schema:type_name -> google.protobuf.Struct - 4, // 9: dream11.od.dto.v1.Operation.defaults:type_name -> google.protobuf.Struct - 10, // [10:10] is the sub-list for method output_type - 10, // [10:10] is the sub-list for method input_type - 10, // [10:10] is the sub-list for extension type_name - 10, // [10:10] is the sub-list for extension extendee - 0, // [0:10] is the sub-list for field type_name -} - -func init() { file_dream11_od_dto_v1_component_proto_init() } -func file_dream11_od_dto_v1_component_proto_init() { - if File_dream11_od_dto_v1_component_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_dream11_od_dto_v1_component_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Component); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_dream11_od_dto_v1_component_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Flavour); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_dream11_od_dto_v1_component_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Operation); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_dream11_od_dto_v1_component_proto_msgTypes[0].OneofWrappers = []interface{}{} - file_dream11_od_dto_v1_component_proto_msgTypes[1].OneofWrappers = []interface{}{} - file_dream11_od_dto_v1_component_proto_msgTypes[2].OneofWrappers = []interface{}{} - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_dream11_od_dto_v1_component_proto_rawDesc, - NumEnums: 0, - NumMessages: 3, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_dream11_od_dto_v1_component_proto_goTypes, - DependencyIndexes: file_dream11_od_dto_v1_component_proto_depIdxs, - MessageInfos: file_dream11_od_dto_v1_component_proto_msgTypes, - }.Build() - File_dream11_od_dto_v1_component_proto = out.File - file_dream11_od_dto_v1_component_proto_rawDesc = nil - file_dream11_od_dto_v1_component_proto_goTypes = nil - file_dream11_od_dto_v1_component_proto_depIdxs = nil -} diff --git a/proto/gen/go/dream11/od/dto/v1/component_task.pb.go b/proto/gen/go/dream11/od/dto/v1/component_task.pb.go deleted file mode 100644 index 41778f2d..00000000 --- a/proto/gen/go/dream11/od/dto/v1/component_task.pb.go +++ /dev/null @@ -1,273 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.34.1 -// protoc v5.26.1 -// source: dream11/od/dto/v1/component_task.proto - -package v1 - -import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - structpb "google.golang.org/protobuf/types/known/structpb" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" -) - -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) -) - -type ComponentTask struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id *int64 `protobuf:"varint,1,opt,name=id,proto3,oneof" json:"id,omitempty"` - CreatedAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3,oneof" json:"created_at,omitempty"` - UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=updated_at,json=updatedAt,proto3,oneof" json:"updated_at,omitempty"` - CreatedBy *int64 `protobuf:"varint,4,opt,name=created_by,json=createdBy,proto3,oneof" json:"created_by,omitempty"` - OrgId *int64 `protobuf:"varint,6,opt,name=org_id,json=orgId,proto3,oneof" json:"org_id,omitempty"` - Name *string `protobuf:"bytes,7,opt,name=name,proto3,oneof" json:"name,omitempty"` - Version *string `protobuf:"bytes,8,opt,name=version,proto3,oneof" json:"version,omitempty"` - Type *string `protobuf:"bytes,9,opt,name=type,proto3,oneof" json:"type,omitempty"` - Status *string `protobuf:"bytes,10,opt,name=status,proto3,oneof" json:"status,omitempty"` - ServiceDeploymentId *int64 `protobuf:"varint,11,opt,name=service_deployment_id,json=serviceDeploymentId,proto3,oneof" json:"service_deployment_id,omitempty"` - Config *structpb.Struct `protobuf:"bytes,12,opt,name=config,proto3,oneof" json:"config,omitempty"` -} - -func (x *ComponentTask) Reset() { - *x = ComponentTask{} - if protoimpl.UnsafeEnabled { - mi := &file_dream11_od_dto_v1_component_task_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ComponentTask) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ComponentTask) ProtoMessage() {} - -func (x *ComponentTask) ProtoReflect() protoreflect.Message { - mi := &file_dream11_od_dto_v1_component_task_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 ComponentTask.ProtoReflect.Descriptor instead. -func (*ComponentTask) Descriptor() ([]byte, []int) { - return file_dream11_od_dto_v1_component_task_proto_rawDescGZIP(), []int{0} -} - -func (x *ComponentTask) GetId() int64 { - if x != nil && x.Id != nil { - return *x.Id - } - return 0 -} - -func (x *ComponentTask) GetCreatedAt() *timestamppb.Timestamp { - if x != nil { - return x.CreatedAt - } - return nil -} - -func (x *ComponentTask) GetUpdatedAt() *timestamppb.Timestamp { - if x != nil { - return x.UpdatedAt - } - return nil -} - -func (x *ComponentTask) GetCreatedBy() int64 { - if x != nil && x.CreatedBy != nil { - return *x.CreatedBy - } - return 0 -} - -func (x *ComponentTask) GetOrgId() int64 { - if x != nil && x.OrgId != nil { - return *x.OrgId - } - return 0 -} - -func (x *ComponentTask) GetName() string { - if x != nil && x.Name != nil { - return *x.Name - } - return "" -} - -func (x *ComponentTask) GetVersion() string { - if x != nil && x.Version != nil { - return *x.Version - } - return "" -} - -func (x *ComponentTask) GetType() string { - if x != nil && x.Type != nil { - return *x.Type - } - return "" -} - -func (x *ComponentTask) GetStatus() string { - if x != nil && x.Status != nil { - return *x.Status - } - return "" -} - -func (x *ComponentTask) GetServiceDeploymentId() int64 { - if x != nil && x.ServiceDeploymentId != nil { - return *x.ServiceDeploymentId - } - return 0 -} - -func (x *ComponentTask) GetConfig() *structpb.Struct { - if x != nil { - return x.Config - } - return nil -} - -var File_dream11_od_dto_v1_component_task_proto protoreflect.FileDescriptor - -var file_dream11_od_dto_v1_component_task_proto_rawDesc = []byte{ - 0x0a, 0x26, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2f, 0x6f, 0x64, 0x2f, 0x64, 0x74, 0x6f, - 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x61, - 0x73, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x11, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, - 0x31, 0x2e, 0x6f, 0x64, 0x2e, 0x64, 0x74, 0x6f, 0x2e, 0x76, 0x31, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, - 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x73, 0x74, 0x72, - 0x75, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, - 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, - 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xce, 0x04, 0x0a, 0x0d, 0x43, - 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x13, 0x0a, 0x02, - 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x48, 0x00, 0x52, 0x02, 0x69, 0x64, 0x88, 0x01, - 0x01, 0x12, 0x3e, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, - 0x70, 0x48, 0x01, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x88, 0x01, - 0x01, 0x12, 0x3e, 0x0a, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, - 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, - 0x70, 0x48, 0x02, 0x52, 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x88, 0x01, - 0x01, 0x12, 0x22, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x62, 0x79, 0x18, - 0x04, 0x20, 0x01, 0x28, 0x03, 0x48, 0x03, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, - 0x42, 0x79, 0x88, 0x01, 0x01, 0x12, 0x1a, 0x0a, 0x06, 0x6f, 0x72, 0x67, 0x5f, 0x69, 0x64, 0x18, - 0x06, 0x20, 0x01, 0x28, 0x03, 0x48, 0x04, 0x52, 0x05, 0x6f, 0x72, 0x67, 0x49, 0x64, 0x88, 0x01, - 0x01, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x48, - 0x05, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x88, 0x01, 0x01, 0x12, 0x1d, 0x0a, 0x07, 0x76, 0x65, - 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x48, 0x06, 0x52, 0x07, 0x76, - 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x88, 0x01, 0x01, 0x12, 0x17, 0x0a, 0x04, 0x74, 0x79, 0x70, - 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x48, 0x07, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x88, - 0x01, 0x01, 0x12, 0x1b, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x0a, 0x20, 0x01, - 0x28, 0x09, 0x48, 0x08, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x88, 0x01, 0x01, 0x12, - 0x37, 0x0a, 0x15, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x64, 0x65, 0x70, 0x6c, 0x6f, - 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x03, 0x48, 0x09, - 0x52, 0x13, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x44, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, - 0x65, 0x6e, 0x74, 0x49, 0x64, 0x88, 0x01, 0x01, 0x12, 0x34, 0x0a, 0x06, 0x63, 0x6f, 0x6e, 0x66, - 0x69, 0x67, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, - 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, - 0x74, 0x48, 0x0a, 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x88, 0x01, 0x01, 0x42, 0x05, - 0x0a, 0x03, 0x5f, 0x69, 0x64, 0x42, 0x0d, 0x0a, 0x0b, 0x5f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, - 0x64, 0x5f, 0x61, 0x74, 0x42, 0x0d, 0x0a, 0x0b, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, - 0x5f, 0x61, 0x74, 0x42, 0x0d, 0x0a, 0x0b, 0x5f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, - 0x62, 0x79, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x6f, 0x72, 0x67, 0x5f, 0x69, 0x64, 0x42, 0x07, 0x0a, - 0x05, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x42, 0x0a, 0x0a, 0x08, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, - 0x6f, 0x6e, 0x42, 0x07, 0x0a, 0x05, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x42, 0x09, 0x0a, 0x07, 0x5f, - 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x42, 0x18, 0x0a, 0x16, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, - 0x63, 0x65, 0x5f, 0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, - 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x42, 0x38, 0x5a, 0x36, 0x67, - 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, - 0x31, 0x2f, 0x6f, 0x64, 0x69, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x65, 0x6e, - 0x2f, 0x67, 0x6f, 0x2f, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2f, 0x6f, 0x64, 0x2f, 0x64, - 0x74, 0x6f, 0x2f, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_dream11_od_dto_v1_component_task_proto_rawDescOnce sync.Once - file_dream11_od_dto_v1_component_task_proto_rawDescData = file_dream11_od_dto_v1_component_task_proto_rawDesc -) - -func file_dream11_od_dto_v1_component_task_proto_rawDescGZIP() []byte { - file_dream11_od_dto_v1_component_task_proto_rawDescOnce.Do(func() { - file_dream11_od_dto_v1_component_task_proto_rawDescData = protoimpl.X.CompressGZIP(file_dream11_od_dto_v1_component_task_proto_rawDescData) - }) - return file_dream11_od_dto_v1_component_task_proto_rawDescData -} - -var file_dream11_od_dto_v1_component_task_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_dream11_od_dto_v1_component_task_proto_goTypes = []interface{}{ - (*ComponentTask)(nil), // 0: dream11.od.dto.v1.ComponentTask - (*timestamppb.Timestamp)(nil), // 1: google.protobuf.Timestamp - (*structpb.Struct)(nil), // 2: google.protobuf.Struct -} -var file_dream11_od_dto_v1_component_task_proto_depIdxs = []int32{ - 1, // 0: dream11.od.dto.v1.ComponentTask.created_at:type_name -> google.protobuf.Timestamp - 1, // 1: dream11.od.dto.v1.ComponentTask.updated_at:type_name -> google.protobuf.Timestamp - 2, // 2: dream11.od.dto.v1.ComponentTask.config:type_name -> google.protobuf.Struct - 3, // [3:3] is the sub-list for method output_type - 3, // [3:3] is the sub-list for method input_type - 3, // [3:3] is the sub-list for extension type_name - 3, // [3:3] is the sub-list for extension extendee - 0, // [0:3] is the sub-list for field type_name -} - -func init() { file_dream11_od_dto_v1_component_task_proto_init() } -func file_dream11_od_dto_v1_component_task_proto_init() { - if File_dream11_od_dto_v1_component_task_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_dream11_od_dto_v1_component_task_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ComponentTask); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_dream11_od_dto_v1_component_task_proto_msgTypes[0].OneofWrappers = []interface{}{} - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_dream11_od_dto_v1_component_task_proto_rawDesc, - NumEnums: 0, - NumMessages: 1, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_dream11_od_dto_v1_component_task_proto_goTypes, - DependencyIndexes: file_dream11_od_dto_v1_component_task_proto_depIdxs, - MessageInfos: file_dream11_od_dto_v1_component_task_proto_msgTypes, - }.Build() - File_dream11_od_dto_v1_component_task_proto = out.File - file_dream11_od_dto_v1_component_task_proto_rawDesc = nil - file_dream11_od_dto_v1_component_task_proto_goTypes = nil - file_dream11_od_dto_v1_component_task_proto_depIdxs = nil -} diff --git a/proto/gen/go/dream11/od/dto/v1/environment.pb.go b/proto/gen/go/dream11/od/dto/v1/environment.pb.go deleted file mode 100644 index 028e83df..00000000 --- a/proto/gen/go/dream11/od/dto/v1/environment.pb.go +++ /dev/null @@ -1,469 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.34.1 -// protoc v5.26.1 -// source: dream11/od/dto/v1/environment.proto - -package v1 - -import ( - v1 "github.com/dream11/odin/proto/gen/go/dream11/oam/provideraccount/v1" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" -) - -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) -) - -type Environment struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id *int64 `protobuf:"varint,1,opt,name=id,proto3,oneof" json:"id,omitempty"` - CreatedAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3,oneof" json:"created_at,omitempty"` - UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=updated_at,json=updatedAt,proto3,oneof" json:"updated_at,omitempty"` - CreatedBy *string `protobuf:"bytes,4,opt,name=created_by,json=createdBy,proto3,oneof" json:"created_by,omitempty"` - Version *int32 `protobuf:"varint,5,opt,name=version,proto3,oneof" json:"version,omitempty"` - OrgId *int64 `protobuf:"varint,6,opt,name=org_id,json=orgId,proto3,oneof" json:"org_id,omitempty"` - Name *string `protobuf:"bytes,8,opt,name=name,proto3,oneof" json:"name,omitempty"` - Status *string `protobuf:"bytes,10,opt,name=status,proto3,oneof" json:"status,omitempty"` - AutoDeletionTime *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=auto_deletion_time,json=autoDeletionTime,proto3,oneof" json:"auto_deletion_time,omitempty"` - Services []*ServiceTask `protobuf:"bytes,12,rep,name=services,proto3" json:"services,omitempty"` - AccountInformation []*AccountInformation `protobuf:"bytes,13,rep,name=account_information,json=accountInformation,proto3" json:"account_information,omitempty"` - UpdatedBy *string `protobuf:"bytes,14,opt,name=updated_by,json=updatedBy,proto3,oneof" json:"updated_by,omitempty"` -} - -func (x *Environment) Reset() { - *x = Environment{} - if protoimpl.UnsafeEnabled { - mi := &file_dream11_od_dto_v1_environment_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Environment) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Environment) ProtoMessage() {} - -func (x *Environment) ProtoReflect() protoreflect.Message { - mi := &file_dream11_od_dto_v1_environment_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 Environment.ProtoReflect.Descriptor instead. -func (*Environment) Descriptor() ([]byte, []int) { - return file_dream11_od_dto_v1_environment_proto_rawDescGZIP(), []int{0} -} - -func (x *Environment) GetId() int64 { - if x != nil && x.Id != nil { - return *x.Id - } - return 0 -} - -func (x *Environment) GetCreatedAt() *timestamppb.Timestamp { - if x != nil { - return x.CreatedAt - } - return nil -} - -func (x *Environment) GetUpdatedAt() *timestamppb.Timestamp { - if x != nil { - return x.UpdatedAt - } - return nil -} - -func (x *Environment) GetCreatedBy() string { - if x != nil && x.CreatedBy != nil { - return *x.CreatedBy - } - return "" -} - -func (x *Environment) GetVersion() int32 { - if x != nil && x.Version != nil { - return *x.Version - } - return 0 -} - -func (x *Environment) GetOrgId() int64 { - if x != nil && x.OrgId != nil { - return *x.OrgId - } - return 0 -} - -func (x *Environment) GetName() string { - if x != nil && x.Name != nil { - return *x.Name - } - return "" -} - -func (x *Environment) GetStatus() string { - if x != nil && x.Status != nil { - return *x.Status - } - return "" -} - -func (x *Environment) GetAutoDeletionTime() *timestamppb.Timestamp { - if x != nil { - return x.AutoDeletionTime - } - return nil -} - -func (x *Environment) GetServices() []*ServiceTask { - if x != nil { - return x.Services - } - return nil -} - -func (x *Environment) GetAccountInformation() []*AccountInformation { - if x != nil { - return x.AccountInformation - } - return nil -} - -func (x *Environment) GetUpdatedBy() string { - if x != nil && x.UpdatedBy != nil { - return *x.UpdatedBy - } - return "" -} - -type AccountInformation struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ProviderAccountName string `protobuf:"bytes,1,opt,name=provider_account_name,json=providerAccountName,proto3" json:"provider_account_name,omitempty"` - ServiceAccountsSnapshot *v1.GetProviderAccountResponse `protobuf:"bytes,2,opt,name=service_accounts_snapshot,json=serviceAccountsSnapshot,proto3" json:"service_accounts_snapshot,omitempty"` - Status string `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"` -} - -func (x *AccountInformation) Reset() { - *x = AccountInformation{} - if protoimpl.UnsafeEnabled { - mi := &file_dream11_od_dto_v1_environment_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *AccountInformation) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*AccountInformation) ProtoMessage() {} - -func (x *AccountInformation) ProtoReflect() protoreflect.Message { - mi := &file_dream11_od_dto_v1_environment_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 AccountInformation.ProtoReflect.Descriptor instead. -func (*AccountInformation) Descriptor() ([]byte, []int) { - return file_dream11_od_dto_v1_environment_proto_rawDescGZIP(), []int{1} -} - -func (x *AccountInformation) GetProviderAccountName() string { - if x != nil { - return x.ProviderAccountName - } - return "" -} - -func (x *AccountInformation) GetServiceAccountsSnapshot() *v1.GetProviderAccountResponse { - if x != nil { - return x.ServiceAccountsSnapshot - } - return nil -} - -func (x *AccountInformation) GetStatus() string { - if x != nil { - return x.Status - } - return "" -} - -type EnvironmentSummary struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - Account string `protobuf:"bytes,2,opt,name=account,proto3" json:"account,omitempty"` - State string `protobuf:"bytes,3,opt,name=state,proto3" json:"state,omitempty"` -} - -func (x *EnvironmentSummary) Reset() { - *x = EnvironmentSummary{} - if protoimpl.UnsafeEnabled { - mi := &file_dream11_od_dto_v1_environment_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *EnvironmentSummary) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*EnvironmentSummary) ProtoMessage() {} - -func (x *EnvironmentSummary) ProtoReflect() protoreflect.Message { - mi := &file_dream11_od_dto_v1_environment_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 EnvironmentSummary.ProtoReflect.Descriptor instead. -func (*EnvironmentSummary) Descriptor() ([]byte, []int) { - return file_dream11_od_dto_v1_environment_proto_rawDescGZIP(), []int{2} -} - -func (x *EnvironmentSummary) GetName() string { - if x != nil { - return x.Name - } - return "" -} - -func (x *EnvironmentSummary) GetAccount() string { - if x != nil { - return x.Account - } - return "" -} - -func (x *EnvironmentSummary) GetState() string { - if x != nil { - return x.State - } - return "" -} - -var File_dream11_od_dto_v1_environment_proto protoreflect.FileDescriptor - -var file_dream11_od_dto_v1_environment_proto_rawDesc = []byte{ - 0x0a, 0x23, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2f, 0x6f, 0x64, 0x2f, 0x64, 0x74, 0x6f, - 0x2f, 0x76, 0x31, 0x2f, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x11, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2e, 0x6f, - 0x64, 0x2e, 0x64, 0x74, 0x6f, 0x2e, 0x76, 0x31, 0x1a, 0x35, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, - 0x31, 0x2f, 0x6f, 0x61, 0x6d, 0x2f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x61, 0x63, - 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, - 0x72, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, - 0x24, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2f, 0x6f, 0x64, 0x2f, 0x64, 0x74, 0x6f, 0x2f, - 0x76, 0x31, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x74, 0x61, 0x73, 0x6b, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xc3, 0x05, 0x0a, 0x0b, 0x45, 0x6e, 0x76, 0x69, 0x72, - 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x13, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x03, 0x48, 0x00, 0x52, 0x02, 0x69, 0x64, 0x88, 0x01, 0x01, 0x12, 0x3e, 0x0a, 0x0a, 0x63, - 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, - 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x48, 0x01, 0x52, 0x09, 0x63, - 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x88, 0x01, 0x01, 0x12, 0x3e, 0x0a, 0x0a, 0x75, - 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, - 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x48, 0x02, 0x52, 0x09, 0x75, - 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x88, 0x01, 0x01, 0x12, 0x22, 0x0a, 0x0a, 0x63, - 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x62, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x48, - 0x03, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x42, 0x79, 0x88, 0x01, 0x01, 0x12, - 0x1d, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, - 0x48, 0x04, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x88, 0x01, 0x01, 0x12, 0x1a, - 0x0a, 0x06, 0x6f, 0x72, 0x67, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x48, 0x05, - 0x52, 0x05, 0x6f, 0x72, 0x67, 0x49, 0x64, 0x88, 0x01, 0x01, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, - 0x6d, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x48, 0x06, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, - 0x88, 0x01, 0x01, 0x12, 0x1b, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x0a, 0x20, - 0x01, 0x28, 0x09, 0x48, 0x07, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x88, 0x01, 0x01, - 0x12, 0x4d, 0x0a, 0x12, 0x61, 0x75, 0x74, 0x6f, 0x5f, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x69, 0x6f, - 0x6e, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, - 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, - 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x48, 0x08, 0x52, 0x10, 0x61, 0x75, 0x74, 0x6f, - 0x44, 0x65, 0x6c, 0x65, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x88, 0x01, 0x01, 0x12, - 0x3a, 0x0a, 0x08, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x18, 0x0c, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x1e, 0x2e, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2e, 0x6f, 0x64, 0x2e, 0x64, - 0x74, 0x6f, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x54, 0x61, 0x73, - 0x6b, 0x52, 0x08, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x12, 0x56, 0x0a, 0x13, 0x61, - 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x18, 0x0d, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x64, 0x72, 0x65, 0x61, 0x6d, - 0x31, 0x31, 0x2e, 0x6f, 0x64, 0x2e, 0x64, 0x74, 0x6f, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x63, 0x63, - 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, - 0x12, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x12, 0x22, 0x0a, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x62, - 0x79, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x09, 0x48, 0x09, 0x52, 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, - 0x65, 0x64, 0x42, 0x79, 0x88, 0x01, 0x01, 0x42, 0x05, 0x0a, 0x03, 0x5f, 0x69, 0x64, 0x42, 0x0d, - 0x0a, 0x0b, 0x5f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x42, 0x0d, 0x0a, - 0x0b, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x42, 0x0d, 0x0a, 0x0b, - 0x5f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x62, 0x79, 0x42, 0x0a, 0x0a, 0x08, 0x5f, - 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x6f, 0x72, 0x67, 0x5f, - 0x69, 0x64, 0x42, 0x07, 0x0a, 0x05, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x42, 0x09, 0x0a, 0x07, 0x5f, - 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x42, 0x15, 0x0a, 0x13, 0x5f, 0x61, 0x75, 0x74, 0x6f, 0x5f, - 0x64, 0x65, 0x6c, 0x65, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x42, 0x0d, 0x0a, - 0x0b, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x62, 0x79, 0x22, 0xd8, 0x01, 0x0a, - 0x12, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x12, 0x32, 0x0a, 0x15, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x5f, - 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x13, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x41, 0x63, 0x63, 0x6f, - 0x75, 0x6e, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x76, 0x0a, 0x19, 0x73, 0x65, 0x72, 0x76, 0x69, - 0x63, 0x65, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x5f, 0x73, 0x6e, 0x61, 0x70, - 0x73, 0x68, 0x6f, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3a, 0x2e, 0x64, 0x72, 0x65, - 0x61, 0x6d, 0x31, 0x31, 0x2e, 0x6f, 0x61, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, - 0x72, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x50, - 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x17, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, - 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x12, - 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x58, 0x0a, 0x12, 0x45, 0x6e, 0x76, 0x69, 0x72, - 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x12, 0x12, 0x0a, - 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, - 0x65, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x07, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x73, - 0x74, 0x61, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, - 0x65, 0x42, 0x38, 0x5a, 0x36, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, - 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2f, 0x6f, 0x64, 0x69, 0x6e, 0x2f, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x67, 0x6f, 0x2f, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, - 0x31, 0x2f, 0x6f, 0x64, 0x2f, 0x64, 0x74, 0x6f, 0x2f, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x33, -} - -var ( - file_dream11_od_dto_v1_environment_proto_rawDescOnce sync.Once - file_dream11_od_dto_v1_environment_proto_rawDescData = file_dream11_od_dto_v1_environment_proto_rawDesc -) - -func file_dream11_od_dto_v1_environment_proto_rawDescGZIP() []byte { - file_dream11_od_dto_v1_environment_proto_rawDescOnce.Do(func() { - file_dream11_od_dto_v1_environment_proto_rawDescData = protoimpl.X.CompressGZIP(file_dream11_od_dto_v1_environment_proto_rawDescData) - }) - return file_dream11_od_dto_v1_environment_proto_rawDescData -} - -var file_dream11_od_dto_v1_environment_proto_msgTypes = make([]protoimpl.MessageInfo, 3) -var file_dream11_od_dto_v1_environment_proto_goTypes = []interface{}{ - (*Environment)(nil), // 0: dream11.od.dto.v1.Environment - (*AccountInformation)(nil), // 1: dream11.od.dto.v1.AccountInformation - (*EnvironmentSummary)(nil), // 2: dream11.od.dto.v1.EnvironmentSummary - (*timestamppb.Timestamp)(nil), // 3: google.protobuf.Timestamp - (*ServiceTask)(nil), // 4: dream11.od.dto.v1.ServiceTask - (*v1.GetProviderAccountResponse)(nil), // 5: dream11.oam.provideraccount.v1.GetProviderAccountResponse -} -var file_dream11_od_dto_v1_environment_proto_depIdxs = []int32{ - 3, // 0: dream11.od.dto.v1.Environment.created_at:type_name -> google.protobuf.Timestamp - 3, // 1: dream11.od.dto.v1.Environment.updated_at:type_name -> google.protobuf.Timestamp - 3, // 2: dream11.od.dto.v1.Environment.auto_deletion_time:type_name -> google.protobuf.Timestamp - 4, // 3: dream11.od.dto.v1.Environment.services:type_name -> dream11.od.dto.v1.ServiceTask - 1, // 4: dream11.od.dto.v1.Environment.account_information:type_name -> dream11.od.dto.v1.AccountInformation - 5, // 5: dream11.od.dto.v1.AccountInformation.service_accounts_snapshot:type_name -> dream11.oam.provideraccount.v1.GetProviderAccountResponse - 6, // [6:6] is the sub-list for method output_type - 6, // [6:6] is the sub-list for method input_type - 6, // [6:6] is the sub-list for extension type_name - 6, // [6:6] is the sub-list for extension extendee - 0, // [0:6] is the sub-list for field type_name -} - -func init() { file_dream11_od_dto_v1_environment_proto_init() } -func file_dream11_od_dto_v1_environment_proto_init() { - if File_dream11_od_dto_v1_environment_proto != nil { - return - } - file_dream11_od_dto_v1_service_task_proto_init() - if !protoimpl.UnsafeEnabled { - file_dream11_od_dto_v1_environment_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Environment); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_dream11_od_dto_v1_environment_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AccountInformation); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_dream11_od_dto_v1_environment_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EnvironmentSummary); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_dream11_od_dto_v1_environment_proto_msgTypes[0].OneofWrappers = []interface{}{} - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_dream11_od_dto_v1_environment_proto_rawDesc, - NumEnums: 0, - NumMessages: 3, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_dream11_od_dto_v1_environment_proto_goTypes, - DependencyIndexes: file_dream11_od_dto_v1_environment_proto_depIdxs, - MessageInfos: file_dream11_od_dto_v1_environment_proto_msgTypes, - }.Build() - File_dream11_od_dto_v1_environment_proto = out.File - file_dream11_od_dto_v1_environment_proto_rawDesc = nil - file_dream11_od_dto_v1_environment_proto_goTypes = nil - file_dream11_od_dto_v1_environment_proto_depIdxs = nil -} diff --git a/proto/gen/go/dream11/od/dto/v1/provisioning_type.pb.go b/proto/gen/go/dream11/od/dto/v1/provisioning_type.pb.go deleted file mode 100644 index 4f70b6ae..00000000 --- a/proto/gen/go/dream11/od/dto/v1/provisioning_type.pb.go +++ /dev/null @@ -1,147 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.34.1 -// protoc v5.26.1 -// source: dream11/od/dto/v1/provisioning_type.proto - -package v1 - -import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" -) - -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) -) - -type ProvisioningType struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` -} - -func (x *ProvisioningType) Reset() { - *x = ProvisioningType{} - if protoimpl.UnsafeEnabled { - mi := &file_dream11_od_dto_v1_provisioning_type_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ProvisioningType) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ProvisioningType) ProtoMessage() {} - -func (x *ProvisioningType) ProtoReflect() protoreflect.Message { - mi := &file_dream11_od_dto_v1_provisioning_type_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 ProvisioningType.ProtoReflect.Descriptor instead. -func (*ProvisioningType) Descriptor() ([]byte, []int) { - return file_dream11_od_dto_v1_provisioning_type_proto_rawDescGZIP(), []int{0} -} - -func (x *ProvisioningType) GetName() string { - if x != nil { - return x.Name - } - return "" -} - -var File_dream11_od_dto_v1_provisioning_type_proto protoreflect.FileDescriptor - -var file_dream11_od_dto_v1_provisioning_type_proto_rawDesc = []byte{ - 0x0a, 0x29, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2f, 0x6f, 0x64, 0x2f, 0x64, 0x74, 0x6f, - 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, - 0x5f, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x11, 0x64, 0x72, 0x65, - 0x61, 0x6d, 0x31, 0x31, 0x2e, 0x6f, 0x64, 0x2e, 0x64, 0x74, 0x6f, 0x2e, 0x76, 0x31, 0x22, 0x26, - 0x0a, 0x10, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x54, 0x79, - 0x70, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x42, 0x38, 0x5a, 0x36, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, - 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2f, 0x6f, 0x64, 0x69, - 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x67, 0x6f, 0x2f, 0x64, - 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2f, 0x6f, 0x64, 0x2f, 0x64, 0x74, 0x6f, 0x2f, 0x76, 0x31, - 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_dream11_od_dto_v1_provisioning_type_proto_rawDescOnce sync.Once - file_dream11_od_dto_v1_provisioning_type_proto_rawDescData = file_dream11_od_dto_v1_provisioning_type_proto_rawDesc -) - -func file_dream11_od_dto_v1_provisioning_type_proto_rawDescGZIP() []byte { - file_dream11_od_dto_v1_provisioning_type_proto_rawDescOnce.Do(func() { - file_dream11_od_dto_v1_provisioning_type_proto_rawDescData = protoimpl.X.CompressGZIP(file_dream11_od_dto_v1_provisioning_type_proto_rawDescData) - }) - return file_dream11_od_dto_v1_provisioning_type_proto_rawDescData -} - -var file_dream11_od_dto_v1_provisioning_type_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_dream11_od_dto_v1_provisioning_type_proto_goTypes = []interface{}{ - (*ProvisioningType)(nil), // 0: dream11.od.dto.v1.ProvisioningType -} -var file_dream11_od_dto_v1_provisioning_type_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_dream11_od_dto_v1_provisioning_type_proto_init() } -func file_dream11_od_dto_v1_provisioning_type_proto_init() { - if File_dream11_od_dto_v1_provisioning_type_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_dream11_od_dto_v1_provisioning_type_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ProvisioningType); 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_dream11_od_dto_v1_provisioning_type_proto_rawDesc, - NumEnums: 0, - NumMessages: 1, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_dream11_od_dto_v1_provisioning_type_proto_goTypes, - DependencyIndexes: file_dream11_od_dto_v1_provisioning_type_proto_depIdxs, - MessageInfos: file_dream11_od_dto_v1_provisioning_type_proto_msgTypes, - }.Build() - File_dream11_od_dto_v1_provisioning_type_proto = out.File - file_dream11_od_dto_v1_provisioning_type_proto_rawDesc = nil - file_dream11_od_dto_v1_provisioning_type_proto_goTypes = nil - file_dream11_od_dto_v1_provisioning_type_proto_depIdxs = nil -} diff --git a/proto/gen/go/dream11/od/dto/v1/service.pb.go b/proto/gen/go/dream11/od/dto/v1/service.pb.go deleted file mode 100644 index fe08ded7..00000000 --- a/proto/gen/go/dream11/od/dto/v1/service.pb.go +++ /dev/null @@ -1,1017 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.34.1 -// protoc v5.26.1 -// source: dream11/od/dto/v1/service.proto - -package v1 - -import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - structpb "google.golang.org/protobuf/types/known/structpb" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" -) - -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) -) - -type ComponentDefinition struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` - Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"` - DependsOn []string `protobuf:"bytes,4,rep,name=depends_on,json=dependsOn,proto3" json:"depends_on,omitempty"` - Config *structpb.Struct `protobuf:"bytes,5,opt,name=config,proto3" json:"config,omitempty"` - Metadata *structpb.Struct `protobuf:"bytes,6,opt,name=metadata,proto3,oneof" json:"metadata,omitempty"` -} - -func (x *ComponentDefinition) Reset() { - *x = ComponentDefinition{} - if protoimpl.UnsafeEnabled { - mi := &file_dream11_od_dto_v1_service_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ComponentDefinition) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ComponentDefinition) ProtoMessage() {} - -func (x *ComponentDefinition) ProtoReflect() protoreflect.Message { - mi := &file_dream11_od_dto_v1_service_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 ComponentDefinition.ProtoReflect.Descriptor instead. -func (*ComponentDefinition) Descriptor() ([]byte, []int) { - return file_dream11_od_dto_v1_service_proto_rawDescGZIP(), []int{0} -} - -func (x *ComponentDefinition) GetName() string { - if x != nil { - return x.Name - } - return "" -} - -func (x *ComponentDefinition) GetVersion() string { - if x != nil { - return x.Version - } - return "" -} - -func (x *ComponentDefinition) GetType() string { - if x != nil { - return x.Type - } - return "" -} - -func (x *ComponentDefinition) GetDependsOn() []string { - if x != nil { - return x.DependsOn - } - return nil -} - -func (x *ComponentDefinition) GetConfig() *structpb.Struct { - if x != nil { - return x.Config - } - return nil -} - -func (x *ComponentDefinition) GetMetadata() *structpb.Struct { - if x != nil { - return x.Metadata - } - return nil -} - -type ServiceDefinition struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` - Team string `protobuf:"bytes,3,opt,name=team,proto3" json:"team,omitempty"` - Components []*ComponentDefinition `protobuf:"bytes,4,rep,name=components,proto3" json:"components,omitempty"` -} - -func (x *ServiceDefinition) Reset() { - *x = ServiceDefinition{} - if protoimpl.UnsafeEnabled { - mi := &file_dream11_od_dto_v1_service_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ServiceDefinition) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ServiceDefinition) ProtoMessage() {} - -func (x *ServiceDefinition) ProtoReflect() protoreflect.Message { - mi := &file_dream11_od_dto_v1_service_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 ServiceDefinition.ProtoReflect.Descriptor instead. -func (*ServiceDefinition) Descriptor() ([]byte, []int) { - return file_dream11_od_dto_v1_service_proto_rawDescGZIP(), []int{1} -} - -func (x *ServiceDefinition) GetName() string { - if x != nil { - return x.Name - } - return "" -} - -func (x *ServiceDefinition) GetVersion() string { - if x != nil { - return x.Version - } - return "" -} - -func (x *ServiceDefinition) GetTeam() string { - if x != nil { - return x.Team - } - return "" -} - -func (x *ServiceDefinition) GetComponents() []*ComponentDefinition { - if x != nil { - return x.Components - } - return nil -} - -type ServiceIdentifier struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ServiceName string `protobuf:"bytes,1,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"` - ServiceVersion string `protobuf:"bytes,2,opt,name=service_version,json=serviceVersion,proto3" json:"service_version,omitempty"` -} - -func (x *ServiceIdentifier) Reset() { - *x = ServiceIdentifier{} - if protoimpl.UnsafeEnabled { - mi := &file_dream11_od_dto_v1_service_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ServiceIdentifier) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ServiceIdentifier) ProtoMessage() {} - -func (x *ServiceIdentifier) ProtoReflect() protoreflect.Message { - mi := &file_dream11_od_dto_v1_service_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 ServiceIdentifier.ProtoReflect.Descriptor instead. -func (*ServiceIdentifier) Descriptor() ([]byte, []int) { - return file_dream11_od_dto_v1_service_proto_rawDescGZIP(), []int{2} -} - -func (x *ServiceIdentifier) GetServiceName() string { - if x != nil { - return x.ServiceName - } - return "" -} - -func (x *ServiceIdentifier) GetServiceVersion() string { - if x != nil { - return x.ServiceVersion - } - return "" -} - -type ServiceSet struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - Services []*ServiceIdentifier `protobuf:"bytes,2,rep,name=services,proto3" json:"services,omitempty"` -} - -func (x *ServiceSet) Reset() { - *x = ServiceSet{} - if protoimpl.UnsafeEnabled { - mi := &file_dream11_od_dto_v1_service_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ServiceSet) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ServiceSet) ProtoMessage() {} - -func (x *ServiceSet) ProtoReflect() protoreflect.Message { - mi := &file_dream11_od_dto_v1_service_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 ServiceSet.ProtoReflect.Descriptor instead. -func (*ServiceSet) Descriptor() ([]byte, []int) { - return file_dream11_od_dto_v1_service_proto_rawDescGZIP(), []int{3} -} - -func (x *ServiceSet) GetName() string { - if x != nil { - return x.Name - } - return "" -} - -func (x *ServiceSet) GetServices() []*ServiceIdentifier { - if x != nil { - return x.Services - } - return nil -} - -type ComponentProvisioningConfig struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ComponentName string `protobuf:"bytes,1,opt,name=component_name,json=componentName,proto3" json:"component_name,omitempty"` - DeploymentType string `protobuf:"bytes,2,opt,name=deployment_type,json=deploymentType,proto3" json:"deployment_type,omitempty"` - Params *structpb.Struct `protobuf:"bytes,3,opt,name=params,proto3" json:"params,omitempty"` - Plugins *structpb.Struct `protobuf:"bytes,4,opt,name=plugins,proto3" json:"plugins,omitempty"` -} - -func (x *ComponentProvisioningConfig) Reset() { - *x = ComponentProvisioningConfig{} - if protoimpl.UnsafeEnabled { - mi := &file_dream11_od_dto_v1_service_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ComponentProvisioningConfig) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ComponentProvisioningConfig) ProtoMessage() {} - -func (x *ComponentProvisioningConfig) ProtoReflect() protoreflect.Message { - mi := &file_dream11_od_dto_v1_service_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 ComponentProvisioningConfig.ProtoReflect.Descriptor instead. -func (*ComponentProvisioningConfig) Descriptor() ([]byte, []int) { - return file_dream11_od_dto_v1_service_proto_rawDescGZIP(), []int{4} -} - -func (x *ComponentProvisioningConfig) GetComponentName() string { - if x != nil { - return x.ComponentName - } - return "" -} - -func (x *ComponentProvisioningConfig) GetDeploymentType() string { - if x != nil { - return x.DeploymentType - } - return "" -} - -func (x *ComponentProvisioningConfig) GetParams() *structpb.Struct { - if x != nil { - return x.Params - } - return nil -} - -func (x *ComponentProvisioningConfig) GetPlugins() *structpb.Struct { - if x != nil { - return x.Plugins - } - return nil -} - -type ProvisioningConfig struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ComponentProvisioningConfig []*ComponentProvisioningConfig `protobuf:"bytes,1,rep,name=component_provisioning_config,json=componentProvisioningConfig,proto3" json:"component_provisioning_config,omitempty"` -} - -func (x *ProvisioningConfig) Reset() { - *x = ProvisioningConfig{} - if protoimpl.UnsafeEnabled { - mi := &file_dream11_od_dto_v1_service_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ProvisioningConfig) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ProvisioningConfig) ProtoMessage() {} - -func (x *ProvisioningConfig) ProtoReflect() protoreflect.Message { - mi := &file_dream11_od_dto_v1_service_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 ProvisioningConfig.ProtoReflect.Descriptor instead. -func (*ProvisioningConfig) Descriptor() ([]byte, []int) { - return file_dream11_od_dto_v1_service_proto_rawDescGZIP(), []int{5} -} - -func (x *ProvisioningConfig) GetComponentProvisioningConfig() []*ComponentProvisioningConfig { - if x != nil { - return x.ComponentProvisioningConfig - } - return nil -} - -type ServiceMetadata struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` - Tags string `protobuf:"bytes,3,opt,name=tags,proto3" json:"tags,omitempty"` -} - -func (x *ServiceMetadata) Reset() { - *x = ServiceMetadata{} - if protoimpl.UnsafeEnabled { - mi := &file_dream11_od_dto_v1_service_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ServiceMetadata) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ServiceMetadata) ProtoMessage() {} - -func (x *ServiceMetadata) ProtoReflect() protoreflect.Message { - mi := &file_dream11_od_dto_v1_service_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 ServiceMetadata.ProtoReflect.Descriptor instead. -func (*ServiceMetadata) Descriptor() ([]byte, []int) { - return file_dream11_od_dto_v1_service_proto_rawDescGZIP(), []int{6} -} - -func (x *ServiceMetadata) GetName() string { - if x != nil { - return x.Name - } - return "" -} - -func (x *ServiceMetadata) GetVersion() string { - if x != nil { - return x.Version - } - return "" -} - -func (x *ServiceMetadata) GetTags() string { - if x != nil { - return x.Tags - } - return "" -} - -type AddComponentRequestOptions struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ComponentDefinition []*ComponentDefinition `protobuf:"bytes,1,rep,name=component_definition,json=componentDefinition,proto3" json:"component_definition,omitempty"` - ProvisioningConfig []*ComponentProvisioningConfig `protobuf:"bytes,2,rep,name=provisioning_config,json=provisioningConfig,proto3" json:"provisioning_config,omitempty"` -} - -func (x *AddComponentRequestOptions) Reset() { - *x = AddComponentRequestOptions{} - if protoimpl.UnsafeEnabled { - mi := &file_dream11_od_dto_v1_service_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *AddComponentRequestOptions) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*AddComponentRequestOptions) ProtoMessage() {} - -func (x *AddComponentRequestOptions) ProtoReflect() protoreflect.Message { - mi := &file_dream11_od_dto_v1_service_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 AddComponentRequestOptions.ProtoReflect.Descriptor instead. -func (*AddComponentRequestOptions) Descriptor() ([]byte, []int) { - return file_dream11_od_dto_v1_service_proto_rawDescGZIP(), []int{7} -} - -func (x *AddComponentRequestOptions) GetComponentDefinition() []*ComponentDefinition { - if x != nil { - return x.ComponentDefinition - } - return nil -} - -func (x *AddComponentRequestOptions) GetProvisioningConfig() []*ComponentProvisioningConfig { - if x != nil { - return x.ProvisioningConfig - } - return nil -} - -type RemoveComponentRequestOptions struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ComponentName string `protobuf:"bytes,1,opt,name=component_name,json=componentName,proto3" json:"component_name,omitempty"` -} - -func (x *RemoveComponentRequestOptions) Reset() { - *x = RemoveComponentRequestOptions{} - if protoimpl.UnsafeEnabled { - mi := &file_dream11_od_dto_v1_service_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *RemoveComponentRequestOptions) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RemoveComponentRequestOptions) ProtoMessage() {} - -func (x *RemoveComponentRequestOptions) ProtoReflect() protoreflect.Message { - mi := &file_dream11_od_dto_v1_service_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 RemoveComponentRequestOptions.ProtoReflect.Descriptor instead. -func (*RemoveComponentRequestOptions) Descriptor() ([]byte, []int) { - return file_dream11_od_dto_v1_service_proto_rawDescGZIP(), []int{8} -} - -func (x *RemoveComponentRequestOptions) GetComponentName() string { - if x != nil { - return x.ComponentName - } - return "" -} - -type Service struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Name *string `protobuf:"bytes,1,opt,name=name,proto3,oneof" json:"name,omitempty"` - Version *string `protobuf:"bytes,2,opt,name=version,proto3,oneof" json:"version,omitempty"` - CreatedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3,oneof" json:"created_at,omitempty"` - UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=updated_at,json=updatedAt,proto3,oneof" json:"updated_at,omitempty"` - CreatedBy *string `protobuf:"bytes,5,opt,name=created_by,json=createdBy,proto3,oneof" json:"created_by,omitempty"` - UpdatedBy *string `protobuf:"bytes,6,opt,name=updated_by,json=updatedBy,proto3,oneof" json:"updated_by,omitempty"` - ServiceDefinition *structpb.Struct `protobuf:"bytes,7,opt,name=service_definition,json=serviceDefinition,proto3,oneof" json:"service_definition,omitempty"` - ProvisioningConfigFiles []*structpb.Struct `protobuf:"bytes,8,rep,name=provisioning_config_files,json=provisioningConfigFiles,proto3" json:"provisioning_config_files,omitempty"` - Versions []string `protobuf:"bytes,9,rep,name=versions,proto3" json:"versions,omitempty"` -} - -func (x *Service) Reset() { - *x = Service{} - if protoimpl.UnsafeEnabled { - mi := &file_dream11_od_dto_v1_service_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Service) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Service) ProtoMessage() {} - -func (x *Service) ProtoReflect() protoreflect.Message { - mi := &file_dream11_od_dto_v1_service_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 Service.ProtoReflect.Descriptor instead. -func (*Service) Descriptor() ([]byte, []int) { - return file_dream11_od_dto_v1_service_proto_rawDescGZIP(), []int{9} -} - -func (x *Service) GetName() string { - if x != nil && x.Name != nil { - return *x.Name - } - return "" -} - -func (x *Service) GetVersion() string { - if x != nil && x.Version != nil { - return *x.Version - } - return "" -} - -func (x *Service) GetCreatedAt() *timestamppb.Timestamp { - if x != nil { - return x.CreatedAt - } - return nil -} - -func (x *Service) GetUpdatedAt() *timestamppb.Timestamp { - if x != nil { - return x.UpdatedAt - } - return nil -} - -func (x *Service) GetCreatedBy() string { - if x != nil && x.CreatedBy != nil { - return *x.CreatedBy - } - return "" -} - -func (x *Service) GetUpdatedBy() string { - if x != nil && x.UpdatedBy != nil { - return *x.UpdatedBy - } - return "" -} - -func (x *Service) GetServiceDefinition() *structpb.Struct { - if x != nil { - return x.ServiceDefinition - } - return nil -} - -func (x *Service) GetProvisioningConfigFiles() []*structpb.Struct { - if x != nil { - return x.ProvisioningConfigFiles - } - return nil -} - -func (x *Service) GetVersions() []string { - if x != nil { - return x.Versions - } - return nil -} - -var File_dream11_od_dto_v1_service_proto protoreflect.FileDescriptor - -var file_dream11_od_dto_v1_service_proto_rawDesc = []byte{ - 0x0a, 0x1f, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2f, 0x6f, 0x64, 0x2f, 0x64, 0x74, 0x6f, - 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x12, 0x11, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2e, 0x6f, 0x64, 0x2e, 0x64, 0x74, - 0x6f, 0x2e, 0x76, 0x31, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x22, 0xee, 0x01, 0x0a, 0x13, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, - 0x74, 0x44, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x6e, - 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, - 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, - 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x1d, 0x0a, - 0x0a, 0x64, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x73, 0x5f, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x03, 0x28, - 0x09, 0x52, 0x09, 0x64, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x73, 0x4f, 0x6e, 0x12, 0x2f, 0x0a, 0x06, - 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, - 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, - 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x38, 0x0a, - 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, - 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x48, 0x00, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, - 0x64, 0x61, 0x74, 0x61, 0x88, 0x01, 0x01, 0x42, 0x0b, 0x0a, 0x09, 0x5f, 0x6d, 0x65, 0x74, 0x61, - 0x64, 0x61, 0x74, 0x61, 0x22, 0x9d, 0x01, 0x0a, 0x11, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, - 0x44, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, - 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x18, - 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x65, 0x61, 0x6d, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x65, 0x61, 0x6d, 0x12, 0x46, 0x0a, 0x0a, - 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, - 0x32, 0x26, 0x2e, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2e, 0x6f, 0x64, 0x2e, 0x64, 0x74, - 0x6f, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x44, 0x65, - 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, - 0x65, 0x6e, 0x74, 0x73, 0x22, 0x5f, 0x0a, 0x11, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x49, - 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x12, 0x21, 0x0a, 0x0c, 0x73, 0x65, 0x72, - 0x76, 0x69, 0x63, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x0b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x27, 0x0a, 0x0f, - 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x56, 0x65, - 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x62, 0x0a, 0x0a, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, - 0x53, 0x65, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x40, 0x0a, 0x08, 0x73, 0x65, 0x72, 0x76, 0x69, - 0x63, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x64, 0x72, 0x65, 0x61, - 0x6d, 0x31, 0x31, 0x2e, 0x6f, 0x64, 0x2e, 0x64, 0x74, 0x6f, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, - 0x72, 0x76, 0x69, 0x63, 0x65, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x52, - 0x08, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x22, 0xd1, 0x01, 0x0a, 0x1b, 0x43, 0x6f, - 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, - 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x25, 0x0a, 0x0e, 0x63, 0x6f, 0x6d, - 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x0d, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x4e, 0x61, 0x6d, 0x65, - 0x12, 0x27, 0x0a, 0x0f, 0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x74, - 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x64, 0x65, 0x70, 0x6c, 0x6f, - 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x2f, 0x0a, 0x06, 0x70, 0x61, 0x72, - 0x61, 0x6d, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, - 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, - 0x63, 0x74, 0x52, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x31, 0x0a, 0x07, 0x70, 0x6c, - 0x75, 0x67, 0x69, 0x6e, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, - 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, - 0x72, 0x75, 0x63, 0x74, 0x52, 0x07, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0x22, 0x88, 0x01, - 0x0a, 0x12, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x43, 0x6f, - 0x6e, 0x66, 0x69, 0x67, 0x12, 0x72, 0x0a, 0x1d, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, - 0x74, 0x5f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x5f, 0x63, - 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x64, 0x72, - 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2e, 0x6f, 0x64, 0x2e, 0x64, 0x74, 0x6f, 0x2e, 0x76, 0x31, 0x2e, - 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, - 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x1b, 0x63, 0x6f, 0x6d, - 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x69, - 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0x53, 0x0a, 0x0f, 0x53, 0x65, 0x72, 0x76, - 0x69, 0x63, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x12, 0x0a, 0x04, 0x6e, - 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, - 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x61, 0x67, - 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x61, 0x67, 0x73, 0x22, 0xd8, 0x01, - 0x0a, 0x1a, 0x41, 0x64, 0x64, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x59, 0x0a, 0x14, - 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x5f, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, - 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x64, 0x72, 0x65, - 0x61, 0x6d, 0x31, 0x31, 0x2e, 0x6f, 0x64, 0x2e, 0x64, 0x74, 0x6f, 0x2e, 0x76, 0x31, 0x2e, 0x43, - 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x44, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, - 0x6f, 0x6e, 0x52, 0x13, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x44, 0x65, 0x66, - 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x5f, 0x0a, 0x13, 0x70, 0x72, 0x6f, 0x76, 0x69, - 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x02, - 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2e, 0x6f, - 0x64, 0x2e, 0x64, 0x74, 0x6f, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, - 0x6e, 0x74, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x43, 0x6f, - 0x6e, 0x66, 0x69, 0x67, 0x52, 0x12, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x69, - 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0x46, 0x0a, 0x1d, 0x52, 0x65, 0x6d, 0x6f, - 0x76, 0x65, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x25, 0x0a, 0x0e, 0x63, 0x6f, 0x6d, - 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x0d, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x4e, 0x61, 0x6d, 0x65, - 0x22, 0xaf, 0x04, 0x0a, 0x07, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x17, 0x0a, 0x04, - 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x04, 0x6e, 0x61, - 0x6d, 0x65, 0x88, 0x01, 0x01, 0x12, 0x1d, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x01, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, - 0x6e, 0x88, 0x01, 0x01, 0x12, 0x3e, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, - 0x61, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, - 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, - 0x74, 0x61, 0x6d, 0x70, 0x48, 0x02, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, - 0x74, 0x88, 0x01, 0x01, 0x12, 0x3e, 0x0a, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f, - 0x61, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, - 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, - 0x74, 0x61, 0x6d, 0x70, 0x48, 0x03, 0x52, 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, - 0x74, 0x88, 0x01, 0x01, 0x12, 0x22, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, - 0x62, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x48, 0x04, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, - 0x74, 0x65, 0x64, 0x42, 0x79, 0x88, 0x01, 0x01, 0x12, 0x22, 0x0a, 0x0a, 0x75, 0x70, 0x64, 0x61, - 0x74, 0x65, 0x64, 0x5f, 0x62, 0x79, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x48, 0x05, 0x52, 0x09, - 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x42, 0x79, 0x88, 0x01, 0x01, 0x12, 0x4b, 0x0a, 0x12, - 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, - 0x6f, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, - 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, - 0x74, 0x48, 0x06, 0x52, 0x11, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x44, 0x65, 0x66, 0x69, - 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x88, 0x01, 0x01, 0x12, 0x53, 0x0a, 0x19, 0x70, 0x72, 0x6f, - 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, - 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, - 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, - 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x17, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, - 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x12, 0x1a, - 0x0a, 0x08, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x09, - 0x52, 0x08, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x42, 0x07, 0x0a, 0x05, 0x5f, 0x6e, - 0x61, 0x6d, 0x65, 0x42, 0x0a, 0x0a, 0x08, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x42, - 0x0d, 0x0a, 0x0b, 0x5f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x42, 0x0d, - 0x0a, 0x0b, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x42, 0x0d, 0x0a, - 0x0b, 0x5f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x62, 0x79, 0x42, 0x0d, 0x0a, 0x0b, - 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x62, 0x79, 0x42, 0x15, 0x0a, 0x13, 0x5f, - 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, - 0x6f, 0x6e, 0x42, 0x38, 0x5a, 0x36, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, - 0x2f, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2f, 0x6f, 0x64, 0x69, 0x6e, 0x2f, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x67, 0x6f, 0x2f, 0x64, 0x72, 0x65, 0x61, 0x6d, - 0x31, 0x31, 0x2f, 0x6f, 0x64, 0x2f, 0x64, 0x74, 0x6f, 0x2f, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_dream11_od_dto_v1_service_proto_rawDescOnce sync.Once - file_dream11_od_dto_v1_service_proto_rawDescData = file_dream11_od_dto_v1_service_proto_rawDesc -) - -func file_dream11_od_dto_v1_service_proto_rawDescGZIP() []byte { - file_dream11_od_dto_v1_service_proto_rawDescOnce.Do(func() { - file_dream11_od_dto_v1_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_dream11_od_dto_v1_service_proto_rawDescData) - }) - return file_dream11_od_dto_v1_service_proto_rawDescData -} - -var file_dream11_od_dto_v1_service_proto_msgTypes = make([]protoimpl.MessageInfo, 10) -var file_dream11_od_dto_v1_service_proto_goTypes = []interface{}{ - (*ComponentDefinition)(nil), // 0: dream11.od.dto.v1.ComponentDefinition - (*ServiceDefinition)(nil), // 1: dream11.od.dto.v1.ServiceDefinition - (*ServiceIdentifier)(nil), // 2: dream11.od.dto.v1.ServiceIdentifier - (*ServiceSet)(nil), // 3: dream11.od.dto.v1.ServiceSet - (*ComponentProvisioningConfig)(nil), // 4: dream11.od.dto.v1.ComponentProvisioningConfig - (*ProvisioningConfig)(nil), // 5: dream11.od.dto.v1.ProvisioningConfig - (*ServiceMetadata)(nil), // 6: dream11.od.dto.v1.ServiceMetadata - (*AddComponentRequestOptions)(nil), // 7: dream11.od.dto.v1.AddComponentRequestOptions - (*RemoveComponentRequestOptions)(nil), // 8: dream11.od.dto.v1.RemoveComponentRequestOptions - (*Service)(nil), // 9: dream11.od.dto.v1.Service - (*structpb.Struct)(nil), // 10: google.protobuf.Struct - (*timestamppb.Timestamp)(nil), // 11: google.protobuf.Timestamp -} -var file_dream11_od_dto_v1_service_proto_depIdxs = []int32{ - 10, // 0: dream11.od.dto.v1.ComponentDefinition.config:type_name -> google.protobuf.Struct - 10, // 1: dream11.od.dto.v1.ComponentDefinition.metadata:type_name -> google.protobuf.Struct - 0, // 2: dream11.od.dto.v1.ServiceDefinition.components:type_name -> dream11.od.dto.v1.ComponentDefinition - 2, // 3: dream11.od.dto.v1.ServiceSet.services:type_name -> dream11.od.dto.v1.ServiceIdentifier - 10, // 4: dream11.od.dto.v1.ComponentProvisioningConfig.params:type_name -> google.protobuf.Struct - 10, // 5: dream11.od.dto.v1.ComponentProvisioningConfig.plugins:type_name -> google.protobuf.Struct - 4, // 6: dream11.od.dto.v1.ProvisioningConfig.component_provisioning_config:type_name -> dream11.od.dto.v1.ComponentProvisioningConfig - 0, // 7: dream11.od.dto.v1.AddComponentRequestOptions.component_definition:type_name -> dream11.od.dto.v1.ComponentDefinition - 4, // 8: dream11.od.dto.v1.AddComponentRequestOptions.provisioning_config:type_name -> dream11.od.dto.v1.ComponentProvisioningConfig - 11, // 9: dream11.od.dto.v1.Service.created_at:type_name -> google.protobuf.Timestamp - 11, // 10: dream11.od.dto.v1.Service.updated_at:type_name -> google.protobuf.Timestamp - 10, // 11: dream11.od.dto.v1.Service.service_definition:type_name -> google.protobuf.Struct - 10, // 12: dream11.od.dto.v1.Service.provisioning_config_files:type_name -> google.protobuf.Struct - 13, // [13:13] is the sub-list for method output_type - 13, // [13:13] is the sub-list for method input_type - 13, // [13:13] is the sub-list for extension type_name - 13, // [13:13] is the sub-list for extension extendee - 0, // [0:13] is the sub-list for field type_name -} - -func init() { file_dream11_od_dto_v1_service_proto_init() } -func file_dream11_od_dto_v1_service_proto_init() { - if File_dream11_od_dto_v1_service_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_dream11_od_dto_v1_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ComponentDefinition); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_dream11_od_dto_v1_service_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ServiceDefinition); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_dream11_od_dto_v1_service_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ServiceIdentifier); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_dream11_od_dto_v1_service_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ServiceSet); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_dream11_od_dto_v1_service_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ComponentProvisioningConfig); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_dream11_od_dto_v1_service_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ProvisioningConfig); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_dream11_od_dto_v1_service_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ServiceMetadata); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_dream11_od_dto_v1_service_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AddComponentRequestOptions); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_dream11_od_dto_v1_service_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RemoveComponentRequestOptions); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_dream11_od_dto_v1_service_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Service); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_dream11_od_dto_v1_service_proto_msgTypes[0].OneofWrappers = []interface{}{} - file_dream11_od_dto_v1_service_proto_msgTypes[9].OneofWrappers = []interface{}{} - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_dream11_od_dto_v1_service_proto_rawDesc, - NumEnums: 0, - NumMessages: 10, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_dream11_od_dto_v1_service_proto_goTypes, - DependencyIndexes: file_dream11_od_dto_v1_service_proto_depIdxs, - MessageInfos: file_dream11_od_dto_v1_service_proto_msgTypes, - }.Build() - File_dream11_od_dto_v1_service_proto = out.File - file_dream11_od_dto_v1_service_proto_rawDesc = nil - file_dream11_od_dto_v1_service_proto_goTypes = nil - file_dream11_od_dto_v1_service_proto_depIdxs = nil -} diff --git a/proto/gen/go/dream11/od/dto/v1/service_task.pb.go b/proto/gen/go/dream11/od/dto/v1/service_task.pb.go deleted file mode 100644 index 5576de04..00000000 --- a/proto/gen/go/dream11/od/dto/v1/service_task.pb.go +++ /dev/null @@ -1,261 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.34.1 -// protoc v5.26.1 -// source: dream11/od/dto/v1/service_task.proto - -package v1 - -import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" -) - -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) -) - -type ServiceTask struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id *int64 `protobuf:"varint,1,opt,name=id,proto3,oneof" json:"id,omitempty"` - CreatedAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3,oneof" json:"created_at,omitempty"` - UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=updated_at,json=updatedAt,proto3,oneof" json:"updated_at,omitempty"` - CreatedBy *int64 `protobuf:"varint,4,opt,name=created_by,json=createdBy,proto3,oneof" json:"created_by,omitempty"` - OrgId *int64 `protobuf:"varint,5,opt,name=org_id,json=orgId,proto3,oneof" json:"org_id,omitempty"` - Name *string `protobuf:"bytes,6,opt,name=name,proto3,oneof" json:"name,omitempty"` - Version *string `protobuf:"bytes,7,opt,name=version,proto3,oneof" json:"version,omitempty"` - Status *string `protobuf:"bytes,8,opt,name=status,proto3,oneof" json:"status,omitempty"` - EnvId *int64 `protobuf:"varint,9,opt,name=env_id,json=envId,proto3,oneof" json:"env_id,omitempty"` - Components []*ComponentTask `protobuf:"bytes,10,rep,name=components,proto3" json:"components,omitempty"` -} - -func (x *ServiceTask) Reset() { - *x = ServiceTask{} - if protoimpl.UnsafeEnabled { - mi := &file_dream11_od_dto_v1_service_task_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ServiceTask) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ServiceTask) ProtoMessage() {} - -func (x *ServiceTask) ProtoReflect() protoreflect.Message { - mi := &file_dream11_od_dto_v1_service_task_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 ServiceTask.ProtoReflect.Descriptor instead. -func (*ServiceTask) Descriptor() ([]byte, []int) { - return file_dream11_od_dto_v1_service_task_proto_rawDescGZIP(), []int{0} -} - -func (x *ServiceTask) GetId() int64 { - if x != nil && x.Id != nil { - return *x.Id - } - return 0 -} - -func (x *ServiceTask) GetCreatedAt() *timestamppb.Timestamp { - if x != nil { - return x.CreatedAt - } - return nil -} - -func (x *ServiceTask) GetUpdatedAt() *timestamppb.Timestamp { - if x != nil { - return x.UpdatedAt - } - return nil -} - -func (x *ServiceTask) GetCreatedBy() int64 { - if x != nil && x.CreatedBy != nil { - return *x.CreatedBy - } - return 0 -} - -func (x *ServiceTask) GetOrgId() int64 { - if x != nil && x.OrgId != nil { - return *x.OrgId - } - return 0 -} - -func (x *ServiceTask) GetName() string { - if x != nil && x.Name != nil { - return *x.Name - } - return "" -} - -func (x *ServiceTask) GetVersion() string { - if x != nil && x.Version != nil { - return *x.Version - } - return "" -} - -func (x *ServiceTask) GetStatus() string { - if x != nil && x.Status != nil { - return *x.Status - } - return "" -} - -func (x *ServiceTask) GetEnvId() int64 { - if x != nil && x.EnvId != nil { - return *x.EnvId - } - return 0 -} - -func (x *ServiceTask) GetComponents() []*ComponentTask { - if x != nil { - return x.Components - } - return nil -} - -var File_dream11_od_dto_v1_service_task_proto protoreflect.FileDescriptor - -var file_dream11_od_dto_v1_service_task_proto_rawDesc = []byte{ - 0x0a, 0x24, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2f, 0x6f, 0x64, 0x2f, 0x64, 0x74, 0x6f, - 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x74, 0x61, 0x73, 0x6b, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x11, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2e, - 0x6f, 0x64, 0x2e, 0x64, 0x74, 0x6f, 0x2e, 0x76, 0x31, 0x1a, 0x26, 0x64, 0x72, 0x65, 0x61, 0x6d, - 0x31, 0x31, 0x2f, 0x6f, 0x64, 0x2f, 0x64, 0x74, 0x6f, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f, 0x6d, - 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x61, 0x73, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, - 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x22, 0xff, 0x03, 0x0a, 0x0b, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x54, 0x61, - 0x73, 0x6b, 0x12, 0x13, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x48, 0x00, - 0x52, 0x02, 0x69, 0x64, 0x88, 0x01, 0x01, 0x12, 0x3e, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, - 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, - 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, - 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x48, 0x01, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, - 0x65, 0x64, 0x41, 0x74, 0x88, 0x01, 0x01, 0x12, 0x3e, 0x0a, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, - 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, - 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, - 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x48, 0x02, 0x52, 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, - 0x65, 0x64, 0x41, 0x74, 0x88, 0x01, 0x01, 0x12, 0x22, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, - 0x65, 0x64, 0x5f, 0x62, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x48, 0x03, 0x52, 0x09, 0x63, - 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x42, 0x79, 0x88, 0x01, 0x01, 0x12, 0x1a, 0x0a, 0x06, 0x6f, - 0x72, 0x67, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x48, 0x04, 0x52, 0x05, 0x6f, - 0x72, 0x67, 0x49, 0x64, 0x88, 0x01, 0x01, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, - 0x06, 0x20, 0x01, 0x28, 0x09, 0x48, 0x05, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x88, 0x01, 0x01, - 0x12, 0x1d, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, - 0x09, 0x48, 0x06, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x88, 0x01, 0x01, 0x12, - 0x1b, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x48, - 0x07, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x88, 0x01, 0x01, 0x12, 0x1a, 0x0a, 0x06, - 0x65, 0x6e, 0x76, 0x5f, 0x69, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x03, 0x48, 0x08, 0x52, 0x05, - 0x65, 0x6e, 0x76, 0x49, 0x64, 0x88, 0x01, 0x01, 0x12, 0x40, 0x0a, 0x0a, 0x63, 0x6f, 0x6d, 0x70, - 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x64, - 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2e, 0x6f, 0x64, 0x2e, 0x64, 0x74, 0x6f, 0x2e, 0x76, 0x31, - 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x0a, - 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x73, 0x42, 0x05, 0x0a, 0x03, 0x5f, 0x69, - 0x64, 0x42, 0x0d, 0x0a, 0x0b, 0x5f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, - 0x42, 0x0d, 0x0a, 0x0b, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x42, - 0x0d, 0x0a, 0x0b, 0x5f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x62, 0x79, 0x42, 0x09, - 0x0a, 0x07, 0x5f, 0x6f, 0x72, 0x67, 0x5f, 0x69, 0x64, 0x42, 0x07, 0x0a, 0x05, 0x5f, 0x6e, 0x61, - 0x6d, 0x65, 0x42, 0x0a, 0x0a, 0x08, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x42, 0x09, - 0x0a, 0x07, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x65, 0x6e, - 0x76, 0x5f, 0x69, 0x64, 0x42, 0x38, 0x5a, 0x36, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, - 0x6f, 0x6d, 0x2f, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2f, 0x6f, 0x64, 0x69, 0x6e, 0x2f, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x67, 0x6f, 0x2f, 0x64, 0x72, 0x65, - 0x61, 0x6d, 0x31, 0x31, 0x2f, 0x6f, 0x64, 0x2f, 0x64, 0x74, 0x6f, 0x2f, 0x76, 0x31, 0x62, 0x06, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_dream11_od_dto_v1_service_task_proto_rawDescOnce sync.Once - file_dream11_od_dto_v1_service_task_proto_rawDescData = file_dream11_od_dto_v1_service_task_proto_rawDesc -) - -func file_dream11_od_dto_v1_service_task_proto_rawDescGZIP() []byte { - file_dream11_od_dto_v1_service_task_proto_rawDescOnce.Do(func() { - file_dream11_od_dto_v1_service_task_proto_rawDescData = protoimpl.X.CompressGZIP(file_dream11_od_dto_v1_service_task_proto_rawDescData) - }) - return file_dream11_od_dto_v1_service_task_proto_rawDescData -} - -var file_dream11_od_dto_v1_service_task_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_dream11_od_dto_v1_service_task_proto_goTypes = []interface{}{ - (*ServiceTask)(nil), // 0: dream11.od.dto.v1.ServiceTask - (*timestamppb.Timestamp)(nil), // 1: google.protobuf.Timestamp - (*ComponentTask)(nil), // 2: dream11.od.dto.v1.ComponentTask -} -var file_dream11_od_dto_v1_service_task_proto_depIdxs = []int32{ - 1, // 0: dream11.od.dto.v1.ServiceTask.created_at:type_name -> google.protobuf.Timestamp - 1, // 1: dream11.od.dto.v1.ServiceTask.updated_at:type_name -> google.protobuf.Timestamp - 2, // 2: dream11.od.dto.v1.ServiceTask.components:type_name -> dream11.od.dto.v1.ComponentTask - 3, // [3:3] is the sub-list for method output_type - 3, // [3:3] is the sub-list for method input_type - 3, // [3:3] is the sub-list for extension type_name - 3, // [3:3] is the sub-list for extension extendee - 0, // [0:3] is the sub-list for field type_name -} - -func init() { file_dream11_od_dto_v1_service_task_proto_init() } -func file_dream11_od_dto_v1_service_task_proto_init() { - if File_dream11_od_dto_v1_service_task_proto != nil { - return - } - file_dream11_od_dto_v1_component_task_proto_init() - if !protoimpl.UnsafeEnabled { - file_dream11_od_dto_v1_service_task_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ServiceTask); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_dream11_od_dto_v1_service_task_proto_msgTypes[0].OneofWrappers = []interface{}{} - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_dream11_od_dto_v1_service_task_proto_rawDesc, - NumEnums: 0, - NumMessages: 1, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_dream11_od_dto_v1_service_task_proto_goTypes, - DependencyIndexes: file_dream11_od_dto_v1_service_task_proto_depIdxs, - MessageInfos: file_dream11_od_dto_v1_service_task_proto_msgTypes, - }.Build() - File_dream11_od_dto_v1_service_task_proto = out.File - file_dream11_od_dto_v1_service_task_proto_rawDesc = nil - file_dream11_od_dto_v1_service_task_proto_goTypes = nil - file_dream11_od_dto_v1_service_task_proto_depIdxs = nil -} diff --git a/proto/gen/go/dream11/od/environment/v1/environment.pb.go b/proto/gen/go/dream11/od/environment/v1/environment.pb.go deleted file mode 100644 index 8f1f1aaf..00000000 --- a/proto/gen/go/dream11/od/environment/v1/environment.pb.go +++ /dev/null @@ -1,840 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.34.1 -// protoc v5.26.1 -// source: dream11/od/environment/v1/environment.proto - -package v1 - -import ( - v1 "github.com/dream11/odin/proto/gen/go/dream11/od/dto/v1" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - structpb "google.golang.org/protobuf/types/known/structpb" - reflect "reflect" - sync "sync" -) - -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) -) - -type ListEnvironmentRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Params map[string]string `protobuf:"bytes,1,rep,name=params,proto3" json:"params,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` -} - -func (x *ListEnvironmentRequest) Reset() { - *x = ListEnvironmentRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_dream11_od_environment_v1_environment_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ListEnvironmentRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListEnvironmentRequest) ProtoMessage() {} - -func (x *ListEnvironmentRequest) ProtoReflect() protoreflect.Message { - mi := &file_dream11_od_environment_v1_environment_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 ListEnvironmentRequest.ProtoReflect.Descriptor instead. -func (*ListEnvironmentRequest) Descriptor() ([]byte, []int) { - return file_dream11_od_environment_v1_environment_proto_rawDescGZIP(), []int{0} -} - -func (x *ListEnvironmentRequest) GetParams() map[string]string { - if x != nil { - return x.Params - } - return nil -} - -type ListEnvironmentResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Environments []*v1.EnvironmentSummary `protobuf:"bytes,1,rep,name=environments,proto3" json:"environments,omitempty"` -} - -func (x *ListEnvironmentResponse) Reset() { - *x = ListEnvironmentResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_dream11_od_environment_v1_environment_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ListEnvironmentResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListEnvironmentResponse) ProtoMessage() {} - -func (x *ListEnvironmentResponse) ProtoReflect() protoreflect.Message { - mi := &file_dream11_od_environment_v1_environment_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 ListEnvironmentResponse.ProtoReflect.Descriptor instead. -func (*ListEnvironmentResponse) Descriptor() ([]byte, []int) { - return file_dream11_od_environment_v1_environment_proto_rawDescGZIP(), []int{1} -} - -func (x *ListEnvironmentResponse) GetEnvironments() []*v1.EnvironmentSummary { - if x != nil { - return x.Environments - } - return nil -} - -type DescribeEnvironmentRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - EnvName string `protobuf:"bytes,1,opt,name=env_name,json=envName,proto3" json:"env_name,omitempty"` - Params map[string]string `protobuf:"bytes,2,rep,name=params,proto3" json:"params,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` -} - -func (x *DescribeEnvironmentRequest) Reset() { - *x = DescribeEnvironmentRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_dream11_od_environment_v1_environment_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DescribeEnvironmentRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DescribeEnvironmentRequest) ProtoMessage() {} - -func (x *DescribeEnvironmentRequest) ProtoReflect() protoreflect.Message { - mi := &file_dream11_od_environment_v1_environment_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 DescribeEnvironmentRequest.ProtoReflect.Descriptor instead. -func (*DescribeEnvironmentRequest) Descriptor() ([]byte, []int) { - return file_dream11_od_environment_v1_environment_proto_rawDescGZIP(), []int{2} -} - -func (x *DescribeEnvironmentRequest) GetEnvName() string { - if x != nil { - return x.EnvName - } - return "" -} - -func (x *DescribeEnvironmentRequest) GetParams() map[string]string { - if x != nil { - return x.Params - } - return nil -} - -type DescribeEnvironmentResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Environment *v1.Environment `protobuf:"bytes,1,opt,name=environment,proto3" json:"environment,omitempty"` -} - -func (x *DescribeEnvironmentResponse) Reset() { - *x = DescribeEnvironmentResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_dream11_od_environment_v1_environment_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DescribeEnvironmentResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DescribeEnvironmentResponse) ProtoMessage() {} - -func (x *DescribeEnvironmentResponse) ProtoReflect() protoreflect.Message { - mi := &file_dream11_od_environment_v1_environment_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 DescribeEnvironmentResponse.ProtoReflect.Descriptor instead. -func (*DescribeEnvironmentResponse) Descriptor() ([]byte, []int) { - return file_dream11_od_environment_v1_environment_proto_rawDescGZIP(), []int{3} -} - -func (x *DescribeEnvironmentResponse) GetEnvironment() *v1.Environment { - if x != nil { - return x.Environment - } - return nil -} - -type UpdateEnvironmentRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - EnvName string `protobuf:"bytes,1,opt,name=env_name,json=envName,proto3" json:"env_name,omitempty"` - Data *structpb.Struct `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` -} - -func (x *UpdateEnvironmentRequest) Reset() { - *x = UpdateEnvironmentRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_dream11_od_environment_v1_environment_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UpdateEnvironmentRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UpdateEnvironmentRequest) ProtoMessage() {} - -func (x *UpdateEnvironmentRequest) ProtoReflect() protoreflect.Message { - mi := &file_dream11_od_environment_v1_environment_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 UpdateEnvironmentRequest.ProtoReflect.Descriptor instead. -func (*UpdateEnvironmentRequest) Descriptor() ([]byte, []int) { - return file_dream11_od_environment_v1_environment_proto_rawDescGZIP(), []int{4} -} - -func (x *UpdateEnvironmentRequest) GetEnvName() string { - if x != nil { - return x.EnvName - } - return "" -} - -func (x *UpdateEnvironmentRequest) GetData() *structpb.Struct { - if x != nil { - return x.Data - } - return nil -} - -type UpdateEnvironmentResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *UpdateEnvironmentResponse) Reset() { - *x = UpdateEnvironmentResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_dream11_od_environment_v1_environment_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UpdateEnvironmentResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UpdateEnvironmentResponse) ProtoMessage() {} - -func (x *UpdateEnvironmentResponse) ProtoReflect() protoreflect.Message { - mi := &file_dream11_od_environment_v1_environment_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 UpdateEnvironmentResponse.ProtoReflect.Descriptor instead. -func (*UpdateEnvironmentResponse) Descriptor() ([]byte, []int) { - return file_dream11_od_environment_v1_environment_proto_rawDescGZIP(), []int{5} -} - -type CreateEnvironmentRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - EnvName string `protobuf:"bytes,1,opt,name=env_name,json=envName,proto3" json:"env_name,omitempty"` - Accounts []string `protobuf:"bytes,2,rep,name=accounts,proto3" json:"accounts,omitempty"` - ProvisioningType string `protobuf:"bytes,3,opt,name=provisioning_type,json=provisioningType,proto3" json:"provisioning_type,omitempty"` -} - -func (x *CreateEnvironmentRequest) Reset() { - *x = CreateEnvironmentRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_dream11_od_environment_v1_environment_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CreateEnvironmentRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CreateEnvironmentRequest) ProtoMessage() {} - -func (x *CreateEnvironmentRequest) ProtoReflect() protoreflect.Message { - mi := &file_dream11_od_environment_v1_environment_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 CreateEnvironmentRequest.ProtoReflect.Descriptor instead. -func (*CreateEnvironmentRequest) Descriptor() ([]byte, []int) { - return file_dream11_od_environment_v1_environment_proto_rawDescGZIP(), []int{6} -} - -func (x *CreateEnvironmentRequest) GetEnvName() string { - if x != nil { - return x.EnvName - } - return "" -} - -func (x *CreateEnvironmentRequest) GetAccounts() []string { - if x != nil { - return x.Accounts - } - return nil -} - -func (x *CreateEnvironmentRequest) GetProvisioningType() string { - if x != nil { - return x.ProvisioningType - } - return "" -} - -type CreateEnvironmentResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` -} - -func (x *CreateEnvironmentResponse) Reset() { - *x = CreateEnvironmentResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_dream11_od_environment_v1_environment_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CreateEnvironmentResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CreateEnvironmentResponse) ProtoMessage() {} - -func (x *CreateEnvironmentResponse) ProtoReflect() protoreflect.Message { - mi := &file_dream11_od_environment_v1_environment_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 CreateEnvironmentResponse.ProtoReflect.Descriptor instead. -func (*CreateEnvironmentResponse) Descriptor() ([]byte, []int) { - return file_dream11_od_environment_v1_environment_proto_rawDescGZIP(), []int{7} -} - -func (x *CreateEnvironmentResponse) GetMessage() string { - if x != nil { - return x.Message - } - return "" -} - -type DeleteEnvironmentRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - EnvName string `protobuf:"bytes,1,opt,name=env_name,json=envName,proto3" json:"env_name,omitempty"` -} - -func (x *DeleteEnvironmentRequest) Reset() { - *x = DeleteEnvironmentRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_dream11_od_environment_v1_environment_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DeleteEnvironmentRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeleteEnvironmentRequest) ProtoMessage() {} - -func (x *DeleteEnvironmentRequest) ProtoReflect() protoreflect.Message { - mi := &file_dream11_od_environment_v1_environment_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 DeleteEnvironmentRequest.ProtoReflect.Descriptor instead. -func (*DeleteEnvironmentRequest) Descriptor() ([]byte, []int) { - return file_dream11_od_environment_v1_environment_proto_rawDescGZIP(), []int{8} -} - -func (x *DeleteEnvironmentRequest) GetEnvName() string { - if x != nil { - return x.EnvName - } - return "" -} - -type DeleteEnvironmentResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` -} - -func (x *DeleteEnvironmentResponse) Reset() { - *x = DeleteEnvironmentResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_dream11_od_environment_v1_environment_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DeleteEnvironmentResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeleteEnvironmentResponse) ProtoMessage() {} - -func (x *DeleteEnvironmentResponse) ProtoReflect() protoreflect.Message { - mi := &file_dream11_od_environment_v1_environment_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 DeleteEnvironmentResponse.ProtoReflect.Descriptor instead. -func (*DeleteEnvironmentResponse) Descriptor() ([]byte, []int) { - return file_dream11_od_environment_v1_environment_proto_rawDescGZIP(), []int{9} -} - -func (x *DeleteEnvironmentResponse) GetMessage() string { - if x != nil { - return x.Message - } - return "" -} - -var File_dream11_od_environment_v1_environment_proto protoreflect.FileDescriptor - -var file_dream11_od_environment_v1_environment_proto_rawDesc = []byte{ - 0x0a, 0x2b, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2f, 0x6f, 0x64, 0x2f, 0x65, 0x6e, 0x76, - 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x2f, 0x76, 0x31, 0x2f, 0x65, 0x6e, 0x76, 0x69, - 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x19, 0x64, - 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2e, 0x6f, 0x64, 0x2e, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, - 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x1a, 0x23, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, - 0x31, 0x2f, 0x6f, 0x64, 0x2f, 0x64, 0x74, 0x6f, 0x2f, 0x76, 0x31, 0x2f, 0x65, 0x6e, 0x76, 0x69, - 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67, - 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x73, - 0x74, 0x72, 0x75, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xaa, 0x01, 0x0a, 0x16, - 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x55, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, - 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3d, 0x2e, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, - 0x2e, 0x6f, 0x64, 0x2e, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x2e, - 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, - 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, - 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x1a, 0x39, 0x0a, - 0x0b, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 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, 0x22, 0x64, 0x0a, 0x17, 0x4c, 0x69, 0x73, 0x74, - 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x12, 0x49, 0x0a, 0x0c, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, - 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x64, 0x72, 0x65, 0x61, - 0x6d, 0x31, 0x31, 0x2e, 0x6f, 0x64, 0x2e, 0x64, 0x74, 0x6f, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x6e, - 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, - 0x52, 0x0c, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x22, 0xcd, - 0x01, 0x0a, 0x1a, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x45, 0x6e, 0x76, 0x69, 0x72, - 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, - 0x08, 0x65, 0x6e, 0x76, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x07, 0x65, 0x6e, 0x76, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x59, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x61, - 0x6d, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x41, 0x2e, 0x64, 0x72, 0x65, 0x61, 0x6d, - 0x31, 0x31, 0x2e, 0x6f, 0x64, 0x2e, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, - 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x45, 0x6e, 0x76, - 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, - 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x70, 0x61, 0x72, - 0x61, 0x6d, 0x73, 0x1a, 0x39, 0x0a, 0x0b, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 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, 0x22, 0x5f, - 0x0a, 0x1b, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, - 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x40, 0x0a, - 0x0b, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2e, 0x6f, 0x64, 0x2e, - 0x64, 0x74, 0x6f, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, - 0x6e, 0x74, 0x52, 0x0b, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x22, - 0x62, 0x0a, 0x18, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, - 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x65, - 0x6e, 0x76, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x65, - 0x6e, 0x76, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x2b, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x04, 0x64, - 0x61, 0x74, 0x61, 0x22, 0x1b, 0x0a, 0x19, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x45, 0x6e, 0x76, - 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x22, 0x7e, 0x0a, 0x18, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, - 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, - 0x65, 0x6e, 0x76, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, - 0x65, 0x6e, 0x76, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x61, 0x63, 0x63, 0x6f, 0x75, - 0x6e, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x08, 0x61, 0x63, 0x63, 0x6f, 0x75, - 0x6e, 0x74, 0x73, 0x12, 0x2b, 0x0a, 0x11, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, - 0x69, 0x6e, 0x67, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, - 0x70, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x54, 0x79, 0x70, 0x65, - 0x22, 0x35, 0x0a, 0x19, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, - 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, - 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, - 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x35, 0x0a, 0x18, 0x44, 0x65, 0x6c, 0x65, 0x74, - 0x65, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x65, 0x6e, 0x76, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x65, 0x6e, 0x76, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x35, - 0x0a, 0x19, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, - 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, - 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, - 0x73, 0x73, 0x61, 0x67, 0x65, 0x32, 0xa6, 0x05, 0x0a, 0x12, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, - 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x7a, 0x0a, 0x0f, - 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x12, - 0x31, 0x2e, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2e, 0x6f, 0x64, 0x2e, 0x65, 0x6e, 0x76, - 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, - 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x32, 0x2e, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2e, 0x6f, 0x64, 0x2e, - 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x4c, - 0x69, 0x73, 0x74, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x86, 0x01, 0x0a, 0x13, 0x44, 0x65, 0x73, - 0x63, 0x72, 0x69, 0x62, 0x65, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, - 0x12, 0x35, 0x2e, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2e, 0x6f, 0x64, 0x2e, 0x65, 0x6e, - 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x73, - 0x63, 0x72, 0x69, 0x62, 0x65, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x36, 0x2e, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, - 0x31, 0x2e, 0x6f, 0x64, 0x2e, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, - 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x45, 0x6e, 0x76, 0x69, - 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, - 0x00, 0x12, 0x80, 0x01, 0x0a, 0x11, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x45, 0x6e, 0x76, 0x69, - 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x33, 0x2e, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, - 0x31, 0x2e, 0x6f, 0x64, 0x2e, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, - 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, - 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x34, 0x2e, 0x64, - 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2e, 0x6f, 0x64, 0x2e, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, - 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x45, - 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x22, 0x00, 0x12, 0x82, 0x01, 0x0a, 0x11, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x45, - 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x33, 0x2e, 0x64, 0x72, 0x65, - 0x61, 0x6d, 0x31, 0x31, 0x2e, 0x6f, 0x64, 0x2e, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, - 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x45, 0x6e, 0x76, - 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x34, 0x2e, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2e, 0x6f, 0x64, 0x2e, 0x65, 0x6e, 0x76, - 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, - 0x74, 0x65, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x30, 0x01, 0x12, 0x82, 0x01, 0x0a, 0x11, 0x44, 0x65, - 0x6c, 0x65, 0x74, 0x65, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x12, - 0x33, 0x2e, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2e, 0x6f, 0x64, 0x2e, 0x65, 0x6e, 0x76, - 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, - 0x74, 0x65, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x1a, 0x34, 0x2e, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2e, 0x6f, - 0x64, 0x2e, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x31, - 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, - 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x30, 0x01, 0x42, 0x40, - 0x5a, 0x3e, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x64, 0x72, 0x65, - 0x61, 0x6d, 0x31, 0x31, 0x2f, 0x6f, 0x64, 0x69, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, - 0x67, 0x65, 0x6e, 0x2f, 0x67, 0x6f, 0x2f, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2f, 0x6f, - 0x64, 0x2f, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x2f, 0x76, 0x31, - 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_dream11_od_environment_v1_environment_proto_rawDescOnce sync.Once - file_dream11_od_environment_v1_environment_proto_rawDescData = file_dream11_od_environment_v1_environment_proto_rawDesc -) - -func file_dream11_od_environment_v1_environment_proto_rawDescGZIP() []byte { - file_dream11_od_environment_v1_environment_proto_rawDescOnce.Do(func() { - file_dream11_od_environment_v1_environment_proto_rawDescData = protoimpl.X.CompressGZIP(file_dream11_od_environment_v1_environment_proto_rawDescData) - }) - return file_dream11_od_environment_v1_environment_proto_rawDescData -} - -var file_dream11_od_environment_v1_environment_proto_msgTypes = make([]protoimpl.MessageInfo, 12) -var file_dream11_od_environment_v1_environment_proto_goTypes = []interface{}{ - (*ListEnvironmentRequest)(nil), // 0: dream11.od.environment.v1.ListEnvironmentRequest - (*ListEnvironmentResponse)(nil), // 1: dream11.od.environment.v1.ListEnvironmentResponse - (*DescribeEnvironmentRequest)(nil), // 2: dream11.od.environment.v1.DescribeEnvironmentRequest - (*DescribeEnvironmentResponse)(nil), // 3: dream11.od.environment.v1.DescribeEnvironmentResponse - (*UpdateEnvironmentRequest)(nil), // 4: dream11.od.environment.v1.UpdateEnvironmentRequest - (*UpdateEnvironmentResponse)(nil), // 5: dream11.od.environment.v1.UpdateEnvironmentResponse - (*CreateEnvironmentRequest)(nil), // 6: dream11.od.environment.v1.CreateEnvironmentRequest - (*CreateEnvironmentResponse)(nil), // 7: dream11.od.environment.v1.CreateEnvironmentResponse - (*DeleteEnvironmentRequest)(nil), // 8: dream11.od.environment.v1.DeleteEnvironmentRequest - (*DeleteEnvironmentResponse)(nil), // 9: dream11.od.environment.v1.DeleteEnvironmentResponse - nil, // 10: dream11.od.environment.v1.ListEnvironmentRequest.ParamsEntry - nil, // 11: dream11.od.environment.v1.DescribeEnvironmentRequest.ParamsEntry - (*v1.EnvironmentSummary)(nil), // 12: dream11.od.dto.v1.EnvironmentSummary - (*v1.Environment)(nil), // 13: dream11.od.dto.v1.Environment - (*structpb.Struct)(nil), // 14: google.protobuf.Struct -} -var file_dream11_od_environment_v1_environment_proto_depIdxs = []int32{ - 10, // 0: dream11.od.environment.v1.ListEnvironmentRequest.params:type_name -> dream11.od.environment.v1.ListEnvironmentRequest.ParamsEntry - 12, // 1: dream11.od.environment.v1.ListEnvironmentResponse.environments:type_name -> dream11.od.dto.v1.EnvironmentSummary - 11, // 2: dream11.od.environment.v1.DescribeEnvironmentRequest.params:type_name -> dream11.od.environment.v1.DescribeEnvironmentRequest.ParamsEntry - 13, // 3: dream11.od.environment.v1.DescribeEnvironmentResponse.environment:type_name -> dream11.od.dto.v1.Environment - 14, // 4: dream11.od.environment.v1.UpdateEnvironmentRequest.data:type_name -> google.protobuf.Struct - 0, // 5: dream11.od.environment.v1.EnvironmentService.ListEnvironment:input_type -> dream11.od.environment.v1.ListEnvironmentRequest - 2, // 6: dream11.od.environment.v1.EnvironmentService.DescribeEnvironment:input_type -> dream11.od.environment.v1.DescribeEnvironmentRequest - 4, // 7: dream11.od.environment.v1.EnvironmentService.UpdateEnvironment:input_type -> dream11.od.environment.v1.UpdateEnvironmentRequest - 6, // 8: dream11.od.environment.v1.EnvironmentService.CreateEnvironment:input_type -> dream11.od.environment.v1.CreateEnvironmentRequest - 8, // 9: dream11.od.environment.v1.EnvironmentService.DeleteEnvironment:input_type -> dream11.od.environment.v1.DeleteEnvironmentRequest - 1, // 10: dream11.od.environment.v1.EnvironmentService.ListEnvironment:output_type -> dream11.od.environment.v1.ListEnvironmentResponse - 3, // 11: dream11.od.environment.v1.EnvironmentService.DescribeEnvironment:output_type -> dream11.od.environment.v1.DescribeEnvironmentResponse - 5, // 12: dream11.od.environment.v1.EnvironmentService.UpdateEnvironment:output_type -> dream11.od.environment.v1.UpdateEnvironmentResponse - 7, // 13: dream11.od.environment.v1.EnvironmentService.CreateEnvironment:output_type -> dream11.od.environment.v1.CreateEnvironmentResponse - 9, // 14: dream11.od.environment.v1.EnvironmentService.DeleteEnvironment:output_type -> dream11.od.environment.v1.DeleteEnvironmentResponse - 10, // [10:15] is the sub-list for method output_type - 5, // [5:10] 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_dream11_od_environment_v1_environment_proto_init() } -func file_dream11_od_environment_v1_environment_proto_init() { - if File_dream11_od_environment_v1_environment_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_dream11_od_environment_v1_environment_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListEnvironmentRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_dream11_od_environment_v1_environment_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListEnvironmentResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_dream11_od_environment_v1_environment_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DescribeEnvironmentRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_dream11_od_environment_v1_environment_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DescribeEnvironmentResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_dream11_od_environment_v1_environment_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateEnvironmentRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_dream11_od_environment_v1_environment_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateEnvironmentResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_dream11_od_environment_v1_environment_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateEnvironmentRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_dream11_od_environment_v1_environment_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateEnvironmentResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_dream11_od_environment_v1_environment_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteEnvironmentRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_dream11_od_environment_v1_environment_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteEnvironmentResponse); 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_dream11_od_environment_v1_environment_proto_rawDesc, - NumEnums: 0, - NumMessages: 12, - NumExtensions: 0, - NumServices: 1, - }, - GoTypes: file_dream11_od_environment_v1_environment_proto_goTypes, - DependencyIndexes: file_dream11_od_environment_v1_environment_proto_depIdxs, - MessageInfos: file_dream11_od_environment_v1_environment_proto_msgTypes, - }.Build() - File_dream11_od_environment_v1_environment_proto = out.File - file_dream11_od_environment_v1_environment_proto_rawDesc = nil - file_dream11_od_environment_v1_environment_proto_goTypes = nil - file_dream11_od_environment_v1_environment_proto_depIdxs = nil -} diff --git a/proto/gen/go/dream11/od/environment/v1/environment_grpc.pb.go b/proto/gen/go/dream11/od/environment/v1/environment_grpc.pb.go deleted file mode 100644 index 3cb1bb06..00000000 --- a/proto/gen/go/dream11/od/environment/v1/environment_grpc.pb.go +++ /dev/null @@ -1,312 +0,0 @@ -// Code generated by protoc-gen-go-grpc. DO NOT EDIT. -// versions: -// - protoc-gen-go-grpc v1.3.0 -// - protoc v5.26.1 -// source: dream11/od/environment/v1/environment.proto - -package v1 - -import ( - context "context" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/status" -) - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the grpc package it is being compiled against. -// Requires gRPC-Go v1.32.0 or later. -const _ = grpc.SupportPackageIsVersion7 - -const ( - EnvironmentService_ListEnvironment_FullMethodName = "/dream11.od.environment.v1.EnvironmentService/ListEnvironment" - EnvironmentService_DescribeEnvironment_FullMethodName = "/dream11.od.environment.v1.EnvironmentService/DescribeEnvironment" - EnvironmentService_UpdateEnvironment_FullMethodName = "/dream11.od.environment.v1.EnvironmentService/UpdateEnvironment" - EnvironmentService_CreateEnvironment_FullMethodName = "/dream11.od.environment.v1.EnvironmentService/CreateEnvironment" - EnvironmentService_DeleteEnvironment_FullMethodName = "/dream11.od.environment.v1.EnvironmentService/DeleteEnvironment" -) - -// EnvironmentServiceClient is the client API for EnvironmentService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. -type EnvironmentServiceClient interface { - ListEnvironment(ctx context.Context, in *ListEnvironmentRequest, opts ...grpc.CallOption) (*ListEnvironmentResponse, error) - DescribeEnvironment(ctx context.Context, in *DescribeEnvironmentRequest, opts ...grpc.CallOption) (*DescribeEnvironmentResponse, error) - UpdateEnvironment(ctx context.Context, in *UpdateEnvironmentRequest, opts ...grpc.CallOption) (*UpdateEnvironmentResponse, error) - CreateEnvironment(ctx context.Context, in *CreateEnvironmentRequest, opts ...grpc.CallOption) (EnvironmentService_CreateEnvironmentClient, error) - DeleteEnvironment(ctx context.Context, in *DeleteEnvironmentRequest, opts ...grpc.CallOption) (EnvironmentService_DeleteEnvironmentClient, error) -} - -type environmentServiceClient struct { - cc grpc.ClientConnInterface -} - -func NewEnvironmentServiceClient(cc grpc.ClientConnInterface) EnvironmentServiceClient { - return &environmentServiceClient{cc} -} - -func (c *environmentServiceClient) ListEnvironment(ctx context.Context, in *ListEnvironmentRequest, opts ...grpc.CallOption) (*ListEnvironmentResponse, error) { - out := new(ListEnvironmentResponse) - err := c.cc.Invoke(ctx, EnvironmentService_ListEnvironment_FullMethodName, in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *environmentServiceClient) DescribeEnvironment(ctx context.Context, in *DescribeEnvironmentRequest, opts ...grpc.CallOption) (*DescribeEnvironmentResponse, error) { - out := new(DescribeEnvironmentResponse) - err := c.cc.Invoke(ctx, EnvironmentService_DescribeEnvironment_FullMethodName, in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *environmentServiceClient) UpdateEnvironment(ctx context.Context, in *UpdateEnvironmentRequest, opts ...grpc.CallOption) (*UpdateEnvironmentResponse, error) { - out := new(UpdateEnvironmentResponse) - err := c.cc.Invoke(ctx, EnvironmentService_UpdateEnvironment_FullMethodName, in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *environmentServiceClient) CreateEnvironment(ctx context.Context, in *CreateEnvironmentRequest, opts ...grpc.CallOption) (EnvironmentService_CreateEnvironmentClient, error) { - stream, err := c.cc.NewStream(ctx, &EnvironmentService_ServiceDesc.Streams[0], EnvironmentService_CreateEnvironment_FullMethodName, opts...) - if err != nil { - return nil, err - } - x := &environmentServiceCreateEnvironmentClient{stream} - if err := x.ClientStream.SendMsg(in); err != nil { - return nil, err - } - if err := x.ClientStream.CloseSend(); err != nil { - return nil, err - } - return x, nil -} - -type EnvironmentService_CreateEnvironmentClient interface { - Recv() (*CreateEnvironmentResponse, error) - grpc.ClientStream -} - -type environmentServiceCreateEnvironmentClient struct { - grpc.ClientStream -} - -func (x *environmentServiceCreateEnvironmentClient) Recv() (*CreateEnvironmentResponse, error) { - m := new(CreateEnvironmentResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *environmentServiceClient) DeleteEnvironment(ctx context.Context, in *DeleteEnvironmentRequest, opts ...grpc.CallOption) (EnvironmentService_DeleteEnvironmentClient, error) { - stream, err := c.cc.NewStream(ctx, &EnvironmentService_ServiceDesc.Streams[1], EnvironmentService_DeleteEnvironment_FullMethodName, opts...) - if err != nil { - return nil, err - } - x := &environmentServiceDeleteEnvironmentClient{stream} - if err := x.ClientStream.SendMsg(in); err != nil { - return nil, err - } - if err := x.ClientStream.CloseSend(); err != nil { - return nil, err - } - return x, nil -} - -type EnvironmentService_DeleteEnvironmentClient interface { - Recv() (*DeleteEnvironmentResponse, error) - grpc.ClientStream -} - -type environmentServiceDeleteEnvironmentClient struct { - grpc.ClientStream -} - -func (x *environmentServiceDeleteEnvironmentClient) Recv() (*DeleteEnvironmentResponse, error) { - m := new(DeleteEnvironmentResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -// EnvironmentServiceServer is the server API for EnvironmentService service. -// All implementations must embed UnimplementedEnvironmentServiceServer -// for forward compatibility -type EnvironmentServiceServer interface { - ListEnvironment(context.Context, *ListEnvironmentRequest) (*ListEnvironmentResponse, error) - DescribeEnvironment(context.Context, *DescribeEnvironmentRequest) (*DescribeEnvironmentResponse, error) - UpdateEnvironment(context.Context, *UpdateEnvironmentRequest) (*UpdateEnvironmentResponse, error) - CreateEnvironment(*CreateEnvironmentRequest, EnvironmentService_CreateEnvironmentServer) error - DeleteEnvironment(*DeleteEnvironmentRequest, EnvironmentService_DeleteEnvironmentServer) error - mustEmbedUnimplementedEnvironmentServiceServer() -} - -// UnimplementedEnvironmentServiceServer must be embedded to have forward compatible implementations. -type UnimplementedEnvironmentServiceServer struct { -} - -func (UnimplementedEnvironmentServiceServer) ListEnvironment(context.Context, *ListEnvironmentRequest) (*ListEnvironmentResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListEnvironment not implemented") -} -func (UnimplementedEnvironmentServiceServer) DescribeEnvironment(context.Context, *DescribeEnvironmentRequest) (*DescribeEnvironmentResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method DescribeEnvironment not implemented") -} -func (UnimplementedEnvironmentServiceServer) UpdateEnvironment(context.Context, *UpdateEnvironmentRequest) (*UpdateEnvironmentResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateEnvironment not implemented") -} -func (UnimplementedEnvironmentServiceServer) CreateEnvironment(*CreateEnvironmentRequest, EnvironmentService_CreateEnvironmentServer) error { - return status.Errorf(codes.Unimplemented, "method CreateEnvironment not implemented") -} -func (UnimplementedEnvironmentServiceServer) DeleteEnvironment(*DeleteEnvironmentRequest, EnvironmentService_DeleteEnvironmentServer) error { - return status.Errorf(codes.Unimplemented, "method DeleteEnvironment not implemented") -} -func (UnimplementedEnvironmentServiceServer) mustEmbedUnimplementedEnvironmentServiceServer() {} - -// UnsafeEnvironmentServiceServer may be embedded to opt out of forward compatibility for this service. -// Use of this interface is not recommended, as added methods to EnvironmentServiceServer will -// result in compilation errors. -type UnsafeEnvironmentServiceServer interface { - mustEmbedUnimplementedEnvironmentServiceServer() -} - -func RegisterEnvironmentServiceServer(s grpc.ServiceRegistrar, srv EnvironmentServiceServer) { - s.RegisterService(&EnvironmentService_ServiceDesc, srv) -} - -func _EnvironmentService_ListEnvironment_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListEnvironmentRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(EnvironmentServiceServer).ListEnvironment(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: EnvironmentService_ListEnvironment_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(EnvironmentServiceServer).ListEnvironment(ctx, req.(*ListEnvironmentRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _EnvironmentService_DescribeEnvironment_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DescribeEnvironmentRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(EnvironmentServiceServer).DescribeEnvironment(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: EnvironmentService_DescribeEnvironment_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(EnvironmentServiceServer).DescribeEnvironment(ctx, req.(*DescribeEnvironmentRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _EnvironmentService_UpdateEnvironment_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateEnvironmentRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(EnvironmentServiceServer).UpdateEnvironment(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: EnvironmentService_UpdateEnvironment_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(EnvironmentServiceServer).UpdateEnvironment(ctx, req.(*UpdateEnvironmentRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _EnvironmentService_CreateEnvironment_Handler(srv interface{}, stream grpc.ServerStream) error { - m := new(CreateEnvironmentRequest) - if err := stream.RecvMsg(m); err != nil { - return err - } - return srv.(EnvironmentServiceServer).CreateEnvironment(m, &environmentServiceCreateEnvironmentServer{stream}) -} - -type EnvironmentService_CreateEnvironmentServer interface { - Send(*CreateEnvironmentResponse) error - grpc.ServerStream -} - -type environmentServiceCreateEnvironmentServer struct { - grpc.ServerStream -} - -func (x *environmentServiceCreateEnvironmentServer) Send(m *CreateEnvironmentResponse) error { - return x.ServerStream.SendMsg(m) -} - -func _EnvironmentService_DeleteEnvironment_Handler(srv interface{}, stream grpc.ServerStream) error { - m := new(DeleteEnvironmentRequest) - if err := stream.RecvMsg(m); err != nil { - return err - } - return srv.(EnvironmentServiceServer).DeleteEnvironment(m, &environmentServiceDeleteEnvironmentServer{stream}) -} - -type EnvironmentService_DeleteEnvironmentServer interface { - Send(*DeleteEnvironmentResponse) error - grpc.ServerStream -} - -type environmentServiceDeleteEnvironmentServer struct { - grpc.ServerStream -} - -func (x *environmentServiceDeleteEnvironmentServer) Send(m *DeleteEnvironmentResponse) error { - return x.ServerStream.SendMsg(m) -} - -// EnvironmentService_ServiceDesc is the grpc.ServiceDesc for EnvironmentService service. -// It's only intended for direct use with grpc.RegisterService, -// and not to be introspected or modified (even as a copy) -var EnvironmentService_ServiceDesc = grpc.ServiceDesc{ - ServiceName: "dream11.od.environment.v1.EnvironmentService", - HandlerType: (*EnvironmentServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "ListEnvironment", - Handler: _EnvironmentService_ListEnvironment_Handler, - }, - { - MethodName: "DescribeEnvironment", - Handler: _EnvironmentService_DescribeEnvironment_Handler, - }, - { - MethodName: "UpdateEnvironment", - Handler: _EnvironmentService_UpdateEnvironment_Handler, - }, - }, - Streams: []grpc.StreamDesc{ - { - StreamName: "CreateEnvironment", - Handler: _EnvironmentService_CreateEnvironment_Handler, - ServerStreams: true, - }, - { - StreamName: "DeleteEnvironment", - Handler: _EnvironmentService_DeleteEnvironment_Handler, - ServerStreams: true, - }, - }, - Metadata: "dream11/od/environment/v1/environment.proto", -} diff --git a/proto/gen/go/dream11/od/service/v1/service.pb.go b/proto/gen/go/dream11/od/service/v1/service.pb.go deleted file mode 100644 index 53d9a040..00000000 --- a/proto/gen/go/dream11/od/service/v1/service.pb.go +++ /dev/null @@ -1,1888 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.34.1 -// protoc v5.26.1 -// source: dream11/od/service/v1/service.proto - -package v1 - -import ( - v1 "github.com/dream11/odin/proto/gen/go/dream11/od/dto/v1" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - structpb "google.golang.org/protobuf/types/known/structpb" - reflect "reflect" - sync "sync" -) - -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) -) - -type DeployServiceRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - EnvName string `protobuf:"bytes,1,opt,name=env_name,json=envName,proto3" json:"env_name,omitempty"` - ServiceDefinition *v1.ServiceDefinition `protobuf:"bytes,2,opt,name=service_definition,json=serviceDefinition,proto3" json:"service_definition,omitempty"` - ProvisioningConfig *v1.ProvisioningConfig `protobuf:"bytes,3,opt,name=provisioning_config,json=provisioningConfig,proto3" json:"provisioning_config,omitempty"` -} - -func (x *DeployServiceRequest) Reset() { - *x = DeployServiceRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_dream11_od_service_v1_service_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DeployServiceRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeployServiceRequest) ProtoMessage() {} - -func (x *DeployServiceRequest) ProtoReflect() protoreflect.Message { - mi := &file_dream11_od_service_v1_service_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 DeployServiceRequest.ProtoReflect.Descriptor instead. -func (*DeployServiceRequest) Descriptor() ([]byte, []int) { - return file_dream11_od_service_v1_service_proto_rawDescGZIP(), []int{0} -} - -func (x *DeployServiceRequest) GetEnvName() string { - if x != nil { - return x.EnvName - } - return "" -} - -func (x *DeployServiceRequest) GetServiceDefinition() *v1.ServiceDefinition { - if x != nil { - return x.ServiceDefinition - } - return nil -} - -func (x *DeployServiceRequest) GetProvisioningConfig() *v1.ProvisioningConfig { - if x != nil { - return x.ProvisioningConfig - } - return nil -} - -type ServiceResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ServiceStatus *ServiceStatus `protobuf:"bytes,1,opt,name=service_status,json=serviceStatus,proto3" json:"service_status,omitempty"` - ComponentsStatus []*ComponentStatus `protobuf:"bytes,2,rep,name=components_status,json=componentsStatus,proto3" json:"components_status,omitempty"` - Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"` -} - -func (x *ServiceResponse) Reset() { - *x = ServiceResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_dream11_od_service_v1_service_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ServiceResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ServiceResponse) ProtoMessage() {} - -func (x *ServiceResponse) ProtoReflect() protoreflect.Message { - mi := &file_dream11_od_service_v1_service_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 ServiceResponse.ProtoReflect.Descriptor instead. -func (*ServiceResponse) Descriptor() ([]byte, []int) { - return file_dream11_od_service_v1_service_proto_rawDescGZIP(), []int{1} -} - -func (x *ServiceResponse) GetServiceStatus() *ServiceStatus { - if x != nil { - return x.ServiceStatus - } - return nil -} - -func (x *ServiceResponse) GetComponentsStatus() []*ComponentStatus { - if x != nil { - return x.ComponentsStatus - } - return nil -} - -func (x *ServiceResponse) GetMessage() string { - if x != nil { - return x.Message - } - return "" -} - -type DeployReleasedServiceResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ServiceResponse *ServiceResponse `protobuf:"bytes,1,opt,name=service_response,json=serviceResponse,proto3" json:"service_response,omitempty"` -} - -func (x *DeployReleasedServiceResponse) Reset() { - *x = DeployReleasedServiceResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_dream11_od_service_v1_service_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DeployReleasedServiceResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeployReleasedServiceResponse) ProtoMessage() {} - -func (x *DeployReleasedServiceResponse) ProtoReflect() protoreflect.Message { - mi := &file_dream11_od_service_v1_service_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 DeployReleasedServiceResponse.ProtoReflect.Descriptor instead. -func (*DeployReleasedServiceResponse) Descriptor() ([]byte, []int) { - return file_dream11_od_service_v1_service_proto_rawDescGZIP(), []int{2} -} - -func (x *DeployReleasedServiceResponse) GetServiceResponse() *ServiceResponse { - if x != nil { - return x.ServiceResponse - } - return nil -} - -type ServiceIdentifier struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ServiceName string `protobuf:"bytes,1,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"` - ServiceVersion string `protobuf:"bytes,2,opt,name=service_version,json=serviceVersion,proto3" json:"service_version,omitempty"` -} - -func (x *ServiceIdentifier) Reset() { - *x = ServiceIdentifier{} - if protoimpl.UnsafeEnabled { - mi := &file_dream11_od_service_v1_service_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ServiceIdentifier) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ServiceIdentifier) ProtoMessage() {} - -func (x *ServiceIdentifier) ProtoReflect() protoreflect.Message { - mi := &file_dream11_od_service_v1_service_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 ServiceIdentifier.ProtoReflect.Descriptor instead. -func (*ServiceIdentifier) Descriptor() ([]byte, []int) { - return file_dream11_od_service_v1_service_proto_rawDescGZIP(), []int{3} -} - -func (x *ServiceIdentifier) GetServiceName() string { - if x != nil { - return x.ServiceName - } - return "" -} - -func (x *ServiceIdentifier) GetServiceVersion() string { - if x != nil { - return x.ServiceVersion - } - return "" -} - -type DeployReleasedServiceRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ServiceIdentifier *ServiceIdentifier `protobuf:"bytes,1,opt,name=service_identifier,json=serviceIdentifier,proto3" json:"service_identifier,omitempty"` - EnvName string `protobuf:"bytes,3,opt,name=env_name,json=envName,proto3" json:"env_name,omitempty"` -} - -func (x *DeployReleasedServiceRequest) Reset() { - *x = DeployReleasedServiceRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_dream11_od_service_v1_service_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DeployReleasedServiceRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeployReleasedServiceRequest) ProtoMessage() {} - -func (x *DeployReleasedServiceRequest) ProtoReflect() protoreflect.Message { - mi := &file_dream11_od_service_v1_service_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 DeployReleasedServiceRequest.ProtoReflect.Descriptor instead. -func (*DeployReleasedServiceRequest) Descriptor() ([]byte, []int) { - return file_dream11_od_service_v1_service_proto_rawDescGZIP(), []int{4} -} - -func (x *DeployReleasedServiceRequest) GetServiceIdentifier() *ServiceIdentifier { - if x != nil { - return x.ServiceIdentifier - } - return nil -} - -func (x *DeployReleasedServiceRequest) GetEnvName() string { - if x != nil { - return x.EnvName - } - return "" -} - -type DeployServiceSetRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - EnvName string `protobuf:"bytes,1,opt,name=env_name,json=envName,proto3" json:"env_name,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - Services []*ServiceIdentifier `protobuf:"bytes,3,rep,name=services,proto3" json:"services,omitempty"` -} - -func (x *DeployServiceSetRequest) Reset() { - *x = DeployServiceSetRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_dream11_od_service_v1_service_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DeployServiceSetRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeployServiceSetRequest) ProtoMessage() {} - -func (x *DeployServiceSetRequest) ProtoReflect() protoreflect.Message { - mi := &file_dream11_od_service_v1_service_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 DeployServiceSetRequest.ProtoReflect.Descriptor instead. -func (*DeployServiceSetRequest) Descriptor() ([]byte, []int) { - return file_dream11_od_service_v1_service_proto_rawDescGZIP(), []int{5} -} - -func (x *DeployServiceSetRequest) GetEnvName() string { - if x != nil { - return x.EnvName - } - return "" -} - -func (x *DeployServiceSetRequest) GetName() string { - if x != nil { - return x.Name - } - return "" -} - -func (x *DeployServiceSetRequest) GetServices() []*ServiceIdentifier { - if x != nil { - return x.Services - } - return nil -} - -type DeployServiceSetResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Services []*DeployServiceSetServiceResponse `protobuf:"bytes,1,rep,name=services,proto3" json:"services,omitempty"` -} - -func (x *DeployServiceSetResponse) Reset() { - *x = DeployServiceSetResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_dream11_od_service_v1_service_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DeployServiceSetResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeployServiceSetResponse) ProtoMessage() {} - -func (x *DeployServiceSetResponse) ProtoReflect() protoreflect.Message { - mi := &file_dream11_od_service_v1_service_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 DeployServiceSetResponse.ProtoReflect.Descriptor instead. -func (*DeployServiceSetResponse) Descriptor() ([]byte, []int) { - return file_dream11_od_service_v1_service_proto_rawDescGZIP(), []int{6} -} - -func (x *DeployServiceSetResponse) GetServices() []*DeployServiceSetServiceResponse { - if x != nil { - return x.Services - } - return nil -} - -type DeployServiceSetServiceResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ServiceIdentifier *ServiceIdentifier `protobuf:"bytes,1,opt,name=service_identifier,json=serviceIdentifier,proto3" json:"service_identifier,omitempty"` - ServiceResponse *ServiceResponse `protobuf:"bytes,3,opt,name=service_response,json=serviceResponse,proto3" json:"service_response,omitempty"` -} - -func (x *DeployServiceSetServiceResponse) Reset() { - *x = DeployServiceSetServiceResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_dream11_od_service_v1_service_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DeployServiceSetServiceResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeployServiceSetServiceResponse) ProtoMessage() {} - -func (x *DeployServiceSetServiceResponse) ProtoReflect() protoreflect.Message { - mi := &file_dream11_od_service_v1_service_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 DeployServiceSetServiceResponse.ProtoReflect.Descriptor instead. -func (*DeployServiceSetServiceResponse) Descriptor() ([]byte, []int) { - return file_dream11_od_service_v1_service_proto_rawDescGZIP(), []int{7} -} - -func (x *DeployServiceSetServiceResponse) GetServiceIdentifier() *ServiceIdentifier { - if x != nil { - return x.ServiceIdentifier - } - return nil -} - -func (x *DeployServiceSetServiceResponse) GetServiceResponse() *ServiceResponse { - if x != nil { - return x.ServiceResponse - } - return nil -} - -type DeployServiceResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ServiceResponse *ServiceResponse `protobuf:"bytes,1,opt,name=service_response,json=serviceResponse,proto3" json:"service_response,omitempty"` -} - -func (x *DeployServiceResponse) Reset() { - *x = DeployServiceResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_dream11_od_service_v1_service_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DeployServiceResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeployServiceResponse) ProtoMessage() {} - -func (x *DeployServiceResponse) ProtoReflect() protoreflect.Message { - mi := &file_dream11_od_service_v1_service_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 DeployServiceResponse.ProtoReflect.Descriptor instead. -func (*DeployServiceResponse) Descriptor() ([]byte, []int) { - return file_dream11_od_service_v1_service_proto_rawDescGZIP(), []int{8} -} - -func (x *DeployServiceResponse) GetServiceResponse() *ServiceResponse { - if x != nil { - return x.ServiceResponse - } - return nil -} - -type ServiceStatus struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ServiceStatus string `protobuf:"bytes,1,opt,name=service_status,json=serviceStatus,proto3" json:"service_status,omitempty"` - ServiceAction string `protobuf:"bytes,2,opt,name=service_action,json=serviceAction,proto3" json:"service_action,omitempty"` - Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"` -} - -func (x *ServiceStatus) Reset() { - *x = ServiceStatus{} - if protoimpl.UnsafeEnabled { - mi := &file_dream11_od_service_v1_service_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ServiceStatus) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ServiceStatus) ProtoMessage() {} - -func (x *ServiceStatus) ProtoReflect() protoreflect.Message { - mi := &file_dream11_od_service_v1_service_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 ServiceStatus.ProtoReflect.Descriptor instead. -func (*ServiceStatus) Descriptor() ([]byte, []int) { - return file_dream11_od_service_v1_service_proto_rawDescGZIP(), []int{9} -} - -func (x *ServiceStatus) GetServiceStatus() string { - if x != nil { - return x.ServiceStatus - } - return "" -} - -func (x *ServiceStatus) GetServiceAction() string { - if x != nil { - return x.ServiceAction - } - return "" -} - -func (x *ServiceStatus) GetError() string { - if x != nil { - return x.Error - } - return "" -} - -type ComponentStatus struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ComponentName string `protobuf:"bytes,1,opt,name=component_name,json=componentName,proto3" json:"component_name,omitempty"` - ComponentStatus string `protobuf:"bytes,2,opt,name=component_status,json=componentStatus,proto3" json:"component_status,omitempty"` - ComponentAction string `protobuf:"bytes,3,opt,name=component_action,json=componentAction,proto3" json:"component_action,omitempty"` - Error string `protobuf:"bytes,4,opt,name=error,proto3" json:"error,omitempty"` -} - -func (x *ComponentStatus) Reset() { - *x = ComponentStatus{} - if protoimpl.UnsafeEnabled { - mi := &file_dream11_od_service_v1_service_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ComponentStatus) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ComponentStatus) ProtoMessage() {} - -func (x *ComponentStatus) ProtoReflect() protoreflect.Message { - mi := &file_dream11_od_service_v1_service_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 ComponentStatus.ProtoReflect.Descriptor instead. -func (*ComponentStatus) Descriptor() ([]byte, []int) { - return file_dream11_od_service_v1_service_proto_rawDescGZIP(), []int{10} -} - -func (x *ComponentStatus) GetComponentName() string { - if x != nil { - return x.ComponentName - } - return "" -} - -func (x *ComponentStatus) GetComponentStatus() string { - if x != nil { - return x.ComponentStatus - } - return "" -} - -func (x *ComponentStatus) GetComponentAction() string { - if x != nil { - return x.ComponentAction - } - return "" -} - -func (x *ComponentStatus) GetError() string { - if x != nil { - return x.Error - } - return "" -} - -type ReleaseServiceRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ServiceDefinition *v1.ServiceDefinition `protobuf:"bytes,1,opt,name=service_definition,json=serviceDefinition,proto3" json:"service_definition,omitempty"` - ProvisioningConfigs map[string]*v1.ProvisioningConfig `protobuf:"bytes,2,rep,name=provisioning_configs,json=provisioningConfigs,proto3" json:"provisioning_configs,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` -} - -func (x *ReleaseServiceRequest) Reset() { - *x = ReleaseServiceRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_dream11_od_service_v1_service_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ReleaseServiceRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ReleaseServiceRequest) ProtoMessage() {} - -func (x *ReleaseServiceRequest) ProtoReflect() protoreflect.Message { - mi := &file_dream11_od_service_v1_service_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 ReleaseServiceRequest.ProtoReflect.Descriptor instead. -func (*ReleaseServiceRequest) Descriptor() ([]byte, []int) { - return file_dream11_od_service_v1_service_proto_rawDescGZIP(), []int{11} -} - -func (x *ReleaseServiceRequest) GetServiceDefinition() *v1.ServiceDefinition { - if x != nil { - return x.ServiceDefinition - } - return nil -} - -func (x *ReleaseServiceRequest) GetProvisioningConfigs() map[string]*v1.ProvisioningConfig { - if x != nil { - return x.ProvisioningConfigs - } - return nil -} - -type ReleaseServiceResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ProvisioningType string `protobuf:"bytes,1,opt,name=provisioning_type,json=provisioningType,proto3" json:"provisioning_type,omitempty"` - ServiceStatus *ServiceStatus `protobuf:"bytes,2,opt,name=service_status,json=serviceStatus,proto3" json:"service_status,omitempty"` - ComponentsStatus []*ComponentStatus `protobuf:"bytes,3,rep,name=components_status,json=componentsStatus,proto3" json:"components_status,omitempty"` - Message string `protobuf:"bytes,4,opt,name=message,proto3" json:"message,omitempty"` -} - -func (x *ReleaseServiceResponse) Reset() { - *x = ReleaseServiceResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_dream11_od_service_v1_service_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ReleaseServiceResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ReleaseServiceResponse) ProtoMessage() {} - -func (x *ReleaseServiceResponse) ProtoReflect() protoreflect.Message { - mi := &file_dream11_od_service_v1_service_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 ReleaseServiceResponse.ProtoReflect.Descriptor instead. -func (*ReleaseServiceResponse) Descriptor() ([]byte, []int) { - return file_dream11_od_service_v1_service_proto_rawDescGZIP(), []int{12} -} - -func (x *ReleaseServiceResponse) GetProvisioningType() string { - if x != nil { - return x.ProvisioningType - } - return "" -} - -func (x *ReleaseServiceResponse) GetServiceStatus() *ServiceStatus { - if x != nil { - return x.ServiceStatus - } - return nil -} - -func (x *ReleaseServiceResponse) GetComponentsStatus() []*ComponentStatus { - if x != nil { - return x.ComponentsStatus - } - return nil -} - -func (x *ReleaseServiceResponse) GetMessage() string { - if x != nil { - return x.Message - } - return "" -} - -type OperateServiceRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - EnvName string `protobuf:"bytes,1,opt,name=env_name,json=envName,proto3" json:"env_name,omitempty"` - ServiceName string `protobuf:"bytes,2,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"` - ComponentName string `protobuf:"bytes,3,opt,name=component_name,json=componentName,proto3" json:"component_name,omitempty"` - IsComponentOperation bool `protobuf:"varint,4,opt,name=is_component_operation,json=isComponentOperation,proto3" json:"is_component_operation,omitempty"` - Operation string `protobuf:"bytes,5,opt,name=operation,proto3" json:"operation,omitempty"` - Config *structpb.Struct `protobuf:"bytes,6,opt,name=config,proto3,oneof" json:"config,omitempty"` -} - -func (x *OperateServiceRequest) Reset() { - *x = OperateServiceRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_dream11_od_service_v1_service_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *OperateServiceRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*OperateServiceRequest) ProtoMessage() {} - -func (x *OperateServiceRequest) ProtoReflect() protoreflect.Message { - mi := &file_dream11_od_service_v1_service_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 OperateServiceRequest.ProtoReflect.Descriptor instead. -func (*OperateServiceRequest) Descriptor() ([]byte, []int) { - return file_dream11_od_service_v1_service_proto_rawDescGZIP(), []int{13} -} - -func (x *OperateServiceRequest) GetEnvName() string { - if x != nil { - return x.EnvName - } - return "" -} - -func (x *OperateServiceRequest) GetServiceName() string { - if x != nil { - return x.ServiceName - } - return "" -} - -func (x *OperateServiceRequest) GetComponentName() string { - if x != nil { - return x.ComponentName - } - return "" -} - -func (x *OperateServiceRequest) GetIsComponentOperation() bool { - if x != nil { - return x.IsComponentOperation - } - return false -} - -func (x *OperateServiceRequest) GetOperation() string { - if x != nil { - return x.Operation - } - return "" -} - -func (x *OperateServiceRequest) GetConfig() *structpb.Struct { - if x != nil { - return x.Config - } - return nil -} - -type OperateServiceResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ServiceResponse *ServiceResponse `protobuf:"bytes,1,opt,name=service_response,json=serviceResponse,proto3" json:"service_response,omitempty"` -} - -func (x *OperateServiceResponse) Reset() { - *x = OperateServiceResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_dream11_od_service_v1_service_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *OperateServiceResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*OperateServiceResponse) ProtoMessage() {} - -func (x *OperateServiceResponse) ProtoReflect() protoreflect.Message { - mi := &file_dream11_od_service_v1_service_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 OperateServiceResponse.ProtoReflect.Descriptor instead. -func (*OperateServiceResponse) Descriptor() ([]byte, []int) { - return file_dream11_od_service_v1_service_proto_rawDescGZIP(), []int{14} -} - -func (x *OperateServiceResponse) GetServiceResponse() *ServiceResponse { - if x != nil { - return x.ServiceResponse - } - return nil -} - -type UndeployServiceRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - EnvName string `protobuf:"bytes,1,opt,name=env_name,json=envName,proto3" json:"env_name,omitempty"` - ServiceName string `protobuf:"bytes,2,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"` -} - -func (x *UndeployServiceRequest) Reset() { - *x = UndeployServiceRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_dream11_od_service_v1_service_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UndeployServiceRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UndeployServiceRequest) ProtoMessage() {} - -func (x *UndeployServiceRequest) ProtoReflect() protoreflect.Message { - mi := &file_dream11_od_service_v1_service_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 UndeployServiceRequest.ProtoReflect.Descriptor instead. -func (*UndeployServiceRequest) Descriptor() ([]byte, []int) { - return file_dream11_od_service_v1_service_proto_rawDescGZIP(), []int{15} -} - -func (x *UndeployServiceRequest) GetEnvName() string { - if x != nil { - return x.EnvName - } - return "" -} - -func (x *UndeployServiceRequest) GetServiceName() string { - if x != nil { - return x.ServiceName - } - return "" -} - -type UndeployServiceResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ServiceResponse *ServiceResponse `protobuf:"bytes,1,opt,name=service_response,json=serviceResponse,proto3" json:"service_response,omitempty"` -} - -func (x *UndeployServiceResponse) Reset() { - *x = UndeployServiceResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_dream11_od_service_v1_service_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UndeployServiceResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UndeployServiceResponse) ProtoMessage() {} - -func (x *UndeployServiceResponse) ProtoReflect() protoreflect.Message { - mi := &file_dream11_od_service_v1_service_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 UndeployServiceResponse.ProtoReflect.Descriptor instead. -func (*UndeployServiceResponse) Descriptor() ([]byte, []int) { - return file_dream11_od_service_v1_service_proto_rawDescGZIP(), []int{16} -} - -func (x *UndeployServiceResponse) GetServiceResponse() *ServiceResponse { - if x != nil { - return x.ServiceResponse - } - return nil -} - -type ListServiceResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Services []*v1.ServiceMetadata `protobuf:"bytes,1,rep,name=services,proto3" json:"services,omitempty"` -} - -func (x *ListServiceResponse) Reset() { - *x = ListServiceResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_dream11_od_service_v1_service_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ListServiceResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListServiceResponse) ProtoMessage() {} - -func (x *ListServiceResponse) ProtoReflect() protoreflect.Message { - mi := &file_dream11_od_service_v1_service_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 ListServiceResponse.ProtoReflect.Descriptor instead. -func (*ListServiceResponse) Descriptor() ([]byte, []int) { - return file_dream11_od_service_v1_service_proto_rawDescGZIP(), []int{17} -} - -func (x *ListServiceResponse) GetServices() []*v1.ServiceMetadata { - if x != nil { - return x.Services - } - return nil -} - -type ListServiceRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` - Tags string `protobuf:"bytes,3,opt,name=tags,proto3" json:"tags,omitempty"` -} - -func (x *ListServiceRequest) Reset() { - *x = ListServiceRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_dream11_od_service_v1_service_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ListServiceRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListServiceRequest) ProtoMessage() {} - -func (x *ListServiceRequest) ProtoReflect() protoreflect.Message { - mi := &file_dream11_od_service_v1_service_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 ListServiceRequest.ProtoReflect.Descriptor instead. -func (*ListServiceRequest) Descriptor() ([]byte, []int) { - return file_dream11_od_service_v1_service_proto_rawDescGZIP(), []int{18} -} - -func (x *ListServiceRequest) GetName() string { - if x != nil { - return x.Name - } - return "" -} - -func (x *ListServiceRequest) GetVersion() string { - if x != nil { - return x.Version - } - return "" -} - -func (x *ListServiceRequest) GetTags() string { - if x != nil { - return x.Tags - } - return "" -} - -type DescribeServiceRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ServiceName string `protobuf:"bytes,1,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"` - Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` - Params map[string]string `protobuf:"bytes,4,rep,name=params,proto3" json:"params,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` -} - -func (x *DescribeServiceRequest) Reset() { - *x = DescribeServiceRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_dream11_od_service_v1_service_proto_msgTypes[19] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DescribeServiceRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DescribeServiceRequest) ProtoMessage() {} - -func (x *DescribeServiceRequest) ProtoReflect() protoreflect.Message { - mi := &file_dream11_od_service_v1_service_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 DescribeServiceRequest.ProtoReflect.Descriptor instead. -func (*DescribeServiceRequest) Descriptor() ([]byte, []int) { - return file_dream11_od_service_v1_service_proto_rawDescGZIP(), []int{19} -} - -func (x *DescribeServiceRequest) GetServiceName() string { - if x != nil { - return x.ServiceName - } - return "" -} - -func (x *DescribeServiceRequest) GetVersion() string { - if x != nil { - return x.Version - } - return "" -} - -func (x *DescribeServiceRequest) GetParams() map[string]string { - if x != nil { - return x.Params - } - return nil -} - -type DescribeServiceResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Service *v1.Service `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"` -} - -func (x *DescribeServiceResponse) Reset() { - *x = DescribeServiceResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_dream11_od_service_v1_service_proto_msgTypes[20] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DescribeServiceResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DescribeServiceResponse) ProtoMessage() {} - -func (x *DescribeServiceResponse) ProtoReflect() protoreflect.Message { - mi := &file_dream11_od_service_v1_service_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 DescribeServiceResponse.ProtoReflect.Descriptor instead. -func (*DescribeServiceResponse) Descriptor() ([]byte, []int) { - return file_dream11_od_service_v1_service_proto_rawDescGZIP(), []int{20} -} - -func (x *DescribeServiceResponse) GetService() *v1.Service { - if x != nil { - return x.Service - } - return nil -} - -var File_dream11_od_service_v1_service_proto protoreflect.FileDescriptor - -var file_dream11_od_service_v1_service_proto_rawDesc = []byte{ - 0x0a, 0x23, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2f, 0x6f, 0x64, 0x2f, 0x73, 0x65, 0x72, - 0x76, 0x69, 0x63, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x15, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2e, 0x6f, - 0x64, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x1a, 0x1f, 0x64, 0x72, - 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2f, 0x6f, 0x64, 0x2f, 0x64, 0x74, 0x6f, 0x2f, 0x76, 0x31, 0x2f, - 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67, - 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x73, - 0x74, 0x72, 0x75, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xde, 0x01, 0x0a, 0x14, - 0x44, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x65, 0x6e, 0x76, 0x5f, 0x6e, 0x61, 0x6d, 0x65, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x65, 0x6e, 0x76, 0x4e, 0x61, 0x6d, 0x65, 0x12, - 0x53, 0x0a, 0x12, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x64, 0x65, 0x66, 0x69, 0x6e, - 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x64, 0x72, - 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2e, 0x6f, 0x64, 0x2e, 0x64, 0x74, 0x6f, 0x2e, 0x76, 0x31, 0x2e, - 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x44, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, - 0x6e, 0x52, 0x11, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x44, 0x65, 0x66, 0x69, 0x6e, 0x69, - 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x56, 0x0a, 0x13, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, - 0x6e, 0x69, 0x6e, 0x67, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x25, 0x2e, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2e, 0x6f, 0x64, 0x2e, 0x64, - 0x74, 0x6f, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x69, - 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x12, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x73, - 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0xcd, 0x01, 0x0a, - 0x0f, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x12, 0x4b, 0x0a, 0x0e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x73, 0x74, 0x61, 0x74, - 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x64, 0x72, 0x65, 0x61, 0x6d, - 0x31, 0x31, 0x2e, 0x6f, 0x64, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, - 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x0d, - 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x53, 0x0a, - 0x11, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x73, 0x5f, 0x73, 0x74, 0x61, 0x74, - 0x75, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x64, 0x72, 0x65, 0x61, 0x6d, - 0x31, 0x31, 0x2e, 0x6f, 0x64, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, - 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, - 0x52, 0x10, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x73, 0x53, 0x74, 0x61, 0x74, - 0x75, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x03, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x72, 0x0a, 0x1d, - 0x44, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x64, 0x53, 0x65, - 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x51, 0x0a, - 0x10, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, - 0x31, 0x2e, 0x6f, 0x64, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, - 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, - 0x0f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x22, 0x5f, 0x0a, 0x11, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x49, 0x64, 0x65, 0x6e, 0x74, - 0x69, 0x66, 0x69, 0x65, 0x72, 0x12, 0x21, 0x0a, 0x0c, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, - 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x73, 0x65, 0x72, - 0x76, 0x69, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x73, 0x65, 0x72, 0x76, - 0x69, 0x63, 0x65, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x0e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, - 0x6e, 0x22, 0x92, 0x01, 0x0a, 0x1c, 0x44, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x52, 0x65, 0x6c, 0x65, - 0x61, 0x73, 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x12, 0x57, 0x0a, 0x12, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x69, 0x64, - 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, - 0x2e, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2e, 0x6f, 0x64, 0x2e, 0x73, 0x65, 0x72, 0x76, - 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x49, 0x64, - 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x52, 0x11, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, - 0x65, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x12, 0x19, 0x0a, 0x08, 0x65, - 0x6e, 0x76, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x65, - 0x6e, 0x76, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x8e, 0x01, 0x0a, 0x17, 0x44, 0x65, 0x70, 0x6c, 0x6f, - 0x79, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x53, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x65, 0x6e, 0x76, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x65, 0x6e, 0x76, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, - 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, - 0x65, 0x12, 0x44, 0x0a, 0x08, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x18, 0x03, 0x20, - 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2e, 0x6f, 0x64, - 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x72, 0x76, - 0x69, 0x63, 0x65, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x52, 0x08, 0x73, - 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x22, 0x6e, 0x0a, 0x18, 0x44, 0x65, 0x70, 0x6c, 0x6f, - 0x79, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x53, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x12, 0x52, 0x0a, 0x08, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x18, - 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x36, 0x2e, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2e, - 0x6f, 0x64, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, - 0x70, 0x6c, 0x6f, 0x79, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x53, 0x65, 0x74, 0x53, 0x65, - 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x08, 0x73, - 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x22, 0xcd, 0x01, 0x0a, 0x1f, 0x44, 0x65, 0x70, 0x6c, - 0x6f, 0x79, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x53, 0x65, 0x74, 0x53, 0x65, 0x72, 0x76, - 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x57, 0x0a, 0x12, 0x73, - 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, - 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, - 0x31, 0x2e, 0x6f, 0x64, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, - 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, - 0x72, 0x52, 0x11, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, - 0x66, 0x69, 0x65, 0x72, 0x12, 0x51, 0x0a, 0x10, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, - 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, - 0x2e, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2e, 0x6f, 0x64, 0x2e, 0x73, 0x65, 0x72, 0x76, - 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x0f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x6a, 0x0a, 0x15, 0x44, 0x65, 0x70, 0x6c, 0x6f, - 0x79, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x12, 0x51, 0x0a, 0x10, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x72, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x64, 0x72, 0x65, - 0x61, 0x6d, 0x31, 0x31, 0x2e, 0x6f, 0x64, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, - 0x76, 0x31, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x52, 0x0f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x22, 0x73, 0x0a, 0x0d, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x53, 0x74, - 0x61, 0x74, 0x75, 0x73, 0x12, 0x25, 0x0a, 0x0e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, - 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x73, 0x65, - 0x72, 0x76, 0x69, 0x63, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x25, 0x0a, 0x0e, 0x73, - 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x0d, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x74, 0x69, - 0x6f, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22, 0xa4, 0x01, 0x0a, 0x0f, 0x43, 0x6f, 0x6d, - 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x25, 0x0a, 0x0e, - 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x4e, - 0x61, 0x6d, 0x65, 0x12, 0x29, 0x0a, 0x10, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, - 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x63, - 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x29, - 0x0a, 0x10, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x5f, 0x61, 0x63, 0x74, 0x69, - 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, - 0x65, 0x6e, 0x74, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, - 0x6f, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22, - 0xd5, 0x02, 0x0a, 0x15, 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, - 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x53, 0x0a, 0x12, 0x73, 0x65, 0x72, - 0x76, 0x69, 0x63, 0x65, 0x5f, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2e, - 0x6f, 0x64, 0x2e, 0x64, 0x74, 0x6f, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, - 0x65, 0x44, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x11, 0x73, 0x65, 0x72, - 0x76, 0x69, 0x63, 0x65, 0x44, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x78, - 0x0a, 0x14, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x5f, 0x63, - 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x45, 0x2e, 0x64, - 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2e, 0x6f, 0x64, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, - 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x53, 0x65, 0x72, 0x76, - 0x69, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x50, 0x72, 0x6f, 0x76, 0x69, - 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x45, 0x6e, - 0x74, 0x72, 0x79, 0x52, 0x13, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, - 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x1a, 0x6d, 0x0a, 0x18, 0x50, 0x72, 0x6f, 0x76, - 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x45, - 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x3b, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2e, - 0x6f, 0x64, 0x2e, 0x64, 0x74, 0x6f, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x73, - 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x05, 0x76, 0x61, - 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x81, 0x02, 0x0a, 0x16, 0x52, 0x65, 0x6c, 0x65, - 0x61, 0x73, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x12, 0x2b, 0x0a, 0x11, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x69, - 0x6e, 0x67, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x70, - 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x54, 0x79, 0x70, 0x65, 0x12, - 0x4b, 0x0a, 0x0e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, - 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, - 0x31, 0x2e, 0x6f, 0x64, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, - 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x0d, 0x73, - 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x53, 0x0a, 0x11, - 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x73, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, - 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, - 0x31, 0x2e, 0x6f, 0x64, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, - 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, - 0x10, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x73, 0x53, 0x74, 0x61, 0x74, 0x75, - 0x73, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x04, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x91, 0x02, 0x0a, 0x15, - 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x65, 0x6e, 0x76, 0x5f, 0x6e, 0x61, 0x6d, - 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x65, 0x6e, 0x76, 0x4e, 0x61, 0x6d, 0x65, - 0x12, 0x21, 0x0a, 0x0c, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x4e, - 0x61, 0x6d, 0x65, 0x12, 0x25, 0x0a, 0x0e, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, - 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x63, 0x6f, 0x6d, - 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x34, 0x0a, 0x16, 0x69, 0x73, - 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x5f, 0x6f, 0x70, 0x65, 0x72, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x14, 0x69, 0x73, 0x43, 0x6f, - 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x12, 0x1c, 0x0a, 0x09, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x34, - 0x0a, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, - 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, - 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x48, 0x00, 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, - 0x67, 0x88, 0x01, 0x01, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, - 0x6b, 0x0a, 0x16, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, - 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x51, 0x0a, 0x10, 0x73, 0x65, 0x72, - 0x76, 0x69, 0x63, 0x65, 0x5f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2e, 0x6f, 0x64, - 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x72, 0x76, - 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x0f, 0x73, 0x65, 0x72, - 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x56, 0x0a, 0x16, - 0x55, 0x6e, 0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x65, 0x6e, 0x76, 0x5f, 0x6e, 0x61, - 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x65, 0x6e, 0x76, 0x4e, 0x61, 0x6d, - 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x6e, 0x61, 0x6d, - 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, - 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x6c, 0x0a, 0x17, 0x55, 0x6e, 0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79, - 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, - 0x51, 0x0a, 0x10, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x72, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x64, 0x72, 0x65, 0x61, - 0x6d, 0x31, 0x31, 0x2e, 0x6f, 0x64, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, - 0x31, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x52, 0x0f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x22, 0x55, 0x0a, 0x13, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, - 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3e, 0x0a, 0x08, 0x73, 0x65, 0x72, - 0x76, 0x69, 0x63, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x64, 0x72, - 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2e, 0x6f, 0x64, 0x2e, 0x64, 0x74, 0x6f, 0x2e, 0x76, 0x31, 0x2e, - 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, - 0x08, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x22, 0x56, 0x0a, 0x12, 0x4c, 0x69, 0x73, - 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, - 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, - 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, - 0x04, 0x74, 0x61, 0x67, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x61, 0x67, - 0x73, 0x22, 0xe3, 0x01, 0x0a, 0x16, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x53, 0x65, - 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x21, 0x0a, 0x0c, - 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x0b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, - 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x51, 0x0a, 0x06, 0x70, 0x61, 0x72, - 0x61, 0x6d, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x39, 0x2e, 0x64, 0x72, 0x65, 0x61, - 0x6d, 0x31, 0x31, 0x2e, 0x6f, 0x64, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, - 0x31, 0x2e, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, - 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x45, - 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x1a, 0x39, 0x0a, 0x0b, - 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 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, 0x22, 0x4f, 0x0a, 0x17, 0x44, 0x65, 0x73, 0x63, 0x72, - 0x69, 0x62, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x12, 0x34, 0x0a, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2e, 0x6f, 0x64, - 0x2e, 0x64, 0x74, 0x6f, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, - 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x32, 0xba, 0x07, 0x0a, 0x0e, 0x53, 0x65, 0x72, - 0x76, 0x69, 0x63, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x6e, 0x0a, 0x0d, 0x44, - 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x2b, 0x2e, 0x64, - 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2e, 0x6f, 0x64, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, - 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x53, 0x65, 0x72, 0x76, 0x69, - 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x64, 0x72, 0x65, 0x61, - 0x6d, 0x31, 0x31, 0x2e, 0x6f, 0x64, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, - 0x31, 0x2e, 0x44, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x30, 0x01, 0x12, 0x71, 0x0a, 0x0e, 0x52, - 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x2c, 0x2e, - 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2e, 0x6f, 0x64, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, - 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x53, 0x65, 0x72, - 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2d, 0x2e, 0x64, 0x72, - 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2e, 0x6f, 0x64, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, - 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, - 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x30, 0x01, 0x12, 0x86, - 0x01, 0x0a, 0x15, 0x44, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, - 0x64, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x33, 0x2e, 0x64, 0x72, 0x65, 0x61, 0x6d, - 0x31, 0x31, 0x2e, 0x6f, 0x64, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, - 0x2e, 0x44, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x64, 0x53, - 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x34, 0x2e, - 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2e, 0x6f, 0x64, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, - 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x52, 0x65, 0x6c, 0x65, - 0x61, 0x73, 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x22, 0x00, 0x30, 0x01, 0x12, 0x77, 0x0a, 0x10, 0x44, 0x65, 0x70, 0x6c, 0x6f, - 0x79, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x53, 0x65, 0x74, 0x12, 0x2e, 0x2e, 0x64, 0x72, - 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2e, 0x6f, 0x64, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, - 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, - 0x65, 0x53, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2f, 0x2e, 0x64, 0x72, - 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2e, 0x6f, 0x64, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, - 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, - 0x65, 0x53, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x30, 0x01, - 0x12, 0x71, 0x0a, 0x0e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, - 0x63, 0x65, 0x12, 0x2c, 0x2e, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2e, 0x6f, 0x64, 0x2e, - 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, - 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x1a, 0x2d, 0x2e, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2e, 0x6f, 0x64, 0x2e, 0x73, 0x65, - 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x65, - 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, - 0x00, 0x30, 0x01, 0x12, 0x74, 0x0a, 0x0f, 0x55, 0x6e, 0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x53, - 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x2d, 0x2e, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, - 0x2e, 0x6f, 0x64, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, - 0x6e, 0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2e, 0x2e, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2e, - 0x6f, 0x64, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x6e, - 0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x30, 0x01, 0x12, 0x66, 0x0a, 0x0b, 0x4c, 0x69, 0x73, - 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x29, 0x2e, 0x64, 0x72, 0x65, 0x61, 0x6d, - 0x31, 0x31, 0x2e, 0x6f, 0x64, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, - 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2e, 0x6f, 0x64, - 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, - 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, - 0x00, 0x12, 0x72, 0x0a, 0x0f, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x53, 0x65, 0x72, - 0x76, 0x69, 0x63, 0x65, 0x12, 0x2d, 0x2e, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2e, 0x6f, - 0x64, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x73, - 0x63, 0x72, 0x69, 0x62, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 0x2e, 0x2e, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2e, 0x6f, 0x64, - 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x73, 0x63, - 0x72, 0x69, 0x62, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x3c, 0x5a, 0x3a, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, - 0x63, 0x6f, 0x6d, 0x2f, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2f, 0x6f, 0x64, 0x69, 0x6e, - 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x67, 0x6f, 0x2f, 0x64, 0x72, - 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2f, 0x6f, 0x64, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, - 0x2f, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_dream11_od_service_v1_service_proto_rawDescOnce sync.Once - file_dream11_od_service_v1_service_proto_rawDescData = file_dream11_od_service_v1_service_proto_rawDesc -) - -func file_dream11_od_service_v1_service_proto_rawDescGZIP() []byte { - file_dream11_od_service_v1_service_proto_rawDescOnce.Do(func() { - file_dream11_od_service_v1_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_dream11_od_service_v1_service_proto_rawDescData) - }) - return file_dream11_od_service_v1_service_proto_rawDescData -} - -var file_dream11_od_service_v1_service_proto_msgTypes = make([]protoimpl.MessageInfo, 23) -var file_dream11_od_service_v1_service_proto_goTypes = []interface{}{ - (*DeployServiceRequest)(nil), // 0: dream11.od.service.v1.DeployServiceRequest - (*ServiceResponse)(nil), // 1: dream11.od.service.v1.ServiceResponse - (*DeployReleasedServiceResponse)(nil), // 2: dream11.od.service.v1.DeployReleasedServiceResponse - (*ServiceIdentifier)(nil), // 3: dream11.od.service.v1.ServiceIdentifier - (*DeployReleasedServiceRequest)(nil), // 4: dream11.od.service.v1.DeployReleasedServiceRequest - (*DeployServiceSetRequest)(nil), // 5: dream11.od.service.v1.DeployServiceSetRequest - (*DeployServiceSetResponse)(nil), // 6: dream11.od.service.v1.DeployServiceSetResponse - (*DeployServiceSetServiceResponse)(nil), // 7: dream11.od.service.v1.DeployServiceSetServiceResponse - (*DeployServiceResponse)(nil), // 8: dream11.od.service.v1.DeployServiceResponse - (*ServiceStatus)(nil), // 9: dream11.od.service.v1.ServiceStatus - (*ComponentStatus)(nil), // 10: dream11.od.service.v1.ComponentStatus - (*ReleaseServiceRequest)(nil), // 11: dream11.od.service.v1.ReleaseServiceRequest - (*ReleaseServiceResponse)(nil), // 12: dream11.od.service.v1.ReleaseServiceResponse - (*OperateServiceRequest)(nil), // 13: dream11.od.service.v1.OperateServiceRequest - (*OperateServiceResponse)(nil), // 14: dream11.od.service.v1.OperateServiceResponse - (*UndeployServiceRequest)(nil), // 15: dream11.od.service.v1.UndeployServiceRequest - (*UndeployServiceResponse)(nil), // 16: dream11.od.service.v1.UndeployServiceResponse - (*ListServiceResponse)(nil), // 17: dream11.od.service.v1.ListServiceResponse - (*ListServiceRequest)(nil), // 18: dream11.od.service.v1.ListServiceRequest - (*DescribeServiceRequest)(nil), // 19: dream11.od.service.v1.DescribeServiceRequest - (*DescribeServiceResponse)(nil), // 20: dream11.od.service.v1.DescribeServiceResponse - nil, // 21: dream11.od.service.v1.ReleaseServiceRequest.ProvisioningConfigsEntry - nil, // 22: dream11.od.service.v1.DescribeServiceRequest.ParamsEntry - (*v1.ServiceDefinition)(nil), // 23: dream11.od.dto.v1.ServiceDefinition - (*v1.ProvisioningConfig)(nil), // 24: dream11.od.dto.v1.ProvisioningConfig - (*structpb.Struct)(nil), // 25: google.protobuf.Struct - (*v1.ServiceMetadata)(nil), // 26: dream11.od.dto.v1.ServiceMetadata - (*v1.Service)(nil), // 27: dream11.od.dto.v1.Service -} -var file_dream11_od_service_v1_service_proto_depIdxs = []int32{ - 23, // 0: dream11.od.service.v1.DeployServiceRequest.service_definition:type_name -> dream11.od.dto.v1.ServiceDefinition - 24, // 1: dream11.od.service.v1.DeployServiceRequest.provisioning_config:type_name -> dream11.od.dto.v1.ProvisioningConfig - 9, // 2: dream11.od.service.v1.ServiceResponse.service_status:type_name -> dream11.od.service.v1.ServiceStatus - 10, // 3: dream11.od.service.v1.ServiceResponse.components_status:type_name -> dream11.od.service.v1.ComponentStatus - 1, // 4: dream11.od.service.v1.DeployReleasedServiceResponse.service_response:type_name -> dream11.od.service.v1.ServiceResponse - 3, // 5: dream11.od.service.v1.DeployReleasedServiceRequest.service_identifier:type_name -> dream11.od.service.v1.ServiceIdentifier - 3, // 6: dream11.od.service.v1.DeployServiceSetRequest.services:type_name -> dream11.od.service.v1.ServiceIdentifier - 7, // 7: dream11.od.service.v1.DeployServiceSetResponse.services:type_name -> dream11.od.service.v1.DeployServiceSetServiceResponse - 3, // 8: dream11.od.service.v1.DeployServiceSetServiceResponse.service_identifier:type_name -> dream11.od.service.v1.ServiceIdentifier - 1, // 9: dream11.od.service.v1.DeployServiceSetServiceResponse.service_response:type_name -> dream11.od.service.v1.ServiceResponse - 1, // 10: dream11.od.service.v1.DeployServiceResponse.service_response:type_name -> dream11.od.service.v1.ServiceResponse - 23, // 11: dream11.od.service.v1.ReleaseServiceRequest.service_definition:type_name -> dream11.od.dto.v1.ServiceDefinition - 21, // 12: dream11.od.service.v1.ReleaseServiceRequest.provisioning_configs:type_name -> dream11.od.service.v1.ReleaseServiceRequest.ProvisioningConfigsEntry - 9, // 13: dream11.od.service.v1.ReleaseServiceResponse.service_status:type_name -> dream11.od.service.v1.ServiceStatus - 10, // 14: dream11.od.service.v1.ReleaseServiceResponse.components_status:type_name -> dream11.od.service.v1.ComponentStatus - 25, // 15: dream11.od.service.v1.OperateServiceRequest.config:type_name -> google.protobuf.Struct - 1, // 16: dream11.od.service.v1.OperateServiceResponse.service_response:type_name -> dream11.od.service.v1.ServiceResponse - 1, // 17: dream11.od.service.v1.UndeployServiceResponse.service_response:type_name -> dream11.od.service.v1.ServiceResponse - 26, // 18: dream11.od.service.v1.ListServiceResponse.services:type_name -> dream11.od.dto.v1.ServiceMetadata - 22, // 19: dream11.od.service.v1.DescribeServiceRequest.params:type_name -> dream11.od.service.v1.DescribeServiceRequest.ParamsEntry - 27, // 20: dream11.od.service.v1.DescribeServiceResponse.service:type_name -> dream11.od.dto.v1.Service - 24, // 21: dream11.od.service.v1.ReleaseServiceRequest.ProvisioningConfigsEntry.value:type_name -> dream11.od.dto.v1.ProvisioningConfig - 0, // 22: dream11.od.service.v1.ServiceService.DeployService:input_type -> dream11.od.service.v1.DeployServiceRequest - 11, // 23: dream11.od.service.v1.ServiceService.ReleaseService:input_type -> dream11.od.service.v1.ReleaseServiceRequest - 4, // 24: dream11.od.service.v1.ServiceService.DeployReleasedService:input_type -> dream11.od.service.v1.DeployReleasedServiceRequest - 5, // 25: dream11.od.service.v1.ServiceService.DeployServiceSet:input_type -> dream11.od.service.v1.DeployServiceSetRequest - 13, // 26: dream11.od.service.v1.ServiceService.OperateService:input_type -> dream11.od.service.v1.OperateServiceRequest - 15, // 27: dream11.od.service.v1.ServiceService.UndeployService:input_type -> dream11.od.service.v1.UndeployServiceRequest - 18, // 28: dream11.od.service.v1.ServiceService.ListService:input_type -> dream11.od.service.v1.ListServiceRequest - 19, // 29: dream11.od.service.v1.ServiceService.DescribeService:input_type -> dream11.od.service.v1.DescribeServiceRequest - 8, // 30: dream11.od.service.v1.ServiceService.DeployService:output_type -> dream11.od.service.v1.DeployServiceResponse - 12, // 31: dream11.od.service.v1.ServiceService.ReleaseService:output_type -> dream11.od.service.v1.ReleaseServiceResponse - 2, // 32: dream11.od.service.v1.ServiceService.DeployReleasedService:output_type -> dream11.od.service.v1.DeployReleasedServiceResponse - 6, // 33: dream11.od.service.v1.ServiceService.DeployServiceSet:output_type -> dream11.od.service.v1.DeployServiceSetResponse - 14, // 34: dream11.od.service.v1.ServiceService.OperateService:output_type -> dream11.od.service.v1.OperateServiceResponse - 16, // 35: dream11.od.service.v1.ServiceService.UndeployService:output_type -> dream11.od.service.v1.UndeployServiceResponse - 17, // 36: dream11.od.service.v1.ServiceService.ListService:output_type -> dream11.od.service.v1.ListServiceResponse - 20, // 37: dream11.od.service.v1.ServiceService.DescribeService:output_type -> dream11.od.service.v1.DescribeServiceResponse - 30, // [30:38] is the sub-list for method output_type - 22, // [22:30] is the sub-list for method input_type - 22, // [22:22] is the sub-list for extension type_name - 22, // [22:22] is the sub-list for extension extendee - 0, // [0:22] is the sub-list for field type_name -} - -func init() { file_dream11_od_service_v1_service_proto_init() } -func file_dream11_od_service_v1_service_proto_init() { - if File_dream11_od_service_v1_service_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_dream11_od_service_v1_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeployServiceRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_dream11_od_service_v1_service_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ServiceResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_dream11_od_service_v1_service_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeployReleasedServiceResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_dream11_od_service_v1_service_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ServiceIdentifier); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_dream11_od_service_v1_service_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeployReleasedServiceRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_dream11_od_service_v1_service_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeployServiceSetRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_dream11_od_service_v1_service_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeployServiceSetResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_dream11_od_service_v1_service_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeployServiceSetServiceResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_dream11_od_service_v1_service_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeployServiceResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_dream11_od_service_v1_service_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ServiceStatus); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_dream11_od_service_v1_service_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ComponentStatus); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_dream11_od_service_v1_service_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ReleaseServiceRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_dream11_od_service_v1_service_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ReleaseServiceResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_dream11_od_service_v1_service_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*OperateServiceRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_dream11_od_service_v1_service_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*OperateServiceResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_dream11_od_service_v1_service_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UndeployServiceRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_dream11_od_service_v1_service_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UndeployServiceResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_dream11_od_service_v1_service_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListServiceResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_dream11_od_service_v1_service_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListServiceRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_dream11_od_service_v1_service_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DescribeServiceRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_dream11_od_service_v1_service_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DescribeServiceResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_dream11_od_service_v1_service_proto_msgTypes[13].OneofWrappers = []interface{}{} - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_dream11_od_service_v1_service_proto_rawDesc, - NumEnums: 0, - NumMessages: 23, - NumExtensions: 0, - NumServices: 1, - }, - GoTypes: file_dream11_od_service_v1_service_proto_goTypes, - DependencyIndexes: file_dream11_od_service_v1_service_proto_depIdxs, - MessageInfos: file_dream11_od_service_v1_service_proto_msgTypes, - }.Build() - File_dream11_od_service_v1_service_proto = out.File - file_dream11_od_service_v1_service_proto_rawDesc = nil - file_dream11_od_service_v1_service_proto_goTypes = nil - file_dream11_od_service_v1_service_proto_depIdxs = nil -} diff --git a/proto/gen/go/dream11/od/service/v1/service_grpc.pb.go b/proto/gen/go/dream11/od/service/v1/service_grpc.pb.go deleted file mode 100644 index 19f0a2eb..00000000 --- a/proto/gen/go/dream11/od/service/v1/service_grpc.pb.go +++ /dev/null @@ -1,531 +0,0 @@ -// Code generated by protoc-gen-go-grpc. DO NOT EDIT. -// versions: -// - protoc-gen-go-grpc v1.3.0 -// - protoc v5.26.1 -// source: dream11/od/service/v1/service.proto - -package v1 - -import ( - context "context" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/status" -) - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the grpc package it is being compiled against. -// Requires gRPC-Go v1.32.0 or later. -const _ = grpc.SupportPackageIsVersion7 - -const ( - ServiceService_DeployService_FullMethodName = "/dream11.od.service.v1.ServiceService/DeployService" - ServiceService_ReleaseService_FullMethodName = "/dream11.od.service.v1.ServiceService/ReleaseService" - ServiceService_DeployReleasedService_FullMethodName = "/dream11.od.service.v1.ServiceService/DeployReleasedService" - ServiceService_DeployServiceSet_FullMethodName = "/dream11.od.service.v1.ServiceService/DeployServiceSet" - ServiceService_OperateService_FullMethodName = "/dream11.od.service.v1.ServiceService/OperateService" - ServiceService_UndeployService_FullMethodName = "/dream11.od.service.v1.ServiceService/UndeployService" - ServiceService_ListService_FullMethodName = "/dream11.od.service.v1.ServiceService/ListService" - ServiceService_DescribeService_FullMethodName = "/dream11.od.service.v1.ServiceService/DescribeService" -) - -// ServiceServiceClient is the client API for ServiceService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. -type ServiceServiceClient interface { - DeployService(ctx context.Context, in *DeployServiceRequest, opts ...grpc.CallOption) (ServiceService_DeployServiceClient, error) - ReleaseService(ctx context.Context, in *ReleaseServiceRequest, opts ...grpc.CallOption) (ServiceService_ReleaseServiceClient, error) - DeployReleasedService(ctx context.Context, in *DeployReleasedServiceRequest, opts ...grpc.CallOption) (ServiceService_DeployReleasedServiceClient, error) - DeployServiceSet(ctx context.Context, in *DeployServiceSetRequest, opts ...grpc.CallOption) (ServiceService_DeployServiceSetClient, error) - OperateService(ctx context.Context, in *OperateServiceRequest, opts ...grpc.CallOption) (ServiceService_OperateServiceClient, error) - UndeployService(ctx context.Context, in *UndeployServiceRequest, opts ...grpc.CallOption) (ServiceService_UndeployServiceClient, error) - ListService(ctx context.Context, in *ListServiceRequest, opts ...grpc.CallOption) (*ListServiceResponse, error) - DescribeService(ctx context.Context, in *DescribeServiceRequest, opts ...grpc.CallOption) (*DescribeServiceResponse, error) -} - -type serviceServiceClient struct { - cc grpc.ClientConnInterface -} - -func NewServiceServiceClient(cc grpc.ClientConnInterface) ServiceServiceClient { - return &serviceServiceClient{cc} -} - -func (c *serviceServiceClient) DeployService(ctx context.Context, in *DeployServiceRequest, opts ...grpc.CallOption) (ServiceService_DeployServiceClient, error) { - stream, err := c.cc.NewStream(ctx, &ServiceService_ServiceDesc.Streams[0], ServiceService_DeployService_FullMethodName, opts...) - if err != nil { - return nil, err - } - x := &serviceServiceDeployServiceClient{stream} - if err := x.ClientStream.SendMsg(in); err != nil { - return nil, err - } - if err := x.ClientStream.CloseSend(); err != nil { - return nil, err - } - return x, nil -} - -type ServiceService_DeployServiceClient interface { - Recv() (*DeployServiceResponse, error) - grpc.ClientStream -} - -type serviceServiceDeployServiceClient struct { - grpc.ClientStream -} - -func (x *serviceServiceDeployServiceClient) Recv() (*DeployServiceResponse, error) { - m := new(DeployServiceResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *serviceServiceClient) ReleaseService(ctx context.Context, in *ReleaseServiceRequest, opts ...grpc.CallOption) (ServiceService_ReleaseServiceClient, error) { - stream, err := c.cc.NewStream(ctx, &ServiceService_ServiceDesc.Streams[1], ServiceService_ReleaseService_FullMethodName, opts...) - if err != nil { - return nil, err - } - x := &serviceServiceReleaseServiceClient{stream} - if err := x.ClientStream.SendMsg(in); err != nil { - return nil, err - } - if err := x.ClientStream.CloseSend(); err != nil { - return nil, err - } - return x, nil -} - -type ServiceService_ReleaseServiceClient interface { - Recv() (*ReleaseServiceResponse, error) - grpc.ClientStream -} - -type serviceServiceReleaseServiceClient struct { - grpc.ClientStream -} - -func (x *serviceServiceReleaseServiceClient) Recv() (*ReleaseServiceResponse, error) { - m := new(ReleaseServiceResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *serviceServiceClient) DeployReleasedService(ctx context.Context, in *DeployReleasedServiceRequest, opts ...grpc.CallOption) (ServiceService_DeployReleasedServiceClient, error) { - stream, err := c.cc.NewStream(ctx, &ServiceService_ServiceDesc.Streams[2], ServiceService_DeployReleasedService_FullMethodName, opts...) - if err != nil { - return nil, err - } - x := &serviceServiceDeployReleasedServiceClient{stream} - if err := x.ClientStream.SendMsg(in); err != nil { - return nil, err - } - if err := x.ClientStream.CloseSend(); err != nil { - return nil, err - } - return x, nil -} - -type ServiceService_DeployReleasedServiceClient interface { - Recv() (*DeployReleasedServiceResponse, error) - grpc.ClientStream -} - -type serviceServiceDeployReleasedServiceClient struct { - grpc.ClientStream -} - -func (x *serviceServiceDeployReleasedServiceClient) Recv() (*DeployReleasedServiceResponse, error) { - m := new(DeployReleasedServiceResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *serviceServiceClient) DeployServiceSet(ctx context.Context, in *DeployServiceSetRequest, opts ...grpc.CallOption) (ServiceService_DeployServiceSetClient, error) { - stream, err := c.cc.NewStream(ctx, &ServiceService_ServiceDesc.Streams[3], ServiceService_DeployServiceSet_FullMethodName, opts...) - if err != nil { - return nil, err - } - x := &serviceServiceDeployServiceSetClient{stream} - if err := x.ClientStream.SendMsg(in); err != nil { - return nil, err - } - if err := x.ClientStream.CloseSend(); err != nil { - return nil, err - } - return x, nil -} - -type ServiceService_DeployServiceSetClient interface { - Recv() (*DeployServiceSetResponse, error) - grpc.ClientStream -} - -type serviceServiceDeployServiceSetClient struct { - grpc.ClientStream -} - -func (x *serviceServiceDeployServiceSetClient) Recv() (*DeployServiceSetResponse, error) { - m := new(DeployServiceSetResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *serviceServiceClient) OperateService(ctx context.Context, in *OperateServiceRequest, opts ...grpc.CallOption) (ServiceService_OperateServiceClient, error) { - stream, err := c.cc.NewStream(ctx, &ServiceService_ServiceDesc.Streams[4], ServiceService_OperateService_FullMethodName, opts...) - if err != nil { - return nil, err - } - x := &serviceServiceOperateServiceClient{stream} - if err := x.ClientStream.SendMsg(in); err != nil { - return nil, err - } - if err := x.ClientStream.CloseSend(); err != nil { - return nil, err - } - return x, nil -} - -type ServiceService_OperateServiceClient interface { - Recv() (*OperateServiceResponse, error) - grpc.ClientStream -} - -type serviceServiceOperateServiceClient struct { - grpc.ClientStream -} - -func (x *serviceServiceOperateServiceClient) Recv() (*OperateServiceResponse, error) { - m := new(OperateServiceResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *serviceServiceClient) UndeployService(ctx context.Context, in *UndeployServiceRequest, opts ...grpc.CallOption) (ServiceService_UndeployServiceClient, error) { - stream, err := c.cc.NewStream(ctx, &ServiceService_ServiceDesc.Streams[5], ServiceService_UndeployService_FullMethodName, opts...) - if err != nil { - return nil, err - } - x := &serviceServiceUndeployServiceClient{stream} - if err := x.ClientStream.SendMsg(in); err != nil { - return nil, err - } - if err := x.ClientStream.CloseSend(); err != nil { - return nil, err - } - return x, nil -} - -type ServiceService_UndeployServiceClient interface { - Recv() (*UndeployServiceResponse, error) - grpc.ClientStream -} - -type serviceServiceUndeployServiceClient struct { - grpc.ClientStream -} - -func (x *serviceServiceUndeployServiceClient) Recv() (*UndeployServiceResponse, error) { - m := new(UndeployServiceResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *serviceServiceClient) ListService(ctx context.Context, in *ListServiceRequest, opts ...grpc.CallOption) (*ListServiceResponse, error) { - out := new(ListServiceResponse) - err := c.cc.Invoke(ctx, ServiceService_ListService_FullMethodName, in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *serviceServiceClient) DescribeService(ctx context.Context, in *DescribeServiceRequest, opts ...grpc.CallOption) (*DescribeServiceResponse, error) { - out := new(DescribeServiceResponse) - err := c.cc.Invoke(ctx, ServiceService_DescribeService_FullMethodName, in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// ServiceServiceServer is the server API for ServiceService service. -// All implementations must embed UnimplementedServiceServiceServer -// for forward compatibility -type ServiceServiceServer interface { - DeployService(*DeployServiceRequest, ServiceService_DeployServiceServer) error - ReleaseService(*ReleaseServiceRequest, ServiceService_ReleaseServiceServer) error - DeployReleasedService(*DeployReleasedServiceRequest, ServiceService_DeployReleasedServiceServer) error - DeployServiceSet(*DeployServiceSetRequest, ServiceService_DeployServiceSetServer) error - OperateService(*OperateServiceRequest, ServiceService_OperateServiceServer) error - UndeployService(*UndeployServiceRequest, ServiceService_UndeployServiceServer) error - ListService(context.Context, *ListServiceRequest) (*ListServiceResponse, error) - DescribeService(context.Context, *DescribeServiceRequest) (*DescribeServiceResponse, error) - mustEmbedUnimplementedServiceServiceServer() -} - -// UnimplementedServiceServiceServer must be embedded to have forward compatible implementations. -type UnimplementedServiceServiceServer struct { -} - -func (UnimplementedServiceServiceServer) DeployService(*DeployServiceRequest, ServiceService_DeployServiceServer) error { - return status.Errorf(codes.Unimplemented, "method DeployService not implemented") -} -func (UnimplementedServiceServiceServer) ReleaseService(*ReleaseServiceRequest, ServiceService_ReleaseServiceServer) error { - return status.Errorf(codes.Unimplemented, "method ReleaseService not implemented") -} -func (UnimplementedServiceServiceServer) DeployReleasedService(*DeployReleasedServiceRequest, ServiceService_DeployReleasedServiceServer) error { - return status.Errorf(codes.Unimplemented, "method DeployReleasedService not implemented") -} -func (UnimplementedServiceServiceServer) DeployServiceSet(*DeployServiceSetRequest, ServiceService_DeployServiceSetServer) error { - return status.Errorf(codes.Unimplemented, "method DeployServiceSet not implemented") -} -func (UnimplementedServiceServiceServer) OperateService(*OperateServiceRequest, ServiceService_OperateServiceServer) error { - return status.Errorf(codes.Unimplemented, "method OperateService not implemented") -} -func (UnimplementedServiceServiceServer) UndeployService(*UndeployServiceRequest, ServiceService_UndeployServiceServer) error { - return status.Errorf(codes.Unimplemented, "method UndeployService not implemented") -} -func (UnimplementedServiceServiceServer) ListService(context.Context, *ListServiceRequest) (*ListServiceResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListService not implemented") -} -func (UnimplementedServiceServiceServer) DescribeService(context.Context, *DescribeServiceRequest) (*DescribeServiceResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method DescribeService not implemented") -} -func (UnimplementedServiceServiceServer) mustEmbedUnimplementedServiceServiceServer() {} - -// UnsafeServiceServiceServer may be embedded to opt out of forward compatibility for this service. -// Use of this interface is not recommended, as added methods to ServiceServiceServer will -// result in compilation errors. -type UnsafeServiceServiceServer interface { - mustEmbedUnimplementedServiceServiceServer() -} - -func RegisterServiceServiceServer(s grpc.ServiceRegistrar, srv ServiceServiceServer) { - s.RegisterService(&ServiceService_ServiceDesc, srv) -} - -func _ServiceService_DeployService_Handler(srv interface{}, stream grpc.ServerStream) error { - m := new(DeployServiceRequest) - if err := stream.RecvMsg(m); err != nil { - return err - } - return srv.(ServiceServiceServer).DeployService(m, &serviceServiceDeployServiceServer{stream}) -} - -type ServiceService_DeployServiceServer interface { - Send(*DeployServiceResponse) error - grpc.ServerStream -} - -type serviceServiceDeployServiceServer struct { - grpc.ServerStream -} - -func (x *serviceServiceDeployServiceServer) Send(m *DeployServiceResponse) error { - return x.ServerStream.SendMsg(m) -} - -func _ServiceService_ReleaseService_Handler(srv interface{}, stream grpc.ServerStream) error { - m := new(ReleaseServiceRequest) - if err := stream.RecvMsg(m); err != nil { - return err - } - return srv.(ServiceServiceServer).ReleaseService(m, &serviceServiceReleaseServiceServer{stream}) -} - -type ServiceService_ReleaseServiceServer interface { - Send(*ReleaseServiceResponse) error - grpc.ServerStream -} - -type serviceServiceReleaseServiceServer struct { - grpc.ServerStream -} - -func (x *serviceServiceReleaseServiceServer) Send(m *ReleaseServiceResponse) error { - return x.ServerStream.SendMsg(m) -} - -func _ServiceService_DeployReleasedService_Handler(srv interface{}, stream grpc.ServerStream) error { - m := new(DeployReleasedServiceRequest) - if err := stream.RecvMsg(m); err != nil { - return err - } - return srv.(ServiceServiceServer).DeployReleasedService(m, &serviceServiceDeployReleasedServiceServer{stream}) -} - -type ServiceService_DeployReleasedServiceServer interface { - Send(*DeployReleasedServiceResponse) error - grpc.ServerStream -} - -type serviceServiceDeployReleasedServiceServer struct { - grpc.ServerStream -} - -func (x *serviceServiceDeployReleasedServiceServer) Send(m *DeployReleasedServiceResponse) error { - return x.ServerStream.SendMsg(m) -} - -func _ServiceService_DeployServiceSet_Handler(srv interface{}, stream grpc.ServerStream) error { - m := new(DeployServiceSetRequest) - if err := stream.RecvMsg(m); err != nil { - return err - } - return srv.(ServiceServiceServer).DeployServiceSet(m, &serviceServiceDeployServiceSetServer{stream}) -} - -type ServiceService_DeployServiceSetServer interface { - Send(*DeployServiceSetResponse) error - grpc.ServerStream -} - -type serviceServiceDeployServiceSetServer struct { - grpc.ServerStream -} - -func (x *serviceServiceDeployServiceSetServer) Send(m *DeployServiceSetResponse) error { - return x.ServerStream.SendMsg(m) -} - -func _ServiceService_OperateService_Handler(srv interface{}, stream grpc.ServerStream) error { - m := new(OperateServiceRequest) - if err := stream.RecvMsg(m); err != nil { - return err - } - return srv.(ServiceServiceServer).OperateService(m, &serviceServiceOperateServiceServer{stream}) -} - -type ServiceService_OperateServiceServer interface { - Send(*OperateServiceResponse) error - grpc.ServerStream -} - -type serviceServiceOperateServiceServer struct { - grpc.ServerStream -} - -func (x *serviceServiceOperateServiceServer) Send(m *OperateServiceResponse) error { - return x.ServerStream.SendMsg(m) -} - -func _ServiceService_UndeployService_Handler(srv interface{}, stream grpc.ServerStream) error { - m := new(UndeployServiceRequest) - if err := stream.RecvMsg(m); err != nil { - return err - } - return srv.(ServiceServiceServer).UndeployService(m, &serviceServiceUndeployServiceServer{stream}) -} - -type ServiceService_UndeployServiceServer interface { - Send(*UndeployServiceResponse) error - grpc.ServerStream -} - -type serviceServiceUndeployServiceServer struct { - grpc.ServerStream -} - -func (x *serviceServiceUndeployServiceServer) Send(m *UndeployServiceResponse) error { - return x.ServerStream.SendMsg(m) -} - -func _ServiceService_ListService_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListServiceRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ServiceServiceServer).ListService(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: ServiceService_ListService_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ServiceServiceServer).ListService(ctx, req.(*ListServiceRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ServiceService_DescribeService_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DescribeServiceRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ServiceServiceServer).DescribeService(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: ServiceService_DescribeService_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ServiceServiceServer).DescribeService(ctx, req.(*DescribeServiceRequest)) - } - return interceptor(ctx, in, info, handler) -} - -// ServiceService_ServiceDesc is the grpc.ServiceDesc for ServiceService service. -// It's only intended for direct use with grpc.RegisterService, -// and not to be introspected or modified (even as a copy) -var ServiceService_ServiceDesc = grpc.ServiceDesc{ - ServiceName: "dream11.od.service.v1.ServiceService", - HandlerType: (*ServiceServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "ListService", - Handler: _ServiceService_ListService_Handler, - }, - { - MethodName: "DescribeService", - Handler: _ServiceService_DescribeService_Handler, - }, - }, - Streams: []grpc.StreamDesc{ - { - StreamName: "DeployService", - Handler: _ServiceService_DeployService_Handler, - ServerStreams: true, - }, - { - StreamName: "ReleaseService", - Handler: _ServiceService_ReleaseService_Handler, - ServerStreams: true, - }, - { - StreamName: "DeployReleasedService", - Handler: _ServiceService_DeployReleasedService_Handler, - ServerStreams: true, - }, - { - StreamName: "DeployServiceSet", - Handler: _ServiceService_DeployServiceSet_Handler, - ServerStreams: true, - }, - { - StreamName: "OperateService", - Handler: _ServiceService_OperateService_Handler, - ServerStreams: true, - }, - { - StreamName: "UndeployService", - Handler: _ServiceService_UndeployService_Handler, - ServerStreams: true, - }, - }, - Metadata: "dream11/od/service/v1/service.proto", -} From 78615fb3fe926c0d27475dd3d6dc4a405c286e40 Mon Sep 17 00:00:00 2001 From: surajgour-d11 Date: Tue, 1 Oct 2024 15:41:50 +0530 Subject: [PATCH 2/2] fix: ci action Signed-off-by: surajgour-d11 --- .github/workflows/go-lint.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/go-lint.yaml b/.github/workflows/go-lint.yaml index 6fd0ee78..280603b4 100644 --- a/.github/workflows/go-lint.yaml +++ b/.github/workflows/go-lint.yaml @@ -14,11 +14,23 @@ jobs: steps: - uses: actions/checkout@v3 + - uses: arduino/setup-protoc@v1 + with: + version: '3.x' + - name: Set up Go uses: actions/setup-go@v2 with: go-version: '>=1.20.0' + - name: Installing protoc-gen-go + run: | + go install github.com/golang/protobuf/protoc-gen-go + go install google.golang.org/grpc/cmd/protoc-gen-go-grpc + + - name: Compile proto files + run: 'protoc --proto_path=proto/ --go_out=. --go_opt=module=github.com/dream11/odin --go-grpc_out=. --go-grpc_opt=module=github.com/dream11/odin $(find proto -name "*.proto")' + - name: Verify dependencies run: go mod verify