From 9d2d1e8e20ac8f2c79b57eed056749e8b0a8d4c1 Mon Sep 17 00:00:00 2001 From: mfordjody <11638005@qq.com> Date: Fri, 27 Dec 2024 22:54:39 +0800 Subject: [PATCH] [operator] Remove unnecessary logic --- operator/pkg/apis/proto/values_types.proto | 53 +-- operator/pkg/apis/value_types_json.go | 73 ++++ operator/pkg/apis/values_types.pb.go | 403 +++++---------------- 3 files changed, 172 insertions(+), 357 deletions(-) create mode 100644 operator/pkg/apis/value_types_json.go diff --git a/operator/pkg/apis/proto/values_types.proto b/operator/pkg/apis/proto/values_types.proto index 4fbfabba..f80b5041 100644 --- a/operator/pkg/apis/proto/values_types.proto +++ b/operator/pkg/apis/proto/values_types.proto @@ -26,67 +26,26 @@ message GlobalConfig { ArchConfig arch = 1 [deprecated = true]; // Controls whether the server-side validation is enabled. - google.protobuf.BoolValue configValidation = 3; + google.protobuf.BoolValue configValidation = 2; // Specifies the default namespace for the dubbo control plane components. string dubboNamespace = 14; - - // Specifies the configution of dubbod - dubbodConfig dubbod = 54; - - // Configures the revision this control plane is a part of - string revision = 59; -} - -message dubbodConfig { - // If enabled, dubbod will perform config analysis - google.protobuf.BoolValue enableAnalysis = 2; } message BaseConfig { - // For Helm2 use, adds the CRDs to templates. - google.protobuf.BoolValue enableCRDTemplates = 1; - // CRDs to exclude. Requires `enableCRDTemplates` - repeated string excludedCRDs = 6; - // URL to use for validating webhook. - string validationURL = 2; - - // For dubboctl usage to disable dubbo config crds in base - google.protobuf.BoolValue enabledubboConfigCRDs = 3; - - google.protobuf.BoolValue validateGateway = 4; - - // validation webhook CA bundle - string validationCABundle = 5; + google.protobuf.BoolValue enabledubboConfigCRDs = 1; + GlobalConfig global = 2; // Add this line if `global` is required in BaseConfig } message Values { // Global configuration for dubbo components. - GlobalConfig global = 6; - - // Identifies the revision this installation is associated with. - string revision = 21; - - // Used internally to identify the owner of each resource. - string ownerName = 22; + GlobalConfig global = 1; // Configuration for the base component. - BaseConfig base = 37; - - // Specifies the aliases for the dubbo control plane revision. A MutatingWebhookConfiguration - // is created for each alias. - repeated string revisionTags = 39; - - // The name of the default revision in the cluster. - string defaultRevision = 40; + BaseConfig base = 2; // Specifies which installation configuration profile to apply. - string profile = 42; - - // Specifies the compatibility version to use. When this is set, the control plane will - // be configured with the same defaults as the specified version. - string compatibilityVersion = 43; - + string profile = 4; } // IntOrString is a type that can hold an int32 or a string. When used in diff --git a/operator/pkg/apis/value_types_json.go b/operator/pkg/apis/value_types_json.go new file mode 100644 index 00000000..05c3346f --- /dev/null +++ b/operator/pkg/apis/value_types_json.go @@ -0,0 +1,73 @@ +package apis + +import ( + "bytes" + "encoding/json" + + github_com_golang_protobuf_jsonpb "github.com/golang/protobuf/jsonpb" // nolint: depguard + "google.golang.org/protobuf/types/known/wrapperspb" + "k8s.io/apimachinery/pkg/util/intstr" +) + +// nolint +var _ github_com_golang_protobuf_jsonpb.JSONPBUnmarshaler = &IntOrString{} + +// UnmarshalJSON implements the json.Unmarshaller interface. +func (i *IntOrString) UnmarshalJSON(value []byte) error { + if value[0] == '"' { + i.Type = int64(intstr.String) + var s string + err := json.Unmarshal(value, &s) + if err != nil { + return err + } + i.StrVal = &wrapperspb.StringValue{Value: s} + return nil + } + i.Type = int64(intstr.Int) + var s int32 + err := json.Unmarshal(value, &s) + if err != nil { + return err + } + i.IntVal = &wrapperspb.Int32Value{Value: s} + return nil +} + +func (i *IntOrString) MarshalJSONPB(_ *github_com_golang_protobuf_jsonpb.Marshaler) ([]byte, error) { + return i.MarshalJSON() +} + +func (i *IntOrString) MarshalJSON() ([]byte, error) { + if i.IntVal != nil { + return json.Marshal(i.IntVal.GetValue()) + } + return json.Marshal(i.StrVal.GetValue()) +} + +func (i *IntOrString) UnmarshalJSONPB(_ *github_com_golang_protobuf_jsonpb.Unmarshaler, value []byte) error { + return i.UnmarshalJSON(value) +} + +func (i *IntOrString) ToKubernetes() intstr.IntOrString { + if i.IntVal != nil { + return intstr.FromInt32(i.GetIntVal().GetValue()) + } + return intstr.FromString(i.GetStrVal().GetValue()) +} + +// MarshalJSON is a custom marshaler for Values +func (in *Values) MarshalJSON() ([]byte, error) { + str, err := OperatorMarshaler.MarshalToString(in) + return []byte(str), err +} + +// UnmarshalJSON is a custom unmarshaler for Values +func (in *Values) UnmarshalJSON(b []byte) error { + return OperatorUnmarshaler.Unmarshal(bytes.NewReader(b), in) +} + +var ( + OperatorMarshaler = &github_com_golang_protobuf_jsonpb.Marshaler{} + OperatorUnmarshaler = &github_com_golang_protobuf_jsonpb.Unmarshaler{} +) diff --git a/operator/pkg/apis/values_types.pb.go b/operator/pkg/apis/values_types.pb.go index 347459e2..59ff55a2 100644 --- a/operator/pkg/apis/values_types.pb.go +++ b/operator/pkg/apis/values_types.pb.go @@ -9,9 +9,6 @@ package apis import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - _ "google.golang.org/protobuf/types/known/anypb" - _ "google.golang.org/protobuf/types/known/durationpb" - _ "google.golang.org/protobuf/types/known/structpb" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" reflect "reflect" sync "sync" @@ -105,25 +102,14 @@ type GlobalConfig struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // Specifies pod scheduling arch(amd64, ppc64le, s390x, arm64) and weight as follows: - // - // 0 - Never scheduled - // 1 - Least preferred - // 2 - No preference - // 3 - Most preferred - // // Deprecated: replaced by the affinity k8s settings which allows architecture nodeAffinity configuration of this behavior. // // Deprecated: Marked as deprecated in values_types.proto. Arch *ArchConfig `protobuf:"bytes,1,opt,name=arch,proto3" json:"arch,omitempty"` // Controls whether the server-side validation is enabled. - ConfigValidation *wrapperspb.BoolValue `protobuf:"bytes,3,opt,name=configValidation,proto3" json:"configValidation,omitempty"` + ConfigValidation *wrapperspb.BoolValue `protobuf:"bytes,2,opt,name=configValidation,proto3" json:"configValidation,omitempty"` // Specifies the default namespace for the dubbo control plane components. DubboNamespace string `protobuf:"bytes,14,opt,name=dubboNamespace,proto3" json:"dubboNamespace,omitempty"` - // Specifies the configution of dubbod - Dubbod *DubbodConfig `protobuf:"bytes,54,opt,name=dubbod,proto3" json:"dubbod,omitempty"` - // Configures the revision this control plane is a part of - Revision string `protobuf:"bytes,59,opt,name=revision,proto3" json:"revision,omitempty"` } func (x *GlobalConfig) Reset() { @@ -180,90 +166,19 @@ func (x *GlobalConfig) GetDubboNamespace() string { return "" } -func (x *GlobalConfig) GetDubbod() *DubbodConfig { - if x != nil { - return x.Dubbod - } - return nil -} - -func (x *GlobalConfig) GetRevision() string { - if x != nil { - return x.Revision - } - return "" -} - -type DubbodConfig struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // If enabled, dubbod will perform config analysis - EnableAnalysis *wrapperspb.BoolValue `protobuf:"bytes,2,opt,name=enableAnalysis,proto3" json:"enableAnalysis,omitempty"` -} - -func (x *DubbodConfig) Reset() { - *x = DubbodConfig{} - if protoimpl.UnsafeEnabled { - mi := &file_values_types_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DubbodConfig) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DubbodConfig) ProtoMessage() {} - -func (x *DubbodConfig) ProtoReflect() protoreflect.Message { - mi := &file_values_types_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 DubbodConfig.ProtoReflect.Descriptor instead. -func (*DubbodConfig) Descriptor() ([]byte, []int) { - return file_values_types_proto_rawDescGZIP(), []int{2} -} - -func (x *DubbodConfig) GetEnableAnalysis() *wrapperspb.BoolValue { - if x != nil { - return x.EnableAnalysis - } - return nil -} - type BaseConfig struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // For Helm2 use, adds the CRDs to templates. - EnableCRDTemplates *wrapperspb.BoolValue `protobuf:"bytes,1,opt,name=enableCRDTemplates,proto3" json:"enableCRDTemplates,omitempty"` - // CRDs to exclude. Requires `enableCRDTemplates` - ExcludedCRDs []string `protobuf:"bytes,6,rep,name=excludedCRDs,proto3" json:"excludedCRDs,omitempty"` - // URL to use for validating webhook. - ValidationURL string `protobuf:"bytes,2,opt,name=validationURL,proto3" json:"validationURL,omitempty"` - // For dubboctl usage to disable dubbo config crds in base - EnabledubboConfigCRDs *wrapperspb.BoolValue `protobuf:"bytes,3,opt,name=enabledubboConfigCRDs,proto3" json:"enabledubboConfigCRDs,omitempty"` - ValidateGateway *wrapperspb.BoolValue `protobuf:"bytes,4,opt,name=validateGateway,proto3" json:"validateGateway,omitempty"` - // validation webhook CA bundle - ValidationCABundle string `protobuf:"bytes,5,opt,name=validationCABundle,proto3" json:"validationCABundle,omitempty"` + EnabledubboConfigCRDs *wrapperspb.BoolValue `protobuf:"bytes,1,opt,name=enabledubboConfigCRDs,proto3" json:"enabledubboConfigCRDs,omitempty"` + Global *GlobalConfig `protobuf:"bytes,2,opt,name=global,proto3" json:"global,omitempty"` // Add this line if `global` is required in BaseConfig } func (x *BaseConfig) Reset() { *x = BaseConfig{} if protoimpl.UnsafeEnabled { - mi := &file_values_types_proto_msgTypes[3] + mi := &file_values_types_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -276,7 +191,7 @@ func (x *BaseConfig) String() string { func (*BaseConfig) ProtoMessage() {} func (x *BaseConfig) ProtoReflect() protoreflect.Message { - mi := &file_values_types_proto_msgTypes[3] + mi := &file_values_types_proto_msgTypes[2] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -289,28 +204,7 @@ func (x *BaseConfig) ProtoReflect() protoreflect.Message { // Deprecated: Use BaseConfig.ProtoReflect.Descriptor instead. func (*BaseConfig) Descriptor() ([]byte, []int) { - return file_values_types_proto_rawDescGZIP(), []int{3} -} - -func (x *BaseConfig) GetEnableCRDTemplates() *wrapperspb.BoolValue { - if x != nil { - return x.EnableCRDTemplates - } - return nil -} - -func (x *BaseConfig) GetExcludedCRDs() []string { - if x != nil { - return x.ExcludedCRDs - } - return nil -} - -func (x *BaseConfig) GetValidationURL() string { - if x != nil { - return x.ValidationURL - } - return "" + return file_values_types_proto_rawDescGZIP(), []int{2} } func (x *BaseConfig) GetEnabledubboConfigCRDs() *wrapperspb.BoolValue { @@ -320,49 +214,30 @@ func (x *BaseConfig) GetEnabledubboConfigCRDs() *wrapperspb.BoolValue { return nil } -func (x *BaseConfig) GetValidateGateway() *wrapperspb.BoolValue { +func (x *BaseConfig) GetGlobal() *GlobalConfig { if x != nil { - return x.ValidateGateway + return x.Global } return nil } -func (x *BaseConfig) GetValidationCABundle() string { - if x != nil { - return x.ValidationCABundle - } - return "" -} - type Values struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields // Global configuration for dubbo components. - Global *GlobalConfig `protobuf:"bytes,6,opt,name=global,proto3" json:"global,omitempty"` - // Identifies the revision this installation is associated with. - Revision string `protobuf:"bytes,21,opt,name=revision,proto3" json:"revision,omitempty"` - // Used internally to identify the owner of each resource. - OwnerName string `protobuf:"bytes,22,opt,name=ownerName,proto3" json:"ownerName,omitempty"` + Global *GlobalConfig `protobuf:"bytes,1,opt,name=global,proto3" json:"global,omitempty"` // Configuration for the base component. - Base *BaseConfig `protobuf:"bytes,37,opt,name=base,proto3" json:"base,omitempty"` - // Specifies the aliases for the dubbo control plane revision. A MutatingWebhookConfiguration - // is created for each alias. - RevisionTags []string `protobuf:"bytes,39,rep,name=revisionTags,proto3" json:"revisionTags,omitempty"` - // The name of the default revision in the cluster. - DefaultRevision string `protobuf:"bytes,40,opt,name=defaultRevision,proto3" json:"defaultRevision,omitempty"` + Base *BaseConfig `protobuf:"bytes,2,opt,name=base,proto3" json:"base,omitempty"` // Specifies which installation configuration profile to apply. - Profile string `protobuf:"bytes,42,opt,name=profile,proto3" json:"profile,omitempty"` - // Specifies the compatibility version to use. When this is set, the control plane will - // be configured with the same defaults as the specified version. - CompatibilityVersion string `protobuf:"bytes,43,opt,name=compatibilityVersion,proto3" json:"compatibilityVersion,omitempty"` + Profile string `protobuf:"bytes,4,opt,name=profile,proto3" json:"profile,omitempty"` } func (x *Values) Reset() { *x = Values{} if protoimpl.UnsafeEnabled { - mi := &file_values_types_proto_msgTypes[4] + mi := &file_values_types_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -375,7 +250,7 @@ func (x *Values) String() string { func (*Values) ProtoMessage() {} func (x *Values) ProtoReflect() protoreflect.Message { - mi := &file_values_types_proto_msgTypes[4] + mi := &file_values_types_proto_msgTypes[3] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -388,7 +263,7 @@ func (x *Values) ProtoReflect() protoreflect.Message { // Deprecated: Use Values.ProtoReflect.Descriptor instead. func (*Values) Descriptor() ([]byte, []int) { - return file_values_types_proto_rawDescGZIP(), []int{4} + return file_values_types_proto_rawDescGZIP(), []int{3} } func (x *Values) GetGlobal() *GlobalConfig { @@ -398,20 +273,6 @@ func (x *Values) GetGlobal() *GlobalConfig { return nil } -func (x *Values) GetRevision() string { - if x != nil { - return x.Revision - } - return "" -} - -func (x *Values) GetOwnerName() string { - if x != nil { - return x.OwnerName - } - return "" -} - func (x *Values) GetBase() *BaseConfig { if x != nil { return x.Base @@ -419,20 +280,6 @@ func (x *Values) GetBase() *BaseConfig { return nil } -func (x *Values) GetRevisionTags() []string { - if x != nil { - return x.RevisionTags - } - return nil -} - -func (x *Values) GetDefaultRevision() string { - if x != nil { - return x.DefaultRevision - } - return "" -} - func (x *Values) GetProfile() string { if x != nil { return x.Profile @@ -440,13 +287,6 @@ func (x *Values) GetProfile() string { return "" } -func (x *Values) GetCompatibilityVersion() string { - if x != nil { - return x.CompatibilityVersion - } - return "" -} - // IntOrString is a type that can hold an int32 or a string. When used in // JSON or YAML marshalling and unmarshalling, it produces or consumes the // inner type. This allows you to have, for example, a JSON field that can @@ -469,7 +309,7 @@ type IntOrString struct { func (x *IntOrString) Reset() { *x = IntOrString{} if protoimpl.UnsafeEnabled { - mi := &file_values_types_proto_msgTypes[5] + mi := &file_values_types_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -482,7 +322,7 @@ func (x *IntOrString) String() string { func (*IntOrString) ProtoMessage() {} func (x *IntOrString) ProtoReflect() protoreflect.Message { - mi := &file_values_types_proto_msgTypes[5] + mi := &file_values_types_proto_msgTypes[4] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -495,7 +335,7 @@ func (x *IntOrString) ProtoReflect() protoreflect.Message { // Deprecated: Use IntOrString.ProtoReflect.Descriptor instead. func (*IntOrString) Descriptor() ([]byte, []int) { - return file_values_types_proto_rawDescGZIP(), []int{5} + return file_values_types_proto_rawDescGZIP(), []int{4} } func (x *IntOrString) GetType() int64 { @@ -524,100 +364,59 @@ var File_values_types_proto protoreflect.FileDescriptor var file_values_types_proto_rawDesc = []byte{ 0x0a, 0x12, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x17, 0x64, 0x75, 0x62, 0x62, 0x6f, 0x2e, 0x6f, 0x70, 0x65, 0x72, - 0x61, 0x74, 0x6f, 0x72, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x1a, 0x19, 0x67, - 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x61, - 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, - 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, - 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x77, 0x72, 0x61, 0x70, 0x70, 0x65, 0x72, 0x73, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x68, 0x0a, 0x0a, 0x41, 0x72, 0x63, 0x68, 0x43, 0x6f, - 0x6e, 0x66, 0x69, 0x67, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x6d, 0x64, 0x36, 0x34, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x0d, 0x52, 0x05, 0x61, 0x6d, 0x64, 0x36, 0x34, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x70, - 0x63, 0x36, 0x34, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x70, 0x70, 0x63, - 0x36, 0x34, 0x6c, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x33, 0x39, 0x30, 0x78, 0x18, 0x03, 0x20, - 0x01, 0x28, 0x0d, 0x52, 0x05, 0x73, 0x33, 0x39, 0x30, 0x78, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x72, - 0x6d, 0x36, 0x34, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x61, 0x72, 0x6d, 0x36, 0x34, - 0x22, 0x96, 0x02, 0x0a, 0x0c, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x43, 0x6f, 0x6e, 0x66, 0x69, - 0x67, 0x12, 0x3b, 0x0a, 0x04, 0x61, 0x72, 0x63, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x23, 0x2e, 0x64, 0x75, 0x62, 0x62, 0x6f, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, - 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x41, 0x72, 0x63, 0x68, 0x43, 0x6f, - 0x6e, 0x66, 0x69, 0x67, 0x42, 0x02, 0x18, 0x01, 0x52, 0x04, 0x61, 0x72, 0x63, 0x68, 0x12, 0x46, - 0x0a, 0x10, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, - 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42, 0x6f, 0x6f, 0x6c, 0x56, - 0x61, 0x6c, 0x75, 0x65, 0x52, 0x10, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x56, 0x61, 0x6c, 0x69, - 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x26, 0x0a, 0x0e, 0x64, 0x75, 0x62, 0x62, 0x6f, 0x4e, - 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, - 0x64, 0x75, 0x62, 0x62, 0x6f, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x3d, - 0x0a, 0x06, 0x64, 0x75, 0x62, 0x62, 0x6f, 0x64, 0x18, 0x36, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, - 0x2e, 0x64, 0x75, 0x62, 0x62, 0x6f, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x2e, - 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x64, 0x75, 0x62, 0x62, 0x6f, 0x64, 0x43, - 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x06, 0x64, 0x75, 0x62, 0x62, 0x6f, 0x64, 0x12, 0x1a, 0x0a, - 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x3b, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x52, 0x0a, 0x0c, 0x64, 0x75, 0x62, - 0x62, 0x6f, 0x64, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x42, 0x0a, 0x0e, 0x65, 0x6e, 0x61, - 0x62, 0x6c, 0x65, 0x41, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x62, 0x75, 0x66, 0x2e, 0x42, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0e, 0x65, - 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x41, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x22, 0xea, 0x02, - 0x0a, 0x0a, 0x42, 0x61, 0x73, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x4a, 0x0a, 0x12, - 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x43, 0x52, 0x44, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, - 0x65, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, - 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42, 0x6f, 0x6f, 0x6c, 0x56, - 0x61, 0x6c, 0x75, 0x65, 0x52, 0x12, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x43, 0x52, 0x44, 0x54, - 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x12, 0x22, 0x0a, 0x0c, 0x65, 0x78, 0x63, 0x6c, - 0x75, 0x64, 0x65, 0x64, 0x43, 0x52, 0x44, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0c, - 0x65, 0x78, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x64, 0x43, 0x52, 0x44, 0x73, 0x12, 0x24, 0x0a, 0x0d, - 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x55, 0x52, 0x4c, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x0d, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x55, - 0x52, 0x4c, 0x12, 0x50, 0x0a, 0x15, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x75, 0x62, 0x62, - 0x6f, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x43, 0x52, 0x44, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x62, 0x75, 0x66, 0x2e, 0x42, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x15, 0x65, - 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x75, 0x62, 0x62, 0x6f, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, - 0x43, 0x52, 0x44, 0x73, 0x12, 0x44, 0x0a, 0x0f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, - 0x47, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, - 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, - 0x42, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0f, 0x76, 0x61, 0x6c, 0x69, 0x64, - 0x61, 0x74, 0x65, 0x47, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x12, 0x2e, 0x0a, 0x12, 0x76, 0x61, - 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x41, 0x42, 0x75, 0x6e, 0x64, 0x6c, 0x65, - 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x43, 0x41, 0x42, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x22, 0xd6, 0x02, 0x0a, 0x06, 0x56, - 0x61, 0x6c, 0x75, 0x65, 0x73, 0x12, 0x3d, 0x0a, 0x06, 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x18, - 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x64, 0x75, 0x62, 0x62, 0x6f, 0x2e, 0x6f, 0x70, - 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, - 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x06, 0x67, 0x6c, - 0x6f, 0x62, 0x61, 0x6c, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, - 0x18, 0x15, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, - 0x12, 0x1c, 0x0a, 0x09, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x16, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x37, - 0x0a, 0x04, 0x62, 0x61, 0x73, 0x65, 0x18, 0x25, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x64, - 0x75, 0x62, 0x62, 0x6f, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x2e, 0x76, 0x31, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x42, 0x61, 0x73, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, - 0x67, 0x52, 0x04, 0x62, 0x61, 0x73, 0x65, 0x12, 0x22, 0x0a, 0x0c, 0x72, 0x65, 0x76, 0x69, 0x73, - 0x69, 0x6f, 0x6e, 0x54, 0x61, 0x67, 0x73, 0x18, 0x27, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0c, 0x72, - 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x54, 0x61, 0x67, 0x73, 0x12, 0x28, 0x0a, 0x0f, 0x64, - 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x52, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x28, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x52, 0x65, 0x76, - 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, - 0x18, 0x2a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x12, - 0x32, 0x0a, 0x14, 0x63, 0x6f, 0x6d, 0x70, 0x61, 0x74, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, - 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x2b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x14, 0x63, - 0x6f, 0x6d, 0x70, 0x61, 0x74, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x56, 0x65, 0x72, 0x73, - 0x69, 0x6f, 0x6e, 0x22, 0x8c, 0x01, 0x0a, 0x0b, 0x49, 0x6e, 0x74, 0x4f, 0x72, 0x53, 0x74, 0x72, - 0x69, 0x6e, 0x67, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x03, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x33, 0x0a, 0x06, 0x69, 0x6e, 0x74, 0x56, 0x61, - 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, - 0x61, 0x6c, 0x75, 0x65, 0x52, 0x06, 0x69, 0x6e, 0x74, 0x56, 0x61, 0x6c, 0x12, 0x34, 0x0a, 0x06, - 0x73, 0x74, 0x72, 0x56, 0x61, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, - 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, - 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x06, 0x73, 0x74, 0x72, 0x56, - 0x61, 0x6c, 0x42, 0x22, 0x5a, 0x20, 0x64, 0x75, 0x62, 0x62, 0x6f, 0x2e, 0x69, 0x6f, 0x2f, 0x64, - 0x75, 0x62, 0x62, 0x6f, 0x2f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x2f, 0x70, 0x6b, - 0x67, 0x2f, 0x61, 0x70, 0x69, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x61, 0x74, 0x6f, 0x72, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x1a, 0x1e, 0x67, + 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x77, + 0x72, 0x61, 0x70, 0x70, 0x65, 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x68, 0x0a, + 0x0a, 0x41, 0x72, 0x63, 0x68, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x14, 0x0a, 0x05, 0x61, + 0x6d, 0x64, 0x36, 0x34, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x61, 0x6d, 0x64, 0x36, + 0x34, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x70, 0x63, 0x36, 0x34, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x07, 0x70, 0x70, 0x63, 0x36, 0x34, 0x6c, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x73, + 0x33, 0x39, 0x30, 0x78, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x73, 0x33, 0x39, 0x30, + 0x78, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x72, 0x6d, 0x36, 0x34, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x05, 0x61, 0x72, 0x6d, 0x36, 0x34, 0x22, 0xbb, 0x01, 0x0a, 0x0c, 0x47, 0x6c, 0x6f, 0x62, + 0x61, 0x6c, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x3b, 0x0a, 0x04, 0x61, 0x72, 0x63, 0x68, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x64, 0x75, 0x62, 0x62, 0x6f, 0x2e, 0x6f, + 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, + 0x2e, 0x41, 0x72, 0x63, 0x68, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x42, 0x02, 0x18, 0x01, 0x52, + 0x04, 0x61, 0x72, 0x63, 0x68, 0x12, 0x46, 0x0a, 0x10, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x56, + 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, + 0x66, 0x2e, 0x42, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x10, 0x63, 0x6f, 0x6e, + 0x66, 0x69, 0x67, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x26, 0x0a, + 0x0e, 0x64, 0x75, 0x62, 0x62, 0x6f, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, + 0x0e, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x64, 0x75, 0x62, 0x62, 0x6f, 0x4e, 0x61, 0x6d, 0x65, + 0x73, 0x70, 0x61, 0x63, 0x65, 0x22, 0x9d, 0x01, 0x0a, 0x0a, 0x42, 0x61, 0x73, 0x65, 0x43, 0x6f, + 0x6e, 0x66, 0x69, 0x67, 0x12, 0x50, 0x0a, 0x15, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x75, + 0x62, 0x62, 0x6f, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x43, 0x52, 0x44, 0x73, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, + 0x15, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x75, 0x62, 0x62, 0x6f, 0x43, 0x6f, 0x6e, 0x66, + 0x69, 0x67, 0x43, 0x52, 0x44, 0x73, 0x12, 0x3d, 0x0a, 0x06, 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x64, 0x75, 0x62, 0x62, 0x6f, 0x2e, 0x6f, + 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, + 0x2e, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x06, 0x67, + 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x22, 0x9a, 0x01, 0x0a, 0x06, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, + 0x12, 0x3d, 0x0a, 0x06, 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x25, 0x2e, 0x64, 0x75, 0x62, 0x62, 0x6f, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, + 0x72, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x47, 0x6c, 0x6f, 0x62, 0x61, + 0x6c, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x06, 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x12, + 0x37, 0x0a, 0x04, 0x62, 0x61, 0x73, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, + 0x64, 0x75, 0x62, 0x62, 0x6f, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x2e, 0x76, + 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x42, 0x61, 0x73, 0x65, 0x43, 0x6f, 0x6e, 0x66, + 0x69, 0x67, 0x52, 0x04, 0x62, 0x61, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x72, 0x6f, 0x66, + 0x69, 0x6c, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x70, 0x72, 0x6f, 0x66, 0x69, + 0x6c, 0x65, 0x22, 0x8c, 0x01, 0x0a, 0x0b, 0x49, 0x6e, 0x74, 0x4f, 0x72, 0x53, 0x74, 0x72, 0x69, + 0x6e, 0x67, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, + 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x33, 0x0a, 0x06, 0x69, 0x6e, 0x74, 0x56, 0x61, 0x6c, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, + 0x6c, 0x75, 0x65, 0x52, 0x06, 0x69, 0x6e, 0x74, 0x56, 0x61, 0x6c, 0x12, 0x34, 0x0a, 0x06, 0x73, + 0x74, 0x72, 0x56, 0x61, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, + 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, + 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x06, 0x73, 0x74, 0x72, 0x56, 0x61, + 0x6c, 0x42, 0x22, 0x5a, 0x20, 0x64, 0x75, 0x62, 0x62, 0x6f, 0x2e, 0x69, 0x6f, 0x2f, 0x64, 0x75, + 0x62, 0x62, 0x6f, 0x2f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x2f, 0x70, 0x6b, 0x67, + 0x2f, 0x61, 0x70, 0x69, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -632,35 +431,31 @@ func file_values_types_proto_rawDescGZIP() []byte { return file_values_types_proto_rawDescData } -var file_values_types_proto_msgTypes = make([]protoimpl.MessageInfo, 6) +var file_values_types_proto_msgTypes = make([]protoimpl.MessageInfo, 5) var file_values_types_proto_goTypes = []interface{}{ (*ArchConfig)(nil), // 0: dubbo.operator.v1alpha1.ArchConfig (*GlobalConfig)(nil), // 1: dubbo.operator.v1alpha1.GlobalConfig - (*DubbodConfig)(nil), // 2: dubbo.operator.v1alpha1.dubbodConfig - (*BaseConfig)(nil), // 3: dubbo.operator.v1alpha1.BaseConfig - (*Values)(nil), // 4: dubbo.operator.v1alpha1.Values - (*IntOrString)(nil), // 5: dubbo.operator.v1alpha1.IntOrString - (*wrapperspb.BoolValue)(nil), // 6: google.protobuf.BoolValue - (*wrapperspb.Int32Value)(nil), // 7: google.protobuf.Int32Value - (*wrapperspb.StringValue)(nil), // 8: google.protobuf.StringValue + (*BaseConfig)(nil), // 2: dubbo.operator.v1alpha1.BaseConfig + (*Values)(nil), // 3: dubbo.operator.v1alpha1.Values + (*IntOrString)(nil), // 4: dubbo.operator.v1alpha1.IntOrString + (*wrapperspb.BoolValue)(nil), // 5: google.protobuf.BoolValue + (*wrapperspb.Int32Value)(nil), // 6: google.protobuf.Int32Value + (*wrapperspb.StringValue)(nil), // 7: google.protobuf.StringValue } var file_values_types_proto_depIdxs = []int32{ - 0, // 0: dubbo.operator.v1alpha1.GlobalConfig.arch:type_name -> dubbo.operator.v1alpha1.ArchConfig - 6, // 1: dubbo.operator.v1alpha1.GlobalConfig.configValidation:type_name -> google.protobuf.BoolValue - 2, // 2: dubbo.operator.v1alpha1.GlobalConfig.dubbod:type_name -> dubbo.operator.v1alpha1.dubbodConfig - 6, // 3: dubbo.operator.v1alpha1.dubbodConfig.enableAnalysis:type_name -> google.protobuf.BoolValue - 6, // 4: dubbo.operator.v1alpha1.BaseConfig.enableCRDTemplates:type_name -> google.protobuf.BoolValue - 6, // 5: dubbo.operator.v1alpha1.BaseConfig.enabledubboConfigCRDs:type_name -> google.protobuf.BoolValue - 6, // 6: dubbo.operator.v1alpha1.BaseConfig.validateGateway:type_name -> google.protobuf.BoolValue - 1, // 7: dubbo.operator.v1alpha1.Values.global:type_name -> dubbo.operator.v1alpha1.GlobalConfig - 3, // 8: dubbo.operator.v1alpha1.Values.base:type_name -> dubbo.operator.v1alpha1.BaseConfig - 7, // 9: dubbo.operator.v1alpha1.IntOrString.intVal:type_name -> google.protobuf.Int32Value - 8, // 10: dubbo.operator.v1alpha1.IntOrString.strVal:type_name -> google.protobuf.StringValue - 11, // [11:11] is the sub-list for method output_type - 11, // [11:11] is the sub-list for method input_type - 11, // [11:11] is the sub-list for extension type_name - 11, // [11:11] is the sub-list for extension extendee - 0, // [0:11] is the sub-list for field type_name + 0, // 0: dubbo.operator.v1alpha1.GlobalConfig.arch:type_name -> dubbo.operator.v1alpha1.ArchConfig + 5, // 1: dubbo.operator.v1alpha1.GlobalConfig.configValidation:type_name -> google.protobuf.BoolValue + 5, // 2: dubbo.operator.v1alpha1.BaseConfig.enabledubboConfigCRDs:type_name -> google.protobuf.BoolValue + 1, // 3: dubbo.operator.v1alpha1.BaseConfig.global:type_name -> dubbo.operator.v1alpha1.GlobalConfig + 1, // 4: dubbo.operator.v1alpha1.Values.global:type_name -> dubbo.operator.v1alpha1.GlobalConfig + 2, // 5: dubbo.operator.v1alpha1.Values.base:type_name -> dubbo.operator.v1alpha1.BaseConfig + 6, // 6: dubbo.operator.v1alpha1.IntOrString.intVal:type_name -> google.protobuf.Int32Value + 7, // 7: dubbo.operator.v1alpha1.IntOrString.strVal:type_name -> google.protobuf.StringValue + 8, // [8:8] is the sub-list for method output_type + 8, // [8:8] is the sub-list for method input_type + 8, // [8:8] is the sub-list for extension type_name + 8, // [8:8] is the sub-list for extension extendee + 0, // [0:8] is the sub-list for field type_name } func init() { file_values_types_proto_init() } @@ -694,18 +489,6 @@ func file_values_types_proto_init() { } } file_values_types_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DubbodConfig); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_values_types_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*BaseConfig); i { case 0: return &v.state @@ -717,7 +500,7 @@ func file_values_types_proto_init() { return nil } } - file_values_types_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + file_values_types_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*Values); i { case 0: return &v.state @@ -729,7 +512,7 @@ func file_values_types_proto_init() { return nil } } - file_values_types_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + file_values_types_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*IntOrString); i { case 0: return &v.state @@ -748,7 +531,7 @@ func file_values_types_proto_init() { GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_values_types_proto_rawDesc, NumEnums: 0, - NumMessages: 6, + NumMessages: 5, NumExtensions: 0, NumServices: 0, },