From 2280c6adf2946d64d53c540732161cbef2ad05b4 Mon Sep 17 00:00:00 2001 From: J Yash Sakariya Jain <113010737+yashjaind11@users.noreply.github.com> Date: Fri, 14 Jun 2024 15:05:55 +0530 Subject: [PATCH] Feat/deploy serviceset (#241) * deployed service proto update * deploye service set cmd implementation * name correction * lint changes * pr changes * pr changes --- cmd/deploy/service-set.go | 71 + cmd/deploy/service.go | 8 +- internal/service/service.go | 71 +- proto/dream11/od/dto/v1/service.proto | 12 +- proto/dream11/od/service/v1/service.proto | 64 +- proto/gen/go/dream11/od/dto/v1/service.pb.go | 282 +++- .../go/dream11/od/service/v1/service.pb.go | 1169 ++++++++++------- .../dream11/od/service/v1/service_grpc.pb.go | 176 ++- 8 files changed, 1261 insertions(+), 592 deletions(-) create mode 100644 cmd/deploy/service-set.go diff --git a/cmd/deploy/service-set.go b/cmd/deploy/service-set.go new file mode 100644 index 00000000..5db7c108 --- /dev/null +++ b/cmd/deploy/service-set.go @@ -0,0 +1,71 @@ +package deploy + +import ( + "encoding/json" + "os" + + serviceDto "github.com/dream11/odin/proto/gen/go/dream11/od/dto/v1" + serviceProto "github.com/dream11/odin/proto/gen/go/dream11/od/service/v1" + log "github.com/sirupsen/logrus" + "github.com/spf13/cobra" +) + +var serviceSetName string +var serviceSetDeployCmd = &cobra.Command{ + Use: "service-set", + Short: "Deploy service-set", + Args: func(cmd *cobra.Command, args []string) error { + return cobra.NoArgs(cmd, args) + }, + Long: "Deploy service-set using files or service set name", + Run: func(cmd *cobra.Command, args []string) { + executeDeployServiceSet(cmd) + }, +} + +func init() { + + serviceSetDeployCmd.Flags().StringVar(&env, "env", "", "environment for deploying the service-set") + serviceSetDeployCmd.Flags().StringVar(&provisioningFile, "file", "", "path to the service set provisioning file") + serviceSetDeployCmd.Flags().StringVar(&serviceSetName, "name", "", "released service set name") + + err := serviceSetDeployCmd.MarkFlagRequired("env") + if err != nil { + log.Fatal("Error marking 'env' flag as required:", err) + } + + deployCmd.AddCommand(serviceSetDeployCmd) +} + +func executeDeployServiceSet(cmd *cobra.Command) { + ctx := cmd.Context() + if serviceSetName == "" && provisioningFile == "" { + log.Fatal("Please provide either --name or --file.") + } + if provisioningFile != "" && serviceSetName != "" { + log.Fatal("--name should not be provided when --file is provided.") + } + var deployServiceSetRequestDTO serviceDto.ServiceSet + var deployServiceSetRequest serviceProto.DeployServiceSetRequest + + deployServiceSetRequest.EnvName = env + + if provisioningFile != "" { + provisioningData, err := os.ReadFile(provisioningFile) + if err != nil { + log.Fatal("Error while reading provisioning file ", err) + } + if err := json.Unmarshal(provisioningData, &deployServiceSetRequestDTO); err != nil { + log.Fatal("error unmarshalling provisioning file: %w", err) + } + deployServiceSetRequest = serviceClient.ConvertToDeployServiceSetRequest(&deployServiceSetRequestDTO, env) + } + if serviceSetName != "" { + deployServiceSetRequest.Name = serviceSetName + } + + err := serviceClient.DeployServiceSet(&ctx, &deployServiceSetRequest) + if err != nil { + log.Fatal("Failed to deploy service ", err) + } +} diff --git a/cmd/deploy/service.go b/cmd/deploy/service.go index dd591007..217836e1 100644 --- a/cmd/deploy/service.go +++ b/cmd/deploy/service.go @@ -81,9 +81,11 @@ func execute(cmd *cobra.Command) { } else if (serviceName != "" && serviceVersion != "") && (definitionFile == "" && provisioningFile == "") { log.Info("deploying service :", serviceName, ":", serviceVersion, " in env :", env) err := serviceClient.DeployReleasedService(&ctx, &serviceProto.DeployReleasedServiceRequest{ - EnvName: env, - ServiceName: serviceName, - ServiceVersion: serviceVersion, + EnvName: env, + ServiceIdentifier: &serviceProto.ServiceIdentifier{ + ServiceName: serviceName, + ServiceVersion: serviceVersion, + }, }) if err != nil { diff --git a/internal/service/service.go b/internal/service/service.go index 4d165bf0..19888d46 100644 --- a/internal/service/service.go +++ b/internal/service/service.go @@ -8,6 +8,7 @@ import ( "github.com/briandowns/spinner" "github.com/dream11/odin/pkg/constant" + serviceDto "github.com/dream11/odin/proto/gen/go/dream11/od/dto/v1" serviceProto "github.com/dream11/odin/proto/gen/go/dream11/od/service/v1" log "github.com/sirupsen/logrus" ) @@ -60,6 +61,53 @@ func (e *Service) DeployService(ctx *context.Context, request *serviceProto.Depl return err } +// DeployServiceSet deploys service-set +func (e *Service) DeployServiceSet(ctx *context.Context, request *serviceProto.DeployServiceSetRequest) error { + conn, requestCtx, err := grpcClient(ctx) + if err != nil { + return err + } + client := serviceProto.NewServiceServiceClient(conn) + stream, err := client.DeployServiceSet(*requestCtx, request) + if err != nil { + return err + } + + log.Info("Deploying Service Set..") + spinnerInstance := spinner.New(spinner.CharSets[constant.SpinnerType], constant.SpinnerDelay) + err = spinnerInstance.Color(constant.SpinnerColor, constant.SpinnerStyle) + if err != nil { + return err + } + + var message string + for { + response, err := stream.Recv() + spinnerInstance.Stop() + if err != nil { + if errors.Is(err, context.Canceled) || err == io.EOF { + break + } + return err + } + + if response != nil { + + for _, serviceRespose := range response.GetServices() { + message = fmt.Sprintf("\n Service %s %s %s", serviceRespose.ServiceIdentifier, serviceRespose.ServiceResponse.ServiceStatus, serviceRespose.ServiceResponse.Message) + for _, compMessage := range serviceRespose.ServiceResponse.ComponentsStatus { + message += fmt.Sprintf("\n Component %s %s %s", compMessage.ComponentName, compMessage.ComponentAction, compMessage.ComponentStatus) + } + } + spinnerInstance.Prefix = fmt.Sprintf(" %s ", message) + spinnerInstance.Start() + } + } + + log.Info(message) + return err +} + // DeployReleasedService deploys service func (e *Service) DeployReleasedService(ctx *context.Context, request *serviceProto.DeployReleasedServiceRequest) error { conn, requestCtx, err := grpcClient(ctx) @@ -91,9 +139,9 @@ func (e *Service) DeployReleasedService(ctx *context.Context, request *servicePr } if response != nil { - message = response.Message - message += fmt.Sprintf("\n Service %s %s", response.ServiceStatus.ServiceAction, response.ServiceStatus.ServiceStatus) - for _, compMessage := range response.ComponentsStatus { + message = response.GetServiceResponse().Message + message += fmt.Sprintf("\n Service %s %s", response.GetServiceResponse().ServiceStatus.ServiceAction, response.GetServiceResponse().ServiceStatus.ServiceStatus) + for _, compMessage := range response.GetServiceResponse().ComponentsStatus { message += fmt.Sprintf("\n Component %s %s %s", compMessage.ComponentName, compMessage.ComponentAction, compMessage.ComponentStatus) } spinnerInstance.Prefix = fmt.Sprintf(" %s ", message) @@ -201,3 +249,20 @@ func (e *Service) ListService(ctx *context.Context, request *serviceProto.ListSe response, err := client.ListService(*requestCtx, request) return response, err } + +// ConvertToDeployServiceSetRequest converts service set to deploy service set request +func (e *Service) ConvertToDeployServiceSetRequest(serviceSet *serviceDto.ServiceSet, env string) serviceProto.DeployServiceSetRequest { + var services []*serviceProto.ServiceIdentifier + for _, service := range serviceSet.Services { + services = append(services, &serviceProto.ServiceIdentifier{ + ServiceName: service.Name, + ServiceVersion: service.Version, + }) + } + + return serviceProto.DeployServiceSetRequest{ + EnvName: env, + Name: serviceSet.Name, + Services: services, + } +} diff --git a/proto/dream11/od/dto/v1/service.proto b/proto/dream11/od/dto/v1/service.proto index b6eeb11a..57009b3e 100644 --- a/proto/dream11/od/dto/v1/service.proto +++ b/proto/dream11/od/dto/v1/service.proto @@ -21,6 +21,16 @@ message ServiceDefinition { repeated ComponentDefinition components = 4; } +message ServiceIdentifier { + string name = 1; + string version = 2; +} + +message ServiceSet { + string name = 1; + repeated ServiceIdentifier services = 2; +} + message ComponentProvisioningConfig { string component_name = 1; string deployment_type = 2; @@ -41,5 +51,5 @@ message ServiceMetadata { string created_at = 7; string updated_at = 8; string tags = 9; // JSON encoded string - string labels = 10; // JSON encoded string + string labels = 10; // comma seperated string } diff --git a/proto/dream11/od/service/v1/service.proto b/proto/dream11/od/service/v1/service.proto index 167b51eb..f8bc5475 100644 --- a/proto/dream11/od/service/v1/service.proto +++ b/proto/dream11/od/service/v1/service.proto @@ -9,28 +9,55 @@ option go_package = "github.com/dream11/odin/proto/gen/go/dream11/od/service/v1" service ServiceService { rpc DeployService(DeployServiceRequest) returns (stream DeployServiceResponse) {} rpc ReleaseService(ReleaseServiceRequest) returns (stream ReleaseServiceResponse) {} + rpc DeployReleasedService(DeployReleasedServiceRequest) returns (stream DeployReleasedServiceResponse) {} + rpc DeployServiceSet(DeployServiceSetRequest) returns (stream DeployServiceSetResponse) {} rpc OperateService(OperateServiceRequest) returns (stream OperateServiceResponse) {} rpc UndeployService(UndeployServiceRequest) returns (stream UndeployServiceResponse) {} - rpc DeployReleasedService(DeployReleasedServiceRequest) returns (stream DeployReleasedServiceResponse) {} rpc ListService(ListServiceRequest) returns (ListServiceResponse) {} } message DeployServiceRequest { string env_name = 1; - dream11.od.dto.v1.ServiceDefinition service_definition = 2; - dream11.od.dto.v1.ProvisioningConfig provisioning_config = 3; + dto.v1.ServiceDefinition service_definition = 2; + dto.v1.ProvisioningConfig provisioning_config = 3; } -message DeployServiceResponse { +message ServiceResponse { + ServiceStatus service_status = 1; + repeated ComponentStatus components_status = 2; + string message = 3; +} + +message DeployReleasedServiceResponse { ServiceResponse service_response = 1; } -message UndeployServiceRequest { +message ServiceIdentifier { + string service_name = 1; + string service_version = 2; +} + +message DeployReleasedServiceRequest { + ServiceIdentifier service_identifier = 1; + string env_name = 3; +} + +message DeployServiceSetRequest { string env_name = 1; - string service_name = 2; + string name = 2; + repeated ServiceIdentifier services = 3; } -message UndeployServiceResponse { +message DeployServiceSetResponse { + repeated DeployServiceSetServiceResponse services = 1; +} + +message DeployServiceSetServiceResponse { + ServiceIdentifier service_identifier = 1; + ServiceResponse service_response = 3; +} + +message DeployServiceResponse { ServiceResponse service_response = 1; } @@ -48,8 +75,8 @@ message ComponentStatus { } message ReleaseServiceRequest { - dream11.od.dto.v1.ServiceDefinition service_definition = 1; - map provisioning_configs = 2; + dto.v1.ServiceDefinition service_definition = 1; + map provisioning_configs = 2; } message ReleaseServiceResponse { @@ -59,12 +86,6 @@ message ReleaseServiceResponse { string message = 4; } -message ServiceResponse { - ServiceStatus service_status = 1; - repeated ComponentStatus components_status = 2; - string message = 3; -} - message OperateServiceRequest { string env_name = 1; string service_name = 2; @@ -78,16 +99,13 @@ message OperateServiceResponse { ServiceResponse service_response = 1; } -message DeployReleasedServiceResponse { - ServiceStatus service_status = 1; - repeated ComponentStatus components_status = 2; - string message = 3; +message UndeployServiceRequest { + string env_name = 1; + string service_name = 2; } -message DeployReleasedServiceRequest { - string service_name = 1; - string service_version = 2; - string env_name = 3; +message UndeployServiceResponse { + ServiceResponse service_response = 1; } message ListServiceResponse { diff --git a/proto/gen/go/dream11/od/dto/v1/service.pb.go b/proto/gen/go/dream11/od/dto/v1/service.pb.go index 9ac0d9e0..8e89d848 100644 --- a/proto/gen/go/dream11/od/dto/v1/service.pb.go +++ b/proto/gen/go/dream11/od/dto/v1/service.pb.go @@ -179,6 +179,116 @@ func (x *ServiceDefinition) GetComponents() []*ComponentDefinition { return nil } +type ServiceIdentifier 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"` +} + +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) GetName() string { + if x != nil { + return x.Name + } + return "" +} + +func (x *ServiceIdentifier) GetVersion() string { + if x != nil { + return x.Version + } + 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 @@ -192,7 +302,7 @@ type ComponentProvisioningConfig struct { func (x *ComponentProvisioningConfig) Reset() { *x = ComponentProvisioningConfig{} if protoimpl.UnsafeEnabled { - mi := &file_dream11_od_dto_v1_service_proto_msgTypes[2] + mi := &file_dream11_od_dto_v1_service_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -205,7 +315,7 @@ func (x *ComponentProvisioningConfig) String() string { func (*ComponentProvisioningConfig) ProtoMessage() {} func (x *ComponentProvisioningConfig) ProtoReflect() protoreflect.Message { - mi := &file_dream11_od_dto_v1_service_proto_msgTypes[2] + 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 { @@ -218,7 +328,7 @@ func (x *ComponentProvisioningConfig) ProtoReflect() protoreflect.Message { // Deprecated: Use ComponentProvisioningConfig.ProtoReflect.Descriptor instead. func (*ComponentProvisioningConfig) Descriptor() ([]byte, []int) { - return file_dream11_od_dto_v1_service_proto_rawDescGZIP(), []int{2} + return file_dream11_od_dto_v1_service_proto_rawDescGZIP(), []int{4} } func (x *ComponentProvisioningConfig) GetComponentName() string { @@ -253,7 +363,7 @@ type ProvisioningConfig struct { func (x *ProvisioningConfig) Reset() { *x = ProvisioningConfig{} if protoimpl.UnsafeEnabled { - mi := &file_dream11_od_dto_v1_service_proto_msgTypes[3] + mi := &file_dream11_od_dto_v1_service_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -266,7 +376,7 @@ func (x *ProvisioningConfig) String() string { func (*ProvisioningConfig) ProtoMessage() {} func (x *ProvisioningConfig) ProtoReflect() protoreflect.Message { - mi := &file_dream11_od_dto_v1_service_proto_msgTypes[3] + 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 { @@ -279,7 +389,7 @@ func (x *ProvisioningConfig) ProtoReflect() protoreflect.Message { // Deprecated: Use ProvisioningConfig.ProtoReflect.Descriptor instead. func (*ProvisioningConfig) Descriptor() ([]byte, []int) { - return file_dream11_od_dto_v1_service_proto_rawDescGZIP(), []int{3} + return file_dream11_od_dto_v1_service_proto_rawDescGZIP(), []int{5} } func (x *ProvisioningConfig) GetComponentProvisioningConfig() []*ComponentProvisioningConfig { @@ -303,13 +413,13 @@ type ServiceMetadata struct { CreatedAt string `protobuf:"bytes,7,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt string `protobuf:"bytes,8,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` Tags string `protobuf:"bytes,9,opt,name=tags,proto3" json:"tags,omitempty"` // JSON encoded string - Labels string `protobuf:"bytes,10,opt,name=labels,proto3" json:"labels,omitempty"` // JSON encoded string + Labels string `protobuf:"bytes,10,opt,name=labels,proto3" json:"labels,omitempty"` // comma seperated string } func (x *ServiceMetadata) Reset() { *x = ServiceMetadata{} if protoimpl.UnsafeEnabled { - mi := &file_dream11_od_dto_v1_service_proto_msgTypes[4] + mi := &file_dream11_od_dto_v1_service_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -322,7 +432,7 @@ func (x *ServiceMetadata) String() string { func (*ServiceMetadata) ProtoMessage() {} func (x *ServiceMetadata) ProtoReflect() protoreflect.Message { - mi := &file_dream11_od_dto_v1_service_proto_msgTypes[4] + 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 { @@ -335,7 +445,7 @@ func (x *ServiceMetadata) ProtoReflect() protoreflect.Message { // Deprecated: Use ServiceMetadata.ProtoReflect.Descriptor instead. func (*ServiceMetadata) Descriptor() ([]byte, []int) { - return file_dream11_od_dto_v1_service_proto_rawDescGZIP(), []int{4} + return file_dream11_od_dto_v1_service_proto_rawDescGZIP(), []int{6} } func (x *ServiceMetadata) GetId() int32 { @@ -441,47 +551,58 @@ var file_dream11_od_dto_v1_service_proto_rawDesc = []byte{ 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, 0x9e, 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, 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, + 0x6e, 0x74, 0x73, 0x22, 0x41, 0x0a, 0x11, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x49, 0x64, + 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 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, 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, 0x9e, 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, 0x22, 0x88, 0x01, 0x0a, 0x12, 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, - 0x99, 0x02, 0x0a, 0x0f, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64, - 0x61, 0x74, 0x61, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, - 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, - 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, - 0x6e, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, - 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, - 0x69, 0x6f, 0x6e, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x62, - 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, - 0x42, 0x79, 0x12, 0x1d, 0x0a, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x62, 0x79, - 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x42, - 0x79, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, - 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, - 0x12, 0x1d, 0x0a, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x08, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, - 0x12, 0x0a, 0x04, 0x74, 0x61, 0x67, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, - 0x61, 0x67, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 0x0a, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 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, + 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, 0x99, 0x02, 0x0a, 0x0f, 0x53, 0x65, 0x72, 0x76, 0x69, + 0x63, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, + 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x18, + 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, + 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, + 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x72, + 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x62, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, + 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x42, 0x79, 0x12, 0x1d, 0x0a, 0x0a, 0x75, 0x70, 0x64, + 0x61, 0x74, 0x65, 0x64, 0x5f, 0x62, 0x79, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x75, + 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x42, 0x79, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, + 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x72, + 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, + 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x75, 0x70, 0x64, + 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x61, 0x67, 0x73, 0x18, 0x09, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x61, 0x67, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x6c, 0x61, + 0x62, 0x65, 0x6c, 0x73, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6c, 0x61, 0x62, 0x65, + 0x6c, 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 ( @@ -496,26 +617,29 @@ func file_dream11_od_dto_v1_service_proto_rawDescGZIP() []byte { return file_dream11_od_dto_v1_service_proto_rawDescData } -var file_dream11_od_dto_v1_service_proto_msgTypes = make([]protoimpl.MessageInfo, 5) +var file_dream11_od_dto_v1_service_proto_msgTypes = make([]protoimpl.MessageInfo, 7) 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 - (*ComponentProvisioningConfig)(nil), // 2: dream11.od.dto.v1.ComponentProvisioningConfig - (*ProvisioningConfig)(nil), // 3: dream11.od.dto.v1.ProvisioningConfig - (*ServiceMetadata)(nil), // 4: dream11.od.dto.v1.ServiceMetadata - (*structpb.Struct)(nil), // 5: google.protobuf.Struct + (*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 + (*structpb.Struct)(nil), // 7: google.protobuf.Struct } var file_dream11_od_dto_v1_service_proto_depIdxs = []int32{ - 5, // 0: dream11.od.dto.v1.ComponentDefinition.config:type_name -> google.protobuf.Struct - 5, // 1: dream11.od.dto.v1.ComponentDefinition.metadata:type_name -> google.protobuf.Struct + 7, // 0: dream11.od.dto.v1.ComponentDefinition.config:type_name -> google.protobuf.Struct + 7, // 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 - 5, // 3: dream11.od.dto.v1.ComponentProvisioningConfig.params:type_name -> google.protobuf.Struct - 2, // 4: dream11.od.dto.v1.ProvisioningConfig.component_provisioning_config:type_name -> dream11.od.dto.v1.ComponentProvisioningConfig - 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 + 2, // 3: dream11.od.dto.v1.ServiceSet.services:type_name -> dream11.od.dto.v1.ServiceIdentifier + 7, // 4: dream11.od.dto.v1.ComponentProvisioningConfig.params:type_name -> google.protobuf.Struct + 4, // 5: dream11.od.dto.v1.ProvisioningConfig.component_provisioning_config:type_name -> dream11.od.dto.v1.ComponentProvisioningConfig + 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_service_proto_init() } @@ -549,7 +673,7 @@ func file_dream11_od_dto_v1_service_proto_init() { } } file_dream11_od_dto_v1_service_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ComponentProvisioningConfig); i { + switch v := v.(*ServiceIdentifier); i { case 0: return &v.state case 1: @@ -561,7 +685,7 @@ func file_dream11_od_dto_v1_service_proto_init() { } } file_dream11_od_dto_v1_service_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ProvisioningConfig); i { + switch v := v.(*ServiceSet); i { case 0: return &v.state case 1: @@ -573,6 +697,30 @@ func file_dream11_od_dto_v1_service_proto_init() { } } 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 @@ -592,7 +740,7 @@ func file_dream11_od_dto_v1_service_proto_init() { GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_dream11_od_dto_v1_service_proto_rawDesc, NumEnums: 0, - NumMessages: 5, + NumMessages: 7, NumExtensions: 0, NumServices: 0, }, diff --git a/proto/gen/go/dream11/od/service/v1/service.pb.go b/proto/gen/go/dream11/od/service/v1/service.pb.go index 5315f3e2..d72833ec 100644 --- a/proto/gen/go/dream11/od/service/v1/service.pb.go +++ b/proto/gen/go/dream11/od/service/v1/service.pb.go @@ -85,16 +85,18 @@ func (x *DeployServiceRequest) GetProvisioningConfig() *v1.ProvisioningConfig { return nil } -type DeployServiceResponse struct { +type ServiceResponse 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"` + 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 *DeployServiceResponse) Reset() { - *x = DeployServiceResponse{} +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)) @@ -102,13 +104,13 @@ func (x *DeployServiceResponse) Reset() { } } -func (x *DeployServiceResponse) String() string { +func (x *ServiceResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*DeployServiceResponse) ProtoMessage() {} +func (*ServiceResponse) ProtoMessage() {} -func (x *DeployServiceResponse) ProtoReflect() protoreflect.Message { +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)) @@ -120,29 +122,42 @@ func (x *DeployServiceResponse) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use DeployServiceResponse.ProtoReflect.Descriptor instead. -func (*DeployServiceResponse) Descriptor() ([]byte, []int) { +// Deprecated: Use ServiceResponse.ProtoReflect.Descriptor instead. +func (*ServiceResponse) Descriptor() ([]byte, []int) { return file_dream11_od_service_v1_service_proto_rawDescGZIP(), []int{1} } -func (x *DeployServiceResponse) GetServiceResponse() *ServiceResponse { +func (x *ServiceResponse) GetServiceStatus() *ServiceStatus { if x != nil { - return x.ServiceResponse + return x.ServiceStatus } return nil } -type UndeployServiceRequest struct { +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 - 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"` + ServiceResponse *ServiceResponse `protobuf:"bytes,1,opt,name=service_response,json=serviceResponse,proto3" json:"service_response,omitempty"` } -func (x *UndeployServiceRequest) Reset() { - *x = UndeployServiceRequest{} +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)) @@ -150,13 +165,13 @@ func (x *UndeployServiceRequest) Reset() { } } -func (x *UndeployServiceRequest) String() string { +func (x *DeployReleasedServiceResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*UndeployServiceRequest) ProtoMessage() {} +func (*DeployReleasedServiceResponse) ProtoMessage() {} -func (x *UndeployServiceRequest) ProtoReflect() protoreflect.Message { +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)) @@ -168,26 +183,294 @@ func (x *UndeployServiceRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use UndeployServiceRequest.ProtoReflect.Descriptor instead. -func (*UndeployServiceRequest) Descriptor() ([]byte, []int) { +// Deprecated: Use DeployReleasedServiceResponse.ProtoReflect.Descriptor instead. +func (*DeployReleasedServiceResponse) Descriptor() ([]byte, []int) { return file_dream11_od_service_v1_service_proto_rawDescGZIP(), []int{2} } -func (x *UndeployServiceRequest) GetEnvName() string { +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 "" } -func (x *UndeployServiceRequest) GetServiceName() string { +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.ServiceName + return x.EnvName } return "" } -type UndeployServiceResponse struct { +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 @@ -195,23 +478,23 @@ type UndeployServiceResponse struct { ServiceResponse *ServiceResponse `protobuf:"bytes,1,opt,name=service_response,json=serviceResponse,proto3" json:"service_response,omitempty"` } -func (x *UndeployServiceResponse) Reset() { - *x = UndeployServiceResponse{} +func (x *DeployServiceResponse) Reset() { + *x = DeployServiceResponse{} if protoimpl.UnsafeEnabled { - mi := &file_dream11_od_service_v1_service_proto_msgTypes[3] + mi := &file_dream11_od_service_v1_service_proto_msgTypes[8] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *UndeployServiceResponse) String() string { +func (x *DeployServiceResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*UndeployServiceResponse) ProtoMessage() {} +func (*DeployServiceResponse) ProtoMessage() {} -func (x *UndeployServiceResponse) ProtoReflect() protoreflect.Message { - mi := &file_dream11_od_service_v1_service_proto_msgTypes[3] +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 { @@ -222,12 +505,12 @@ func (x *UndeployServiceResponse) ProtoReflect() protoreflect.Message { 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{3} +// Deprecated: Use DeployServiceResponse.ProtoReflect.Descriptor instead. +func (*DeployServiceResponse) Descriptor() ([]byte, []int) { + return file_dream11_od_service_v1_service_proto_rawDescGZIP(), []int{8} } -func (x *UndeployServiceResponse) GetServiceResponse() *ServiceResponse { +func (x *DeployServiceResponse) GetServiceResponse() *ServiceResponse { if x != nil { return x.ServiceResponse } @@ -247,7 +530,7 @@ type ServiceStatus struct { func (x *ServiceStatus) Reset() { *x = ServiceStatus{} if protoimpl.UnsafeEnabled { - mi := &file_dream11_od_service_v1_service_proto_msgTypes[4] + mi := &file_dream11_od_service_v1_service_proto_msgTypes[9] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -260,7 +543,7 @@ func (x *ServiceStatus) String() string { func (*ServiceStatus) ProtoMessage() {} func (x *ServiceStatus) ProtoReflect() protoreflect.Message { - mi := &file_dream11_od_service_v1_service_proto_msgTypes[4] + 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 { @@ -273,7 +556,7 @@ func (x *ServiceStatus) ProtoReflect() protoreflect.Message { // Deprecated: Use ServiceStatus.ProtoReflect.Descriptor instead. func (*ServiceStatus) Descriptor() ([]byte, []int) { - return file_dream11_od_service_v1_service_proto_rawDescGZIP(), []int{4} + return file_dream11_od_service_v1_service_proto_rawDescGZIP(), []int{9} } func (x *ServiceStatus) GetServiceStatus() string { @@ -311,7 +594,7 @@ type ComponentStatus struct { func (x *ComponentStatus) Reset() { *x = ComponentStatus{} if protoimpl.UnsafeEnabled { - mi := &file_dream11_od_service_v1_service_proto_msgTypes[5] + mi := &file_dream11_od_service_v1_service_proto_msgTypes[10] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -324,7 +607,7 @@ func (x *ComponentStatus) String() string { func (*ComponentStatus) ProtoMessage() {} func (x *ComponentStatus) ProtoReflect() protoreflect.Message { - mi := &file_dream11_od_service_v1_service_proto_msgTypes[5] + 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 { @@ -337,7 +620,7 @@ func (x *ComponentStatus) ProtoReflect() protoreflect.Message { // Deprecated: Use ComponentStatus.ProtoReflect.Descriptor instead. func (*ComponentStatus) Descriptor() ([]byte, []int) { - return file_dream11_od_service_v1_service_proto_rawDescGZIP(), []int{5} + return file_dream11_od_service_v1_service_proto_rawDescGZIP(), []int{10} } func (x *ComponentStatus) GetComponentName() string { @@ -380,7 +663,7 @@ type ReleaseServiceRequest struct { func (x *ReleaseServiceRequest) Reset() { *x = ReleaseServiceRequest{} if protoimpl.UnsafeEnabled { - mi := &file_dream11_od_service_v1_service_proto_msgTypes[6] + mi := &file_dream11_od_service_v1_service_proto_msgTypes[11] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -393,7 +676,7 @@ func (x *ReleaseServiceRequest) String() string { func (*ReleaseServiceRequest) ProtoMessage() {} func (x *ReleaseServiceRequest) ProtoReflect() protoreflect.Message { - mi := &file_dream11_od_service_v1_service_proto_msgTypes[6] + 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 { @@ -406,7 +689,7 @@ func (x *ReleaseServiceRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ReleaseServiceRequest.ProtoReflect.Descriptor instead. func (*ReleaseServiceRequest) Descriptor() ([]byte, []int) { - return file_dream11_od_service_v1_service_proto_rawDescGZIP(), []int{6} + return file_dream11_od_service_v1_service_proto_rawDescGZIP(), []int{11} } func (x *ReleaseServiceRequest) GetServiceDefinition() *v1.ServiceDefinition { @@ -437,7 +720,7 @@ type ReleaseServiceResponse struct { func (x *ReleaseServiceResponse) Reset() { *x = ReleaseServiceResponse{} if protoimpl.UnsafeEnabled { - mi := &file_dream11_od_service_v1_service_proto_msgTypes[7] + mi := &file_dream11_od_service_v1_service_proto_msgTypes[12] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -450,7 +733,7 @@ func (x *ReleaseServiceResponse) String() string { func (*ReleaseServiceResponse) ProtoMessage() {} func (x *ReleaseServiceResponse) ProtoReflect() protoreflect.Message { - mi := &file_dream11_od_service_v1_service_proto_msgTypes[7] + 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 { @@ -463,7 +746,7 @@ func (x *ReleaseServiceResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ReleaseServiceResponse.ProtoReflect.Descriptor instead. func (*ReleaseServiceResponse) Descriptor() ([]byte, []int) { - return file_dream11_od_service_v1_service_proto_rawDescGZIP(), []int{7} + return file_dream11_od_service_v1_service_proto_rawDescGZIP(), []int{12} } func (x *ReleaseServiceResponse) GetProvisioningType() string { @@ -494,69 +777,6 @@ func (x *ReleaseServiceResponse) GetMessage() string { return "" } -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[8] - 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[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 ServiceResponse.ProtoReflect.Descriptor instead. -func (*ServiceResponse) Descriptor() ([]byte, []int) { - return file_dream11_od_service_v1_service_proto_rawDescGZIP(), []int{8} -} - -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 OperateServiceRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -573,7 +793,7 @@ type OperateServiceRequest struct { func (x *OperateServiceRequest) Reset() { *x = OperateServiceRequest{} if protoimpl.UnsafeEnabled { - mi := &file_dream11_od_service_v1_service_proto_msgTypes[9] + mi := &file_dream11_od_service_v1_service_proto_msgTypes[13] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -586,7 +806,7 @@ func (x *OperateServiceRequest) String() string { func (*OperateServiceRequest) ProtoMessage() {} func (x *OperateServiceRequest) ProtoReflect() protoreflect.Message { - mi := &file_dream11_od_service_v1_service_proto_msgTypes[9] + 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 { @@ -599,7 +819,7 @@ func (x *OperateServiceRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use OperateServiceRequest.ProtoReflect.Descriptor instead. func (*OperateServiceRequest) Descriptor() ([]byte, []int) { - return file_dream11_od_service_v1_service_proto_rawDescGZIP(), []int{9} + return file_dream11_od_service_v1_service_proto_rawDescGZIP(), []int{13} } func (x *OperateServiceRequest) GetEnvName() string { @@ -655,7 +875,7 @@ type OperateServiceResponse struct { func (x *OperateServiceResponse) Reset() { *x = OperateServiceResponse{} if protoimpl.UnsafeEnabled { - mi := &file_dream11_od_service_v1_service_proto_msgTypes[10] + mi := &file_dream11_od_service_v1_service_proto_msgTypes[14] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -668,7 +888,7 @@ func (x *OperateServiceResponse) String() string { func (*OperateServiceResponse) ProtoMessage() {} func (x *OperateServiceResponse) ProtoReflect() protoreflect.Message { - mi := &file_dream11_od_service_v1_service_proto_msgTypes[10] + 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 { @@ -681,7 +901,7 @@ func (x *OperateServiceResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use OperateServiceResponse.ProtoReflect.Descriptor instead. func (*OperateServiceResponse) Descriptor() ([]byte, []int) { - return file_dream11_od_service_v1_service_proto_rawDescGZIP(), []int{10} + return file_dream11_od_service_v1_service_proto_rawDescGZIP(), []int{14} } func (x *OperateServiceResponse) GetServiceResponse() *ServiceResponse { @@ -691,33 +911,32 @@ func (x *OperateServiceResponse) GetServiceResponse() *ServiceResponse { return nil } -type DeployReleasedServiceResponse struct { +type UndeployServiceRequest 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"` + 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 *DeployReleasedServiceResponse) Reset() { - *x = DeployReleasedServiceResponse{} +func (x *UndeployServiceRequest) Reset() { + *x = UndeployServiceRequest{} if protoimpl.UnsafeEnabled { - mi := &file_dream11_od_service_v1_service_proto_msgTypes[11] + mi := &file_dream11_od_service_v1_service_proto_msgTypes[15] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *DeployReleasedServiceResponse) String() string { +func (x *UndeployServiceRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*DeployReleasedServiceResponse) ProtoMessage() {} +func (*UndeployServiceRequest) ProtoMessage() {} -func (x *DeployReleasedServiceResponse) ProtoReflect() protoreflect.Message { - mi := &file_dream11_od_service_v1_service_proto_msgTypes[11] +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 { @@ -728,59 +947,50 @@ func (x *DeployReleasedServiceResponse) ProtoReflect() protoreflect.Message { 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{11} -} - -func (x *DeployReleasedServiceResponse) GetServiceStatus() *ServiceStatus { - if x != nil { - return x.ServiceStatus - } - return nil +// Deprecated: Use UndeployServiceRequest.ProtoReflect.Descriptor instead. +func (*UndeployServiceRequest) Descriptor() ([]byte, []int) { + return file_dream11_od_service_v1_service_proto_rawDescGZIP(), []int{15} } -func (x *DeployReleasedServiceResponse) GetComponentsStatus() []*ComponentStatus { +func (x *UndeployServiceRequest) GetEnvName() string { if x != nil { - return x.ComponentsStatus + return x.EnvName } - return nil + return "" } -func (x *DeployReleasedServiceResponse) GetMessage() string { +func (x *UndeployServiceRequest) GetServiceName() string { if x != nil { - return x.Message + return x.ServiceName } return "" } -type DeployReleasedServiceRequest struct { +type UndeployServiceResponse 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"` - EnvName string `protobuf:"bytes,3,opt,name=env_name,json=envName,proto3" json:"env_name,omitempty"` + ServiceResponse *ServiceResponse `protobuf:"bytes,1,opt,name=service_response,json=serviceResponse,proto3" json:"service_response,omitempty"` } -func (x *DeployReleasedServiceRequest) Reset() { - *x = DeployReleasedServiceRequest{} +func (x *UndeployServiceResponse) Reset() { + *x = UndeployServiceResponse{} if protoimpl.UnsafeEnabled { - mi := &file_dream11_od_service_v1_service_proto_msgTypes[12] + mi := &file_dream11_od_service_v1_service_proto_msgTypes[16] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *DeployReleasedServiceRequest) String() string { +func (x *UndeployServiceResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*DeployReleasedServiceRequest) ProtoMessage() {} +func (*UndeployServiceResponse) ProtoMessage() {} -func (x *DeployReleasedServiceRequest) ProtoReflect() protoreflect.Message { - mi := &file_dream11_od_service_v1_service_proto_msgTypes[12] +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 { @@ -791,30 +1001,16 @@ func (x *DeployReleasedServiceRequest) ProtoReflect() protoreflect.Message { 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{12} -} - -func (x *DeployReleasedServiceRequest) GetServiceName() string { - if x != nil { - return x.ServiceName - } - return "" -} - -func (x *DeployReleasedServiceRequest) GetServiceVersion() string { - if x != nil { - return x.ServiceVersion - } - return "" +// Deprecated: Use UndeployServiceResponse.ProtoReflect.Descriptor instead. +func (*UndeployServiceResponse) Descriptor() ([]byte, []int) { + return file_dream11_od_service_v1_service_proto_rawDescGZIP(), []int{16} } -func (x *DeployReleasedServiceRequest) GetEnvName() string { +func (x *UndeployServiceResponse) GetServiceResponse() *ServiceResponse { if x != nil { - return x.EnvName + return x.ServiceResponse } - return "" + return nil } type ListServiceResponse struct { @@ -828,7 +1024,7 @@ type ListServiceResponse struct { func (x *ListServiceResponse) Reset() { *x = ListServiceResponse{} if protoimpl.UnsafeEnabled { - mi := &file_dream11_od_service_v1_service_proto_msgTypes[13] + mi := &file_dream11_od_service_v1_service_proto_msgTypes[17] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -841,7 +1037,7 @@ func (x *ListServiceResponse) String() string { func (*ListServiceResponse) ProtoMessage() {} func (x *ListServiceResponse) ProtoReflect() protoreflect.Message { - mi := &file_dream11_od_service_v1_service_proto_msgTypes[13] + 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 { @@ -854,7 +1050,7 @@ func (x *ListServiceResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ListServiceResponse.ProtoReflect.Descriptor instead. func (*ListServiceResponse) Descriptor() ([]byte, []int) { - return file_dream11_od_service_v1_service_proto_rawDescGZIP(), []int{13} + return file_dream11_od_service_v1_service_proto_rawDescGZIP(), []int{17} } func (x *ListServiceResponse) GetServices() []*v1.ServiceMetadata { @@ -878,7 +1074,7 @@ type ListServiceRequest struct { func (x *ListServiceRequest) Reset() { *x = ListServiceRequest{} if protoimpl.UnsafeEnabled { - mi := &file_dream11_od_service_v1_service_proto_msgTypes[14] + mi := &file_dream11_od_service_v1_service_proto_msgTypes[18] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -891,7 +1087,7 @@ func (x *ListServiceRequest) String() string { func (*ListServiceRequest) ProtoMessage() {} func (x *ListServiceRequest) ProtoReflect() protoreflect.Message { - mi := &file_dream11_od_service_v1_service_proto_msgTypes[14] + 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 { @@ -904,7 +1100,7 @@ func (x *ListServiceRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ListServiceRequest.ProtoReflect.Descriptor instead. func (*ListServiceRequest) Descriptor() ([]byte, []int) { - return file_dream11_od_service_v1_service_proto_rawDescGZIP(), []int{14} + return file_dream11_od_service_v1_service_proto_rawDescGZIP(), []int{18} } func (x *ListServiceRequest) GetName() string { @@ -959,203 +1155,240 @@ var file_dream11_od_service_v1_service_proto_rawDesc = []byte{ 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, 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, 0x56, 0x0a, 0x16, 0x55, 0x6e, 0x64, 0x65, - 0x70, 0x6c, 0x6f, 0x79, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, + 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, 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, 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, + 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, - 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, 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, 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, 0x03, 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, + 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, 0xdb, 0x01, 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, 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, 0x85, 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, 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, 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, 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, 0x6c, 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, 0x65, 0x61, 0x6d, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x65, 0x61, 0x6d, 0x12, 0x14, 0x0a, 0x05, - 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6c, 0x61, 0x62, - 0x65, 0x6c, 0x32, 0xcd, 0x05, 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, 0x71, 0x0a, 0x0e, 0x4f, 0x70, 0x65, 0x72, - 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x2c, 0x2e, 0x64, 0x72, 0x65, + 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, 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, 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, 0x66, 0x0a, 0x0b, 0x4c, 0x69, - 0x73, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x29, 0x2e, 0x64, 0x72, 0x65, 0x61, + 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, 0x03, 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, 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, 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, + 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, 0x6c, 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, 0x65, 0x61, 0x6d, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x65, 0x61, + 0x6d, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x05, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x32, 0xc6, 0x06, 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, + 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 ( @@ -1170,63 +1403,73 @@ func file_dream11_od_service_v1_service_proto_rawDescGZIP() []byte { return file_dream11_od_service_v1_service_proto_rawDescData } -var file_dream11_od_service_v1_service_proto_msgTypes = make([]protoimpl.MessageInfo, 16) +var file_dream11_od_service_v1_service_proto_msgTypes = make([]protoimpl.MessageInfo, 20) var file_dream11_od_service_v1_service_proto_goTypes = []interface{}{ - (*DeployServiceRequest)(nil), // 0: dream11.od.service.v1.DeployServiceRequest - (*DeployServiceResponse)(nil), // 1: dream11.od.service.v1.DeployServiceResponse - (*UndeployServiceRequest)(nil), // 2: dream11.od.service.v1.UndeployServiceRequest - (*UndeployServiceResponse)(nil), // 3: dream11.od.service.v1.UndeployServiceResponse - (*ServiceStatus)(nil), // 4: dream11.od.service.v1.ServiceStatus - (*ComponentStatus)(nil), // 5: dream11.od.service.v1.ComponentStatus - (*ReleaseServiceRequest)(nil), // 6: dream11.od.service.v1.ReleaseServiceRequest - (*ReleaseServiceResponse)(nil), // 7: dream11.od.service.v1.ReleaseServiceResponse - (*ServiceResponse)(nil), // 8: dream11.od.service.v1.ServiceResponse - (*OperateServiceRequest)(nil), // 9: dream11.od.service.v1.OperateServiceRequest - (*OperateServiceResponse)(nil), // 10: dream11.od.service.v1.OperateServiceResponse - (*DeployReleasedServiceResponse)(nil), // 11: dream11.od.service.v1.DeployReleasedServiceResponse - (*DeployReleasedServiceRequest)(nil), // 12: dream11.od.service.v1.DeployReleasedServiceRequest - (*ListServiceResponse)(nil), // 13: dream11.od.service.v1.ListServiceResponse - (*ListServiceRequest)(nil), // 14: dream11.od.service.v1.ListServiceRequest - nil, // 15: dream11.od.service.v1.ReleaseServiceRequest.ProvisioningConfigsEntry - (*v1.ServiceDefinition)(nil), // 16: dream11.od.dto.v1.ServiceDefinition - (*v1.ProvisioningConfig)(nil), // 17: dream11.od.dto.v1.ProvisioningConfig - (*structpb.Struct)(nil), // 18: google.protobuf.Struct - (*v1.ServiceMetadata)(nil), // 19: dream11.od.dto.v1.ServiceMetadata + (*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 + nil, // 19: dream11.od.service.v1.ReleaseServiceRequest.ProvisioningConfigsEntry + (*v1.ServiceDefinition)(nil), // 20: dream11.od.dto.v1.ServiceDefinition + (*v1.ProvisioningConfig)(nil), // 21: dream11.od.dto.v1.ProvisioningConfig + (*structpb.Struct)(nil), // 22: google.protobuf.Struct + (*v1.ServiceMetadata)(nil), // 23: dream11.od.dto.v1.ServiceMetadata } var file_dream11_od_service_v1_service_proto_depIdxs = []int32{ - 16, // 0: dream11.od.service.v1.DeployServiceRequest.service_definition:type_name -> dream11.od.dto.v1.ServiceDefinition - 17, // 1: dream11.od.service.v1.DeployServiceRequest.provisioning_config:type_name -> dream11.od.dto.v1.ProvisioningConfig - 8, // 2: dream11.od.service.v1.DeployServiceResponse.service_response:type_name -> dream11.od.service.v1.ServiceResponse - 8, // 3: dream11.od.service.v1.UndeployServiceResponse.service_response:type_name -> dream11.od.service.v1.ServiceResponse - 16, // 4: dream11.od.service.v1.ReleaseServiceRequest.service_definition:type_name -> dream11.od.dto.v1.ServiceDefinition - 15, // 5: dream11.od.service.v1.ReleaseServiceRequest.provisioning_configs:type_name -> dream11.od.service.v1.ReleaseServiceRequest.ProvisioningConfigsEntry - 4, // 6: dream11.od.service.v1.ReleaseServiceResponse.service_status:type_name -> dream11.od.service.v1.ServiceStatus - 5, // 7: dream11.od.service.v1.ReleaseServiceResponse.components_status:type_name -> dream11.od.service.v1.ComponentStatus - 4, // 8: dream11.od.service.v1.ServiceResponse.service_status:type_name -> dream11.od.service.v1.ServiceStatus - 5, // 9: dream11.od.service.v1.ServiceResponse.components_status:type_name -> dream11.od.service.v1.ComponentStatus - 18, // 10: dream11.od.service.v1.OperateServiceRequest.config:type_name -> google.protobuf.Struct - 8, // 11: dream11.od.service.v1.OperateServiceResponse.service_response:type_name -> dream11.od.service.v1.ServiceResponse - 4, // 12: dream11.od.service.v1.DeployReleasedServiceResponse.service_status:type_name -> dream11.od.service.v1.ServiceStatus - 5, // 13: dream11.od.service.v1.DeployReleasedServiceResponse.components_status:type_name -> dream11.od.service.v1.ComponentStatus - 19, // 14: dream11.od.service.v1.ListServiceResponse.services:type_name -> dream11.od.dto.v1.ServiceMetadata - 17, // 15: dream11.od.service.v1.ReleaseServiceRequest.ProvisioningConfigsEntry.value:type_name -> dream11.od.dto.v1.ProvisioningConfig - 0, // 16: dream11.od.service.v1.ServiceService.DeployService:input_type -> dream11.od.service.v1.DeployServiceRequest - 6, // 17: dream11.od.service.v1.ServiceService.ReleaseService:input_type -> dream11.od.service.v1.ReleaseServiceRequest - 9, // 18: dream11.od.service.v1.ServiceService.OperateService:input_type -> dream11.od.service.v1.OperateServiceRequest - 2, // 19: dream11.od.service.v1.ServiceService.UndeployService:input_type -> dream11.od.service.v1.UndeployServiceRequest - 12, // 20: dream11.od.service.v1.ServiceService.DeployReleasedService:input_type -> dream11.od.service.v1.DeployReleasedServiceRequest - 14, // 21: dream11.od.service.v1.ServiceService.ListService:input_type -> dream11.od.service.v1.ListServiceRequest - 1, // 22: dream11.od.service.v1.ServiceService.DeployService:output_type -> dream11.od.service.v1.DeployServiceResponse - 7, // 23: dream11.od.service.v1.ServiceService.ReleaseService:output_type -> dream11.od.service.v1.ReleaseServiceResponse - 10, // 24: dream11.od.service.v1.ServiceService.OperateService:output_type -> dream11.od.service.v1.OperateServiceResponse - 3, // 25: dream11.od.service.v1.ServiceService.UndeployService:output_type -> dream11.od.service.v1.UndeployServiceResponse - 11, // 26: dream11.od.service.v1.ServiceService.DeployReleasedService:output_type -> dream11.od.service.v1.DeployReleasedServiceResponse - 13, // 27: dream11.od.service.v1.ServiceService.ListService:output_type -> dream11.od.service.v1.ListServiceResponse - 22, // [22:28] is the sub-list for method output_type - 16, // [16:22] is the sub-list for method input_type - 16, // [16:16] is the sub-list for extension type_name - 16, // [16:16] is the sub-list for extension extendee - 0, // [0:16] is the sub-list for field type_name + 20, // 0: dream11.od.service.v1.DeployServiceRequest.service_definition:type_name -> dream11.od.dto.v1.ServiceDefinition + 21, // 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 + 20, // 11: dream11.od.service.v1.ReleaseServiceRequest.service_definition:type_name -> dream11.od.dto.v1.ServiceDefinition + 19, // 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 + 22, // 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 + 23, // 18: dream11.od.service.v1.ListServiceResponse.services:type_name -> dream11.od.dto.v1.ServiceMetadata + 21, // 19: dream11.od.service.v1.ReleaseServiceRequest.ProvisioningConfigsEntry.value:type_name -> dream11.od.dto.v1.ProvisioningConfig + 0, // 20: dream11.od.service.v1.ServiceService.DeployService:input_type -> dream11.od.service.v1.DeployServiceRequest + 11, // 21: dream11.od.service.v1.ServiceService.ReleaseService:input_type -> dream11.od.service.v1.ReleaseServiceRequest + 4, // 22: dream11.od.service.v1.ServiceService.DeployReleasedService:input_type -> dream11.od.service.v1.DeployReleasedServiceRequest + 5, // 23: dream11.od.service.v1.ServiceService.DeployServiceSet:input_type -> dream11.od.service.v1.DeployServiceSetRequest + 13, // 24: dream11.od.service.v1.ServiceService.OperateService:input_type -> dream11.od.service.v1.OperateServiceRequest + 15, // 25: dream11.od.service.v1.ServiceService.UndeployService:input_type -> dream11.od.service.v1.UndeployServiceRequest + 18, // 26: dream11.od.service.v1.ServiceService.ListService:input_type -> dream11.od.service.v1.ListServiceRequest + 8, // 27: dream11.od.service.v1.ServiceService.DeployService:output_type -> dream11.od.service.v1.DeployServiceResponse + 12, // 28: dream11.od.service.v1.ServiceService.ReleaseService:output_type -> dream11.od.service.v1.ReleaseServiceResponse + 2, // 29: dream11.od.service.v1.ServiceService.DeployReleasedService:output_type -> dream11.od.service.v1.DeployReleasedServiceResponse + 6, // 30: dream11.od.service.v1.ServiceService.DeployServiceSet:output_type -> dream11.od.service.v1.DeployServiceSetResponse + 14, // 31: dream11.od.service.v1.ServiceService.OperateService:output_type -> dream11.od.service.v1.OperateServiceResponse + 16, // 32: dream11.od.service.v1.ServiceService.UndeployService:output_type -> dream11.od.service.v1.UndeployServiceResponse + 17, // 33: dream11.od.service.v1.ServiceService.ListService:output_type -> dream11.od.service.v1.ListServiceResponse + 27, // [27:34] is the sub-list for method output_type + 20, // [20:27] is the sub-list for method input_type + 20, // [20:20] is the sub-list for extension type_name + 20, // [20:20] is the sub-list for extension extendee + 0, // [0:20] is the sub-list for field type_name } func init() { file_dream11_od_service_v1_service_proto_init() } @@ -1248,7 +1491,7 @@ func file_dream11_od_service_v1_service_proto_init() { } } file_dream11_od_service_v1_service_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeployServiceResponse); i { + switch v := v.(*ServiceResponse); i { case 0: return &v.state case 1: @@ -1260,7 +1503,7 @@ func file_dream11_od_service_v1_service_proto_init() { } } file_dream11_od_service_v1_service_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UndeployServiceRequest); i { + switch v := v.(*DeployReleasedServiceResponse); i { case 0: return &v.state case 1: @@ -1272,7 +1515,7 @@ func file_dream11_od_service_v1_service_proto_init() { } } file_dream11_od_service_v1_service_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UndeployServiceResponse); i { + switch v := v.(*ServiceIdentifier); i { case 0: return &v.state case 1: @@ -1284,7 +1527,7 @@ func file_dream11_od_service_v1_service_proto_init() { } } file_dream11_od_service_v1_service_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ServiceStatus); i { + switch v := v.(*DeployReleasedServiceRequest); i { case 0: return &v.state case 1: @@ -1296,7 +1539,7 @@ func file_dream11_od_service_v1_service_proto_init() { } } file_dream11_od_service_v1_service_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ComponentStatus); i { + switch v := v.(*DeployServiceSetRequest); i { case 0: return &v.state case 1: @@ -1308,7 +1551,7 @@ func file_dream11_od_service_v1_service_proto_init() { } } file_dream11_od_service_v1_service_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ReleaseServiceRequest); i { + switch v := v.(*DeployServiceSetResponse); i { case 0: return &v.state case 1: @@ -1320,7 +1563,7 @@ func file_dream11_od_service_v1_service_proto_init() { } } file_dream11_od_service_v1_service_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ReleaseServiceResponse); i { + switch v := v.(*DeployServiceSetServiceResponse); i { case 0: return &v.state case 1: @@ -1332,7 +1575,7 @@ func file_dream11_od_service_v1_service_proto_init() { } } file_dream11_od_service_v1_service_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ServiceResponse); i { + switch v := v.(*DeployServiceResponse); i { case 0: return &v.state case 1: @@ -1344,7 +1587,7 @@ func file_dream11_od_service_v1_service_proto_init() { } } file_dream11_od_service_v1_service_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*OperateServiceRequest); i { + switch v := v.(*ServiceStatus); i { case 0: return &v.state case 1: @@ -1356,7 +1599,7 @@ func file_dream11_od_service_v1_service_proto_init() { } } file_dream11_od_service_v1_service_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*OperateServiceResponse); i { + switch v := v.(*ComponentStatus); i { case 0: return &v.state case 1: @@ -1368,7 +1611,7 @@ func file_dream11_od_service_v1_service_proto_init() { } } file_dream11_od_service_v1_service_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeployReleasedServiceResponse); i { + switch v := v.(*ReleaseServiceRequest); i { case 0: return &v.state case 1: @@ -1380,7 +1623,7 @@ func file_dream11_od_service_v1_service_proto_init() { } } file_dream11_od_service_v1_service_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeployReleasedServiceRequest); i { + switch v := v.(*ReleaseServiceResponse); i { case 0: return &v.state case 1: @@ -1392,7 +1635,7 @@ func file_dream11_od_service_v1_service_proto_init() { } } file_dream11_od_service_v1_service_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListServiceResponse); i { + switch v := v.(*OperateServiceRequest); i { case 0: return &v.state case 1: @@ -1404,6 +1647,54 @@ func file_dream11_od_service_v1_service_proto_init() { } } 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 @@ -1416,14 +1707,14 @@ func file_dream11_od_service_v1_service_proto_init() { } } } - file_dream11_od_service_v1_service_proto_msgTypes[9].OneofWrappers = []interface{}{} + 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: 16, + NumMessages: 20, NumExtensions: 0, NumServices: 1, }, 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 index 632f67aa..fc1555e5 100644 --- a/proto/gen/go/dream11/od/service/v1/service_grpc.pb.go +++ b/proto/gen/go/dream11/od/service/v1/service_grpc.pb.go @@ -21,9 +21,10 @@ 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_DeployReleasedService_FullMethodName = "/dream11.od.service.v1.ServiceService/DeployReleasedService" ServiceService_ListService_FullMethodName = "/dream11.od.service.v1.ServiceService/ListService" ) @@ -33,9 +34,10 @@ const ( 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) - DeployReleasedService(ctx context.Context, in *DeployReleasedServiceRequest, opts ...grpc.CallOption) (ServiceService_DeployReleasedServiceClient, error) ListService(ctx context.Context, in *ListServiceRequest, opts ...grpc.CallOption) (*ListServiceResponse, error) } @@ -111,12 +113,12 @@ func (x *serviceServiceReleaseServiceClient) Recv() (*ReleaseServiceResponse, er 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[2], ServiceService_OperateService_FullMethodName, opts...) +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 := &serviceServiceOperateServiceClient{stream} + x := &serviceServiceDeployReleasedServiceClient{stream} if err := x.ClientStream.SendMsg(in); err != nil { return nil, err } @@ -126,29 +128,29 @@ func (c *serviceServiceClient) OperateService(ctx context.Context, in *OperateSe return x, nil } -type ServiceService_OperateServiceClient interface { - Recv() (*OperateServiceResponse, error) +type ServiceService_DeployReleasedServiceClient interface { + Recv() (*DeployReleasedServiceResponse, error) grpc.ClientStream } -type serviceServiceOperateServiceClient struct { +type serviceServiceDeployReleasedServiceClient struct { grpc.ClientStream } -func (x *serviceServiceOperateServiceClient) Recv() (*OperateServiceResponse, error) { - m := new(OperateServiceResponse) +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) UndeployService(ctx context.Context, in *UndeployServiceRequest, opts ...grpc.CallOption) (ServiceService_UndeployServiceClient, error) { - stream, err := c.cc.NewStream(ctx, &ServiceService_ServiceDesc.Streams[3], ServiceService_UndeployService_FullMethodName, opts...) +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 := &serviceServiceUndeployServiceClient{stream} + x := &serviceServiceDeployServiceSetClient{stream} if err := x.ClientStream.SendMsg(in); err != nil { return nil, err } @@ -158,29 +160,29 @@ func (c *serviceServiceClient) UndeployService(ctx context.Context, in *Undeploy return x, nil } -type ServiceService_UndeployServiceClient interface { - Recv() (*UndeployServiceResponse, error) +type ServiceService_DeployServiceSetClient interface { + Recv() (*DeployServiceSetResponse, error) grpc.ClientStream } -type serviceServiceUndeployServiceClient struct { +type serviceServiceDeployServiceSetClient struct { grpc.ClientStream } -func (x *serviceServiceUndeployServiceClient) Recv() (*UndeployServiceResponse, error) { - m := new(UndeployServiceResponse) +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) DeployReleasedService(ctx context.Context, in *DeployReleasedServiceRequest, opts ...grpc.CallOption) (ServiceService_DeployReleasedServiceClient, error) { - stream, err := c.cc.NewStream(ctx, &ServiceService_ServiceDesc.Streams[4], ServiceService_DeployReleasedService_FullMethodName, opts...) +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 := &serviceServiceDeployReleasedServiceClient{stream} + x := &serviceServiceOperateServiceClient{stream} if err := x.ClientStream.SendMsg(in); err != nil { return nil, err } @@ -190,17 +192,49 @@ func (c *serviceServiceClient) DeployReleasedService(ctx context.Context, in *De return x, nil } -type ServiceService_DeployReleasedServiceClient interface { - Recv() (*DeployReleasedServiceResponse, error) +type ServiceService_OperateServiceClient interface { + Recv() (*OperateServiceResponse, error) grpc.ClientStream } -type serviceServiceDeployReleasedServiceClient struct { +type serviceServiceOperateServiceClient struct { grpc.ClientStream } -func (x *serviceServiceDeployReleasedServiceClient) Recv() (*DeployReleasedServiceResponse, error) { - m := new(DeployReleasedServiceResponse) +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 } @@ -222,9 +256,10 @@ func (c *serviceServiceClient) ListService(ctx context.Context, in *ListServiceR 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 - DeployReleasedService(*DeployReleasedServiceRequest, ServiceService_DeployReleasedServiceServer) error ListService(context.Context, *ListServiceRequest) (*ListServiceResponse, error) mustEmbedUnimplementedServiceServiceServer() } @@ -239,15 +274,18 @@ func (UnimplementedServiceServiceServer) DeployService(*DeployServiceRequest, Se 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) DeployReleasedService(*DeployReleasedServiceRequest, ServiceService_DeployReleasedServiceServer) error { - return status.Errorf(codes.Unimplemented, "method DeployReleasedService not implemented") -} func (UnimplementedServiceServiceServer) ListService(context.Context, *ListServiceRequest) (*ListServiceResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ListService not implemented") } @@ -306,66 +344,87 @@ func (x *serviceServiceReleaseServiceServer) Send(m *ReleaseServiceResponse) err return x.ServerStream.SendMsg(m) } -func _ServiceService_OperateService_Handler(srv interface{}, stream grpc.ServerStream) error { - m := new(OperateServiceRequest) +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).OperateService(m, &serviceServiceOperateServiceServer{stream}) + return srv.(ServiceServiceServer).DeployReleasedService(m, &serviceServiceDeployReleasedServiceServer{stream}) } -type ServiceService_OperateServiceServer interface { - Send(*OperateServiceResponse) error +type ServiceService_DeployReleasedServiceServer interface { + Send(*DeployReleasedServiceResponse) error grpc.ServerStream } -type serviceServiceOperateServiceServer struct { +type serviceServiceDeployReleasedServiceServer struct { grpc.ServerStream } -func (x *serviceServiceOperateServiceServer) Send(m *OperateServiceResponse) error { +func (x *serviceServiceDeployReleasedServiceServer) Send(m *DeployReleasedServiceResponse) error { return x.ServerStream.SendMsg(m) } -func _ServiceService_UndeployService_Handler(srv interface{}, stream grpc.ServerStream) error { - m := new(UndeployServiceRequest) +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).UndeployService(m, &serviceServiceUndeployServiceServer{stream}) + return srv.(ServiceServiceServer).DeployServiceSet(m, &serviceServiceDeployServiceSetServer{stream}) } -type ServiceService_UndeployServiceServer interface { - Send(*UndeployServiceResponse) error +type ServiceService_DeployServiceSetServer interface { + Send(*DeployServiceSetResponse) error grpc.ServerStream } -type serviceServiceUndeployServiceServer struct { +type serviceServiceDeployServiceSetServer struct { grpc.ServerStream } -func (x *serviceServiceUndeployServiceServer) Send(m *UndeployServiceResponse) error { +func (x *serviceServiceDeployServiceSetServer) Send(m *DeployServiceSetResponse) error { return x.ServerStream.SendMsg(m) } -func _ServiceService_DeployReleasedService_Handler(srv interface{}, stream grpc.ServerStream) error { - m := new(DeployReleasedServiceRequest) +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).DeployReleasedService(m, &serviceServiceDeployReleasedServiceServer{stream}) + return srv.(ServiceServiceServer).OperateService(m, &serviceServiceOperateServiceServer{stream}) } -type ServiceService_DeployReleasedServiceServer interface { - Send(*DeployReleasedServiceResponse) error +type ServiceService_OperateServiceServer interface { + Send(*OperateServiceResponse) error grpc.ServerStream } -type serviceServiceDeployReleasedServiceServer struct { +type serviceServiceOperateServiceServer struct { grpc.ServerStream } -func (x *serviceServiceDeployReleasedServiceServer) Send(m *DeployReleasedServiceResponse) error { +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) } @@ -410,6 +469,16 @@ var ServiceService_ServiceDesc = grpc.ServiceDesc{ 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, @@ -420,11 +489,6 @@ var ServiceService_ServiceDesc = grpc.ServiceDesc{ Handler: _ServiceService_UndeployService_Handler, ServerStreams: true, }, - { - StreamName: "DeployReleasedService", - Handler: _ServiceService_DeployReleasedService_Handler, - ServerStreams: true, - }, }, Metadata: "dream11/od/service/v1/service.proto", }