diff --git a/api/v1/service_manage/contract.proto b/api/v1/service_manage/contract.proto index 4261e9f..0263c4f 100644 --- a/api/v1/service_manage/contract.proto +++ b/api/v1/service_manage/contract.proto @@ -36,6 +36,8 @@ message ServiceContract { string type = 14; // 标签 map metadata = 15; + // 内容摘要 + string content_digest = 16 [ json_name = "content_digest" ]; } message InterfaceDescriptor { @@ -74,4 +76,6 @@ message InterfaceDescriptor { string version = 13; // 类型 string type = 14; + // 内容摘要 + string content_digest = 15 [ json_name = "content_digest" ]; } diff --git a/source/go/api/v1/config_manage/config_file.pb.go b/source/go/api/v1/config_manage/config_file.pb.go index deabded..1cdccd2 100644 --- a/source/go/api/v1/config_manage/config_file.pb.go +++ b/source/go/api/v1/config_manage/config_file.pb.go @@ -1,26 +1,24 @@ // Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.33.0 -// protoc v5.27.3 // source: config_file.proto -package config_manage +package config_manage // import "github.com/polarismesh/specification/source/go/api/v1/config_manage" -import ( - model "github.com/polarismesh/specification/source/go/api/v1/model" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" - reflect "reflect" - sync "sync" -) +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import model "github.com/polarismesh/specification/source/go/api/v1/model" +import wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package type ConfigDiscoverRequest_ConfigDiscoverRequestType int32 @@ -31,47 +29,24 @@ const ( ConfigDiscoverRequest_CONFIG_FILE_GROUPS ConfigDiscoverRequest_ConfigDiscoverRequestType = 3 ) -// Enum value maps for ConfigDiscoverRequest_ConfigDiscoverRequestType. -var ( - ConfigDiscoverRequest_ConfigDiscoverRequestType_name = map[int32]string{ - 0: "UNKNOWN", - 1: "CONFIG_FILE", - 2: "CONFIG_FILE_Names", - 3: "CONFIG_FILE_GROUPS", - } - ConfigDiscoverRequest_ConfigDiscoverRequestType_value = map[string]int32{ - "UNKNOWN": 0, - "CONFIG_FILE": 1, - "CONFIG_FILE_Names": 2, - "CONFIG_FILE_GROUPS": 3, - } -) - -func (x ConfigDiscoverRequest_ConfigDiscoverRequestType) Enum() *ConfigDiscoverRequest_ConfigDiscoverRequestType { - p := new(ConfigDiscoverRequest_ConfigDiscoverRequestType) - *p = x - return p -} - -func (x ConfigDiscoverRequest_ConfigDiscoverRequestType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (ConfigDiscoverRequest_ConfigDiscoverRequestType) Descriptor() protoreflect.EnumDescriptor { - return file_config_file_proto_enumTypes[0].Descriptor() +var ConfigDiscoverRequest_ConfigDiscoverRequestType_name = map[int32]string{ + 0: "UNKNOWN", + 1: "CONFIG_FILE", + 2: "CONFIG_FILE_Names", + 3: "CONFIG_FILE_GROUPS", } - -func (ConfigDiscoverRequest_ConfigDiscoverRequestType) Type() protoreflect.EnumType { - return &file_config_file_proto_enumTypes[0] +var ConfigDiscoverRequest_ConfigDiscoverRequestType_value = map[string]int32{ + "UNKNOWN": 0, + "CONFIG_FILE": 1, + "CONFIG_FILE_Names": 2, + "CONFIG_FILE_GROUPS": 3, } -func (x ConfigDiscoverRequest_ConfigDiscoverRequestType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) +func (x ConfigDiscoverRequest_ConfigDiscoverRequestType) String() string { + return proto.EnumName(ConfigDiscoverRequest_ConfigDiscoverRequestType_name, int32(x)) } - -// Deprecated: Use ConfigDiscoverRequest_ConfigDiscoverRequestType.Descriptor instead. func (ConfigDiscoverRequest_ConfigDiscoverRequestType) EnumDescriptor() ([]byte, []int) { - return file_config_file_proto_rawDescGZIP(), []int{11, 0} + return fileDescriptor_config_file_a89f882cd57ec3ac, []int{11, 0} } type ConfigDiscoverResponse_ConfigDiscoverResponseType int32 @@ -83,54 +58,27 @@ const ( ConfigDiscoverResponse_CONFIG_FILE_GROUPS ConfigDiscoverResponse_ConfigDiscoverResponseType = 3 ) -// Enum value maps for ConfigDiscoverResponse_ConfigDiscoverResponseType. -var ( - ConfigDiscoverResponse_ConfigDiscoverResponseType_name = map[int32]string{ - 0: "UNKNOWN", - 1: "CONFIG_FILE", - 2: "CONFIG_FILE_Names", - 3: "CONFIG_FILE_GROUPS", - } - ConfigDiscoverResponse_ConfigDiscoverResponseType_value = map[string]int32{ - "UNKNOWN": 0, - "CONFIG_FILE": 1, - "CONFIG_FILE_Names": 2, - "CONFIG_FILE_GROUPS": 3, - } -) - -func (x ConfigDiscoverResponse_ConfigDiscoverResponseType) Enum() *ConfigDiscoverResponse_ConfigDiscoverResponseType { - p := new(ConfigDiscoverResponse_ConfigDiscoverResponseType) - *p = x - return p -} - -func (x ConfigDiscoverResponse_ConfigDiscoverResponseType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +var ConfigDiscoverResponse_ConfigDiscoverResponseType_name = map[int32]string{ + 0: "UNKNOWN", + 1: "CONFIG_FILE", + 2: "CONFIG_FILE_Names", + 3: "CONFIG_FILE_GROUPS", } - -func (ConfigDiscoverResponse_ConfigDiscoverResponseType) Descriptor() protoreflect.EnumDescriptor { - return file_config_file_proto_enumTypes[1].Descriptor() +var ConfigDiscoverResponse_ConfigDiscoverResponseType_value = map[string]int32{ + "UNKNOWN": 0, + "CONFIG_FILE": 1, + "CONFIG_FILE_Names": 2, + "CONFIG_FILE_GROUPS": 3, } -func (ConfigDiscoverResponse_ConfigDiscoverResponseType) Type() protoreflect.EnumType { - return &file_config_file_proto_enumTypes[1] -} - -func (x ConfigDiscoverResponse_ConfigDiscoverResponseType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) +func (x ConfigDiscoverResponse_ConfigDiscoverResponseType) String() string { + return proto.EnumName(ConfigDiscoverResponse_ConfigDiscoverResponseType_name, int32(x)) } - -// Deprecated: Use ConfigDiscoverResponse_ConfigDiscoverResponseType.Descriptor instead. func (ConfigDiscoverResponse_ConfigDiscoverResponseType) EnumDescriptor() ([]byte, []int) { - return file_config_file_proto_rawDescGZIP(), []int{12, 0} + return fileDescriptor_config_file_a89f882cd57ec3ac, []int{12, 0} } type ConfigFileGroup struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - Id *wrapperspb.UInt64Value `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Namespace *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=namespace,proto3" json:"namespace,omitempty"` @@ -150,179 +98,170 @@ type ConfigFileGroup struct { Department *wrapperspb.StringValue `protobuf:"bytes,18,opt,name=department,proto3" json:"department,omitempty"` Metadata map[string]string `protobuf:"bytes,19,rep,name=metadata,proto3" json:"metadata,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // 删除操作标志位 - Deleteable *wrapperspb.BoolValue `protobuf:"bytes,20,opt,name=deleteable,proto3" json:"deleteable,omitempty"` + Deleteable *wrapperspb.BoolValue `protobuf:"bytes,20,opt,name=deleteable,proto3" json:"deleteable,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *ConfigFileGroup) Reset() { - *x = ConfigFileGroup{} - if protoimpl.UnsafeEnabled { - mi := &file_config_file_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *ConfigFileGroup) Reset() { *m = ConfigFileGroup{} } +func (m *ConfigFileGroup) String() string { return proto.CompactTextString(m) } +func (*ConfigFileGroup) ProtoMessage() {} +func (*ConfigFileGroup) Descriptor() ([]byte, []int) { + return fileDescriptor_config_file_a89f882cd57ec3ac, []int{0} } - -func (x *ConfigFileGroup) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *ConfigFileGroup) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ConfigFileGroup.Unmarshal(m, b) } - -func (*ConfigFileGroup) ProtoMessage() {} - -func (x *ConfigFileGroup) ProtoReflect() protoreflect.Message { - mi := &file_config_file_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *ConfigFileGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ConfigFileGroup.Marshal(b, m, deterministic) } - -// Deprecated: Use ConfigFileGroup.ProtoReflect.Descriptor instead. -func (*ConfigFileGroup) Descriptor() ([]byte, []int) { - return file_config_file_proto_rawDescGZIP(), []int{0} +func (dst *ConfigFileGroup) XXX_Merge(src proto.Message) { + xxx_messageInfo_ConfigFileGroup.Merge(dst, src) +} +func (m *ConfigFileGroup) XXX_Size() int { + return xxx_messageInfo_ConfigFileGroup.Size(m) +} +func (m *ConfigFileGroup) XXX_DiscardUnknown() { + xxx_messageInfo_ConfigFileGroup.DiscardUnknown(m) } -func (x *ConfigFileGroup) GetId() *wrapperspb.UInt64Value { - if x != nil { - return x.Id +var xxx_messageInfo_ConfigFileGroup proto.InternalMessageInfo + +func (m *ConfigFileGroup) GetId() *wrapperspb.UInt64Value { + if m != nil { + return m.Id } return nil } -func (x *ConfigFileGroup) GetName() *wrapperspb.StringValue { - if x != nil { - return x.Name +func (m *ConfigFileGroup) GetName() *wrapperspb.StringValue { + if m != nil { + return m.Name } return nil } -func (x *ConfigFileGroup) GetNamespace() *wrapperspb.StringValue { - if x != nil { - return x.Namespace +func (m *ConfigFileGroup) GetNamespace() *wrapperspb.StringValue { + if m != nil { + return m.Namespace } return nil } -func (x *ConfigFileGroup) GetComment() *wrapperspb.StringValue { - if x != nil { - return x.Comment +func (m *ConfigFileGroup) GetComment() *wrapperspb.StringValue { + if m != nil { + return m.Comment } return nil } -func (x *ConfigFileGroup) GetCreateTime() *wrapperspb.StringValue { - if x != nil { - return x.CreateTime +func (m *ConfigFileGroup) GetCreateTime() *wrapperspb.StringValue { + if m != nil { + return m.CreateTime } return nil } -func (x *ConfigFileGroup) GetCreateBy() *wrapperspb.StringValue { - if x != nil { - return x.CreateBy +func (m *ConfigFileGroup) GetCreateBy() *wrapperspb.StringValue { + if m != nil { + return m.CreateBy } return nil } -func (x *ConfigFileGroup) GetModifyTime() *wrapperspb.StringValue { - if x != nil { - return x.ModifyTime +func (m *ConfigFileGroup) GetModifyTime() *wrapperspb.StringValue { + if m != nil { + return m.ModifyTime } return nil } -func (x *ConfigFileGroup) GetModifyBy() *wrapperspb.StringValue { - if x != nil { - return x.ModifyBy +func (m *ConfigFileGroup) GetModifyBy() *wrapperspb.StringValue { + if m != nil { + return m.ModifyBy } return nil } -func (x *ConfigFileGroup) GetFileCount() *wrapperspb.UInt64Value { - if x != nil { - return x.FileCount +func (m *ConfigFileGroup) GetFileCount() *wrapperspb.UInt64Value { + if m != nil { + return m.FileCount } return nil } -func (x *ConfigFileGroup) GetUserIds() []*wrapperspb.StringValue { - if x != nil { - return x.UserIds +func (m *ConfigFileGroup) GetUserIds() []*wrapperspb.StringValue { + if m != nil { + return m.UserIds } return nil } -func (x *ConfigFileGroup) GetGroupIds() []*wrapperspb.StringValue { - if x != nil { - return x.GroupIds +func (m *ConfigFileGroup) GetGroupIds() []*wrapperspb.StringValue { + if m != nil { + return m.GroupIds } return nil } -func (x *ConfigFileGroup) GetRemoveUserIds() []*wrapperspb.StringValue { - if x != nil { - return x.RemoveUserIds +func (m *ConfigFileGroup) GetRemoveUserIds() []*wrapperspb.StringValue { + if m != nil { + return m.RemoveUserIds } return nil } -func (x *ConfigFileGroup) GetRemoveGroupIds() []*wrapperspb.StringValue { - if x != nil { - return x.RemoveGroupIds +func (m *ConfigFileGroup) GetRemoveGroupIds() []*wrapperspb.StringValue { + if m != nil { + return m.RemoveGroupIds } return nil } -func (x *ConfigFileGroup) GetEditable() *wrapperspb.BoolValue { - if x != nil { - return x.Editable +func (m *ConfigFileGroup) GetEditable() *wrapperspb.BoolValue { + if m != nil { + return m.Editable } return nil } -func (x *ConfigFileGroup) GetOwner() *wrapperspb.StringValue { - if x != nil { - return x.Owner +func (m *ConfigFileGroup) GetOwner() *wrapperspb.StringValue { + if m != nil { + return m.Owner } return nil } -func (x *ConfigFileGroup) GetBusiness() *wrapperspb.StringValue { - if x != nil { - return x.Business +func (m *ConfigFileGroup) GetBusiness() *wrapperspb.StringValue { + if m != nil { + return m.Business } return nil } -func (x *ConfigFileGroup) GetDepartment() *wrapperspb.StringValue { - if x != nil { - return x.Department +func (m *ConfigFileGroup) GetDepartment() *wrapperspb.StringValue { + if m != nil { + return m.Department } return nil } -func (x *ConfigFileGroup) GetMetadata() map[string]string { - if x != nil { - return x.Metadata +func (m *ConfigFileGroup) GetMetadata() map[string]string { + if m != nil { + return m.Metadata } return nil } -func (x *ConfigFileGroup) GetDeleteable() *wrapperspb.BoolValue { - if x != nil { - return x.Deleteable +func (m *ConfigFileGroup) GetDeleteable() *wrapperspb.BoolValue { + if m != nil { + return m.Deleteable } return nil } type ConfigFile struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - Id *wrapperspb.UInt64Value `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Namespace *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=namespace,proto3" json:"namespace,omitempty"` @@ -341,220 +280,202 @@ type ConfigFile struct { // 是否为加密配置文件 Encrypted *wrapperspb.BoolValue `protobuf:"bytes,16,opt,name=encrypted,proto3" json:"encrypted,omitempty"` // 加密算法 - EncryptAlgo *wrapperspb.StringValue `protobuf:"bytes,17,opt,name=encrypt_algo,json=encryptAlgo,proto3" json:"encrypt_algo,omitempty"` + EncryptAlgo *wrapperspb.StringValue `protobuf:"bytes,17,opt,name=encrypt_algo,json=encryptAlgo,proto3" json:"encrypt_algo,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *ConfigFile) Reset() { - *x = ConfigFile{} - if protoimpl.UnsafeEnabled { - mi := &file_config_file_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *ConfigFile) Reset() { *m = ConfigFile{} } +func (m *ConfigFile) String() string { return proto.CompactTextString(m) } +func (*ConfigFile) ProtoMessage() {} +func (*ConfigFile) Descriptor() ([]byte, []int) { + return fileDescriptor_config_file_a89f882cd57ec3ac, []int{1} } - -func (x *ConfigFile) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *ConfigFile) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ConfigFile.Unmarshal(m, b) } - -func (*ConfigFile) ProtoMessage() {} - -func (x *ConfigFile) ProtoReflect() protoreflect.Message { - mi := &file_config_file_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *ConfigFile) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ConfigFile.Marshal(b, m, deterministic) } - -// Deprecated: Use ConfigFile.ProtoReflect.Descriptor instead. -func (*ConfigFile) Descriptor() ([]byte, []int) { - return file_config_file_proto_rawDescGZIP(), []int{1} +func (dst *ConfigFile) XXX_Merge(src proto.Message) { + xxx_messageInfo_ConfigFile.Merge(dst, src) +} +func (m *ConfigFile) XXX_Size() int { + return xxx_messageInfo_ConfigFile.Size(m) } +func (m *ConfigFile) XXX_DiscardUnknown() { + xxx_messageInfo_ConfigFile.DiscardUnknown(m) +} + +var xxx_messageInfo_ConfigFile proto.InternalMessageInfo -func (x *ConfigFile) GetId() *wrapperspb.UInt64Value { - if x != nil { - return x.Id +func (m *ConfigFile) GetId() *wrapperspb.UInt64Value { + if m != nil { + return m.Id } return nil } -func (x *ConfigFile) GetName() *wrapperspb.StringValue { - if x != nil { - return x.Name +func (m *ConfigFile) GetName() *wrapperspb.StringValue { + if m != nil { + return m.Name } return nil } -func (x *ConfigFile) GetNamespace() *wrapperspb.StringValue { - if x != nil { - return x.Namespace +func (m *ConfigFile) GetNamespace() *wrapperspb.StringValue { + if m != nil { + return m.Namespace } return nil } -func (x *ConfigFile) GetGroup() *wrapperspb.StringValue { - if x != nil { - return x.Group +func (m *ConfigFile) GetGroup() *wrapperspb.StringValue { + if m != nil { + return m.Group } return nil } -func (x *ConfigFile) GetContent() *wrapperspb.StringValue { - if x != nil { - return x.Content +func (m *ConfigFile) GetContent() *wrapperspb.StringValue { + if m != nil { + return m.Content } return nil } -func (x *ConfigFile) GetFormat() *wrapperspb.StringValue { - if x != nil { - return x.Format +func (m *ConfigFile) GetFormat() *wrapperspb.StringValue { + if m != nil { + return m.Format } return nil } -func (x *ConfigFile) GetComment() *wrapperspb.StringValue { - if x != nil { - return x.Comment +func (m *ConfigFile) GetComment() *wrapperspb.StringValue { + if m != nil { + return m.Comment } return nil } -func (x *ConfigFile) GetStatus() *wrapperspb.StringValue { - if x != nil { - return x.Status +func (m *ConfigFile) GetStatus() *wrapperspb.StringValue { + if m != nil { + return m.Status } return nil } -func (x *ConfigFile) GetTags() []*ConfigFileTag { - if x != nil { - return x.Tags +func (m *ConfigFile) GetTags() []*ConfigFileTag { + if m != nil { + return m.Tags } return nil } -func (x *ConfigFile) GetCreateTime() *wrapperspb.StringValue { - if x != nil { - return x.CreateTime +func (m *ConfigFile) GetCreateTime() *wrapperspb.StringValue { + if m != nil { + return m.CreateTime } return nil } -func (x *ConfigFile) GetCreateBy() *wrapperspb.StringValue { - if x != nil { - return x.CreateBy +func (m *ConfigFile) GetCreateBy() *wrapperspb.StringValue { + if m != nil { + return m.CreateBy } return nil } -func (x *ConfigFile) GetModifyTime() *wrapperspb.StringValue { - if x != nil { - return x.ModifyTime +func (m *ConfigFile) GetModifyTime() *wrapperspb.StringValue { + if m != nil { + return m.ModifyTime } return nil } -func (x *ConfigFile) GetModifyBy() *wrapperspb.StringValue { - if x != nil { - return x.ModifyBy +func (m *ConfigFile) GetModifyBy() *wrapperspb.StringValue { + if m != nil { + return m.ModifyBy } return nil } -func (x *ConfigFile) GetReleaseTime() *wrapperspb.StringValue { - if x != nil { - return x.ReleaseTime +func (m *ConfigFile) GetReleaseTime() *wrapperspb.StringValue { + if m != nil { + return m.ReleaseTime } return nil } -func (x *ConfigFile) GetReleaseBy() *wrapperspb.StringValue { - if x != nil { - return x.ReleaseBy +func (m *ConfigFile) GetReleaseBy() *wrapperspb.StringValue { + if m != nil { + return m.ReleaseBy } return nil } -func (x *ConfigFile) GetEncrypted() *wrapperspb.BoolValue { - if x != nil { - return x.Encrypted +func (m *ConfigFile) GetEncrypted() *wrapperspb.BoolValue { + if m != nil { + return m.Encrypted } return nil } -func (x *ConfigFile) GetEncryptAlgo() *wrapperspb.StringValue { - if x != nil { - return x.EncryptAlgo +func (m *ConfigFile) GetEncryptAlgo() *wrapperspb.StringValue { + if m != nil { + return m.EncryptAlgo } return nil } type ConfigFileTag struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Key *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` - Value *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` + Key *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` + Value *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *ConfigFileTag) Reset() { - *x = ConfigFileTag{} - if protoimpl.UnsafeEnabled { - mi := &file_config_file_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *ConfigFileTag) Reset() { *m = ConfigFileTag{} } +func (m *ConfigFileTag) String() string { return proto.CompactTextString(m) } +func (*ConfigFileTag) ProtoMessage() {} +func (*ConfigFileTag) Descriptor() ([]byte, []int) { + return fileDescriptor_config_file_a89f882cd57ec3ac, []int{2} } - -func (x *ConfigFileTag) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *ConfigFileTag) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ConfigFileTag.Unmarshal(m, b) } - -func (*ConfigFileTag) ProtoMessage() {} - -func (x *ConfigFileTag) ProtoReflect() protoreflect.Message { - mi := &file_config_file_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) +func (m *ConfigFileTag) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ConfigFileTag.Marshal(b, m, deterministic) } - -// Deprecated: Use ConfigFileTag.ProtoReflect.Descriptor instead. -func (*ConfigFileTag) Descriptor() ([]byte, []int) { - return file_config_file_proto_rawDescGZIP(), []int{2} +func (dst *ConfigFileTag) XXX_Merge(src proto.Message) { + xxx_messageInfo_ConfigFileTag.Merge(dst, src) +} +func (m *ConfigFileTag) XXX_Size() int { + return xxx_messageInfo_ConfigFileTag.Size(m) } +func (m *ConfigFileTag) XXX_DiscardUnknown() { + xxx_messageInfo_ConfigFileTag.DiscardUnknown(m) +} + +var xxx_messageInfo_ConfigFileTag proto.InternalMessageInfo -func (x *ConfigFileTag) GetKey() *wrapperspb.StringValue { - if x != nil { - return x.Key +func (m *ConfigFileTag) GetKey() *wrapperspb.StringValue { + if m != nil { + return m.Key } return nil } -func (x *ConfigFileTag) GetValue() *wrapperspb.StringValue { - if x != nil { - return x.Value +func (m *ConfigFileTag) GetValue() *wrapperspb.StringValue { + if m != nil { + return m.Value } return nil } type ConfigFileRelease struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - Id *wrapperspb.UInt64Value `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Namespace *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=namespace,proto3" json:"namespace,omitempty"` @@ -575,179 +496,170 @@ type ConfigFileRelease struct { ReleaseDescription *wrapperspb.StringValue `protobuf:"bytes,17,opt,name=release_description,json=releaseDescription,proto3" json:"release_description,omitempty"` ReleaseType *wrapperspb.StringValue `protobuf:"bytes,18,opt,name=release_type,json=releaseType,proto3" json:"release_type,omitempty"` // 配置灰度发布时需要匹配的客户端标签信息 - BetaLabels []*model.ClientLabel `protobuf:"bytes,19,rep,name=beta_labels,json=betaLabels,proto3" json:"beta_labels,omitempty"` + BetaLabels []*model.ClientLabel `protobuf:"bytes,19,rep,name=beta_labels,json=betaLabels,proto3" json:"beta_labels,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *ConfigFileRelease) Reset() { - *x = ConfigFileRelease{} - if protoimpl.UnsafeEnabled { - mi := &file_config_file_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *ConfigFileRelease) Reset() { *m = ConfigFileRelease{} } +func (m *ConfigFileRelease) String() string { return proto.CompactTextString(m) } +func (*ConfigFileRelease) ProtoMessage() {} +func (*ConfigFileRelease) Descriptor() ([]byte, []int) { + return fileDescriptor_config_file_a89f882cd57ec3ac, []int{3} } - -func (x *ConfigFileRelease) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *ConfigFileRelease) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ConfigFileRelease.Unmarshal(m, b) } - -func (*ConfigFileRelease) ProtoMessage() {} - -func (x *ConfigFileRelease) ProtoReflect() protoreflect.Message { - mi := &file_config_file_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) +func (m *ConfigFileRelease) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ConfigFileRelease.Marshal(b, m, deterministic) } - -// Deprecated: Use ConfigFileRelease.ProtoReflect.Descriptor instead. -func (*ConfigFileRelease) Descriptor() ([]byte, []int) { - return file_config_file_proto_rawDescGZIP(), []int{3} +func (dst *ConfigFileRelease) XXX_Merge(src proto.Message) { + xxx_messageInfo_ConfigFileRelease.Merge(dst, src) +} +func (m *ConfigFileRelease) XXX_Size() int { + return xxx_messageInfo_ConfigFileRelease.Size(m) } +func (m *ConfigFileRelease) XXX_DiscardUnknown() { + xxx_messageInfo_ConfigFileRelease.DiscardUnknown(m) +} + +var xxx_messageInfo_ConfigFileRelease proto.InternalMessageInfo -func (x *ConfigFileRelease) GetId() *wrapperspb.UInt64Value { - if x != nil { - return x.Id +func (m *ConfigFileRelease) GetId() *wrapperspb.UInt64Value { + if m != nil { + return m.Id } return nil } -func (x *ConfigFileRelease) GetName() *wrapperspb.StringValue { - if x != nil { - return x.Name +func (m *ConfigFileRelease) GetName() *wrapperspb.StringValue { + if m != nil { + return m.Name } return nil } -func (x *ConfigFileRelease) GetNamespace() *wrapperspb.StringValue { - if x != nil { - return x.Namespace +func (m *ConfigFileRelease) GetNamespace() *wrapperspb.StringValue { + if m != nil { + return m.Namespace } return nil } -func (x *ConfigFileRelease) GetGroup() *wrapperspb.StringValue { - if x != nil { - return x.Group +func (m *ConfigFileRelease) GetGroup() *wrapperspb.StringValue { + if m != nil { + return m.Group } return nil } -func (x *ConfigFileRelease) GetFileName() *wrapperspb.StringValue { - if x != nil { - return x.FileName +func (m *ConfigFileRelease) GetFileName() *wrapperspb.StringValue { + if m != nil { + return m.FileName } return nil } -func (x *ConfigFileRelease) GetContent() *wrapperspb.StringValue { - if x != nil { - return x.Content +func (m *ConfigFileRelease) GetContent() *wrapperspb.StringValue { + if m != nil { + return m.Content } return nil } -func (x *ConfigFileRelease) GetComment() *wrapperspb.StringValue { - if x != nil { - return x.Comment +func (m *ConfigFileRelease) GetComment() *wrapperspb.StringValue { + if m != nil { + return m.Comment } return nil } -func (x *ConfigFileRelease) GetMd5() *wrapperspb.StringValue { - if x != nil { - return x.Md5 +func (m *ConfigFileRelease) GetMd5() *wrapperspb.StringValue { + if m != nil { + return m.Md5 } return nil } -func (x *ConfigFileRelease) GetVersion() *wrapperspb.UInt64Value { - if x != nil { - return x.Version +func (m *ConfigFileRelease) GetVersion() *wrapperspb.UInt64Value { + if m != nil { + return m.Version } return nil } -func (x *ConfigFileRelease) GetCreateTime() *wrapperspb.StringValue { - if x != nil { - return x.CreateTime +func (m *ConfigFileRelease) GetCreateTime() *wrapperspb.StringValue { + if m != nil { + return m.CreateTime } return nil } -func (x *ConfigFileRelease) GetCreateBy() *wrapperspb.StringValue { - if x != nil { - return x.CreateBy +func (m *ConfigFileRelease) GetCreateBy() *wrapperspb.StringValue { + if m != nil { + return m.CreateBy } return nil } -func (x *ConfigFileRelease) GetModifyTime() *wrapperspb.StringValue { - if x != nil { - return x.ModifyTime +func (m *ConfigFileRelease) GetModifyTime() *wrapperspb.StringValue { + if m != nil { + return m.ModifyTime } return nil } -func (x *ConfigFileRelease) GetModifyBy() *wrapperspb.StringValue { - if x != nil { - return x.ModifyBy +func (m *ConfigFileRelease) GetModifyBy() *wrapperspb.StringValue { + if m != nil { + return m.ModifyBy } return nil } -func (x *ConfigFileRelease) GetTags() []*ConfigFileTag { - if x != nil { - return x.Tags +func (m *ConfigFileRelease) GetTags() []*ConfigFileTag { + if m != nil { + return m.Tags } return nil } -func (x *ConfigFileRelease) GetActive() *wrapperspb.BoolValue { - if x != nil { - return x.Active +func (m *ConfigFileRelease) GetActive() *wrapperspb.BoolValue { + if m != nil { + return m.Active } return nil } -func (x *ConfigFileRelease) GetFormat() *wrapperspb.StringValue { - if x != nil { - return x.Format +func (m *ConfigFileRelease) GetFormat() *wrapperspb.StringValue { + if m != nil { + return m.Format } return nil } -func (x *ConfigFileRelease) GetReleaseDescription() *wrapperspb.StringValue { - if x != nil { - return x.ReleaseDescription +func (m *ConfigFileRelease) GetReleaseDescription() *wrapperspb.StringValue { + if m != nil { + return m.ReleaseDescription } return nil } -func (x *ConfigFileRelease) GetReleaseType() *wrapperspb.StringValue { - if x != nil { - return x.ReleaseType +func (m *ConfigFileRelease) GetReleaseType() *wrapperspb.StringValue { + if m != nil { + return m.ReleaseType } return nil } -func (x *ConfigFileRelease) GetBetaLabels() []*model.ClientLabel { - if x != nil { - return x.BetaLabels +func (m *ConfigFileRelease) GetBetaLabels() []*model.ClientLabel { + if m != nil { + return m.BetaLabels } return nil } type ConfigFileReleaseHistory struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - Id *wrapperspb.UInt64Value `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Namespace *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=namespace,proto3" json:"namespace,omitempty"` @@ -765,284 +677,266 @@ type ConfigFileReleaseHistory struct { ModifyTime *wrapperspb.StringValue `protobuf:"bytes,15,opt,name=modify_time,json=modifyTime,proto3" json:"modify_time,omitempty"` ModifyBy *wrapperspb.StringValue `protobuf:"bytes,16,opt,name=modify_by,json=modifyBy,proto3" json:"modify_by,omitempty"` // 配置发布失败的原因 - Reason *wrapperspb.StringValue `protobuf:"bytes,17,opt,name=reason,proto3" json:"reason,omitempty"` - ReleaseDescription *wrapperspb.StringValue `protobuf:"bytes,18,opt,name=release_description,json=releaseDescription,proto3" json:"release_description,omitempty"` + Reason *wrapperspb.StringValue `protobuf:"bytes,17,opt,name=reason,proto3" json:"reason,omitempty"` + ReleaseDescription *wrapperspb.StringValue `protobuf:"bytes,18,opt,name=release_description,json=releaseDescription,proto3" json:"release_description,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *ConfigFileReleaseHistory) Reset() { - *x = ConfigFileReleaseHistory{} - if protoimpl.UnsafeEnabled { - mi := &file_config_file_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *ConfigFileReleaseHistory) Reset() { *m = ConfigFileReleaseHistory{} } +func (m *ConfigFileReleaseHistory) String() string { return proto.CompactTextString(m) } +func (*ConfigFileReleaseHistory) ProtoMessage() {} +func (*ConfigFileReleaseHistory) Descriptor() ([]byte, []int) { + return fileDescriptor_config_file_a89f882cd57ec3ac, []int{4} } - -func (x *ConfigFileReleaseHistory) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *ConfigFileReleaseHistory) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ConfigFileReleaseHistory.Unmarshal(m, b) } - -func (*ConfigFileReleaseHistory) ProtoMessage() {} - -func (x *ConfigFileReleaseHistory) ProtoReflect() protoreflect.Message { - mi := &file_config_file_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) +func (m *ConfigFileReleaseHistory) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ConfigFileReleaseHistory.Marshal(b, m, deterministic) } - -// Deprecated: Use ConfigFileReleaseHistory.ProtoReflect.Descriptor instead. -func (*ConfigFileReleaseHistory) Descriptor() ([]byte, []int) { - return file_config_file_proto_rawDescGZIP(), []int{4} +func (dst *ConfigFileReleaseHistory) XXX_Merge(src proto.Message) { + xxx_messageInfo_ConfigFileReleaseHistory.Merge(dst, src) +} +func (m *ConfigFileReleaseHistory) XXX_Size() int { + return xxx_messageInfo_ConfigFileReleaseHistory.Size(m) } +func (m *ConfigFileReleaseHistory) XXX_DiscardUnknown() { + xxx_messageInfo_ConfigFileReleaseHistory.DiscardUnknown(m) +} + +var xxx_messageInfo_ConfigFileReleaseHistory proto.InternalMessageInfo -func (x *ConfigFileReleaseHistory) GetId() *wrapperspb.UInt64Value { - if x != nil { - return x.Id +func (m *ConfigFileReleaseHistory) GetId() *wrapperspb.UInt64Value { + if m != nil { + return m.Id } return nil } -func (x *ConfigFileReleaseHistory) GetName() *wrapperspb.StringValue { - if x != nil { - return x.Name +func (m *ConfigFileReleaseHistory) GetName() *wrapperspb.StringValue { + if m != nil { + return m.Name } return nil } -func (x *ConfigFileReleaseHistory) GetNamespace() *wrapperspb.StringValue { - if x != nil { - return x.Namespace +func (m *ConfigFileReleaseHistory) GetNamespace() *wrapperspb.StringValue { + if m != nil { + return m.Namespace } return nil } -func (x *ConfigFileReleaseHistory) GetGroup() *wrapperspb.StringValue { - if x != nil { - return x.Group +func (m *ConfigFileReleaseHistory) GetGroup() *wrapperspb.StringValue { + if m != nil { + return m.Group } return nil } -func (x *ConfigFileReleaseHistory) GetFileName() *wrapperspb.StringValue { - if x != nil { - return x.FileName +func (m *ConfigFileReleaseHistory) GetFileName() *wrapperspb.StringValue { + if m != nil { + return m.FileName } return nil } -func (x *ConfigFileReleaseHistory) GetContent() *wrapperspb.StringValue { - if x != nil { - return x.Content +func (m *ConfigFileReleaseHistory) GetContent() *wrapperspb.StringValue { + if m != nil { + return m.Content } return nil } -func (x *ConfigFileReleaseHistory) GetFormat() *wrapperspb.StringValue { - if x != nil { - return x.Format +func (m *ConfigFileReleaseHistory) GetFormat() *wrapperspb.StringValue { + if m != nil { + return m.Format } return nil } -func (x *ConfigFileReleaseHistory) GetComment() *wrapperspb.StringValue { - if x != nil { - return x.Comment +func (m *ConfigFileReleaseHistory) GetComment() *wrapperspb.StringValue { + if m != nil { + return m.Comment } return nil } -func (x *ConfigFileReleaseHistory) GetMd5() *wrapperspb.StringValue { - if x != nil { - return x.Md5 +func (m *ConfigFileReleaseHistory) GetMd5() *wrapperspb.StringValue { + if m != nil { + return m.Md5 } return nil } -func (x *ConfigFileReleaseHistory) GetType() *wrapperspb.StringValue { - if x != nil { - return x.Type +func (m *ConfigFileReleaseHistory) GetType() *wrapperspb.StringValue { + if m != nil { + return m.Type } return nil } -func (x *ConfigFileReleaseHistory) GetStatus() *wrapperspb.StringValue { - if x != nil { - return x.Status +func (m *ConfigFileReleaseHistory) GetStatus() *wrapperspb.StringValue { + if m != nil { + return m.Status } return nil } -func (x *ConfigFileReleaseHistory) GetTags() []*ConfigFileTag { - if x != nil { - return x.Tags +func (m *ConfigFileReleaseHistory) GetTags() []*ConfigFileTag { + if m != nil { + return m.Tags } return nil } -func (x *ConfigFileReleaseHistory) GetCreateTime() *wrapperspb.StringValue { - if x != nil { - return x.CreateTime +func (m *ConfigFileReleaseHistory) GetCreateTime() *wrapperspb.StringValue { + if m != nil { + return m.CreateTime } return nil } -func (x *ConfigFileReleaseHistory) GetCreateBy() *wrapperspb.StringValue { - if x != nil { - return x.CreateBy +func (m *ConfigFileReleaseHistory) GetCreateBy() *wrapperspb.StringValue { + if m != nil { + return m.CreateBy } return nil } -func (x *ConfigFileReleaseHistory) GetModifyTime() *wrapperspb.StringValue { - if x != nil { - return x.ModifyTime +func (m *ConfigFileReleaseHistory) GetModifyTime() *wrapperspb.StringValue { + if m != nil { + return m.ModifyTime } return nil } -func (x *ConfigFileReleaseHistory) GetModifyBy() *wrapperspb.StringValue { - if x != nil { - return x.ModifyBy +func (m *ConfigFileReleaseHistory) GetModifyBy() *wrapperspb.StringValue { + if m != nil { + return m.ModifyBy } return nil } -func (x *ConfigFileReleaseHistory) GetReason() *wrapperspb.StringValue { - if x != nil { - return x.Reason +func (m *ConfigFileReleaseHistory) GetReason() *wrapperspb.StringValue { + if m != nil { + return m.Reason } return nil } -func (x *ConfigFileReleaseHistory) GetReleaseDescription() *wrapperspb.StringValue { - if x != nil { - return x.ReleaseDescription +func (m *ConfigFileReleaseHistory) GetReleaseDescription() *wrapperspb.StringValue { + if m != nil { + return m.ReleaseDescription } return nil } type ConfigFileTemplate struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id *wrapperspb.UInt64Value `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - Name *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - Content *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=content,proto3" json:"content,omitempty"` - Format *wrapperspb.StringValue `protobuf:"bytes,4,opt,name=format,proto3" json:"format,omitempty"` - Comment *wrapperspb.StringValue `protobuf:"bytes,5,opt,name=comment,proto3" json:"comment,omitempty"` - CreateTime *wrapperspb.StringValue `protobuf:"bytes,6,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` - CreateBy *wrapperspb.StringValue `protobuf:"bytes,7,opt,name=create_by,json=createBy,proto3" json:"create_by,omitempty"` - ModifyTime *wrapperspb.StringValue `protobuf:"bytes,8,opt,name=modify_time,json=modifyTime,proto3" json:"modify_time,omitempty"` - ModifyBy *wrapperspb.StringValue `protobuf:"bytes,9,opt,name=modify_by,json=modifyBy,proto3" json:"modify_by,omitempty"` + Id *wrapperspb.UInt64Value `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + Name *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + Content *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=content,proto3" json:"content,omitempty"` + Format *wrapperspb.StringValue `protobuf:"bytes,4,opt,name=format,proto3" json:"format,omitempty"` + Comment *wrapperspb.StringValue `protobuf:"bytes,5,opt,name=comment,proto3" json:"comment,omitempty"` + CreateTime *wrapperspb.StringValue `protobuf:"bytes,6,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateBy *wrapperspb.StringValue `protobuf:"bytes,7,opt,name=create_by,json=createBy,proto3" json:"create_by,omitempty"` + ModifyTime *wrapperspb.StringValue `protobuf:"bytes,8,opt,name=modify_time,json=modifyTime,proto3" json:"modify_time,omitempty"` + ModifyBy *wrapperspb.StringValue `protobuf:"bytes,9,opt,name=modify_by,json=modifyBy,proto3" json:"modify_by,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ConfigFileTemplate) Reset() { *m = ConfigFileTemplate{} } +func (m *ConfigFileTemplate) String() string { return proto.CompactTextString(m) } +func (*ConfigFileTemplate) ProtoMessage() {} +func (*ConfigFileTemplate) Descriptor() ([]byte, []int) { + return fileDescriptor_config_file_a89f882cd57ec3ac, []int{5} } - -func (x *ConfigFileTemplate) Reset() { - *x = ConfigFileTemplate{} - if protoimpl.UnsafeEnabled { - mi := &file_config_file_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *ConfigFileTemplate) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ConfigFileTemplate.Unmarshal(m, b) } - -func (x *ConfigFileTemplate) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *ConfigFileTemplate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ConfigFileTemplate.Marshal(b, m, deterministic) } - -func (*ConfigFileTemplate) ProtoMessage() {} - -func (x *ConfigFileTemplate) ProtoReflect() protoreflect.Message { - mi := &file_config_file_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) +func (dst *ConfigFileTemplate) XXX_Merge(src proto.Message) { + xxx_messageInfo_ConfigFileTemplate.Merge(dst, src) } - -// Deprecated: Use ConfigFileTemplate.ProtoReflect.Descriptor instead. -func (*ConfigFileTemplate) Descriptor() ([]byte, []int) { - return file_config_file_proto_rawDescGZIP(), []int{5} +func (m *ConfigFileTemplate) XXX_Size() int { + return xxx_messageInfo_ConfigFileTemplate.Size(m) } +func (m *ConfigFileTemplate) XXX_DiscardUnknown() { + xxx_messageInfo_ConfigFileTemplate.DiscardUnknown(m) +} + +var xxx_messageInfo_ConfigFileTemplate proto.InternalMessageInfo -func (x *ConfigFileTemplate) GetId() *wrapperspb.UInt64Value { - if x != nil { - return x.Id +func (m *ConfigFileTemplate) GetId() *wrapperspb.UInt64Value { + if m != nil { + return m.Id } return nil } -func (x *ConfigFileTemplate) GetName() *wrapperspb.StringValue { - if x != nil { - return x.Name +func (m *ConfigFileTemplate) GetName() *wrapperspb.StringValue { + if m != nil { + return m.Name } return nil } -func (x *ConfigFileTemplate) GetContent() *wrapperspb.StringValue { - if x != nil { - return x.Content +func (m *ConfigFileTemplate) GetContent() *wrapperspb.StringValue { + if m != nil { + return m.Content } return nil } -func (x *ConfigFileTemplate) GetFormat() *wrapperspb.StringValue { - if x != nil { - return x.Format +func (m *ConfigFileTemplate) GetFormat() *wrapperspb.StringValue { + if m != nil { + return m.Format } return nil } -func (x *ConfigFileTemplate) GetComment() *wrapperspb.StringValue { - if x != nil { - return x.Comment +func (m *ConfigFileTemplate) GetComment() *wrapperspb.StringValue { + if m != nil { + return m.Comment } return nil } -func (x *ConfigFileTemplate) GetCreateTime() *wrapperspb.StringValue { - if x != nil { - return x.CreateTime +func (m *ConfigFileTemplate) GetCreateTime() *wrapperspb.StringValue { + if m != nil { + return m.CreateTime } return nil } -func (x *ConfigFileTemplate) GetCreateBy() *wrapperspb.StringValue { - if x != nil { - return x.CreateBy +func (m *ConfigFileTemplate) GetCreateBy() *wrapperspb.StringValue { + if m != nil { + return m.CreateBy } return nil } -func (x *ConfigFileTemplate) GetModifyTime() *wrapperspb.StringValue { - if x != nil { - return x.ModifyTime +func (m *ConfigFileTemplate) GetModifyTime() *wrapperspb.StringValue { + if m != nil { + return m.ModifyTime } return nil } -func (x *ConfigFileTemplate) GetModifyBy() *wrapperspb.StringValue { - if x != nil { - return x.ModifyBy +func (m *ConfigFileTemplate) GetModifyBy() *wrapperspb.StringValue { + if m != nil { + return m.ModifyBy } return nil } type ClientConfigFileInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - Namespace *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` Group *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=group,proto3" json:"group,omitempty"` FileName *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=file_name,json=fileName,proto3" json:"file_name,omitempty"` @@ -1057,249 +951,222 @@ type ClientConfigFileInfo struct { // 配置文件版本名称 Name *wrapperspb.StringValue `protobuf:"bytes,10,opt,name=name,proto3" json:"name,omitempty"` // 配置文件的发布时间 - ReleaseTime *wrapperspb.StringValue `protobuf:"bytes,11,opt,name=release_time,proto3" json:"release_time,omitempty"` + ReleaseTime *wrapperspb.StringValue `protobuf:"bytes,11,opt,name=release_time,proto3" json:"release_time,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *ClientConfigFileInfo) Reset() { - *x = ClientConfigFileInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_config_file_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *ClientConfigFileInfo) Reset() { *m = ClientConfigFileInfo{} } +func (m *ClientConfigFileInfo) String() string { return proto.CompactTextString(m) } +func (*ClientConfigFileInfo) ProtoMessage() {} +func (*ClientConfigFileInfo) Descriptor() ([]byte, []int) { + return fileDescriptor_config_file_a89f882cd57ec3ac, []int{6} } - -func (x *ClientConfigFileInfo) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *ClientConfigFileInfo) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ClientConfigFileInfo.Unmarshal(m, b) } - -func (*ClientConfigFileInfo) ProtoMessage() {} - -func (x *ClientConfigFileInfo) ProtoReflect() protoreflect.Message { - mi := &file_config_file_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) +func (m *ClientConfigFileInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ClientConfigFileInfo.Marshal(b, m, deterministic) } - -// Deprecated: Use ClientConfigFileInfo.ProtoReflect.Descriptor instead. -func (*ClientConfigFileInfo) Descriptor() ([]byte, []int) { - return file_config_file_proto_rawDescGZIP(), []int{6} +func (dst *ClientConfigFileInfo) XXX_Merge(src proto.Message) { + xxx_messageInfo_ClientConfigFileInfo.Merge(dst, src) +} +func (m *ClientConfigFileInfo) XXX_Size() int { + return xxx_messageInfo_ClientConfigFileInfo.Size(m) } +func (m *ClientConfigFileInfo) XXX_DiscardUnknown() { + xxx_messageInfo_ClientConfigFileInfo.DiscardUnknown(m) +} + +var xxx_messageInfo_ClientConfigFileInfo proto.InternalMessageInfo -func (x *ClientConfigFileInfo) GetNamespace() *wrapperspb.StringValue { - if x != nil { - return x.Namespace +func (m *ClientConfigFileInfo) GetNamespace() *wrapperspb.StringValue { + if m != nil { + return m.Namespace } return nil } -func (x *ClientConfigFileInfo) GetGroup() *wrapperspb.StringValue { - if x != nil { - return x.Group +func (m *ClientConfigFileInfo) GetGroup() *wrapperspb.StringValue { + if m != nil { + return m.Group } return nil } -func (x *ClientConfigFileInfo) GetFileName() *wrapperspb.StringValue { - if x != nil { - return x.FileName +func (m *ClientConfigFileInfo) GetFileName() *wrapperspb.StringValue { + if m != nil { + return m.FileName } return nil } -func (x *ClientConfigFileInfo) GetContent() *wrapperspb.StringValue { - if x != nil { - return x.Content +func (m *ClientConfigFileInfo) GetContent() *wrapperspb.StringValue { + if m != nil { + return m.Content } return nil } -func (x *ClientConfigFileInfo) GetVersion() *wrapperspb.UInt64Value { - if x != nil { - return x.Version +func (m *ClientConfigFileInfo) GetVersion() *wrapperspb.UInt64Value { + if m != nil { + return m.Version } return nil } -func (x *ClientConfigFileInfo) GetMd5() *wrapperspb.StringValue { - if x != nil { - return x.Md5 +func (m *ClientConfigFileInfo) GetMd5() *wrapperspb.StringValue { + if m != nil { + return m.Md5 } return nil } -func (x *ClientConfigFileInfo) GetTags() []*ConfigFileTag { - if x != nil { - return x.Tags +func (m *ClientConfigFileInfo) GetTags() []*ConfigFileTag { + if m != nil { + return m.Tags } return nil } -func (x *ClientConfigFileInfo) GetEncrypted() *wrapperspb.BoolValue { - if x != nil { - return x.Encrypted +func (m *ClientConfigFileInfo) GetEncrypted() *wrapperspb.BoolValue { + if m != nil { + return m.Encrypted } return nil } -func (x *ClientConfigFileInfo) GetPublicKey() *wrapperspb.StringValue { - if x != nil { - return x.PublicKey +func (m *ClientConfigFileInfo) GetPublicKey() *wrapperspb.StringValue { + if m != nil { + return m.PublicKey } return nil } -func (x *ClientConfigFileInfo) GetName() *wrapperspb.StringValue { - if x != nil { - return x.Name +func (m *ClientConfigFileInfo) GetName() *wrapperspb.StringValue { + if m != nil { + return m.Name } return nil } -func (x *ClientConfigFileInfo) GetReleaseTime() *wrapperspb.StringValue { - if x != nil { - return x.ReleaseTime +func (m *ClientConfigFileInfo) GetReleaseTime() *wrapperspb.StringValue { + if m != nil { + return m.ReleaseTime } return nil } type ClientWatchConfigFileRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ClientIp *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=client_ip,json=clientIp,proto3" json:"client_ip,omitempty"` - ServiceName *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"` - WatchFiles []*ClientConfigFileInfo `protobuf:"bytes,3,rep,name=watch_files,json=watchFiles,proto3" json:"watch_files,omitempty"` + ClientIp *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=client_ip,json=clientIp,proto3" json:"client_ip,omitempty"` + ServiceName *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"` + WatchFiles []*ClientConfigFileInfo `protobuf:"bytes,3,rep,name=watch_files,json=watchFiles,proto3" json:"watch_files,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *ClientWatchConfigFileRequest) Reset() { - *x = ClientWatchConfigFileRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_config_file_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *ClientWatchConfigFileRequest) Reset() { *m = ClientWatchConfigFileRequest{} } +func (m *ClientWatchConfigFileRequest) String() string { return proto.CompactTextString(m) } +func (*ClientWatchConfigFileRequest) ProtoMessage() {} +func (*ClientWatchConfigFileRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_config_file_a89f882cd57ec3ac, []int{7} } - -func (x *ClientWatchConfigFileRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *ClientWatchConfigFileRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ClientWatchConfigFileRequest.Unmarshal(m, b) } - -func (*ClientWatchConfigFileRequest) ProtoMessage() {} - -func (x *ClientWatchConfigFileRequest) ProtoReflect() protoreflect.Message { - mi := &file_config_file_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) +func (m *ClientWatchConfigFileRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ClientWatchConfigFileRequest.Marshal(b, m, deterministic) } - -// Deprecated: Use ClientWatchConfigFileRequest.ProtoReflect.Descriptor instead. -func (*ClientWatchConfigFileRequest) Descriptor() ([]byte, []int) { - return file_config_file_proto_rawDescGZIP(), []int{7} +func (dst *ClientWatchConfigFileRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ClientWatchConfigFileRequest.Merge(dst, src) +} +func (m *ClientWatchConfigFileRequest) XXX_Size() int { + return xxx_messageInfo_ClientWatchConfigFileRequest.Size(m) } +func (m *ClientWatchConfigFileRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ClientWatchConfigFileRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_ClientWatchConfigFileRequest proto.InternalMessageInfo -func (x *ClientWatchConfigFileRequest) GetClientIp() *wrapperspb.StringValue { - if x != nil { - return x.ClientIp +func (m *ClientWatchConfigFileRequest) GetClientIp() *wrapperspb.StringValue { + if m != nil { + return m.ClientIp } return nil } -func (x *ClientWatchConfigFileRequest) GetServiceName() *wrapperspb.StringValue { - if x != nil { - return x.ServiceName +func (m *ClientWatchConfigFileRequest) GetServiceName() *wrapperspb.StringValue { + if m != nil { + return m.ServiceName } return nil } -func (x *ClientWatchConfigFileRequest) GetWatchFiles() []*ClientConfigFileInfo { - if x != nil { - return x.WatchFiles +func (m *ClientWatchConfigFileRequest) GetWatchFiles() []*ClientConfigFileInfo { + if m != nil { + return m.WatchFiles } return nil } type ConfigFileExportRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Namespace *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` - Groups []*wrapperspb.StringValue `protobuf:"bytes,2,rep,name=groups,proto3" json:"groups,omitempty"` - Names []*wrapperspb.StringValue `protobuf:"bytes,3,rep,name=names,proto3" json:"names,omitempty"` + Namespace *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` + Groups []*wrapperspb.StringValue `protobuf:"bytes,2,rep,name=groups,proto3" json:"groups,omitempty"` + Names []*wrapperspb.StringValue `protobuf:"bytes,3,rep,name=names,proto3" json:"names,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *ConfigFileExportRequest) Reset() { - *x = ConfigFileExportRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_config_file_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *ConfigFileExportRequest) Reset() { *m = ConfigFileExportRequest{} } +func (m *ConfigFileExportRequest) String() string { return proto.CompactTextString(m) } +func (*ConfigFileExportRequest) ProtoMessage() {} +func (*ConfigFileExportRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_config_file_a89f882cd57ec3ac, []int{8} } - -func (x *ConfigFileExportRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *ConfigFileExportRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ConfigFileExportRequest.Unmarshal(m, b) } - -func (*ConfigFileExportRequest) ProtoMessage() {} - -func (x *ConfigFileExportRequest) ProtoReflect() protoreflect.Message { - mi := &file_config_file_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) +func (m *ConfigFileExportRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ConfigFileExportRequest.Marshal(b, m, deterministic) } - -// Deprecated: Use ConfigFileExportRequest.ProtoReflect.Descriptor instead. -func (*ConfigFileExportRequest) Descriptor() ([]byte, []int) { - return file_config_file_proto_rawDescGZIP(), []int{8} +func (dst *ConfigFileExportRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ConfigFileExportRequest.Merge(dst, src) +} +func (m *ConfigFileExportRequest) XXX_Size() int { + return xxx_messageInfo_ConfigFileExportRequest.Size(m) } +func (m *ConfigFileExportRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ConfigFileExportRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_ConfigFileExportRequest proto.InternalMessageInfo -func (x *ConfigFileExportRequest) GetNamespace() *wrapperspb.StringValue { - if x != nil { - return x.Namespace +func (m *ConfigFileExportRequest) GetNamespace() *wrapperspb.StringValue { + if m != nil { + return m.Namespace } return nil } -func (x *ConfigFileExportRequest) GetGroups() []*wrapperspb.StringValue { - if x != nil { - return x.Groups +func (m *ConfigFileExportRequest) GetGroups() []*wrapperspb.StringValue { + if m != nil { + return m.Groups } return nil } -func (x *ConfigFileExportRequest) GetNames() []*wrapperspb.StringValue { - if x != nil { - return x.Names +func (m *ConfigFileExportRequest) GetNames() []*wrapperspb.StringValue { + if m != nil { + return m.Names } return nil } type ConfigFilePublishInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - ReleaseName *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=release_name,proto3" json:"release_name,omitempty"` Namespace *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"` Group *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=group,proto3" json:"group,omitempty"` @@ -1315,1223 +1182,451 @@ type ConfigFilePublishInfo struct { // 是否为加密配置文件 Encrypted *wrapperspb.BoolValue `protobuf:"bytes,16,opt,name=encrypted,proto3" json:"encrypted,omitempty"` // 加密算法 - EncryptAlgo *wrapperspb.StringValue `protobuf:"bytes,17,opt,name=encrypt_algo,json=encryptAlgo,proto3" json:"encrypt_algo,omitempty"` + EncryptAlgo *wrapperspb.StringValue `protobuf:"bytes,17,opt,name=encrypt_algo,json=encryptAlgo,proto3" json:"encrypt_algo,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *ConfigFilePublishInfo) Reset() { - *x = ConfigFilePublishInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_config_file_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *ConfigFilePublishInfo) Reset() { *m = ConfigFilePublishInfo{} } +func (m *ConfigFilePublishInfo) String() string { return proto.CompactTextString(m) } +func (*ConfigFilePublishInfo) ProtoMessage() {} +func (*ConfigFilePublishInfo) Descriptor() ([]byte, []int) { + return fileDescriptor_config_file_a89f882cd57ec3ac, []int{9} } - -func (x *ConfigFilePublishInfo) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *ConfigFilePublishInfo) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ConfigFilePublishInfo.Unmarshal(m, b) } - -func (*ConfigFilePublishInfo) ProtoMessage() {} - -func (x *ConfigFilePublishInfo) ProtoReflect() protoreflect.Message { - mi := &file_config_file_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *ConfigFilePublishInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ConfigFilePublishInfo.Marshal(b, m, deterministic) } - -// Deprecated: Use ConfigFilePublishInfo.ProtoReflect.Descriptor instead. -func (*ConfigFilePublishInfo) Descriptor() ([]byte, []int) { - return file_config_file_proto_rawDescGZIP(), []int{9} +func (dst *ConfigFilePublishInfo) XXX_Merge(src proto.Message) { + xxx_messageInfo_ConfigFilePublishInfo.Merge(dst, src) } +func (m *ConfigFilePublishInfo) XXX_Size() int { + return xxx_messageInfo_ConfigFilePublishInfo.Size(m) +} +func (m *ConfigFilePublishInfo) XXX_DiscardUnknown() { + xxx_messageInfo_ConfigFilePublishInfo.DiscardUnknown(m) +} + +var xxx_messageInfo_ConfigFilePublishInfo proto.InternalMessageInfo -func (x *ConfigFilePublishInfo) GetReleaseName() *wrapperspb.StringValue { - if x != nil { - return x.ReleaseName +func (m *ConfigFilePublishInfo) GetReleaseName() *wrapperspb.StringValue { + if m != nil { + return m.ReleaseName } return nil } -func (x *ConfigFilePublishInfo) GetNamespace() *wrapperspb.StringValue { - if x != nil { - return x.Namespace +func (m *ConfigFilePublishInfo) GetNamespace() *wrapperspb.StringValue { + if m != nil { + return m.Namespace } return nil } -func (x *ConfigFilePublishInfo) GetGroup() *wrapperspb.StringValue { - if x != nil { - return x.Group +func (m *ConfigFilePublishInfo) GetGroup() *wrapperspb.StringValue { + if m != nil { + return m.Group } return nil } -func (x *ConfigFilePublishInfo) GetFileName() *wrapperspb.StringValue { - if x != nil { - return x.FileName +func (m *ConfigFilePublishInfo) GetFileName() *wrapperspb.StringValue { + if m != nil { + return m.FileName } return nil } -func (x *ConfigFilePublishInfo) GetContent() *wrapperspb.StringValue { - if x != nil { - return x.Content +func (m *ConfigFilePublishInfo) GetContent() *wrapperspb.StringValue { + if m != nil { + return m.Content } return nil } -func (x *ConfigFilePublishInfo) GetComment() *wrapperspb.StringValue { - if x != nil { - return x.Comment +func (m *ConfigFilePublishInfo) GetComment() *wrapperspb.StringValue { + if m != nil { + return m.Comment } return nil } -func (x *ConfigFilePublishInfo) GetFormat() *wrapperspb.StringValue { - if x != nil { - return x.Format +func (m *ConfigFilePublishInfo) GetFormat() *wrapperspb.StringValue { + if m != nil { + return m.Format } return nil } -func (x *ConfigFilePublishInfo) GetReleaseDescription() *wrapperspb.StringValue { - if x != nil { - return x.ReleaseDescription +func (m *ConfigFilePublishInfo) GetReleaseDescription() *wrapperspb.StringValue { + if m != nil { + return m.ReleaseDescription } return nil } -func (x *ConfigFilePublishInfo) GetCreateBy() *wrapperspb.StringValue { - if x != nil { - return x.CreateBy +func (m *ConfigFilePublishInfo) GetCreateBy() *wrapperspb.StringValue { + if m != nil { + return m.CreateBy } return nil } -func (x *ConfigFilePublishInfo) GetModifyBy() *wrapperspb.StringValue { - if x != nil { - return x.ModifyBy +func (m *ConfigFilePublishInfo) GetModifyBy() *wrapperspb.StringValue { + if m != nil { + return m.ModifyBy } return nil } -func (x *ConfigFilePublishInfo) GetTags() []*ConfigFileTag { - if x != nil { - return x.Tags +func (m *ConfigFilePublishInfo) GetTags() []*ConfigFileTag { + if m != nil { + return m.Tags } return nil } -func (x *ConfigFilePublishInfo) GetMd5() *wrapperspb.StringValue { - if x != nil { - return x.Md5 +func (m *ConfigFilePublishInfo) GetMd5() *wrapperspb.StringValue { + if m != nil { + return m.Md5 } return nil } -func (x *ConfigFilePublishInfo) GetEncrypted() *wrapperspb.BoolValue { - if x != nil { - return x.Encrypted +func (m *ConfigFilePublishInfo) GetEncrypted() *wrapperspb.BoolValue { + if m != nil { + return m.Encrypted } return nil } -func (x *ConfigFilePublishInfo) GetEncryptAlgo() *wrapperspb.StringValue { - if x != nil { - return x.EncryptAlgo +func (m *ConfigFilePublishInfo) GetEncryptAlgo() *wrapperspb.StringValue { + if m != nil { + return m.EncryptAlgo } return nil } type ConfigFileGroupRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - Revision *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=revision,proto3" json:"revision,omitempty"` ConfigFileGroup *ConfigFileGroup `protobuf:"bytes,2,opt,name=config_file_group,proto3" json:"config_file_group,omitempty"` // 配置标签 - ClientLabels map[string]string `protobuf:"bytes,12,rep,name=client_labels,proto3" json:"client_labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + ClientLabels map[string]string `protobuf:"bytes,12,rep,name=client_labels,proto3" json:"client_labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *ConfigFileGroupRequest) Reset() { - *x = ConfigFileGroupRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_config_file_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *ConfigFileGroupRequest) Reset() { *m = ConfigFileGroupRequest{} } +func (m *ConfigFileGroupRequest) String() string { return proto.CompactTextString(m) } +func (*ConfigFileGroupRequest) ProtoMessage() {} +func (*ConfigFileGroupRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_config_file_a89f882cd57ec3ac, []int{10} } - -func (x *ConfigFileGroupRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *ConfigFileGroupRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ConfigFileGroupRequest.Unmarshal(m, b) } - -func (*ConfigFileGroupRequest) ProtoMessage() {} - -func (x *ConfigFileGroupRequest) ProtoReflect() protoreflect.Message { - mi := &file_config_file_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *ConfigFileGroupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ConfigFileGroupRequest.Marshal(b, m, deterministic) } - -// Deprecated: Use ConfigFileGroupRequest.ProtoReflect.Descriptor instead. -func (*ConfigFileGroupRequest) Descriptor() ([]byte, []int) { - return file_config_file_proto_rawDescGZIP(), []int{10} +func (dst *ConfigFileGroupRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ConfigFileGroupRequest.Merge(dst, src) } +func (m *ConfigFileGroupRequest) XXX_Size() int { + return xxx_messageInfo_ConfigFileGroupRequest.Size(m) +} +func (m *ConfigFileGroupRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ConfigFileGroupRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_ConfigFileGroupRequest proto.InternalMessageInfo -func (x *ConfigFileGroupRequest) GetRevision() *wrapperspb.StringValue { - if x != nil { - return x.Revision +func (m *ConfigFileGroupRequest) GetRevision() *wrapperspb.StringValue { + if m != nil { + return m.Revision } return nil } -func (x *ConfigFileGroupRequest) GetConfigFileGroup() *ConfigFileGroup { - if x != nil { - return x.ConfigFileGroup +func (m *ConfigFileGroupRequest) GetConfigFileGroup() *ConfigFileGroup { + if m != nil { + return m.ConfigFileGroup } return nil } -func (x *ConfigFileGroupRequest) GetClientLabels() map[string]string { - if x != nil { - return x.ClientLabels +func (m *ConfigFileGroupRequest) GetClientLabels() map[string]string { + if m != nil { + return m.ClientLabels } return nil } type ConfigDiscoverRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Type ConfigDiscoverRequest_ConfigDiscoverRequestType `protobuf:"varint,1,opt,name=type,proto3,enum=v1.ConfigDiscoverRequest_ConfigDiscoverRequestType" json:"type,omitempty"` - ConfigFile *ClientConfigFileInfo `protobuf:"bytes,2,opt,name=config_file,proto3" json:"config_file,omitempty"` - Revision string `protobuf:"bytes,3,opt,name=revision,proto3" json:"revision,omitempty"` + Type ConfigDiscoverRequest_ConfigDiscoverRequestType `protobuf:"varint,1,opt,name=type,proto3,enum=v1.ConfigDiscoverRequest_ConfigDiscoverRequestType" json:"type,omitempty"` + ConfigFile *ClientConfigFileInfo `protobuf:"bytes,2,opt,name=config_file,proto3" json:"config_file,omitempty"` + Revision string `protobuf:"bytes,3,opt,name=revision,proto3" json:"revision,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *ConfigDiscoverRequest) Reset() { - *x = ConfigDiscoverRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_config_file_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *ConfigDiscoverRequest) Reset() { *m = ConfigDiscoverRequest{} } +func (m *ConfigDiscoverRequest) String() string { return proto.CompactTextString(m) } +func (*ConfigDiscoverRequest) ProtoMessage() {} +func (*ConfigDiscoverRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_config_file_a89f882cd57ec3ac, []int{11} } - -func (x *ConfigDiscoverRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *ConfigDiscoverRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ConfigDiscoverRequest.Unmarshal(m, b) } - -func (*ConfigDiscoverRequest) ProtoMessage() {} - -func (x *ConfigDiscoverRequest) ProtoReflect() protoreflect.Message { - mi := &file_config_file_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *ConfigDiscoverRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ConfigDiscoverRequest.Marshal(b, m, deterministic) } - -// Deprecated: Use ConfigDiscoverRequest.ProtoReflect.Descriptor instead. -func (*ConfigDiscoverRequest) Descriptor() ([]byte, []int) { - return file_config_file_proto_rawDescGZIP(), []int{11} +func (dst *ConfigDiscoverRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ConfigDiscoverRequest.Merge(dst, src) } +func (m *ConfigDiscoverRequest) XXX_Size() int { + return xxx_messageInfo_ConfigDiscoverRequest.Size(m) +} +func (m *ConfigDiscoverRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ConfigDiscoverRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_ConfigDiscoverRequest proto.InternalMessageInfo -func (x *ConfigDiscoverRequest) GetType() ConfigDiscoverRequest_ConfigDiscoverRequestType { - if x != nil { - return x.Type +func (m *ConfigDiscoverRequest) GetType() ConfigDiscoverRequest_ConfigDiscoverRequestType { + if m != nil { + return m.Type } return ConfigDiscoverRequest_UNKNOWN } -func (x *ConfigDiscoverRequest) GetConfigFile() *ClientConfigFileInfo { - if x != nil { - return x.ConfigFile +func (m *ConfigDiscoverRequest) GetConfigFile() *ClientConfigFileInfo { + if m != nil { + return m.ConfigFile } return nil } -func (x *ConfigDiscoverRequest) GetRevision() string { - if x != nil { - return x.Revision +func (m *ConfigDiscoverRequest) GetRevision() string { + if m != nil { + return m.Revision } return "" } type ConfigDiscoverResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Code uint32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` - Info string `protobuf:"bytes,2,opt,name=info,proto3" json:"info,omitempty"` - Revision string `protobuf:"bytes,3,opt,name=revision,proto3" json:"revision,omitempty"` - Type ConfigDiscoverResponse_ConfigDiscoverResponseType `protobuf:"varint,4,opt,name=type,proto3,enum=v1.ConfigDiscoverResponse_ConfigDiscoverResponseType" json:"type,omitempty"` - ConfigFile *ClientConfigFileInfo `protobuf:"bytes,5,opt,name=config_file,proto3" json:"config_file,omitempty"` - ConfigFileNames []*ClientConfigFileInfo `protobuf:"bytes,6,rep,name=config_file_names,proto3" json:"config_file_names,omitempty"` - ConfigFileGroups []*ConfigFileGroup `protobuf:"bytes,7,rep,name=config_file_groups,proto3" json:"config_file_groups,omitempty"` + Code uint32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` + Info string `protobuf:"bytes,2,opt,name=info,proto3" json:"info,omitempty"` + Revision string `protobuf:"bytes,3,opt,name=revision,proto3" json:"revision,omitempty"` + Type ConfigDiscoverResponse_ConfigDiscoverResponseType `protobuf:"varint,4,opt,name=type,proto3,enum=v1.ConfigDiscoverResponse_ConfigDiscoverResponseType" json:"type,omitempty"` + ConfigFile *ClientConfigFileInfo `protobuf:"bytes,5,opt,name=config_file,proto3" json:"config_file,omitempty"` + ConfigFileNames []*ClientConfigFileInfo `protobuf:"bytes,6,rep,name=config_file_names,proto3" json:"config_file_names,omitempty"` + ConfigFileGroups []*ConfigFileGroup `protobuf:"bytes,7,rep,name=config_file_groups,proto3" json:"config_file_groups,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ConfigDiscoverResponse) Reset() { *m = ConfigDiscoverResponse{} } +func (m *ConfigDiscoverResponse) String() string { return proto.CompactTextString(m) } +func (*ConfigDiscoverResponse) ProtoMessage() {} +func (*ConfigDiscoverResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_config_file_a89f882cd57ec3ac, []int{12} } - -func (x *ConfigDiscoverResponse) Reset() { - *x = ConfigDiscoverResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_config_file_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *ConfigDiscoverResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ConfigDiscoverResponse.Unmarshal(m, b) } - -func (x *ConfigDiscoverResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *ConfigDiscoverResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ConfigDiscoverResponse.Marshal(b, m, deterministic) } - -func (*ConfigDiscoverResponse) ProtoMessage() {} - -func (x *ConfigDiscoverResponse) ProtoReflect() protoreflect.Message { - mi := &file_config_file_proto_msgTypes[12] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (dst *ConfigDiscoverResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ConfigDiscoverResponse.Merge(dst, src) } - -// Deprecated: Use ConfigDiscoverResponse.ProtoReflect.Descriptor instead. -func (*ConfigDiscoverResponse) Descriptor() ([]byte, []int) { - return file_config_file_proto_rawDescGZIP(), []int{12} +func (m *ConfigDiscoverResponse) XXX_Size() int { + return xxx_messageInfo_ConfigDiscoverResponse.Size(m) +} +func (m *ConfigDiscoverResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ConfigDiscoverResponse.DiscardUnknown(m) } -func (x *ConfigDiscoverResponse) GetCode() uint32 { - if x != nil { - return x.Code +var xxx_messageInfo_ConfigDiscoverResponse proto.InternalMessageInfo + +func (m *ConfigDiscoverResponse) GetCode() uint32 { + if m != nil { + return m.Code } return 0 } -func (x *ConfigDiscoverResponse) GetInfo() string { - if x != nil { - return x.Info +func (m *ConfigDiscoverResponse) GetInfo() string { + if m != nil { + return m.Info } return "" } -func (x *ConfigDiscoverResponse) GetRevision() string { - if x != nil { - return x.Revision +func (m *ConfigDiscoverResponse) GetRevision() string { + if m != nil { + return m.Revision } return "" } -func (x *ConfigDiscoverResponse) GetType() ConfigDiscoverResponse_ConfigDiscoverResponseType { - if x != nil { - return x.Type +func (m *ConfigDiscoverResponse) GetType() ConfigDiscoverResponse_ConfigDiscoverResponseType { + if m != nil { + return m.Type } return ConfigDiscoverResponse_UNKNOWN } -func (x *ConfigDiscoverResponse) GetConfigFile() *ClientConfigFileInfo { - if x != nil { - return x.ConfigFile - } - return nil -} - -func (x *ConfigDiscoverResponse) GetConfigFileNames() []*ClientConfigFileInfo { - if x != nil { - return x.ConfigFileNames - } - return nil -} - -func (x *ConfigDiscoverResponse) GetConfigFileGroups() []*ConfigFileGroup { - if x != nil { - return x.ConfigFileGroups - } - return nil -} - -var File_config_file_proto protoreflect.FileDescriptor - -var file_config_file_proto_rawDesc = []byte{ - 0x0a, 0x11, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x76, 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, 0x1a, 0x0b, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb9, 0x09, 0x0a, 0x0f, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x46, - 0x69, 0x6c, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x2c, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x56, 0x61, 0x6c, - 0x75, 0x65, 0x52, 0x02, 0x69, 0x64, 0x12, 0x30, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, - 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, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x3a, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, - 0x73, 0x70, 0x61, 0x63, 0x65, 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, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, - 0x70, 0x61, 0x63, 0x65, 0x12, 0x36, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x18, - 0x04, 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, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x3d, 0x0a, 0x0b, - 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x05, 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, - 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x39, 0x0a, 0x09, 0x63, - 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x62, 0x79, 0x18, 0x06, 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, 0x08, 0x63, 0x72, - 0x65, 0x61, 0x74, 0x65, 0x42, 0x79, 0x12, 0x3d, 0x0a, 0x0b, 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x79, - 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x07, 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, 0x0a, 0x6d, 0x6f, 0x64, 0x69, 0x66, - 0x79, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x39, 0x0a, 0x09, 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x79, 0x5f, - 0x62, 0x79, 0x18, 0x08, 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, 0x08, 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x79, 0x42, 0x79, - 0x12, 0x3a, 0x0a, 0x09, 0x66, 0x69, 0x6c, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x09, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x56, 0x61, 0x6c, 0x75, - 0x65, 0x52, 0x09, 0x66, 0x69, 0x6c, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x38, 0x0a, 0x08, - 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x0a, 0x20, 0x03, 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, 0x08, 0x75, 0x73, - 0x65, 0x72, 0x5f, 0x69, 0x64, 0x73, 0x12, 0x3a, 0x0a, 0x09, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, - 0x69, 0x64, 0x73, 0x18, 0x0b, 0x20, 0x03, 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, 0x09, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x69, - 0x64, 0x73, 0x12, 0x46, 0x0a, 0x0f, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x5f, 0x75, 0x73, 0x65, - 0x72, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x0d, 0x20, 0x03, 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, 0x0f, 0x72, 0x65, 0x6d, 0x6f, 0x76, - 0x65, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x73, 0x12, 0x48, 0x0a, 0x10, 0x72, 0x65, - 0x6d, 0x6f, 0x76, 0x65, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x0e, - 0x20, 0x03, 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, 0x10, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, - 0x5f, 0x69, 0x64, 0x73, 0x12, 0x36, 0x0a, 0x08, 0x65, 0x64, 0x69, 0x74, 0x61, 0x62, 0x6c, 0x65, - 0x18, 0x0f, 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, 0x08, 0x65, 0x64, 0x69, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x32, 0x0a, 0x05, - 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x18, 0x10, 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, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, - 0x12, 0x38, 0x0a, 0x08, 0x62, 0x75, 0x73, 0x69, 0x6e, 0x65, 0x73, 0x73, 0x18, 0x11, 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, 0x08, 0x62, 0x75, 0x73, 0x69, 0x6e, 0x65, 0x73, 0x73, 0x12, 0x3c, 0x0a, 0x0a, 0x64, 0x65, - 0x70, 0x61, 0x72, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x12, 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, 0x0a, 0x64, 0x65, - 0x70, 0x61, 0x72, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x3d, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, - 0x64, 0x61, 0x74, 0x61, 0x18, 0x13, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x76, 0x31, 0x2e, - 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x46, 0x69, 0x6c, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x2e, - 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x08, 0x6d, - 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x3a, 0x0a, 0x0a, 0x64, 0x65, 0x6c, 0x65, 0x74, - 0x65, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x14, 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, 0x0a, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x61, - 0x62, 0x6c, 0x65, 0x1a, 0x3b, 0x0a, 0x0d, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x45, - 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, - 0x22, 0xcc, 0x07, 0x0a, 0x0a, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x46, 0x69, 0x6c, 0x65, 0x12, - 0x2c, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, - 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x49, - 0x6e, 0x74, 0x36, 0x34, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x02, 0x69, 0x64, 0x12, 0x30, 0x0a, - 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 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, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, - 0x3a, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 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, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x32, 0x0a, 0x05, 0x67, - 0x72, 0x6f, 0x75, 0x70, 0x18, 0x04, 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, 0x05, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x12, - 0x36, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x05, 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, 0x07, - 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x34, 0x0a, 0x06, 0x66, 0x6f, 0x72, 0x6d, 0x61, - 0x74, 0x18, 0x06, 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, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x12, 0x36, 0x0a, - 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x07, 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, 0x07, 0x63, 0x6f, - 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x34, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, - 0x08, 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, 0x61, 0x74, 0x75, 0x73, 0x12, 0x25, 0x0a, 0x04, 0x74, - 0x61, 0x67, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x76, 0x31, 0x2e, 0x43, - 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x46, 0x69, 0x6c, 0x65, 0x54, 0x61, 0x67, 0x52, 0x04, 0x74, 0x61, - 0x67, 0x73, 0x12, 0x3d, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, - 0x65, 0x18, 0x0a, 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, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, - 0x65, 0x12, 0x39, 0x0a, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x62, 0x79, 0x18, 0x0b, - 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, 0x08, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x42, 0x79, 0x12, 0x3d, 0x0a, 0x0b, - 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x79, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0c, 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, - 0x0a, 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x79, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x39, 0x0a, 0x09, 0x6d, - 0x6f, 0x64, 0x69, 0x66, 0x79, 0x5f, 0x62, 0x79, 0x18, 0x0d, 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, 0x08, 0x6d, 0x6f, - 0x64, 0x69, 0x66, 0x79, 0x42, 0x79, 0x12, 0x3f, 0x0a, 0x0c, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, - 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0e, 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, 0x0b, 0x72, 0x65, 0x6c, 0x65, - 0x61, 0x73, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x3b, 0x0a, 0x0a, 0x72, 0x65, 0x6c, 0x65, 0x61, - 0x73, 0x65, 0x5f, 0x62, 0x79, 0x18, 0x0f, 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, 0x09, 0x72, 0x65, 0x6c, 0x65, 0x61, - 0x73, 0x65, 0x42, 0x79, 0x12, 0x38, 0x0a, 0x09, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, - 0x64, 0x18, 0x10, 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, 0x09, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x64, 0x12, 0x3f, - 0x0a, 0x0c, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x5f, 0x61, 0x6c, 0x67, 0x6f, 0x18, 0x11, - 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, 0x0b, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x41, 0x6c, 0x67, 0x6f, 0x22, - 0x73, 0x0a, 0x0d, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x46, 0x69, 0x6c, 0x65, 0x54, 0x61, 0x67, - 0x12, 0x2e, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 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, 0x03, 0x6b, 0x65, 0x79, - 0x12, 0x32, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 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, 0x05, 0x76, - 0x61, 0x6c, 0x75, 0x65, 0x22, 0xbd, 0x08, 0x0a, 0x11, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x46, - 0x69, 0x6c, 0x65, 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x12, 0x2c, 0x0a, 0x02, 0x69, 0x64, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x56, - 0x61, 0x6c, 0x75, 0x65, 0x52, 0x02, 0x69, 0x64, 0x12, 0x30, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, - 0x18, 0x02, 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, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x3a, 0x0a, 0x09, 0x6e, 0x61, - 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 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, 0x09, 0x6e, 0x61, 0x6d, - 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x32, 0x0a, 0x05, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18, - 0x04, 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, 0x05, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x39, 0x0a, 0x09, 0x66, 0x69, - 0x6c, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x05, 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, 0x08, 0x66, 0x69, 0x6c, - 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x36, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, - 0x18, 0x06, 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, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x36, 0x0a, - 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x07, 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, 0x07, 0x63, 0x6f, - 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x2e, 0x0a, 0x03, 0x6d, 0x64, 0x35, 0x18, 0x08, 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, 0x03, 0x6d, 0x64, 0x35, 0x12, 0x36, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, - 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x56, - 0x61, 0x6c, 0x75, 0x65, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x3d, 0x0a, - 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0a, 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, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x39, 0x0a, 0x09, - 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x62, 0x79, 0x18, 0x0b, 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, 0x08, 0x63, - 0x72, 0x65, 0x61, 0x74, 0x65, 0x42, 0x79, 0x12, 0x3d, 0x0a, 0x0b, 0x6d, 0x6f, 0x64, 0x69, 0x66, - 0x79, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0c, 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, 0x0a, 0x6d, 0x6f, 0x64, 0x69, - 0x66, 0x79, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x39, 0x0a, 0x09, 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x79, - 0x5f, 0x62, 0x79, 0x18, 0x0d, 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, 0x08, 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x79, 0x42, - 0x79, 0x12, 0x25, 0x0a, 0x04, 0x74, 0x61, 0x67, 0x73, 0x18, 0x0e, 0x20, 0x03, 0x28, 0x0b, 0x32, - 0x11, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x46, 0x69, 0x6c, 0x65, 0x54, - 0x61, 0x67, 0x52, 0x04, 0x74, 0x61, 0x67, 0x73, 0x12, 0x32, 0x0a, 0x06, 0x61, 0x63, 0x74, 0x69, - 0x76, 0x65, 0x18, 0x0f, 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, 0x06, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x12, 0x34, 0x0a, 0x06, - 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18, 0x10, 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, 0x66, 0x6f, 0x72, 0x6d, - 0x61, 0x74, 0x12, 0x4d, 0x0a, 0x13, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x5f, 0x64, 0x65, - 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x11, 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, 0x12, 0x72, - 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, - 0x6e, 0x12, 0x3f, 0x0a, 0x0c, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x5f, 0x74, 0x79, 0x70, - 0x65, 0x18, 0x12, 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, 0x0b, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x54, 0x79, - 0x70, 0x65, 0x12, 0x30, 0x0a, 0x0b, 0x62, 0x65, 0x74, 0x61, 0x5f, 0x6c, 0x61, 0x62, 0x65, 0x6c, - 0x73, 0x18, 0x13, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6c, 0x69, - 0x65, 0x6e, 0x74, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x52, 0x0a, 0x62, 0x65, 0x74, 0x61, 0x4c, 0x61, - 0x62, 0x65, 0x6c, 0x73, 0x22, 0x83, 0x08, 0x0a, 0x18, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x46, - 0x69, 0x6c, 0x65, 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, - 0x79, 0x12, 0x2c, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, - 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, - 0x55, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x02, 0x69, 0x64, 0x12, - 0x30, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 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, 0x04, 0x6e, 0x61, 0x6d, - 0x65, 0x12, 0x3a, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 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, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x32, 0x0a, - 0x05, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x04, 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, 0x05, 0x67, 0x72, 0x6f, 0x75, - 0x70, 0x12, 0x39, 0x0a, 0x09, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x05, - 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, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x36, 0x0a, 0x07, - 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x06, 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, 0x07, 0x63, 0x6f, 0x6e, - 0x74, 0x65, 0x6e, 0x74, 0x12, 0x34, 0x0a, 0x06, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18, 0x07, - 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, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x12, 0x36, 0x0a, 0x07, 0x63, 0x6f, - 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x08, 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, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, - 0x6e, 0x74, 0x12, 0x2e, 0x0a, 0x03, 0x6d, 0x64, 0x35, 0x18, 0x09, 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, 0x03, 0x6d, - 0x64, 0x35, 0x12, 0x30, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x0a, 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, 0x04, - 0x74, 0x79, 0x70, 0x65, 0x12, 0x34, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x0b, - 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, 0x61, 0x74, 0x75, 0x73, 0x12, 0x25, 0x0a, 0x04, 0x74, 0x61, - 0x67, 0x73, 0x18, 0x0c, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, - 0x6e, 0x66, 0x69, 0x67, 0x46, 0x69, 0x6c, 0x65, 0x54, 0x61, 0x67, 0x52, 0x04, 0x74, 0x61, 0x67, - 0x73, 0x12, 0x3d, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, - 0x18, 0x0d, 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, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, - 0x12, 0x39, 0x0a, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x62, 0x79, 0x18, 0x0e, 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, 0x08, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x42, 0x79, 0x12, 0x3d, 0x0a, 0x0b, 0x6d, - 0x6f, 0x64, 0x69, 0x66, 0x79, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0f, 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, 0x0a, - 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x79, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x39, 0x0a, 0x09, 0x6d, 0x6f, - 0x64, 0x69, 0x66, 0x79, 0x5f, 0x62, 0x79, 0x18, 0x10, 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, 0x08, 0x6d, 0x6f, 0x64, - 0x69, 0x66, 0x79, 0x42, 0x79, 0x12, 0x34, 0x0a, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, - 0x11, 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, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x12, 0x4d, 0x0a, 0x13, 0x72, - 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x5f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, - 0x6f, 0x6e, 0x18, 0x12, 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, 0x12, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x44, - 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x8e, 0x04, 0x0a, 0x12, 0x43, - 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x46, 0x69, 0x6c, 0x65, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, - 0x65, 0x12, 0x2c, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, - 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, - 0x55, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x02, 0x69, 0x64, 0x12, - 0x30, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 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, 0x04, 0x6e, 0x61, 0x6d, - 0x65, 0x12, 0x36, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 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, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x34, 0x0a, 0x06, 0x66, 0x6f, 0x72, - 0x6d, 0x61, 0x74, 0x18, 0x04, 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, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x12, - 0x36, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x05, 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, 0x07, - 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x3d, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, - 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x06, 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, 0x0a, 0x63, 0x72, 0x65, 0x61, - 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x39, 0x0a, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, - 0x5f, 0x62, 0x79, 0x18, 0x07, 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, 0x08, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x42, - 0x79, 0x12, 0x3d, 0x0a, 0x0b, 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x79, 0x5f, 0x74, 0x69, 0x6d, 0x65, - 0x18, 0x08, 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, 0x0a, 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x79, 0x54, 0x69, 0x6d, 0x65, - 0x12, 0x39, 0x0a, 0x09, 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x79, 0x5f, 0x62, 0x79, 0x18, 0x09, 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, 0x08, 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x79, 0x42, 0x79, 0x22, 0xf3, 0x04, 0x0a, 0x14, - 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x46, 0x69, 0x6c, 0x65, - 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x3a, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, - 0x65, 0x18, 0x01, 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, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, - 0x12, 0x32, 0x0a, 0x05, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x02, 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, 0x05, 0x67, - 0x72, 0x6f, 0x75, 0x70, 0x12, 0x39, 0x0a, 0x09, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x6e, 0x61, 0x6d, - 0x65, 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, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, - 0x36, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x04, 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, 0x07, - 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x36, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, - 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, - 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x49, 0x6e, 0x74, 0x36, - 0x34, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, - 0x2e, 0x0a, 0x03, 0x6d, 0x64, 0x35, 0x18, 0x06, 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, 0x03, 0x6d, 0x64, 0x35, 0x12, - 0x25, 0x0a, 0x04, 0x74, 0x61, 0x67, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x11, 0x2e, - 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x46, 0x69, 0x6c, 0x65, 0x54, 0x61, 0x67, - 0x52, 0x04, 0x74, 0x61, 0x67, 0x73, 0x12, 0x38, 0x0a, 0x09, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, - 0x74, 0x65, 0x64, 0x18, 0x08, 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, 0x09, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x64, - 0x12, 0x3b, 0x0a, 0x0a, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x09, - 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, 0x09, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x12, 0x30, 0x0a, - 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x0a, 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, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, - 0x40, 0x0a, 0x0c, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, - 0x0b, 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, 0x0c, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x5f, 0x74, 0x69, 0x6d, - 0x65, 0x22, 0xd5, 0x01, 0x0a, 0x1c, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x57, 0x61, 0x74, 0x63, - 0x68, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x46, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x12, 0x39, 0x0a, 0x09, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x70, 0x18, - 0x01, 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, 0x08, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x49, 0x70, 0x12, 0x3f, 0x0a, - 0x0c, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 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, 0x0b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x39, - 0x0a, 0x0b, 0x77, 0x61, 0x74, 0x63, 0x68, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x18, 0x03, 0x20, - 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x43, - 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x46, 0x69, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0a, 0x77, - 0x61, 0x74, 0x63, 0x68, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x22, 0xbf, 0x01, 0x0a, 0x17, 0x43, 0x6f, - 0x6e, 0x66, 0x69, 0x67, 0x46, 0x69, 0x6c, 0x65, 0x45, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3a, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, - 0x63, 0x65, 0x18, 0x01, 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, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, - 0x65, 0x12, 0x34, 0x0a, 0x06, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x18, 0x02, 0x20, 0x03, 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, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x12, 0x32, 0x0a, 0x05, 0x6e, 0x61, 0x6d, 0x65, 0x73, - 0x18, 0x03, 0x20, 0x03, 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, 0x05, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x22, 0xc5, 0x06, 0x0a, 0x15, - 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x46, 0x69, 0x6c, 0x65, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, - 0x68, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x40, 0x0a, 0x0c, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, - 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 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, 0x0c, 0x72, 0x65, 0x6c, 0x65, 0x61, - 0x73, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x3a, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, - 0x70, 0x61, 0x63, 0x65, 0x18, 0x02, 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, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, - 0x61, 0x63, 0x65, 0x12, 0x32, 0x0a, 0x05, 0x67, 0x72, 0x6f, 0x75, 0x70, 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, 0x05, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x3a, 0x0a, 0x09, 0x66, 0x69, 0x6c, 0x65, 0x5f, - 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 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, 0x09, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x6e, - 0x61, 0x6d, 0x65, 0x12, 0x36, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x05, - 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, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x36, 0x0a, 0x07, 0x63, - 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x06, 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, 0x07, 0x63, 0x6f, 0x6d, 0x6d, - 0x65, 0x6e, 0x74, 0x12, 0x34, 0x0a, 0x06, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18, 0x07, 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, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x12, 0x4e, 0x0a, 0x13, 0x72, 0x65, 0x6c, - 0x65, 0x61, 0x73, 0x65, 0x5f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, - 0x18, 0x08, 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, 0x13, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x5f, 0x64, 0x65, - 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x3a, 0x0a, 0x09, 0x63, 0x72, 0x65, - 0x61, 0x74, 0x65, 0x5f, 0x62, 0x79, 0x18, 0x0b, 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, 0x09, 0x63, 0x72, 0x65, 0x61, - 0x74, 0x65, 0x5f, 0x62, 0x79, 0x12, 0x3a, 0x0a, 0x09, 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x79, 0x5f, - 0x62, 0x79, 0x18, 0x0d, 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, 0x09, 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x79, 0x5f, 0x62, - 0x79, 0x12, 0x25, 0x0a, 0x04, 0x74, 0x61, 0x67, 0x73, 0x18, 0x0e, 0x20, 0x03, 0x28, 0x0b, 0x32, - 0x11, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x46, 0x69, 0x6c, 0x65, 0x54, - 0x61, 0x67, 0x52, 0x04, 0x74, 0x61, 0x67, 0x73, 0x12, 0x2e, 0x0a, 0x03, 0x6d, 0x64, 0x35, 0x18, - 0x0f, 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, 0x03, 0x6d, 0x64, 0x35, 0x12, 0x38, 0x0a, 0x09, 0x65, 0x6e, 0x63, 0x72, - 0x79, 0x70, 0x74, 0x65, 0x64, 0x18, 0x10, 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, 0x09, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, - 0x65, 0x64, 0x12, 0x3f, 0x0a, 0x0c, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x5f, 0x61, 0x6c, - 0x67, 0x6f, 0x18, 0x11, 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, 0x0b, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x41, - 0x6c, 0x67, 0x6f, 0x22, 0xaa, 0x02, 0x0a, 0x16, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x46, 0x69, - 0x6c, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, - 0x0a, 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 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, 0x08, - 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x41, 0x0a, 0x11, 0x63, 0x6f, 0x6e, 0x66, - 0x69, 0x67, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x46, - 0x69, 0x6c, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x11, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, - 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x52, 0x0a, 0x0d, 0x63, - 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 0x0c, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x46, 0x69, - 0x6c, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x43, - 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, - 0x52, 0x0d, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x1a, - 0x3f, 0x0a, 0x11, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, - 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, - 0x22, 0xa2, 0x02, 0x0a, 0x15, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x44, 0x69, 0x73, 0x63, 0x6f, - 0x76, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x47, 0x0a, 0x04, 0x74, 0x79, - 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x33, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, - 0x6e, 0x66, 0x69, 0x67, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x76, - 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, - 0x79, 0x70, 0x65, 0x12, 0x3a, 0x0a, 0x0b, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x66, 0x69, - 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6c, - 0x69, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x46, 0x69, 0x6c, 0x65, 0x49, 0x6e, - 0x66, 0x6f, 0x52, 0x0b, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x12, - 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x68, 0x0a, 0x19, 0x43, - 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, - 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x0f, 0x0a, 0x0b, 0x43, 0x4f, 0x4e, 0x46, 0x49, 0x47, 0x5f, - 0x46, 0x49, 0x4c, 0x45, 0x10, 0x01, 0x12, 0x15, 0x0a, 0x11, 0x43, 0x4f, 0x4e, 0x46, 0x49, 0x47, - 0x5f, 0x46, 0x49, 0x4c, 0x45, 0x5f, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x10, 0x02, 0x12, 0x16, 0x0a, - 0x12, 0x43, 0x4f, 0x4e, 0x46, 0x49, 0x47, 0x5f, 0x46, 0x49, 0x4c, 0x45, 0x5f, 0x47, 0x52, 0x4f, - 0x55, 0x50, 0x53, 0x10, 0x03, 0x22, 0xdb, 0x03, 0x0a, 0x16, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, - 0x44, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x04, - 0x63, 0x6f, 0x64, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x76, 0x69, - 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x72, 0x65, 0x76, 0x69, - 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x49, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, - 0x28, 0x0e, 0x32, 0x35, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x44, 0x69, - 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x43, - 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, - 0x3a, 0x0a, 0x0b, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x18, 0x05, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, - 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x46, 0x69, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0b, - 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x12, 0x46, 0x0a, 0x11, 0x63, - 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, - 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6c, 0x69, 0x65, - 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x46, 0x69, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, - 0x52, 0x11, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x6e, 0x61, - 0x6d, 0x65, 0x73, 0x12, 0x43, 0x0a, 0x12, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x66, 0x69, - 0x6c, 0x65, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, - 0x13, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x46, 0x69, 0x6c, 0x65, 0x47, - 0x72, 0x6f, 0x75, 0x70, 0x52, 0x12, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x66, 0x69, 0x6c, - 0x65, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x22, 0x69, 0x0a, 0x1a, 0x43, 0x6f, 0x6e, 0x66, - 0x69, 0x67, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, - 0x4e, 0x10, 0x00, 0x12, 0x0f, 0x0a, 0x0b, 0x43, 0x4f, 0x4e, 0x46, 0x49, 0x47, 0x5f, 0x46, 0x49, - 0x4c, 0x45, 0x10, 0x01, 0x12, 0x15, 0x0a, 0x11, 0x43, 0x4f, 0x4e, 0x46, 0x49, 0x47, 0x5f, 0x46, - 0x49, 0x4c, 0x45, 0x5f, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x10, 0x02, 0x12, 0x16, 0x0a, 0x12, 0x43, - 0x4f, 0x4e, 0x46, 0x49, 0x47, 0x5f, 0x46, 0x49, 0x4c, 0x45, 0x5f, 0x47, 0x52, 0x4f, 0x55, 0x50, - 0x53, 0x10, 0x03, 0x42, 0x8e, 0x01, 0x0a, 0x36, 0x63, 0x6f, 0x6d, 0x2e, 0x74, 0x65, 0x6e, 0x63, - 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x6f, 0x6c, 0x61, 0x72, 0x69, 0x73, 0x2e, 0x73, 0x70, 0x65, 0x63, - 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, - 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x42, 0x0f, - 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x46, 0x69, 0x6c, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x5a, - 0x43, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x6f, 0x6c, 0x61, - 0x72, 0x69, 0x73, 0x6d, 0x65, 0x73, 0x68, 0x2f, 0x73, 0x70, 0x65, 0x63, 0x69, 0x66, 0x69, 0x63, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2f, 0x67, 0x6f, 0x2f, - 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x6d, 0x61, - 0x6e, 0x61, 0x67, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_config_file_proto_rawDescOnce sync.Once - file_config_file_proto_rawDescData = file_config_file_proto_rawDesc -) - -func file_config_file_proto_rawDescGZIP() []byte { - file_config_file_proto_rawDescOnce.Do(func() { - file_config_file_proto_rawDescData = protoimpl.X.CompressGZIP(file_config_file_proto_rawDescData) - }) - return file_config_file_proto_rawDescData -} - -var file_config_file_proto_enumTypes = make([]protoimpl.EnumInfo, 2) -var file_config_file_proto_msgTypes = make([]protoimpl.MessageInfo, 15) -var file_config_file_proto_goTypes = []interface{}{ - (ConfigDiscoverRequest_ConfigDiscoverRequestType)(0), // 0: v1.ConfigDiscoverRequest.ConfigDiscoverRequestType - (ConfigDiscoverResponse_ConfigDiscoverResponseType)(0), // 1: v1.ConfigDiscoverResponse.ConfigDiscoverResponseType - (*ConfigFileGroup)(nil), // 2: v1.ConfigFileGroup - (*ConfigFile)(nil), // 3: v1.ConfigFile - (*ConfigFileTag)(nil), // 4: v1.ConfigFileTag - (*ConfigFileRelease)(nil), // 5: v1.ConfigFileRelease - (*ConfigFileReleaseHistory)(nil), // 6: v1.ConfigFileReleaseHistory - (*ConfigFileTemplate)(nil), // 7: v1.ConfigFileTemplate - (*ClientConfigFileInfo)(nil), // 8: v1.ClientConfigFileInfo - (*ClientWatchConfigFileRequest)(nil), // 9: v1.ClientWatchConfigFileRequest - (*ConfigFileExportRequest)(nil), // 10: v1.ConfigFileExportRequest - (*ConfigFilePublishInfo)(nil), // 11: v1.ConfigFilePublishInfo - (*ConfigFileGroupRequest)(nil), // 12: v1.ConfigFileGroupRequest - (*ConfigDiscoverRequest)(nil), // 13: v1.ConfigDiscoverRequest - (*ConfigDiscoverResponse)(nil), // 14: v1.ConfigDiscoverResponse - nil, // 15: v1.ConfigFileGroup.MetadataEntry - nil, // 16: v1.ConfigFileGroupRequest.ClientLabelsEntry - (*wrapperspb.UInt64Value)(nil), // 17: google.protobuf.UInt64Value - (*wrapperspb.StringValue)(nil), // 18: google.protobuf.StringValue - (*wrapperspb.BoolValue)(nil), // 19: google.protobuf.BoolValue - (*model.ClientLabel)(nil), // 20: v1.ClientLabel -} -var file_config_file_proto_depIdxs = []int32{ - 17, // 0: v1.ConfigFileGroup.id:type_name -> google.protobuf.UInt64Value - 18, // 1: v1.ConfigFileGroup.name:type_name -> google.protobuf.StringValue - 18, // 2: v1.ConfigFileGroup.namespace:type_name -> google.protobuf.StringValue - 18, // 3: v1.ConfigFileGroup.comment:type_name -> google.protobuf.StringValue - 18, // 4: v1.ConfigFileGroup.create_time:type_name -> google.protobuf.StringValue - 18, // 5: v1.ConfigFileGroup.create_by:type_name -> google.protobuf.StringValue - 18, // 6: v1.ConfigFileGroup.modify_time:type_name -> google.protobuf.StringValue - 18, // 7: v1.ConfigFileGroup.modify_by:type_name -> google.protobuf.StringValue - 17, // 8: v1.ConfigFileGroup.fileCount:type_name -> google.protobuf.UInt64Value - 18, // 9: v1.ConfigFileGroup.user_ids:type_name -> google.protobuf.StringValue - 18, // 10: v1.ConfigFileGroup.group_ids:type_name -> google.protobuf.StringValue - 18, // 11: v1.ConfigFileGroup.remove_user_ids:type_name -> google.protobuf.StringValue - 18, // 12: v1.ConfigFileGroup.remove_group_ids:type_name -> google.protobuf.StringValue - 19, // 13: v1.ConfigFileGroup.editable:type_name -> google.protobuf.BoolValue - 18, // 14: v1.ConfigFileGroup.owner:type_name -> google.protobuf.StringValue - 18, // 15: v1.ConfigFileGroup.business:type_name -> google.protobuf.StringValue - 18, // 16: v1.ConfigFileGroup.department:type_name -> google.protobuf.StringValue - 15, // 17: v1.ConfigFileGroup.metadata:type_name -> v1.ConfigFileGroup.MetadataEntry - 19, // 18: v1.ConfigFileGroup.deleteable:type_name -> google.protobuf.BoolValue - 17, // 19: v1.ConfigFile.id:type_name -> google.protobuf.UInt64Value - 18, // 20: v1.ConfigFile.name:type_name -> google.protobuf.StringValue - 18, // 21: v1.ConfigFile.namespace:type_name -> google.protobuf.StringValue - 18, // 22: v1.ConfigFile.group:type_name -> google.protobuf.StringValue - 18, // 23: v1.ConfigFile.content:type_name -> google.protobuf.StringValue - 18, // 24: v1.ConfigFile.format:type_name -> google.protobuf.StringValue - 18, // 25: v1.ConfigFile.comment:type_name -> google.protobuf.StringValue - 18, // 26: v1.ConfigFile.status:type_name -> google.protobuf.StringValue - 4, // 27: v1.ConfigFile.tags:type_name -> v1.ConfigFileTag - 18, // 28: v1.ConfigFile.create_time:type_name -> google.protobuf.StringValue - 18, // 29: v1.ConfigFile.create_by:type_name -> google.protobuf.StringValue - 18, // 30: v1.ConfigFile.modify_time:type_name -> google.protobuf.StringValue - 18, // 31: v1.ConfigFile.modify_by:type_name -> google.protobuf.StringValue - 18, // 32: v1.ConfigFile.release_time:type_name -> google.protobuf.StringValue - 18, // 33: v1.ConfigFile.release_by:type_name -> google.protobuf.StringValue - 19, // 34: v1.ConfigFile.encrypted:type_name -> google.protobuf.BoolValue - 18, // 35: v1.ConfigFile.encrypt_algo:type_name -> google.protobuf.StringValue - 18, // 36: v1.ConfigFileTag.key:type_name -> google.protobuf.StringValue - 18, // 37: v1.ConfigFileTag.value:type_name -> google.protobuf.StringValue - 17, // 38: v1.ConfigFileRelease.id:type_name -> google.protobuf.UInt64Value - 18, // 39: v1.ConfigFileRelease.name:type_name -> google.protobuf.StringValue - 18, // 40: v1.ConfigFileRelease.namespace:type_name -> google.protobuf.StringValue - 18, // 41: v1.ConfigFileRelease.group:type_name -> google.protobuf.StringValue - 18, // 42: v1.ConfigFileRelease.file_name:type_name -> google.protobuf.StringValue - 18, // 43: v1.ConfigFileRelease.content:type_name -> google.protobuf.StringValue - 18, // 44: v1.ConfigFileRelease.comment:type_name -> google.protobuf.StringValue - 18, // 45: v1.ConfigFileRelease.md5:type_name -> google.protobuf.StringValue - 17, // 46: v1.ConfigFileRelease.version:type_name -> google.protobuf.UInt64Value - 18, // 47: v1.ConfigFileRelease.create_time:type_name -> google.protobuf.StringValue - 18, // 48: v1.ConfigFileRelease.create_by:type_name -> google.protobuf.StringValue - 18, // 49: v1.ConfigFileRelease.modify_time:type_name -> google.protobuf.StringValue - 18, // 50: v1.ConfigFileRelease.modify_by:type_name -> google.protobuf.StringValue - 4, // 51: v1.ConfigFileRelease.tags:type_name -> v1.ConfigFileTag - 19, // 52: v1.ConfigFileRelease.active:type_name -> google.protobuf.BoolValue - 18, // 53: v1.ConfigFileRelease.format:type_name -> google.protobuf.StringValue - 18, // 54: v1.ConfigFileRelease.release_description:type_name -> google.protobuf.StringValue - 18, // 55: v1.ConfigFileRelease.release_type:type_name -> google.protobuf.StringValue - 20, // 56: v1.ConfigFileRelease.beta_labels:type_name -> v1.ClientLabel - 17, // 57: v1.ConfigFileReleaseHistory.id:type_name -> google.protobuf.UInt64Value - 18, // 58: v1.ConfigFileReleaseHistory.name:type_name -> google.protobuf.StringValue - 18, // 59: v1.ConfigFileReleaseHistory.namespace:type_name -> google.protobuf.StringValue - 18, // 60: v1.ConfigFileReleaseHistory.group:type_name -> google.protobuf.StringValue - 18, // 61: v1.ConfigFileReleaseHistory.file_name:type_name -> google.protobuf.StringValue - 18, // 62: v1.ConfigFileReleaseHistory.content:type_name -> google.protobuf.StringValue - 18, // 63: v1.ConfigFileReleaseHistory.format:type_name -> google.protobuf.StringValue - 18, // 64: v1.ConfigFileReleaseHistory.comment:type_name -> google.protobuf.StringValue - 18, // 65: v1.ConfigFileReleaseHistory.md5:type_name -> google.protobuf.StringValue - 18, // 66: v1.ConfigFileReleaseHistory.type:type_name -> google.protobuf.StringValue - 18, // 67: v1.ConfigFileReleaseHistory.status:type_name -> google.protobuf.StringValue - 4, // 68: v1.ConfigFileReleaseHistory.tags:type_name -> v1.ConfigFileTag - 18, // 69: v1.ConfigFileReleaseHistory.create_time:type_name -> google.protobuf.StringValue - 18, // 70: v1.ConfigFileReleaseHistory.create_by:type_name -> google.protobuf.StringValue - 18, // 71: v1.ConfigFileReleaseHistory.modify_time:type_name -> google.protobuf.StringValue - 18, // 72: v1.ConfigFileReleaseHistory.modify_by:type_name -> google.protobuf.StringValue - 18, // 73: v1.ConfigFileReleaseHistory.reason:type_name -> google.protobuf.StringValue - 18, // 74: v1.ConfigFileReleaseHistory.release_description:type_name -> google.protobuf.StringValue - 17, // 75: v1.ConfigFileTemplate.id:type_name -> google.protobuf.UInt64Value - 18, // 76: v1.ConfigFileTemplate.name:type_name -> google.protobuf.StringValue - 18, // 77: v1.ConfigFileTemplate.content:type_name -> google.protobuf.StringValue - 18, // 78: v1.ConfigFileTemplate.format:type_name -> google.protobuf.StringValue - 18, // 79: v1.ConfigFileTemplate.comment:type_name -> google.protobuf.StringValue - 18, // 80: v1.ConfigFileTemplate.create_time:type_name -> google.protobuf.StringValue - 18, // 81: v1.ConfigFileTemplate.create_by:type_name -> google.protobuf.StringValue - 18, // 82: v1.ConfigFileTemplate.modify_time:type_name -> google.protobuf.StringValue - 18, // 83: v1.ConfigFileTemplate.modify_by:type_name -> google.protobuf.StringValue - 18, // 84: v1.ClientConfigFileInfo.namespace:type_name -> google.protobuf.StringValue - 18, // 85: v1.ClientConfigFileInfo.group:type_name -> google.protobuf.StringValue - 18, // 86: v1.ClientConfigFileInfo.file_name:type_name -> google.protobuf.StringValue - 18, // 87: v1.ClientConfigFileInfo.content:type_name -> google.protobuf.StringValue - 17, // 88: v1.ClientConfigFileInfo.version:type_name -> google.protobuf.UInt64Value - 18, // 89: v1.ClientConfigFileInfo.md5:type_name -> google.protobuf.StringValue - 4, // 90: v1.ClientConfigFileInfo.tags:type_name -> v1.ConfigFileTag - 19, // 91: v1.ClientConfigFileInfo.encrypted:type_name -> google.protobuf.BoolValue - 18, // 92: v1.ClientConfigFileInfo.public_key:type_name -> google.protobuf.StringValue - 18, // 93: v1.ClientConfigFileInfo.name:type_name -> google.protobuf.StringValue - 18, // 94: v1.ClientConfigFileInfo.release_time:type_name -> google.protobuf.StringValue - 18, // 95: v1.ClientWatchConfigFileRequest.client_ip:type_name -> google.protobuf.StringValue - 18, // 96: v1.ClientWatchConfigFileRequest.service_name:type_name -> google.protobuf.StringValue - 8, // 97: v1.ClientWatchConfigFileRequest.watch_files:type_name -> v1.ClientConfigFileInfo - 18, // 98: v1.ConfigFileExportRequest.namespace:type_name -> google.protobuf.StringValue - 18, // 99: v1.ConfigFileExportRequest.groups:type_name -> google.protobuf.StringValue - 18, // 100: v1.ConfigFileExportRequest.names:type_name -> google.protobuf.StringValue - 18, // 101: v1.ConfigFilePublishInfo.release_name:type_name -> google.protobuf.StringValue - 18, // 102: v1.ConfigFilePublishInfo.namespace:type_name -> google.protobuf.StringValue - 18, // 103: v1.ConfigFilePublishInfo.group:type_name -> google.protobuf.StringValue - 18, // 104: v1.ConfigFilePublishInfo.file_name:type_name -> google.protobuf.StringValue - 18, // 105: v1.ConfigFilePublishInfo.content:type_name -> google.protobuf.StringValue - 18, // 106: v1.ConfigFilePublishInfo.comment:type_name -> google.protobuf.StringValue - 18, // 107: v1.ConfigFilePublishInfo.format:type_name -> google.protobuf.StringValue - 18, // 108: v1.ConfigFilePublishInfo.release_description:type_name -> google.protobuf.StringValue - 18, // 109: v1.ConfigFilePublishInfo.create_by:type_name -> google.protobuf.StringValue - 18, // 110: v1.ConfigFilePublishInfo.modify_by:type_name -> google.protobuf.StringValue - 4, // 111: v1.ConfigFilePublishInfo.tags:type_name -> v1.ConfigFileTag - 18, // 112: v1.ConfigFilePublishInfo.md5:type_name -> google.protobuf.StringValue - 19, // 113: v1.ConfigFilePublishInfo.encrypted:type_name -> google.protobuf.BoolValue - 18, // 114: v1.ConfigFilePublishInfo.encrypt_algo:type_name -> google.protobuf.StringValue - 18, // 115: v1.ConfigFileGroupRequest.revision:type_name -> google.protobuf.StringValue - 2, // 116: v1.ConfigFileGroupRequest.config_file_group:type_name -> v1.ConfigFileGroup - 16, // 117: v1.ConfigFileGroupRequest.client_labels:type_name -> v1.ConfigFileGroupRequest.ClientLabelsEntry - 0, // 118: v1.ConfigDiscoverRequest.type:type_name -> v1.ConfigDiscoverRequest.ConfigDiscoverRequestType - 8, // 119: v1.ConfigDiscoverRequest.config_file:type_name -> v1.ClientConfigFileInfo - 1, // 120: v1.ConfigDiscoverResponse.type:type_name -> v1.ConfigDiscoverResponse.ConfigDiscoverResponseType - 8, // 121: v1.ConfigDiscoverResponse.config_file:type_name -> v1.ClientConfigFileInfo - 8, // 122: v1.ConfigDiscoverResponse.config_file_names:type_name -> v1.ClientConfigFileInfo - 2, // 123: v1.ConfigDiscoverResponse.config_file_groups:type_name -> v1.ConfigFileGroup - 124, // [124:124] is the sub-list for method output_type - 124, // [124:124] is the sub-list for method input_type - 124, // [124:124] is the sub-list for extension type_name - 124, // [124:124] is the sub-list for extension extendee - 0, // [0:124] is the sub-list for field type_name -} - -func init() { file_config_file_proto_init() } -func file_config_file_proto_init() { - if File_config_file_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_config_file_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ConfigFileGroup); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_config_file_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ConfigFile); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_config_file_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ConfigFileTag); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_config_file_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ConfigFileRelease); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_config_file_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ConfigFileReleaseHistory); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_config_file_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ConfigFileTemplate); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_config_file_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ClientConfigFileInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_config_file_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ClientWatchConfigFileRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_config_file_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ConfigFileExportRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_config_file_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ConfigFilePublishInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_config_file_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ConfigFileGroupRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_config_file_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ConfigDiscoverRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_config_file_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ConfigDiscoverResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_config_file_proto_rawDesc, - NumEnums: 2, - NumMessages: 15, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_config_file_proto_goTypes, - DependencyIndexes: file_config_file_proto_depIdxs, - EnumInfos: file_config_file_proto_enumTypes, - MessageInfos: file_config_file_proto_msgTypes, - }.Build() - File_config_file_proto = out.File - file_config_file_proto_rawDesc = nil - file_config_file_proto_goTypes = nil - file_config_file_proto_depIdxs = nil +func (m *ConfigDiscoverResponse) GetConfigFile() *ClientConfigFileInfo { + if m != nil { + return m.ConfigFile + } + return nil +} + +func (m *ConfigDiscoverResponse) GetConfigFileNames() []*ClientConfigFileInfo { + if m != nil { + return m.ConfigFileNames + } + return nil +} + +func (m *ConfigDiscoverResponse) GetConfigFileGroups() []*ConfigFileGroup { + if m != nil { + return m.ConfigFileGroups + } + return nil +} + +func init() { + proto.RegisterType((*ConfigFileGroup)(nil), "v1.ConfigFileGroup") + proto.RegisterMapType((map[string]string)(nil), "v1.ConfigFileGroup.MetadataEntry") + proto.RegisterType((*ConfigFile)(nil), "v1.ConfigFile") + proto.RegisterType((*ConfigFileTag)(nil), "v1.ConfigFileTag") + proto.RegisterType((*ConfigFileRelease)(nil), "v1.ConfigFileRelease") + proto.RegisterType((*ConfigFileReleaseHistory)(nil), "v1.ConfigFileReleaseHistory") + proto.RegisterType((*ConfigFileTemplate)(nil), "v1.ConfigFileTemplate") + proto.RegisterType((*ClientConfigFileInfo)(nil), "v1.ClientConfigFileInfo") + proto.RegisterType((*ClientWatchConfigFileRequest)(nil), "v1.ClientWatchConfigFileRequest") + proto.RegisterType((*ConfigFileExportRequest)(nil), "v1.ConfigFileExportRequest") + proto.RegisterType((*ConfigFilePublishInfo)(nil), "v1.ConfigFilePublishInfo") + proto.RegisterType((*ConfigFileGroupRequest)(nil), "v1.ConfigFileGroupRequest") + proto.RegisterMapType((map[string]string)(nil), "v1.ConfigFileGroupRequest.ClientLabelsEntry") + proto.RegisterType((*ConfigDiscoverRequest)(nil), "v1.ConfigDiscoverRequest") + proto.RegisterType((*ConfigDiscoverResponse)(nil), "v1.ConfigDiscoverResponse") + proto.RegisterEnum("v1.ConfigDiscoverRequest_ConfigDiscoverRequestType", ConfigDiscoverRequest_ConfigDiscoverRequestType_name, ConfigDiscoverRequest_ConfigDiscoverRequestType_value) + proto.RegisterEnum("v1.ConfigDiscoverResponse_ConfigDiscoverResponseType", ConfigDiscoverResponse_ConfigDiscoverResponseType_name, ConfigDiscoverResponse_ConfigDiscoverResponseType_value) +} + +func init() { proto.RegisterFile("config_file.proto", fileDescriptor_config_file_a89f882cd57ec3ac) } + +var fileDescriptor_config_file_a89f882cd57ec3ac = []byte{ + // 1587 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x99, 0xcd, 0x6e, 0x1b, 0xb7, + 0x16, 0xc7, 0xaf, 0xbe, 0xa5, 0xa3, 0xd8, 0x96, 0x99, 0x8f, 0x3b, 0xd7, 0x08, 0x2e, 0x72, 0x05, + 0x5c, 0xa0, 0x8b, 0x60, 0x94, 0x38, 0x8e, 0xe1, 0x38, 0x0d, 0xd2, 0xd8, 0x89, 0x1d, 0x23, 0x89, + 0x13, 0x28, 0x49, 0x03, 0x74, 0x23, 0x50, 0x23, 0x4a, 0x26, 0x3a, 0x33, 0x9c, 0x0e, 0x29, 0xa5, + 0x5a, 0x77, 0x9f, 0x87, 0xe8, 0xb2, 0x6f, 0xd0, 0x45, 0xd1, 0x55, 0x77, 0xdd, 0x76, 0xd5, 0xc7, + 0xe8, 0x0b, 0x14, 0xe4, 0x70, 0x3c, 0x23, 0x4b, 0xb6, 0x38, 0x52, 0x8b, 0x16, 0x6d, 0x57, 0x9e, + 0xa1, 0xfe, 0x87, 0xe4, 0x1c, 0x9e, 0xf3, 0xe3, 0x21, 0x0d, 0xeb, 0x0e, 0xf3, 0xfb, 0x74, 0xd0, + 0xe9, 0x53, 0x97, 0xd8, 0x41, 0xc8, 0x04, 0x43, 0xf9, 0xd1, 0xed, 0x8d, 0xff, 0x0e, 0x18, 0x1b, + 0xb8, 0xa4, 0xa5, 0x5a, 0xba, 0xc3, 0x7e, 0xeb, 0x7d, 0x88, 0x83, 0x80, 0x84, 0x3c, 0xd2, 0x6c, + 0xd4, 0x3d, 0xd6, 0x23, 0x6e, 0xf4, 0xd2, 0xfc, 0xb6, 0x06, 0x6b, 0xfb, 0xaa, 0x9b, 0x03, 0xea, + 0x92, 0xc3, 0x90, 0x0d, 0x03, 0x74, 0x13, 0xf2, 0xb4, 0x67, 0xe5, 0x6e, 0xe4, 0x3e, 0xaa, 0x6f, + 0x5e, 0xb7, 0xa3, 0xde, 0xec, 0xb8, 0x37, 0xfb, 0xed, 0x91, 0x2f, 0xb6, 0xb7, 0x3e, 0xc5, 0xee, + 0x90, 0xb4, 0xf3, 0xb4, 0x87, 0x6e, 0x41, 0xd1, 0xc7, 0x1e, 0xb1, 0xf2, 0xe7, 0xe8, 0x5f, 0x8b, + 0x90, 0xfa, 0x83, 0x48, 0xaf, 0x94, 0x68, 0x17, 0x6a, 0xf2, 0x2f, 0x0f, 0xb0, 0x43, 0xac, 0x82, + 0x81, 0x59, 0x22, 0x47, 0xdb, 0x50, 0x71, 0x98, 0xe7, 0x11, 0x5f, 0x58, 0x45, 0x03, 0xcb, 0x58, + 0x8c, 0x1e, 0x40, 0xdd, 0x09, 0x09, 0x16, 0xa4, 0x23, 0xa8, 0x47, 0xac, 0x92, 0x81, 0x2d, 0x44, + 0x06, 0x6f, 0xa8, 0x47, 0xd0, 0x3d, 0xa8, 0x69, 0xf3, 0xee, 0xd8, 0x2a, 0x1b, 0x18, 0x57, 0x23, + 0xf9, 0xde, 0x58, 0x8e, 0xec, 0xb1, 0x1e, 0xed, 0x8f, 0xa3, 0x91, 0x2b, 0x26, 0x23, 0x47, 0x06, + 0xf1, 0xc8, 0xda, 0xbc, 0x3b, 0xb6, 0xaa, 0x26, 0x23, 0x47, 0xf2, 0xbd, 0xb1, 0xf4, 0xb3, 0x0c, + 0x8d, 0x7d, 0x36, 0xf4, 0x85, 0x55, 0x33, 0x58, 0xce, 0x44, 0x8e, 0x76, 0xa0, 0x3a, 0xe4, 0x24, + 0xec, 0xd0, 0x1e, 0xb7, 0xe0, 0x46, 0x61, 0xfe, 0xa8, 0xb1, 0x5a, 0x8e, 0x3a, 0x90, 0x61, 0xa4, + 0x4c, 0xeb, 0x06, 0xa6, 0x89, 0x1c, 0x1d, 0xc0, 0x5a, 0x48, 0x3c, 0x36, 0x22, 0x9d, 0xd3, 0xc1, + 0x57, 0x0c, 0x7a, 0x38, 0x6b, 0x84, 0x9e, 0x42, 0x43, 0x37, 0x25, 0x53, 0x59, 0x35, 0xe8, 0x68, + 0xca, 0x0a, 0x6d, 0x43, 0x95, 0xf4, 0xa8, 0xc0, 0x5d, 0x97, 0x58, 0x6b, 0xca, 0x85, 0x1b, 0x53, + 0x3d, 0xec, 0x31, 0xe6, 0x6a, 0x2f, 0xc4, 0x5a, 0xb4, 0x09, 0x25, 0xf6, 0xde, 0x27, 0xa1, 0xd5, + 0x30, 0x58, 0xb2, 0x48, 0x2a, 0x7d, 0xde, 0x1d, 0x72, 0xea, 0x13, 0xce, 0xad, 0x75, 0x93, 0x95, + 0x8e, 0xd5, 0xe8, 0x63, 0x80, 0x1e, 0x09, 0x70, 0x28, 0x54, 0x62, 0x20, 0x93, 0x10, 0x4b, 0xf4, + 0xe8, 0x01, 0x54, 0x3d, 0x22, 0x70, 0x0f, 0x0b, 0x6c, 0x5d, 0x56, 0x5e, 0xfa, 0x9f, 0x3d, 0xba, + 0x6d, 0x9f, 0xc1, 0x82, 0xfd, 0x42, 0x6b, 0x9e, 0xf8, 0x22, 0x1c, 0xb7, 0x4f, 0x4d, 0xd0, 0xae, + 0x1c, 0xdc, 0x25, 0x82, 0x28, 0x27, 0x5d, 0x99, 0xeb, 0xa4, 0x94, 0x7a, 0xe3, 0x3e, 0xac, 0x4c, + 0x74, 0x8b, 0x1a, 0x50, 0xf8, 0x9c, 0x8c, 0x15, 0x7c, 0x6a, 0x6d, 0xf9, 0x88, 0xae, 0x40, 0x69, + 0x24, 0xed, 0x14, 0x60, 0x6a, 0xed, 0xe8, 0x65, 0x37, 0xbf, 0x93, 0x6b, 0xfe, 0x58, 0x01, 0x48, + 0x26, 0xf9, 0xa7, 0xc6, 0xd6, 0x26, 0x94, 0x54, 0x4c, 0x19, 0x41, 0x2b, 0x92, 0x46, 0xa8, 0xf3, + 0x85, 0x5c, 0xd1, 0x92, 0x19, 0xea, 0x94, 0x18, 0x6d, 0x41, 0xb9, 0xcf, 0x42, 0x0f, 0x0b, 0x23, + 0x50, 0x69, 0x6d, 0x1a, 0xac, 0x95, 0x2c, 0x60, 0xdd, 0x82, 0x32, 0x17, 0x58, 0x0c, 0xb9, 0x11, + 0x9c, 0xb4, 0x16, 0xfd, 0x1f, 0x8a, 0x02, 0x0f, 0xb8, 0x55, 0x53, 0xe1, 0xb6, 0x3e, 0x19, 0x6e, + 0x6f, 0xf0, 0xa0, 0xad, 0x7e, 0x3e, 0x4b, 0x6d, 0x58, 0x86, 0xda, 0xf5, 0x65, 0xa8, 0x7d, 0x69, + 0x19, 0x6a, 0xaf, 0x64, 0xa2, 0xf6, 0x43, 0xb8, 0x14, 0x12, 0x97, 0x60, 0xae, 0x3f, 0x7a, 0xd5, + 0xc0, 0xba, 0xae, 0x2d, 0xd4, 0xd8, 0xf7, 0x01, 0xe2, 0x0e, 0xba, 0x63, 0x0d, 0xad, 0x39, 0x81, + 0xaa, 0xf5, 0x7b, 0x63, 0xb4, 0x03, 0x35, 0xe2, 0x3b, 0xe1, 0x38, 0x10, 0xa4, 0xa7, 0xd9, 0x75, + 0x51, 0x2e, 0x27, 0x62, 0x39, 0x6f, 0xfd, 0xd2, 0xc1, 0xee, 0x80, 0x19, 0x11, 0xac, 0xae, 0x2d, + 0x1e, 0xb9, 0x03, 0xd6, 0xe4, 0xb0, 0x32, 0x11, 0x03, 0xc8, 0x4e, 0x58, 0x30, 0xaf, 0x23, 0x45, + 0x8a, 0xcd, 0x34, 0x29, 0xe6, 0x26, 0x99, 0x92, 0x36, 0xbf, 0xab, 0xc2, 0x7a, 0x32, 0x6a, 0x3b, + 0xf2, 0xc3, 0x5f, 0x0e, 0x25, 0xf7, 0xa2, 0x4a, 0xa0, 0xa3, 0xa6, 0x69, 0x02, 0x93, 0xaa, 0x94, + 0x1f, 0xcb, 0xa9, 0xa6, 0x28, 0x54, 0xce, 0x42, 0xa1, 0x45, 0x79, 0x62, 0x43, 0xc1, 0xeb, 0xdd, + 0x35, 0x82, 0x89, 0x14, 0xca, 0x71, 0x46, 0x24, 0xe4, 0x94, 0xf9, 0x46, 0x25, 0x4e, 0x2c, 0xfe, + 0x5b, 0xa2, 0x25, 0xa6, 0xee, 0xea, 0xc5, 0xd4, 0xdd, 0x84, 0x32, 0x76, 0x04, 0x1d, 0x99, 0x54, + 0x3c, 0x5a, 0x99, 0xda, 0x74, 0x1a, 0x19, 0x36, 0x9d, 0x17, 0x70, 0x39, 0x46, 0x55, 0x8f, 0x70, + 0x27, 0xa4, 0x81, 0x90, 0x0b, 0x69, 0x82, 0x0e, 0xa4, 0x0d, 0x1f, 0x27, 0x76, 0x13, 0xe8, 0x1c, + 0x07, 0xc4, 0xa8, 0x10, 0x3a, 0x45, 0xe7, 0x38, 0x20, 0xe8, 0x16, 0xd4, 0xbb, 0x44, 0xe0, 0x8e, + 0x8b, 0xbb, 0xc4, 0xe5, 0xba, 0x18, 0x5a, 0x53, 0x7e, 0x72, 0x29, 0xf1, 0xc5, 0x73, 0xd9, 0xde, + 0x06, 0xa9, 0x51, 0x8f, 0xbc, 0xf9, 0x55, 0x15, 0xac, 0x29, 0x7e, 0x3c, 0xa5, 0x5c, 0xb0, 0x70, + 0xfc, 0x0f, 0x46, 0x96, 0xc7, 0x48, 0x12, 0x57, 0x95, 0xc5, 0x8a, 0x99, 0xea, 0x02, 0xf0, 0xa9, + 0x99, 0xc2, 0xe7, 0x16, 0x14, 0x55, 0xa0, 0x99, 0xd0, 0x43, 0x29, 0x53, 0xe5, 0x52, 0x7d, 0x81, + 0x72, 0xe9, 0x52, 0xa6, 0x72, 0x69, 0x65, 0x19, 0xa6, 0xad, 0x2e, 0xc3, 0xb4, 0xb5, 0x65, 0x98, + 0xd6, 0xc8, 0xc4, 0xb4, 0x2d, 0x28, 0x87, 0x04, 0x73, 0x43, 0x6a, 0x68, 0xed, 0x79, 0xe0, 0x41, + 0x8b, 0x81, 0xa7, 0xf9, 0xa1, 0x08, 0x28, 0xb5, 0x20, 0xc4, 0x0b, 0x5c, 0x2c, 0x7e, 0xff, 0x32, + 0x22, 0x95, 0x54, 0x85, 0xc5, 0x92, 0xaa, 0xb8, 0x58, 0x52, 0x95, 0x96, 0xb8, 0x7a, 0x29, 0x2f, + 0x13, 0x95, 0x95, 0x65, 0xa2, 0xb2, 0xba, 0x4c, 0x54, 0xd6, 0xb2, 0x44, 0x65, 0xf3, 0x97, 0x22, + 0x5c, 0x89, 0xb6, 0x8c, 0x24, 0x2c, 0x8e, 0xfc, 0x3e, 0x9b, 0x44, 0x76, 0x6e, 0x41, 0x64, 0xe7, + 0x17, 0x44, 0x76, 0x61, 0x51, 0x64, 0x17, 0x33, 0x56, 0x7e, 0x71, 0x45, 0x56, 0xca, 0x52, 0x91, + 0x69, 0xf8, 0x96, 0x4d, 0xe1, 0x1b, 0x43, 0xb1, 0x72, 0x31, 0x14, 0x27, 0x4e, 0x34, 0xd5, 0x2c, + 0x27, 0x9a, 0xfb, 0x00, 0xc1, 0xb0, 0xeb, 0x52, 0xa7, 0x23, 0x8f, 0x21, 0x26, 0x01, 0x50, 0x8b, + 0xf4, 0xcf, 0xc8, 0xf8, 0x34, 0x9b, 0xc1, 0x38, 0x9b, 0x3f, 0x39, 0x73, 0xf0, 0x33, 0xd9, 0x20, + 0x26, 0x2c, 0x9a, 0x3f, 0xe5, 0xe0, 0x7a, 0x14, 0x75, 0xef, 0xb0, 0x70, 0x4e, 0xd2, 0x75, 0xc9, + 0x17, 0x43, 0xc2, 0x85, 0xca, 0x25, 0xf5, 0x7b, 0x87, 0x06, 0x46, 0xd1, 0x57, 0x8d, 0xe4, 0x47, + 0x81, 0xac, 0xad, 0x38, 0x09, 0x47, 0xd4, 0xd1, 0xb1, 0x64, 0x12, 0x83, 0x75, 0x6d, 0xa1, 0xc2, + 0xe9, 0x1e, 0xd4, 0xdf, 0xcb, 0x59, 0xa9, 0xeb, 0x6a, 0x6e, 0x15, 0xd4, 0xaa, 0x59, 0x49, 0x6d, + 0x35, 0x99, 0x28, 0x6d, 0x50, 0x62, 0xf9, 0xca, 0x9b, 0xdf, 0xe7, 0xe0, 0xdf, 0xc9, 0xcf, 0x4f, + 0xbe, 0x0c, 0x58, 0x28, 0xe2, 0x4f, 0x5a, 0x26, 0xa1, 0xb6, 0xa0, 0xac, 0xb2, 0x84, 0x5b, 0x79, + 0x83, 0xcb, 0x41, 0xad, 0x95, 0x69, 0xa8, 0xba, 0xd0, 0x9f, 0x30, 0x27, 0x0d, 0x95, 0xb4, 0xf9, + 0x43, 0x19, 0xae, 0x26, 0x5f, 0xf0, 0x4a, 0x46, 0x09, 0x3f, 0x51, 0x40, 0x48, 0xad, 0xba, 0xf2, + 0x6b, 0x2e, 0xcb, 0xaa, 0x4f, 0x57, 0x81, 0xf9, 0x05, 0x91, 0x52, 0x30, 0x47, 0xca, 0x6e, 0x1a, + 0x29, 0x26, 0x64, 0x48, 0xe4, 0x0b, 0xdf, 0x69, 0xa5, 0xf6, 0x9e, 0x72, 0xc6, 0xdb, 0xa9, 0x05, + 0xca, 0xc7, 0xe3, 0xd9, 0xd5, 0x81, 0xc9, 0xfe, 0x31, 0xcb, 0x50, 0x7a, 0x2c, 0xdb, 0x61, 0x31, + 0x91, 0x4b, 0xdb, 0x6c, 0xc7, 0xbd, 0x44, 0x6e, 0x7a, 0xde, 0xd3, 0xe0, 0x5d, 0x33, 0x05, 0xef, + 0x1f, 0x78, 0x47, 0xf4, 0x4d, 0x1e, 0xae, 0x9d, 0xb9, 0x97, 0x8e, 0x41, 0xb0, 0x03, 0xd5, 0x90, + 0x8c, 0xa8, 0xda, 0x77, 0x8c, 0xd0, 0x16, 0xab, 0xd1, 0xa3, 0x89, 0xff, 0xa4, 0x75, 0xd2, 0x7b, + 0xec, 0xe5, 0x19, 0x17, 0xe1, 0xed, 0x69, 0x35, 0x6a, 0xc3, 0x8a, 0x06, 0xab, 0x3e, 0x3a, 0x46, + 0x95, 0xfa, 0xcd, 0x59, 0xe6, 0xd1, 0x7c, 0xd3, 0x27, 0x4a, 0x1e, 0x5d, 0xa9, 0x4f, 0x76, 0xb1, + 0xf1, 0x10, 0xd6, 0xa7, 0x34, 0x99, 0xee, 0xc7, 0xbf, 0xce, 0xc7, 0xd0, 0x79, 0x4c, 0xb9, 0xc3, + 0x46, 0x24, 0x8c, 0x7d, 0x75, 0xa8, 0xcf, 0x2d, 0xb2, 0x9b, 0xd5, 0xcd, 0x3b, 0xc9, 0x2c, 0xcf, + 0x08, 0x67, 0xb7, 0xca, 0xa3, 0xb2, 0x3e, 0xce, 0xec, 0x42, 0x3d, 0xe5, 0x0c, 0xed, 0xb4, 0xf3, + 0xa1, 0x9e, 0x16, 0xa3, 0x8d, 0xd4, 0x82, 0x15, 0xd4, 0xdc, 0x4f, 0xdf, 0x9b, 0x27, 0xf0, 0x9f, + 0x73, 0x87, 0x46, 0x75, 0xa8, 0xbc, 0x3d, 0x7e, 0x76, 0xfc, 0xf2, 0xdd, 0x71, 0xe3, 0x5f, 0x68, + 0x0d, 0xea, 0xfb, 0x2f, 0x8f, 0x0f, 0x8e, 0x0e, 0x3b, 0x07, 0x47, 0xcf, 0x9f, 0x34, 0x72, 0xe8, + 0x2a, 0xac, 0xa7, 0x1a, 0x3a, 0x72, 0xef, 0xe1, 0x8d, 0x3c, 0xba, 0x06, 0x28, 0xdd, 0x7c, 0xd8, + 0x7e, 0xf9, 0xf6, 0xd5, 0xeb, 0x46, 0xa1, 0xf9, 0x73, 0x21, 0x8e, 0xa8, 0x64, 0x28, 0x1e, 0x30, + 0x9f, 0x13, 0x84, 0xa0, 0xe8, 0xb0, 0x5e, 0xe4, 0xa5, 0x95, 0xb6, 0x7a, 0x96, 0x6d, 0xd4, 0xef, + 0x33, 0xed, 0x6c, 0xf5, 0x7c, 0xd1, 0x87, 0xa0, 0x23, 0xed, 0xe9, 0xa2, 0xf2, 0xf4, 0xdd, 0x59, + 0x9e, 0x8e, 0x46, 0x3b, 0xa7, 0xf9, 0x7c, 0x5f, 0x97, 0xb2, 0xf8, 0xfa, 0x60, 0x32, 0xc4, 0xa3, + 0xfd, 0xab, 0x3c, 0x67, 0x0b, 0x9e, 0x36, 0x41, 0xfb, 0x80, 0xa6, 0x82, 0x3f, 0xae, 0xc0, 0x66, + 0xe6, 0xca, 0x0c, 0x79, 0x93, 0xc2, 0xc6, 0xf9, 0x1f, 0xfb, 0x9b, 0xae, 0xee, 0xde, 0x87, 0x1c, + 0x6c, 0x3b, 0xcc, 0xb3, 0x05, 0xf1, 0x1d, 0xe2, 0x0b, 0x3b, 0x60, 0x2e, 0x0e, 0x29, 0xb7, 0x79, + 0x40, 0x1c, 0xda, 0xa7, 0x0e, 0x96, 0x7c, 0xb6, 0x71, 0x40, 0xe5, 0xdc, 0xa3, 0xa9, 0xda, 0x1e, + 0xf6, 0xf1, 0x80, 0xec, 0xa5, 0xfe, 0x2d, 0xfe, 0x4a, 0xf2, 0xe3, 0xb3, 0xfd, 0x01, 0x15, 0x27, + 0xc3, 0xae, 0xed, 0x30, 0xaf, 0xa5, 0xfb, 0xf1, 0x08, 0x3f, 0x69, 0x4d, 0xf4, 0xd5, 0xe2, 0x6c, + 0x18, 0x3a, 0xa4, 0x35, 0x60, 0x2d, 0x1c, 0xd0, 0xd6, 0xe8, 0x76, 0x4b, 0x3b, 0x20, 0xea, 0xb5, + 0x5b, 0x56, 0x2c, 0xba, 0xf3, 0x6b, 0x00, 0x00, 0x00, 0xff, 0xff, 0x7a, 0xc9, 0xf7, 0x21, 0xbc, + 0x1f, 0x00, 0x00, } diff --git a/source/go/api/v1/config_manage/config_file_response.pb.go b/source/go/api/v1/config_manage/config_file_response.pb.go index 49da789..dfe0c19 100644 --- a/source/go/api/v1/config_manage/config_file_response.pb.go +++ b/source/go/api/v1/config_manage/config_file_response.pb.go @@ -1,86 +1,71 @@ // Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.33.0 -// protoc v5.27.3 // source: config_file_response.proto -package config_manage +package config_manage // import "github.com/polarismesh/specification/source/go/api/v1/config_manage" -import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" - reflect "reflect" - sync "sync" -) +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf -type ConfigSimpleResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package - Code *wrapperspb.UInt32Value `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"` - Info *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=info,proto3" json:"info,omitempty"` +type ConfigSimpleResponse struct { + Code *wrapperspb.UInt32Value `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"` + Info *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=info,proto3" json:"info,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *ConfigSimpleResponse) Reset() { - *x = ConfigSimpleResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_config_file_response_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *ConfigSimpleResponse) Reset() { *m = ConfigSimpleResponse{} } +func (m *ConfigSimpleResponse) String() string { return proto.CompactTextString(m) } +func (*ConfigSimpleResponse) ProtoMessage() {} +func (*ConfigSimpleResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_config_file_response_a272e4c1ee7899cd, []int{0} } - -func (x *ConfigSimpleResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *ConfigSimpleResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ConfigSimpleResponse.Unmarshal(m, b) } - -func (*ConfigSimpleResponse) ProtoMessage() {} - -func (x *ConfigSimpleResponse) ProtoReflect() protoreflect.Message { - mi := &file_config_file_response_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *ConfigSimpleResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ConfigSimpleResponse.Marshal(b, m, deterministic) } - -// Deprecated: Use ConfigSimpleResponse.ProtoReflect.Descriptor instead. -func (*ConfigSimpleResponse) Descriptor() ([]byte, []int) { - return file_config_file_response_proto_rawDescGZIP(), []int{0} +func (dst *ConfigSimpleResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ConfigSimpleResponse.Merge(dst, src) +} +func (m *ConfigSimpleResponse) XXX_Size() int { + return xxx_messageInfo_ConfigSimpleResponse.Size(m) +} +func (m *ConfigSimpleResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ConfigSimpleResponse.DiscardUnknown(m) } -func (x *ConfigSimpleResponse) GetCode() *wrapperspb.UInt32Value { - if x != nil { - return x.Code +var xxx_messageInfo_ConfigSimpleResponse proto.InternalMessageInfo + +func (m *ConfigSimpleResponse) GetCode() *wrapperspb.UInt32Value { + if m != nil { + return m.Code } return nil } -func (x *ConfigSimpleResponse) GetInfo() *wrapperspb.StringValue { - if x != nil { - return x.Info +func (m *ConfigSimpleResponse) GetInfo() *wrapperspb.StringValue { + if m != nil { + return m.Info } return nil } type ConfigResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - Code *wrapperspb.UInt32Value `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"` Info *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=info,proto3" json:"info,omitempty"` ConfigFileGroup *ConfigFileGroup `protobuf:"bytes,3,opt,name=configFileGroup,proto3" json:"configFileGroup,omitempty"` @@ -88,165 +73,147 @@ type ConfigResponse struct { ConfigFileRelease *ConfigFileRelease `protobuf:"bytes,5,opt,name=configFileRelease,proto3" json:"configFileRelease,omitempty"` ConfigFileReleaseHistory *ConfigFileReleaseHistory `protobuf:"bytes,6,opt,name=configFileReleaseHistory,proto3" json:"configFileReleaseHistory,omitempty"` ConfigFileTemplate *ConfigFileTemplate `protobuf:"bytes,7,opt,name=configFileTemplate,proto3" json:"configFileTemplate,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *ConfigResponse) Reset() { - *x = ConfigResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_config_file_response_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *ConfigResponse) Reset() { *m = ConfigResponse{} } +func (m *ConfigResponse) String() string { return proto.CompactTextString(m) } +func (*ConfigResponse) ProtoMessage() {} +func (*ConfigResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_config_file_response_a272e4c1ee7899cd, []int{1} } - -func (x *ConfigResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *ConfigResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ConfigResponse.Unmarshal(m, b) } - -func (*ConfigResponse) ProtoMessage() {} - -func (x *ConfigResponse) ProtoReflect() protoreflect.Message { - mi := &file_config_file_response_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *ConfigResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ConfigResponse.Marshal(b, m, deterministic) } - -// Deprecated: Use ConfigResponse.ProtoReflect.Descriptor instead. -func (*ConfigResponse) Descriptor() ([]byte, []int) { - return file_config_file_response_proto_rawDescGZIP(), []int{1} +func (dst *ConfigResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ConfigResponse.Merge(dst, src) +} +func (m *ConfigResponse) XXX_Size() int { + return xxx_messageInfo_ConfigResponse.Size(m) +} +func (m *ConfigResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ConfigResponse.DiscardUnknown(m) } -func (x *ConfigResponse) GetCode() *wrapperspb.UInt32Value { - if x != nil { - return x.Code +var xxx_messageInfo_ConfigResponse proto.InternalMessageInfo + +func (m *ConfigResponse) GetCode() *wrapperspb.UInt32Value { + if m != nil { + return m.Code } return nil } -func (x *ConfigResponse) GetInfo() *wrapperspb.StringValue { - if x != nil { - return x.Info +func (m *ConfigResponse) GetInfo() *wrapperspb.StringValue { + if m != nil { + return m.Info } return nil } -func (x *ConfigResponse) GetConfigFileGroup() *ConfigFileGroup { - if x != nil { - return x.ConfigFileGroup +func (m *ConfigResponse) GetConfigFileGroup() *ConfigFileGroup { + if m != nil { + return m.ConfigFileGroup } return nil } -func (x *ConfigResponse) GetConfigFile() *ConfigFile { - if x != nil { - return x.ConfigFile +func (m *ConfigResponse) GetConfigFile() *ConfigFile { + if m != nil { + return m.ConfigFile } return nil } -func (x *ConfigResponse) GetConfigFileRelease() *ConfigFileRelease { - if x != nil { - return x.ConfigFileRelease +func (m *ConfigResponse) GetConfigFileRelease() *ConfigFileRelease { + if m != nil { + return m.ConfigFileRelease } return nil } -func (x *ConfigResponse) GetConfigFileReleaseHistory() *ConfigFileReleaseHistory { - if x != nil { - return x.ConfigFileReleaseHistory +func (m *ConfigResponse) GetConfigFileReleaseHistory() *ConfigFileReleaseHistory { + if m != nil { + return m.ConfigFileReleaseHistory } return nil } -func (x *ConfigResponse) GetConfigFileTemplate() *ConfigFileTemplate { - if x != nil { - return x.ConfigFileTemplate +func (m *ConfigResponse) GetConfigFileTemplate() *ConfigFileTemplate { + if m != nil { + return m.ConfigFileTemplate } return nil } type ConfigBatchWriteResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Code *wrapperspb.UInt32Value `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"` - Info *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=info,proto3" json:"info,omitempty"` - Total *wrapperspb.UInt32Value `protobuf:"bytes,3,opt,name=total,proto3" json:"total,omitempty"` - Responses []*ConfigResponse `protobuf:"bytes,4,rep,name=responses,proto3" json:"responses,omitempty"` -} - -func (x *ConfigBatchWriteResponse) Reset() { - *x = ConfigBatchWriteResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_config_file_response_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + Code *wrapperspb.UInt32Value `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"` + Info *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=info,proto3" json:"info,omitempty"` + Total *wrapperspb.UInt32Value `protobuf:"bytes,3,opt,name=total,proto3" json:"total,omitempty"` + Responses []*ConfigResponse `protobuf:"bytes,4,rep,name=responses,proto3" json:"responses,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *ConfigBatchWriteResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *ConfigBatchWriteResponse) Reset() { *m = ConfigBatchWriteResponse{} } +func (m *ConfigBatchWriteResponse) String() string { return proto.CompactTextString(m) } +func (*ConfigBatchWriteResponse) ProtoMessage() {} +func (*ConfigBatchWriteResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_config_file_response_a272e4c1ee7899cd, []int{2} } - -func (*ConfigBatchWriteResponse) ProtoMessage() {} - -func (x *ConfigBatchWriteResponse) ProtoReflect() protoreflect.Message { - mi := &file_config_file_response_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) +func (m *ConfigBatchWriteResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ConfigBatchWriteResponse.Unmarshal(m, b) } - -// Deprecated: Use ConfigBatchWriteResponse.ProtoReflect.Descriptor instead. -func (*ConfigBatchWriteResponse) Descriptor() ([]byte, []int) { - return file_config_file_response_proto_rawDescGZIP(), []int{2} +func (m *ConfigBatchWriteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ConfigBatchWriteResponse.Marshal(b, m, deterministic) +} +func (dst *ConfigBatchWriteResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ConfigBatchWriteResponse.Merge(dst, src) +} +func (m *ConfigBatchWriteResponse) XXX_Size() int { + return xxx_messageInfo_ConfigBatchWriteResponse.Size(m) +} +func (m *ConfigBatchWriteResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ConfigBatchWriteResponse.DiscardUnknown(m) } -func (x *ConfigBatchWriteResponse) GetCode() *wrapperspb.UInt32Value { - if x != nil { - return x.Code +var xxx_messageInfo_ConfigBatchWriteResponse proto.InternalMessageInfo + +func (m *ConfigBatchWriteResponse) GetCode() *wrapperspb.UInt32Value { + if m != nil { + return m.Code } return nil } -func (x *ConfigBatchWriteResponse) GetInfo() *wrapperspb.StringValue { - if x != nil { - return x.Info +func (m *ConfigBatchWriteResponse) GetInfo() *wrapperspb.StringValue { + if m != nil { + return m.Info } return nil } -func (x *ConfigBatchWriteResponse) GetTotal() *wrapperspb.UInt32Value { - if x != nil { - return x.Total +func (m *ConfigBatchWriteResponse) GetTotal() *wrapperspb.UInt32Value { + if m != nil { + return m.Total } return nil } -func (x *ConfigBatchWriteResponse) GetResponses() []*ConfigResponse { - if x != nil { - return x.Responses +func (m *ConfigBatchWriteResponse) GetResponses() []*ConfigResponse { + if m != nil { + return m.Responses } return nil } type ConfigBatchQueryResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - Code *wrapperspb.UInt32Value `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"` Info *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=info,proto3" json:"info,omitempty"` Total *wrapperspb.UInt32Value `protobuf:"bytes,3,opt,name=total,proto3" json:"total,omitempty"` @@ -255,842 +222,463 @@ type ConfigBatchQueryResponse struct { ConfigFileReleases []*ConfigFileRelease `protobuf:"bytes,6,rep,name=configFileReleases,proto3" json:"configFileReleases,omitempty"` ConfigFileReleaseHistories []*ConfigFileReleaseHistory `protobuf:"bytes,7,rep,name=configFileReleaseHistories,proto3" json:"configFileReleaseHistories,omitempty"` ConfigFileTemplates []*ConfigFileTemplate `protobuf:"bytes,8,rep,name=configFileTemplates,proto3" json:"configFileTemplates,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *ConfigBatchQueryResponse) Reset() { - *x = ConfigBatchQueryResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_config_file_response_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *ConfigBatchQueryResponse) Reset() { *m = ConfigBatchQueryResponse{} } +func (m *ConfigBatchQueryResponse) String() string { return proto.CompactTextString(m) } +func (*ConfigBatchQueryResponse) ProtoMessage() {} +func (*ConfigBatchQueryResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_config_file_response_a272e4c1ee7899cd, []int{3} } - -func (x *ConfigBatchQueryResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *ConfigBatchQueryResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ConfigBatchQueryResponse.Unmarshal(m, b) } - -func (*ConfigBatchQueryResponse) ProtoMessage() {} - -func (x *ConfigBatchQueryResponse) ProtoReflect() protoreflect.Message { - mi := &file_config_file_response_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) +func (m *ConfigBatchQueryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ConfigBatchQueryResponse.Marshal(b, m, deterministic) } - -// Deprecated: Use ConfigBatchQueryResponse.ProtoReflect.Descriptor instead. -func (*ConfigBatchQueryResponse) Descriptor() ([]byte, []int) { - return file_config_file_response_proto_rawDescGZIP(), []int{3} +func (dst *ConfigBatchQueryResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ConfigBatchQueryResponse.Merge(dst, src) +} +func (m *ConfigBatchQueryResponse) XXX_Size() int { + return xxx_messageInfo_ConfigBatchQueryResponse.Size(m) +} +func (m *ConfigBatchQueryResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ConfigBatchQueryResponse.DiscardUnknown(m) } -func (x *ConfigBatchQueryResponse) GetCode() *wrapperspb.UInt32Value { - if x != nil { - return x.Code +var xxx_messageInfo_ConfigBatchQueryResponse proto.InternalMessageInfo + +func (m *ConfigBatchQueryResponse) GetCode() *wrapperspb.UInt32Value { + if m != nil { + return m.Code } return nil } -func (x *ConfigBatchQueryResponse) GetInfo() *wrapperspb.StringValue { - if x != nil { - return x.Info +func (m *ConfigBatchQueryResponse) GetInfo() *wrapperspb.StringValue { + if m != nil { + return m.Info } return nil } -func (x *ConfigBatchQueryResponse) GetTotal() *wrapperspb.UInt32Value { - if x != nil { - return x.Total +func (m *ConfigBatchQueryResponse) GetTotal() *wrapperspb.UInt32Value { + if m != nil { + return m.Total } return nil } -func (x *ConfigBatchQueryResponse) GetConfigFileGroups() []*ConfigFileGroup { - if x != nil { - return x.ConfigFileGroups +func (m *ConfigBatchQueryResponse) GetConfigFileGroups() []*ConfigFileGroup { + if m != nil { + return m.ConfigFileGroups } return nil } -func (x *ConfigBatchQueryResponse) GetConfigFiles() []*ConfigFile { - if x != nil { - return x.ConfigFiles +func (m *ConfigBatchQueryResponse) GetConfigFiles() []*ConfigFile { + if m != nil { + return m.ConfigFiles } return nil } -func (x *ConfigBatchQueryResponse) GetConfigFileReleases() []*ConfigFileRelease { - if x != nil { - return x.ConfigFileReleases +func (m *ConfigBatchQueryResponse) GetConfigFileReleases() []*ConfigFileRelease { + if m != nil { + return m.ConfigFileReleases } return nil } -func (x *ConfigBatchQueryResponse) GetConfigFileReleaseHistories() []*ConfigFileReleaseHistory { - if x != nil { - return x.ConfigFileReleaseHistories +func (m *ConfigBatchQueryResponse) GetConfigFileReleaseHistories() []*ConfigFileReleaseHistory { + if m != nil { + return m.ConfigFileReleaseHistories } return nil } -func (x *ConfigBatchQueryResponse) GetConfigFileTemplates() []*ConfigFileTemplate { - if x != nil { - return x.ConfigFileTemplates +func (m *ConfigBatchQueryResponse) GetConfigFileTemplates() []*ConfigFileTemplate { + if m != nil { + return m.ConfigFileTemplates } return nil } type ConfigClientResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Code *wrapperspb.UInt32Value `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"` - Info *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=info,proto3" json:"info,omitempty"` - ConfigFile *ClientConfigFileInfo `protobuf:"bytes,3,opt,name=configFile,proto3" json:"configFile,omitempty"` + Code *wrapperspb.UInt32Value `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"` + Info *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=info,proto3" json:"info,omitempty"` + ConfigFile *ClientConfigFileInfo `protobuf:"bytes,3,opt,name=configFile,proto3" json:"configFile,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *ConfigClientResponse) Reset() { - *x = ConfigClientResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_config_file_response_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *ConfigClientResponse) Reset() { *m = ConfigClientResponse{} } +func (m *ConfigClientResponse) String() string { return proto.CompactTextString(m) } +func (*ConfigClientResponse) ProtoMessage() {} +func (*ConfigClientResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_config_file_response_a272e4c1ee7899cd, []int{4} } - -func (x *ConfigClientResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *ConfigClientResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ConfigClientResponse.Unmarshal(m, b) } - -func (*ConfigClientResponse) ProtoMessage() {} - -func (x *ConfigClientResponse) ProtoReflect() protoreflect.Message { - mi := &file_config_file_response_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) +func (m *ConfigClientResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ConfigClientResponse.Marshal(b, m, deterministic) } - -// Deprecated: Use ConfigClientResponse.ProtoReflect.Descriptor instead. -func (*ConfigClientResponse) Descriptor() ([]byte, []int) { - return file_config_file_response_proto_rawDescGZIP(), []int{4} +func (dst *ConfigClientResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ConfigClientResponse.Merge(dst, src) +} +func (m *ConfigClientResponse) XXX_Size() int { + return xxx_messageInfo_ConfigClientResponse.Size(m) } +func (m *ConfigClientResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ConfigClientResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_ConfigClientResponse proto.InternalMessageInfo -func (x *ConfigClientResponse) GetCode() *wrapperspb.UInt32Value { - if x != nil { - return x.Code +func (m *ConfigClientResponse) GetCode() *wrapperspb.UInt32Value { + if m != nil { + return m.Code } return nil } -func (x *ConfigClientResponse) GetInfo() *wrapperspb.StringValue { - if x != nil { - return x.Info +func (m *ConfigClientResponse) GetInfo() *wrapperspb.StringValue { + if m != nil { + return m.Info } return nil } -func (x *ConfigClientResponse) GetConfigFile() *ClientConfigFileInfo { - if x != nil { - return x.ConfigFile +func (m *ConfigClientResponse) GetConfigFile() *ClientConfigFileInfo { + if m != nil { + return m.ConfigFile } return nil } type ConfigImportResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - Code *wrapperspb.UInt32Value `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"` Info *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=info,proto3" json:"info,omitempty"` CreateConfigFiles []*ConfigFile `protobuf:"bytes,3,rep,name=createConfigFiles,proto3" json:"createConfigFiles,omitempty"` SkipConfigFiles []*ConfigFile `protobuf:"bytes,4,rep,name=skipConfigFiles,proto3" json:"skipConfigFiles,omitempty"` OverwriteConfigFiles []*ConfigFile `protobuf:"bytes,5,rep,name=overwriteConfigFiles,proto3" json:"overwriteConfigFiles,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *ConfigImportResponse) Reset() { - *x = ConfigImportResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_config_file_response_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *ConfigImportResponse) Reset() { *m = ConfigImportResponse{} } +func (m *ConfigImportResponse) String() string { return proto.CompactTextString(m) } +func (*ConfigImportResponse) ProtoMessage() {} +func (*ConfigImportResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_config_file_response_a272e4c1ee7899cd, []int{5} } - -func (x *ConfigImportResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *ConfigImportResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ConfigImportResponse.Unmarshal(m, b) } - -func (*ConfigImportResponse) ProtoMessage() {} - -func (x *ConfigImportResponse) ProtoReflect() protoreflect.Message { - mi := &file_config_file_response_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) +func (m *ConfigImportResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ConfigImportResponse.Marshal(b, m, deterministic) } - -// Deprecated: Use ConfigImportResponse.ProtoReflect.Descriptor instead. -func (*ConfigImportResponse) Descriptor() ([]byte, []int) { - return file_config_file_response_proto_rawDescGZIP(), []int{5} +func (dst *ConfigImportResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ConfigImportResponse.Merge(dst, src) +} +func (m *ConfigImportResponse) XXX_Size() int { + return xxx_messageInfo_ConfigImportResponse.Size(m) } +func (m *ConfigImportResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ConfigImportResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_ConfigImportResponse proto.InternalMessageInfo -func (x *ConfigImportResponse) GetCode() *wrapperspb.UInt32Value { - if x != nil { - return x.Code +func (m *ConfigImportResponse) GetCode() *wrapperspb.UInt32Value { + if m != nil { + return m.Code } return nil } -func (x *ConfigImportResponse) GetInfo() *wrapperspb.StringValue { - if x != nil { - return x.Info +func (m *ConfigImportResponse) GetInfo() *wrapperspb.StringValue { + if m != nil { + return m.Info } return nil } -func (x *ConfigImportResponse) GetCreateConfigFiles() []*ConfigFile { - if x != nil { - return x.CreateConfigFiles +func (m *ConfigImportResponse) GetCreateConfigFiles() []*ConfigFile { + if m != nil { + return m.CreateConfigFiles } return nil } -func (x *ConfigImportResponse) GetSkipConfigFiles() []*ConfigFile { - if x != nil { - return x.SkipConfigFiles +func (m *ConfigImportResponse) GetSkipConfigFiles() []*ConfigFile { + if m != nil { + return m.SkipConfigFiles } return nil } -func (x *ConfigImportResponse) GetOverwriteConfigFiles() []*ConfigFile { - if x != nil { - return x.OverwriteConfigFiles +func (m *ConfigImportResponse) GetOverwriteConfigFiles() []*ConfigFile { + if m != nil { + return m.OverwriteConfigFiles } return nil } type ConfigExportResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Code *wrapperspb.UInt32Value `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"` - Info *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=info,proto3" json:"info,omitempty"` - Data *wrapperspb.BytesValue `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` + Code *wrapperspb.UInt32Value `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"` + Info *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=info,proto3" json:"info,omitempty"` + Data *wrapperspb.BytesValue `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *ConfigExportResponse) Reset() { - *x = ConfigExportResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_config_file_response_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *ConfigExportResponse) Reset() { *m = ConfigExportResponse{} } +func (m *ConfigExportResponse) String() string { return proto.CompactTextString(m) } +func (*ConfigExportResponse) ProtoMessage() {} +func (*ConfigExportResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_config_file_response_a272e4c1ee7899cd, []int{6} } - -func (x *ConfigExportResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *ConfigExportResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ConfigExportResponse.Unmarshal(m, b) } - -func (*ConfigExportResponse) ProtoMessage() {} - -func (x *ConfigExportResponse) ProtoReflect() protoreflect.Message { - mi := &file_config_file_response_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) +func (m *ConfigExportResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ConfigExportResponse.Marshal(b, m, deterministic) } - -// Deprecated: Use ConfigExportResponse.ProtoReflect.Descriptor instead. -func (*ConfigExportResponse) Descriptor() ([]byte, []int) { - return file_config_file_response_proto_rawDescGZIP(), []int{6} +func (dst *ConfigExportResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ConfigExportResponse.Merge(dst, src) +} +func (m *ConfigExportResponse) XXX_Size() int { + return xxx_messageInfo_ConfigExportResponse.Size(m) } +func (m *ConfigExportResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ConfigExportResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_ConfigExportResponse proto.InternalMessageInfo -func (x *ConfigExportResponse) GetCode() *wrapperspb.UInt32Value { - if x != nil { - return x.Code +func (m *ConfigExportResponse) GetCode() *wrapperspb.UInt32Value { + if m != nil { + return m.Code } return nil } -func (x *ConfigExportResponse) GetInfo() *wrapperspb.StringValue { - if x != nil { - return x.Info +func (m *ConfigExportResponse) GetInfo() *wrapperspb.StringValue { + if m != nil { + return m.Info } return nil } -func (x *ConfigExportResponse) GetData() *wrapperspb.BytesValue { - if x != nil { - return x.Data +func (m *ConfigExportResponse) GetData() *wrapperspb.BytesValue { + if m != nil { + return m.Data } return nil } type ConfigEncryptAlgorithmResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Code *wrapperspb.UInt32Value `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"` - Info *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=info,proto3" json:"info,omitempty"` - Algorithms []*wrapperspb.StringValue `protobuf:"bytes,3,rep,name=algorithms,proto3" json:"algorithms,omitempty"` + Code *wrapperspb.UInt32Value `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"` + Info *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=info,proto3" json:"info,omitempty"` + Algorithms []*wrapperspb.StringValue `protobuf:"bytes,3,rep,name=algorithms,proto3" json:"algorithms,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *ConfigEncryptAlgorithmResponse) Reset() { - *x = ConfigEncryptAlgorithmResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_config_file_response_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *ConfigEncryptAlgorithmResponse) Reset() { *m = ConfigEncryptAlgorithmResponse{} } +func (m *ConfigEncryptAlgorithmResponse) String() string { return proto.CompactTextString(m) } +func (*ConfigEncryptAlgorithmResponse) ProtoMessage() {} +func (*ConfigEncryptAlgorithmResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_config_file_response_a272e4c1ee7899cd, []int{7} } - -func (x *ConfigEncryptAlgorithmResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *ConfigEncryptAlgorithmResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ConfigEncryptAlgorithmResponse.Unmarshal(m, b) } - -func (*ConfigEncryptAlgorithmResponse) ProtoMessage() {} - -func (x *ConfigEncryptAlgorithmResponse) ProtoReflect() protoreflect.Message { - mi := &file_config_file_response_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) +func (m *ConfigEncryptAlgorithmResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ConfigEncryptAlgorithmResponse.Marshal(b, m, deterministic) } - -// Deprecated: Use ConfigEncryptAlgorithmResponse.ProtoReflect.Descriptor instead. -func (*ConfigEncryptAlgorithmResponse) Descriptor() ([]byte, []int) { - return file_config_file_response_proto_rawDescGZIP(), []int{7} +func (dst *ConfigEncryptAlgorithmResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ConfigEncryptAlgorithmResponse.Merge(dst, src) +} +func (m *ConfigEncryptAlgorithmResponse) XXX_Size() int { + return xxx_messageInfo_ConfigEncryptAlgorithmResponse.Size(m) +} +func (m *ConfigEncryptAlgorithmResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ConfigEncryptAlgorithmResponse.DiscardUnknown(m) } -func (x *ConfigEncryptAlgorithmResponse) GetCode() *wrapperspb.UInt32Value { - if x != nil { - return x.Code +var xxx_messageInfo_ConfigEncryptAlgorithmResponse proto.InternalMessageInfo + +func (m *ConfigEncryptAlgorithmResponse) GetCode() *wrapperspb.UInt32Value { + if m != nil { + return m.Code } return nil } -func (x *ConfigEncryptAlgorithmResponse) GetInfo() *wrapperspb.StringValue { - if x != nil { - return x.Info +func (m *ConfigEncryptAlgorithmResponse) GetInfo() *wrapperspb.StringValue { + if m != nil { + return m.Info } return nil } -func (x *ConfigEncryptAlgorithmResponse) GetAlgorithms() []*wrapperspb.StringValue { - if x != nil { - return x.Algorithms +func (m *ConfigEncryptAlgorithmResponse) GetAlgorithms() []*wrapperspb.StringValue { + if m != nil { + return m.Algorithms } return nil } type ConfigClientListResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Code *wrapperspb.UInt32Value `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"` - Info *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=info,proto3" json:"info,omitempty"` - Revision *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=revision,proto3" json:"revision,omitempty"` - Namespace string `protobuf:"bytes,4,opt,name=namespace,proto3" json:"namespace,omitempty"` - Group string `protobuf:"bytes,5,opt,name=group,proto3" json:"group,omitempty"` - ConfigFileInfos []*ClientConfigFileInfo `protobuf:"bytes,6,rep,name=config_file_infos,proto3" json:"config_file_infos,omitempty"` -} - -func (x *ConfigClientListResponse) Reset() { - *x = ConfigClientListResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_config_file_response_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + Code *wrapperspb.UInt32Value `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"` + Info *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=info,proto3" json:"info,omitempty"` + Revision *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=revision,proto3" json:"revision,omitempty"` + Namespace string `protobuf:"bytes,4,opt,name=namespace,proto3" json:"namespace,omitempty"` + Group string `protobuf:"bytes,5,opt,name=group,proto3" json:"group,omitempty"` + ConfigFileInfos []*ClientConfigFileInfo `protobuf:"bytes,6,rep,name=config_file_infos,proto3" json:"config_file_infos,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ConfigClientListResponse) Reset() { *m = ConfigClientListResponse{} } +func (m *ConfigClientListResponse) String() string { return proto.CompactTextString(m) } +func (*ConfigClientListResponse) ProtoMessage() {} +func (*ConfigClientListResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_config_file_response_a272e4c1ee7899cd, []int{8} } - -func (x *ConfigClientListResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *ConfigClientListResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ConfigClientListResponse.Unmarshal(m, b) } - -func (*ConfigClientListResponse) ProtoMessage() {} - -func (x *ConfigClientListResponse) ProtoReflect() protoreflect.Message { - mi := &file_config_file_response_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) +func (m *ConfigClientListResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ConfigClientListResponse.Marshal(b, m, deterministic) } - -// Deprecated: Use ConfigClientListResponse.ProtoReflect.Descriptor instead. -func (*ConfigClientListResponse) Descriptor() ([]byte, []int) { - return file_config_file_response_proto_rawDescGZIP(), []int{8} +func (dst *ConfigClientListResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ConfigClientListResponse.Merge(dst, src) +} +func (m *ConfigClientListResponse) XXX_Size() int { + return xxx_messageInfo_ConfigClientListResponse.Size(m) +} +func (m *ConfigClientListResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ConfigClientListResponse.DiscardUnknown(m) } -func (x *ConfigClientListResponse) GetCode() *wrapperspb.UInt32Value { - if x != nil { - return x.Code +var xxx_messageInfo_ConfigClientListResponse proto.InternalMessageInfo + +func (m *ConfigClientListResponse) GetCode() *wrapperspb.UInt32Value { + if m != nil { + return m.Code } return nil } -func (x *ConfigClientListResponse) GetInfo() *wrapperspb.StringValue { - if x != nil { - return x.Info +func (m *ConfigClientListResponse) GetInfo() *wrapperspb.StringValue { + if m != nil { + return m.Info } return nil } -func (x *ConfigClientListResponse) GetRevision() *wrapperspb.StringValue { - if x != nil { - return x.Revision +func (m *ConfigClientListResponse) GetRevision() *wrapperspb.StringValue { + if m != nil { + return m.Revision } return nil } -func (x *ConfigClientListResponse) GetNamespace() string { - if x != nil { - return x.Namespace +func (m *ConfigClientListResponse) GetNamespace() string { + if m != nil { + return m.Namespace } return "" } -func (x *ConfigClientListResponse) GetGroup() string { - if x != nil { - return x.Group +func (m *ConfigClientListResponse) GetGroup() string { + if m != nil { + return m.Group } return "" } -func (x *ConfigClientListResponse) GetConfigFileInfos() []*ClientConfigFileInfo { - if x != nil { - return x.ConfigFileInfos - } - return nil -} - -var File_config_file_response_proto protoreflect.FileDescriptor - -var file_config_file_response_proto_rawDesc = []byte{ - 0x0a, 0x1a, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x72, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x76, 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, - 0x1a, 0x11, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x22, 0x7a, 0x0a, 0x14, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x53, 0x69, 0x6d, - 0x70, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x30, 0x0a, 0x04, 0x63, - 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, - 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x49, 0x6e, 0x74, - 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x30, 0x0a, - 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x02, 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, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x22, - 0xca, 0x03, 0x0a, 0x0e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x12, 0x30, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, - 0x75, 0x66, 0x2e, 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x04, - 0x63, 0x6f, 0x64, 0x65, 0x12, 0x30, 0x0a, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x02, 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, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x12, 0x3d, 0x0a, 0x0f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, - 0x46, 0x69, 0x6c, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x13, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x46, 0x69, 0x6c, 0x65, 0x47, - 0x72, 0x6f, 0x75, 0x70, 0x52, 0x0f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x46, 0x69, 0x6c, 0x65, - 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x2e, 0x0a, 0x0a, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x46, - 0x69, 0x6c, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x76, 0x31, 0x2e, 0x43, - 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x46, 0x69, 0x6c, 0x65, 0x52, 0x0a, 0x63, 0x6f, 0x6e, 0x66, 0x69, - 0x67, 0x46, 0x69, 0x6c, 0x65, 0x12, 0x43, 0x0a, 0x11, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x46, - 0x69, 0x6c, 0x65, 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x15, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x46, 0x69, 0x6c, 0x65, - 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x52, 0x11, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x46, - 0x69, 0x6c, 0x65, 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x12, 0x58, 0x0a, 0x18, 0x63, 0x6f, - 0x6e, 0x66, 0x69, 0x67, 0x46, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x48, - 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x76, - 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x46, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x6c, 0x65, - 0x61, 0x73, 0x65, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x18, 0x63, 0x6f, 0x6e, 0x66, - 0x69, 0x67, 0x46, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x48, 0x69, 0x73, - 0x74, 0x6f, 0x72, 0x79, 0x12, 0x46, 0x0a, 0x12, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x46, 0x69, - 0x6c, 0x65, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x16, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x46, 0x69, 0x6c, 0x65, - 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x52, 0x12, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, - 0x46, 0x69, 0x6c, 0x65, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x22, 0xe4, 0x01, 0x0a, - 0x18, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x42, 0x61, 0x74, 0x63, 0x68, 0x57, 0x72, 0x69, 0x74, - 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x30, 0x0a, 0x04, 0x63, 0x6f, 0x64, - 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, - 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x30, 0x0a, 0x04, 0x69, - 0x6e, 0x66, 0x6f, 0x18, 0x02, 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, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x12, 0x32, 0x0a, - 0x05, 0x74, 0x6f, 0x74, 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, 0x55, - 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, 0x74, 0x6f, 0x74, 0x61, - 0x6c, 0x12, 0x30, 0x0a, 0x09, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x73, 0x18, 0x04, - 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x09, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x73, 0x22, 0x94, 0x04, 0x0a, 0x18, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x42, 0x61, - 0x74, 0x63, 0x68, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x12, 0x30, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, - 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, - 0x2e, 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x04, 0x63, 0x6f, - 0x64, 0x65, 0x12, 0x30, 0x0a, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x02, 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, 0x04, - 0x69, 0x6e, 0x66, 0x6f, 0x12, 0x32, 0x0a, 0x05, 0x74, 0x6f, 0x74, 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, 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, - 0x65, 0x52, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x12, 0x3f, 0x0a, 0x10, 0x63, 0x6f, 0x6e, 0x66, - 0x69, 0x67, 0x46, 0x69, 0x6c, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x18, 0x04, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x46, 0x69, - 0x6c, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x10, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x46, - 0x69, 0x6c, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x12, 0x30, 0x0a, 0x0b, 0x63, 0x6f, 0x6e, - 0x66, 0x69, 0x67, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0e, - 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x46, 0x69, 0x6c, 0x65, 0x52, 0x0b, - 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x12, 0x45, 0x0a, 0x12, 0x63, - 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x46, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, - 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6e, - 0x66, 0x69, 0x67, 0x46, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x52, 0x12, - 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x46, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, - 0x65, 0x73, 0x12, 0x5c, 0x0a, 0x1a, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x46, 0x69, 0x6c, 0x65, - 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x69, 0x65, 0x73, - 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x66, - 0x69, 0x67, 0x46, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x48, 0x69, 0x73, - 0x74, 0x6f, 0x72, 0x79, 0x52, 0x1a, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x46, 0x69, 0x6c, 0x65, - 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x69, 0x65, 0x73, - 0x12, 0x48, 0x0a, 0x13, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x46, 0x69, 0x6c, 0x65, 0x54, 0x65, - 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, - 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x46, 0x69, 0x6c, 0x65, 0x54, 0x65, 0x6d, - 0x70, 0x6c, 0x61, 0x74, 0x65, 0x52, 0x13, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x46, 0x69, 0x6c, - 0x65, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x22, 0xb4, 0x01, 0x0a, 0x14, 0x43, - 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x12, 0x30, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x62, 0x75, 0x66, 0x2e, 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, - 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x30, 0x0a, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x02, 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, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x12, 0x38, 0x0a, 0x0a, 0x63, 0x6f, 0x6e, 0x66, 0x69, - 0x67, 0x46, 0x69, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x76, 0x31, - 0x2e, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x46, 0x69, 0x6c, - 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0a, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x46, 0x69, 0x6c, - 0x65, 0x22, 0xb6, 0x02, 0x0a, 0x14, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x49, 0x6d, 0x70, 0x6f, - 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x30, 0x0a, 0x04, 0x63, 0x6f, - 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, - 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x49, 0x6e, 0x74, 0x33, - 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x30, 0x0a, 0x04, - 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x02, 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, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x12, 0x3c, - 0x0a, 0x11, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x46, 0x69, - 0x6c, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x76, 0x31, 0x2e, 0x43, - 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x46, 0x69, 0x6c, 0x65, 0x52, 0x11, 0x63, 0x72, 0x65, 0x61, 0x74, - 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x12, 0x38, 0x0a, 0x0f, - 0x73, 0x6b, 0x69, 0x70, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x18, - 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69, - 0x67, 0x46, 0x69, 0x6c, 0x65, 0x52, 0x0f, 0x73, 0x6b, 0x69, 0x70, 0x43, 0x6f, 0x6e, 0x66, 0x69, - 0x67, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x12, 0x42, 0x0a, 0x14, 0x6f, 0x76, 0x65, 0x72, 0x77, 0x72, - 0x69, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x18, 0x05, - 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, - 0x46, 0x69, 0x6c, 0x65, 0x52, 0x14, 0x6f, 0x76, 0x65, 0x72, 0x77, 0x72, 0x69, 0x74, 0x65, 0x43, - 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x22, 0xab, 0x01, 0x0a, 0x14, 0x43, - 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x45, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x12, 0x30, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x62, 0x75, 0x66, 0x2e, 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, - 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x30, 0x0a, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x02, 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, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x12, 0x2f, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, - 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x56, 0x61, 0x6c, - 0x75, 0x65, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0xc2, 0x01, 0x0a, 0x1e, 0x43, 0x6f, 0x6e, - 0x66, 0x69, 0x67, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x41, 0x6c, 0x67, 0x6f, 0x72, 0x69, - 0x74, 0x68, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x30, 0x0a, 0x04, 0x63, - 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, - 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x49, 0x6e, 0x74, - 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x30, 0x0a, - 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x02, 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, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x12, - 0x3c, 0x0a, 0x0a, 0x61, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x73, 0x18, 0x03, 0x20, - 0x03, 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, 0x0a, 0x61, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x73, 0x22, 0xb4, 0x02, - 0x0a, 0x18, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x4c, 0x69, - 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x30, 0x0a, 0x04, 0x63, 0x6f, - 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, - 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x49, 0x6e, 0x74, 0x33, - 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x30, 0x0a, 0x04, - 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x02, 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, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x12, 0x38, - 0x0a, 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 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, 0x08, - 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1c, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, - 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6e, 0x61, 0x6d, - 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18, - 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x46, 0x0a, 0x11, - 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x69, 0x6e, 0x66, 0x6f, - 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6c, 0x69, - 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x46, 0x69, 0x6c, 0x65, 0x49, 0x6e, 0x66, - 0x6f, 0x52, 0x11, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x69, - 0x6e, 0x66, 0x6f, 0x73, 0x42, 0x96, 0x01, 0x0a, 0x36, 0x63, 0x6f, 0x6d, 0x2e, 0x74, 0x65, 0x6e, - 0x63, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x6f, 0x6c, 0x61, 0x72, 0x69, 0x73, 0x2e, 0x73, 0x70, 0x65, - 0x63, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, - 0x31, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x42, - 0x17, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x46, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x5a, 0x43, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, - 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x6f, 0x6c, 0x61, 0x72, 0x69, 0x73, 0x6d, 0x65, 0x73, 0x68, - 0x2f, 0x73, 0x70, 0x65, 0x63, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x73, - 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2f, 0x67, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, - 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x62, 0x06, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_config_file_response_proto_rawDescOnce sync.Once - file_config_file_response_proto_rawDescData = file_config_file_response_proto_rawDesc -) - -func file_config_file_response_proto_rawDescGZIP() []byte { - file_config_file_response_proto_rawDescOnce.Do(func() { - file_config_file_response_proto_rawDescData = protoimpl.X.CompressGZIP(file_config_file_response_proto_rawDescData) - }) - return file_config_file_response_proto_rawDescData -} - -var file_config_file_response_proto_msgTypes = make([]protoimpl.MessageInfo, 9) -var file_config_file_response_proto_goTypes = []interface{}{ - (*ConfigSimpleResponse)(nil), // 0: v1.ConfigSimpleResponse - (*ConfigResponse)(nil), // 1: v1.ConfigResponse - (*ConfigBatchWriteResponse)(nil), // 2: v1.ConfigBatchWriteResponse - (*ConfigBatchQueryResponse)(nil), // 3: v1.ConfigBatchQueryResponse - (*ConfigClientResponse)(nil), // 4: v1.ConfigClientResponse - (*ConfigImportResponse)(nil), // 5: v1.ConfigImportResponse - (*ConfigExportResponse)(nil), // 6: v1.ConfigExportResponse - (*ConfigEncryptAlgorithmResponse)(nil), // 7: v1.ConfigEncryptAlgorithmResponse - (*ConfigClientListResponse)(nil), // 8: v1.ConfigClientListResponse - (*wrapperspb.UInt32Value)(nil), // 9: google.protobuf.UInt32Value - (*wrapperspb.StringValue)(nil), // 10: google.protobuf.StringValue - (*ConfigFileGroup)(nil), // 11: v1.ConfigFileGroup - (*ConfigFile)(nil), // 12: v1.ConfigFile - (*ConfigFileRelease)(nil), // 13: v1.ConfigFileRelease - (*ConfigFileReleaseHistory)(nil), // 14: v1.ConfigFileReleaseHistory - (*ConfigFileTemplate)(nil), // 15: v1.ConfigFileTemplate - (*ClientConfigFileInfo)(nil), // 16: v1.ClientConfigFileInfo - (*wrapperspb.BytesValue)(nil), // 17: google.protobuf.BytesValue -} -var file_config_file_response_proto_depIdxs = []int32{ - 9, // 0: v1.ConfigSimpleResponse.code:type_name -> google.protobuf.UInt32Value - 10, // 1: v1.ConfigSimpleResponse.info:type_name -> google.protobuf.StringValue - 9, // 2: v1.ConfigResponse.code:type_name -> google.protobuf.UInt32Value - 10, // 3: v1.ConfigResponse.info:type_name -> google.protobuf.StringValue - 11, // 4: v1.ConfigResponse.configFileGroup:type_name -> v1.ConfigFileGroup - 12, // 5: v1.ConfigResponse.configFile:type_name -> v1.ConfigFile - 13, // 6: v1.ConfigResponse.configFileRelease:type_name -> v1.ConfigFileRelease - 14, // 7: v1.ConfigResponse.configFileReleaseHistory:type_name -> v1.ConfigFileReleaseHistory - 15, // 8: v1.ConfigResponse.configFileTemplate:type_name -> v1.ConfigFileTemplate - 9, // 9: v1.ConfigBatchWriteResponse.code:type_name -> google.protobuf.UInt32Value - 10, // 10: v1.ConfigBatchWriteResponse.info:type_name -> google.protobuf.StringValue - 9, // 11: v1.ConfigBatchWriteResponse.total:type_name -> google.protobuf.UInt32Value - 1, // 12: v1.ConfigBatchWriteResponse.responses:type_name -> v1.ConfigResponse - 9, // 13: v1.ConfigBatchQueryResponse.code:type_name -> google.protobuf.UInt32Value - 10, // 14: v1.ConfigBatchQueryResponse.info:type_name -> google.protobuf.StringValue - 9, // 15: v1.ConfigBatchQueryResponse.total:type_name -> google.protobuf.UInt32Value - 11, // 16: v1.ConfigBatchQueryResponse.configFileGroups:type_name -> v1.ConfigFileGroup - 12, // 17: v1.ConfigBatchQueryResponse.configFiles:type_name -> v1.ConfigFile - 13, // 18: v1.ConfigBatchQueryResponse.configFileReleases:type_name -> v1.ConfigFileRelease - 14, // 19: v1.ConfigBatchQueryResponse.configFileReleaseHistories:type_name -> v1.ConfigFileReleaseHistory - 15, // 20: v1.ConfigBatchQueryResponse.configFileTemplates:type_name -> v1.ConfigFileTemplate - 9, // 21: v1.ConfigClientResponse.code:type_name -> google.protobuf.UInt32Value - 10, // 22: v1.ConfigClientResponse.info:type_name -> google.protobuf.StringValue - 16, // 23: v1.ConfigClientResponse.configFile:type_name -> v1.ClientConfigFileInfo - 9, // 24: v1.ConfigImportResponse.code:type_name -> google.protobuf.UInt32Value - 10, // 25: v1.ConfigImportResponse.info:type_name -> google.protobuf.StringValue - 12, // 26: v1.ConfigImportResponse.createConfigFiles:type_name -> v1.ConfigFile - 12, // 27: v1.ConfigImportResponse.skipConfigFiles:type_name -> v1.ConfigFile - 12, // 28: v1.ConfigImportResponse.overwriteConfigFiles:type_name -> v1.ConfigFile - 9, // 29: v1.ConfigExportResponse.code:type_name -> google.protobuf.UInt32Value - 10, // 30: v1.ConfigExportResponse.info:type_name -> google.protobuf.StringValue - 17, // 31: v1.ConfigExportResponse.data:type_name -> google.protobuf.BytesValue - 9, // 32: v1.ConfigEncryptAlgorithmResponse.code:type_name -> google.protobuf.UInt32Value - 10, // 33: v1.ConfigEncryptAlgorithmResponse.info:type_name -> google.protobuf.StringValue - 10, // 34: v1.ConfigEncryptAlgorithmResponse.algorithms:type_name -> google.protobuf.StringValue - 9, // 35: v1.ConfigClientListResponse.code:type_name -> google.protobuf.UInt32Value - 10, // 36: v1.ConfigClientListResponse.info:type_name -> google.protobuf.StringValue - 10, // 37: v1.ConfigClientListResponse.revision:type_name -> google.protobuf.StringValue - 16, // 38: v1.ConfigClientListResponse.config_file_infos:type_name -> v1.ClientConfigFileInfo - 39, // [39:39] is the sub-list for method output_type - 39, // [39:39] is the sub-list for method input_type - 39, // [39:39] is the sub-list for extension type_name - 39, // [39:39] is the sub-list for extension extendee - 0, // [0:39] is the sub-list for field type_name -} - -func init() { file_config_file_response_proto_init() } -func file_config_file_response_proto_init() { - if File_config_file_response_proto != nil { - return - } - file_config_file_proto_init() - if !protoimpl.UnsafeEnabled { - file_config_file_response_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ConfigSimpleResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_config_file_response_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ConfigResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_config_file_response_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ConfigBatchWriteResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_config_file_response_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ConfigBatchQueryResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_config_file_response_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ConfigClientResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_config_file_response_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ConfigImportResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_config_file_response_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ConfigExportResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_config_file_response_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ConfigEncryptAlgorithmResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_config_file_response_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ConfigClientListResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_config_file_response_proto_rawDesc, - NumEnums: 0, - NumMessages: 9, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_config_file_response_proto_goTypes, - DependencyIndexes: file_config_file_response_proto_depIdxs, - MessageInfos: file_config_file_response_proto_msgTypes, - }.Build() - File_config_file_response_proto = out.File - file_config_file_response_proto_rawDesc = nil - file_config_file_response_proto_goTypes = nil - file_config_file_response_proto_depIdxs = nil +func (m *ConfigClientListResponse) GetConfigFileInfos() []*ClientConfigFileInfo { + if m != nil { + return m.ConfigFileInfos + } + return nil +} + +func init() { + proto.RegisterType((*ConfigSimpleResponse)(nil), "v1.ConfigSimpleResponse") + proto.RegisterType((*ConfigResponse)(nil), "v1.ConfigResponse") + proto.RegisterType((*ConfigBatchWriteResponse)(nil), "v1.ConfigBatchWriteResponse") + proto.RegisterType((*ConfigBatchQueryResponse)(nil), "v1.ConfigBatchQueryResponse") + proto.RegisterType((*ConfigClientResponse)(nil), "v1.ConfigClientResponse") + proto.RegisterType((*ConfigImportResponse)(nil), "v1.ConfigImportResponse") + proto.RegisterType((*ConfigExportResponse)(nil), "v1.ConfigExportResponse") + proto.RegisterType((*ConfigEncryptAlgorithmResponse)(nil), "v1.ConfigEncryptAlgorithmResponse") + proto.RegisterType((*ConfigClientListResponse)(nil), "v1.ConfigClientListResponse") +} + +func init() { + proto.RegisterFile("config_file_response.proto", fileDescriptor_config_file_response_a272e4c1ee7899cd) +} + +var fileDescriptor_config_file_response_a272e4c1ee7899cd = []byte{ + // 733 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x96, 0xcd, 0x4e, 0xdc, 0x3a, + 0x14, 0xc7, 0x35, 0x5f, 0x7c, 0x18, 0x09, 0x2e, 0x86, 0x7b, 0xaf, 0x45, 0x11, 0x42, 0x59, 0xb1, + 0x4a, 0x60, 0x90, 0x2a, 0x16, 0xad, 0xaa, 0xce, 0x08, 0x0a, 0x52, 0x17, 0x6d, 0xe8, 0x97, 0xaa, + 0x4a, 0xc8, 0x84, 0x33, 0x19, 0xab, 0x49, 0x6c, 0xd9, 0x9e, 0xa1, 0xd3, 0xe7, 0xa8, 0xfa, 0x12, + 0xdd, 0xa2, 0x3e, 0x40, 0x97, 0x7d, 0x8e, 0x3e, 0x48, 0x35, 0x76, 0x42, 0x32, 0x93, 0xcc, 0x74, + 0x37, 0xea, 0x32, 0xc7, 0xff, 0xdf, 0xf1, 0x39, 0xf6, 0x3f, 0x47, 0x46, 0x3b, 0x01, 0x4f, 0x7a, + 0x2c, 0xbc, 0xea, 0xb1, 0x08, 0xae, 0x24, 0x28, 0xc1, 0x13, 0x05, 0xae, 0x90, 0x5c, 0x73, 0x5c, + 0x1f, 0x1e, 0xed, 0xec, 0x85, 0x9c, 0x87, 0x11, 0x78, 0x26, 0x72, 0x3d, 0xe8, 0x79, 0xb7, 0x92, + 0x0a, 0x01, 0x52, 0x59, 0xcd, 0xce, 0x66, 0x81, 0xb7, 0x21, 0xe7, 0x33, 0xda, 0xee, 0x9a, 0xe0, + 0x25, 0x8b, 0x45, 0x04, 0x7e, 0x9a, 0x14, 0x1f, 0xa2, 0x66, 0xc0, 0x6f, 0x80, 0xd4, 0xf6, 0x6b, + 0x07, 0x6b, 0xed, 0x5d, 0xd7, 0x66, 0x76, 0xb3, 0xcc, 0xee, 0xeb, 0x8b, 0x44, 0x1f, 0xb7, 0xdf, + 0xd0, 0x68, 0x00, 0xbe, 0x51, 0x8e, 0x09, 0x96, 0xf4, 0x38, 0xa9, 0xcf, 0x20, 0x2e, 0xb5, 0x64, + 0x49, 0x98, 0x12, 0x63, 0xa5, 0xf3, 0xb3, 0x81, 0xd6, 0xed, 0xe6, 0x8b, 0xdc, 0x16, 0x3f, 0x46, + 0x1b, 0xf6, 0x1c, 0xce, 0x58, 0x04, 0xcf, 0x24, 0x1f, 0x08, 0xd2, 0x30, 0xf0, 0x96, 0x3b, 0x3c, + 0x72, 0xbb, 0x93, 0x4b, 0xfe, 0xb4, 0x16, 0xbb, 0x08, 0xe5, 0x21, 0xd2, 0x34, 0xe4, 0xfa, 0x24, + 0xe9, 0x17, 0x14, 0xb8, 0x8b, 0x36, 0xf3, 0x2f, 0x1f, 0x22, 0xa0, 0x0a, 0x48, 0xcb, 0x60, 0xff, + 0x4e, 0x61, 0x76, 0xd1, 0x2f, 0xeb, 0xf1, 0x3b, 0x44, 0x4a, 0xc1, 0x73, 0xa6, 0x34, 0x97, 0x23, + 0xb2, 0x94, 0x76, 0x5e, 0x95, 0x2b, 0xd5, 0xf8, 0x33, 0x69, 0x7c, 0x86, 0x70, 0xbe, 0xf6, 0x0a, + 0x62, 0x11, 0x51, 0x0d, 0x64, 0xd9, 0xe4, 0xfc, 0x6f, 0x32, 0x67, 0xb6, 0xea, 0x57, 0x10, 0xce, + 0xaf, 0x1a, 0x22, 0x56, 0xda, 0xa1, 0x3a, 0xe8, 0xbf, 0x95, 0x4c, 0x2f, 0xd4, 0x4d, 0xb8, 0x8d, + 0x5a, 0x9a, 0x6b, 0x1a, 0xa5, 0x97, 0x39, 0x7f, 0x13, 0x2b, 0xc5, 0x87, 0x68, 0x35, 0xfb, 0x8d, + 0x14, 0x69, 0xee, 0x37, 0x0e, 0xd6, 0xda, 0x38, 0xef, 0x39, 0x2b, 0xdf, 0xcf, 0x45, 0xce, 0x97, + 0xe6, 0x44, 0x9b, 0x2f, 0x07, 0x20, 0x47, 0x7f, 0x7d, 0x9b, 0x4f, 0xd0, 0x3f, 0x53, 0x2e, 0xce, + 0xba, 0xad, 0xb4, 0x7c, 0x49, 0x8c, 0x0f, 0xd1, 0x5a, 0x1e, 0x53, 0xa4, 0x65, 0xd8, 0x69, 0xd3, + 0x17, 0x25, 0xf8, 0xb4, 0x68, 0xab, 0xd4, 0x72, 0x8a, 0x2c, 0x19, 0x70, 0x86, 0xed, 0x2b, 0x00, + 0xfc, 0x21, 0x9b, 0x79, 0x25, 0xe7, 0x32, 0x50, 0x64, 0xd9, 0xa4, 0x9b, 0xef, 0xfc, 0x39, 0x3c, + 0x3e, 0x47, 0x5b, 0x65, 0x27, 0x2b, 0xb2, 0x62, 0xd2, 0xce, 0x32, 0x7f, 0x15, 0xe2, 0xdc, 0xd5, + 0xb2, 0x39, 0xda, 0x8d, 0x18, 0x24, 0x7a, 0xa1, 0x96, 0x38, 0x99, 0x98, 0x48, 0xd6, 0x17, 0xc4, + 0x54, 0x6f, 0x6a, 0xc9, 0x7b, 0xb8, 0x48, 0x7a, 0xbc, 0x38, 0x9b, 0x9c, 0xef, 0xf5, 0xac, 0xec, + 0x8b, 0x58, 0x70, 0xb9, 0xd8, 0xb2, 0x1f, 0xa1, 0xcd, 0x40, 0x02, 0xd5, 0xd0, 0x2d, 0x58, 0xab, + 0x51, 0x69, 0xad, 0xb2, 0x10, 0x9f, 0xa0, 0x0d, 0xf5, 0x91, 0x89, 0x22, 0xdb, 0xac, 0x64, 0xa7, + 0x65, 0xb8, 0x83, 0xb6, 0xf9, 0x10, 0xe4, 0xed, 0x78, 0x42, 0x75, 0xff, 0xe8, 0xea, 0x4a, 0xad, + 0xf3, 0xed, 0xfe, 0xbe, 0x4f, 0x3f, 0x2d, 0xfc, 0xe0, 0x3c, 0xd4, 0xbc, 0xa1, 0x9a, 0xa6, 0x37, + 0xfd, 0xa0, 0x44, 0x74, 0x46, 0x1a, 0x54, 0x0a, 0x8c, 0x85, 0xce, 0x8f, 0x1a, 0xda, 0x4b, 0xab, + 0x4d, 0x02, 0x39, 0x12, 0xfa, 0x69, 0x14, 0x72, 0xc9, 0x74, 0x3f, 0x5e, 0xf0, 0x85, 0x23, 0x9a, + 0x6d, 0x9c, 0xdd, 0xf4, 0x7c, 0xae, 0xa0, 0x77, 0xee, 0xea, 0xd9, 0xe4, 0xb5, 0xb6, 0x7e, 0xce, + 0xd4, 0xa2, 0x7f, 0xb3, 0x15, 0x09, 0x43, 0xa6, 0x18, 0x4f, 0x66, 0x0e, 0xdf, 0x22, 0x75, 0xaf, + 0xc6, 0xbb, 0x68, 0x35, 0xa1, 0x31, 0x28, 0x41, 0x03, 0xfb, 0x62, 0x58, 0xf5, 0xf3, 0x00, 0xde, + 0x46, 0xad, 0xd0, 0xbc, 0x42, 0x5a, 0x66, 0xc5, 0x7e, 0xe0, 0x33, 0x54, 0x7c, 0xad, 0x5d, 0x8d, + 0x2b, 0xc8, 0xe6, 0xe7, 0xec, 0x7f, 0xbb, 0x8c, 0x74, 0xbe, 0xd6, 0xd0, 0xc3, 0x80, 0xc7, 0xae, + 0x86, 0x24, 0x80, 0x44, 0xbb, 0x82, 0x47, 0x54, 0x32, 0xe5, 0x2a, 0x01, 0x01, 0xeb, 0xb1, 0x80, + 0x6a, 0xc6, 0x13, 0x97, 0x0a, 0x36, 0x4e, 0x6a, 0x71, 0x37, 0xa6, 0x09, 0x0d, 0xa1, 0xf3, 0x7f, + 0x71, 0xa8, 0xda, 0x83, 0x7e, 0x31, 0x6e, 0xf4, 0x7d, 0x37, 0x64, 0xba, 0x3f, 0xb8, 0x76, 0x03, + 0x1e, 0x7b, 0x69, 0xbe, 0x18, 0x54, 0xdf, 0x9b, 0xc8, 0xe9, 0x29, 0x3e, 0x90, 0x01, 0x78, 0x21, + 0xf7, 0xa8, 0x60, 0xde, 0xf0, 0xc8, 0x4b, 0x8b, 0xb3, 0xd9, 0xaf, 0x97, 0xcc, 0xa1, 0x1d, 0xff, + 0x0e, 0x00, 0x00, 0xff, 0xff, 0x74, 0x51, 0xea, 0xef, 0xd5, 0x0a, 0x00, 0x00, } diff --git a/source/go/api/v1/config_manage/grpc_config_api.pb.go b/source/go/api/v1/config_manage/grpc_config_api.pb.go index 681b1f7..45c073f 100644 --- a/source/go/api/v1/config_manage/grpc_config_api.pb.go +++ b/source/go/api/v1/config_manage/grpc_config_api.pb.go @@ -1,156 +1,35 @@ // Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.33.0 -// protoc v5.27.3 // source: grpc_config_api.proto -package config_manage +package config_manage // import "github.com/polarismesh/specification/source/go/api/v1/config_manage" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" import ( - context "context" + context "golang.org/x/net/context" grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/status" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" ) -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf -var File_grpc_config_api_proto protoreflect.FileDescriptor - -var file_grpc_config_api_proto_rawDesc = []byte{ - 0x0a, 0x15, 0x67, 0x72, 0x70, 0x63, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x61, 0x70, - 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x76, 0x31, 0x1a, 0x11, 0x63, 0x6f, 0x6e, - 0x66, 0x69, 0x67, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1a, - 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x72, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x32, 0xeb, 0x04, 0x0a, 0x11, 0x50, - 0x6f, 0x6c, 0x61, 0x72, 0x69, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x47, 0x52, 0x50, 0x43, - 0x12, 0x45, 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x46, 0x69, 0x6c, - 0x65, 0x12, 0x18, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, - 0x66, 0x69, 0x67, 0x46, 0x69, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x1a, 0x18, 0x2e, 0x76, 0x31, - 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x3e, 0x0a, 0x10, 0x43, 0x72, 0x65, 0x61, 0x74, - 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x46, 0x69, 0x6c, 0x65, 0x12, 0x0e, 0x2e, 0x76, 0x31, - 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x46, 0x69, 0x6c, 0x65, 0x1a, 0x18, 0x2e, 0x76, 0x31, - 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x3e, 0x0a, 0x10, 0x55, 0x70, 0x64, 0x61, 0x74, - 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x46, 0x69, 0x6c, 0x65, 0x12, 0x0e, 0x2e, 0x76, 0x31, - 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x46, 0x69, 0x6c, 0x65, 0x1a, 0x18, 0x2e, 0x76, 0x31, - 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x46, 0x0a, 0x11, 0x50, 0x75, 0x62, 0x6c, 0x69, - 0x73, 0x68, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x46, 0x69, 0x6c, 0x65, 0x12, 0x15, 0x2e, 0x76, - 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x46, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x6c, 0x65, - 0x61, 0x73, 0x65, 0x1a, 0x18, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x43, - 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, - 0x53, 0x0a, 0x1a, 0x55, 0x70, 0x73, 0x65, 0x72, 0x74, 0x41, 0x6e, 0x64, 0x50, 0x75, 0x62, 0x6c, - 0x69, 0x73, 0x68, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x46, 0x69, 0x6c, 0x65, 0x12, 0x19, 0x2e, - 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x46, 0x69, 0x6c, 0x65, 0x50, 0x75, 0x62, - 0x6c, 0x69, 0x73, 0x68, 0x49, 0x6e, 0x66, 0x6f, 0x1a, 0x18, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, - 0x6e, 0x66, 0x69, 0x67, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x22, 0x00, 0x12, 0x50, 0x0a, 0x10, 0x57, 0x61, 0x74, 0x63, 0x68, 0x43, 0x6f, 0x6e, - 0x66, 0x69, 0x67, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x12, 0x20, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6c, - 0x69, 0x65, 0x6e, 0x74, 0x57, 0x61, 0x74, 0x63, 0x68, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x46, - 0x69, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x18, 0x2e, 0x76, 0x31, 0x2e, - 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x57, 0x0a, 0x19, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, - 0x66, 0x69, 0x67, 0x46, 0x69, 0x6c, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x4c, - 0x69, 0x73, 0x74, 0x12, 0x1a, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x46, - 0x69, 0x6c, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x1c, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x43, 0x6c, 0x69, 0x65, 0x6e, - 0x74, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, - 0x47, 0x0a, 0x08, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x12, 0x19, 0x2e, 0x76, 0x31, - 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x66, - 0x69, 0x67, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x22, 0x00, 0x28, 0x01, 0x30, 0x01, 0x42, 0x97, 0x01, 0x0a, 0x36, 0x63, 0x6f, 0x6d, - 0x2e, 0x74, 0x65, 0x6e, 0x63, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x6f, 0x6c, 0x61, 0x72, 0x69, 0x73, - 0x2e, 0x73, 0x70, 0x65, 0x63, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x61, - 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x6d, 0x61, 0x6e, - 0x61, 0x67, 0x65, 0x42, 0x18, 0x50, 0x6f, 0x6c, 0x61, 0x72, 0x69, 0x73, 0x43, 0x6f, 0x6e, 0x66, - 0x69, 0x67, 0x47, 0x52, 0x50, 0x43, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5a, 0x43, 0x67, - 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x6f, 0x6c, 0x61, 0x72, 0x69, - 0x73, 0x6d, 0x65, 0x73, 0x68, 0x2f, 0x73, 0x70, 0x65, 0x63, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x2f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2f, 0x67, 0x6f, 0x2f, 0x61, 0x70, - 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x6d, 0x61, 0x6e, 0x61, - 0x67, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var file_grpc_config_api_proto_goTypes = []interface{}{ - (*ClientConfigFileInfo)(nil), // 0: v1.ClientConfigFileInfo - (*ConfigFile)(nil), // 1: v1.ConfigFile - (*ConfigFileRelease)(nil), // 2: v1.ConfigFileRelease - (*ConfigFilePublishInfo)(nil), // 3: v1.ConfigFilePublishInfo - (*ClientWatchConfigFileRequest)(nil), // 4: v1.ClientWatchConfigFileRequest - (*ConfigFileGroupRequest)(nil), // 5: v1.ConfigFileGroupRequest - (*ConfigDiscoverRequest)(nil), // 6: v1.ConfigDiscoverRequest - (*ConfigClientResponse)(nil), // 7: v1.ConfigClientResponse - (*ConfigClientListResponse)(nil), // 8: v1.ConfigClientListResponse - (*ConfigDiscoverResponse)(nil), // 9: v1.ConfigDiscoverResponse -} -var file_grpc_config_api_proto_depIdxs = []int32{ - 0, // 0: v1.PolarisConfigGRPC.GetConfigFile:input_type -> v1.ClientConfigFileInfo - 1, // 1: v1.PolarisConfigGRPC.CreateConfigFile:input_type -> v1.ConfigFile - 1, // 2: v1.PolarisConfigGRPC.UpdateConfigFile:input_type -> v1.ConfigFile - 2, // 3: v1.PolarisConfigGRPC.PublishConfigFile:input_type -> v1.ConfigFileRelease - 3, // 4: v1.PolarisConfigGRPC.UpsertAndPublishConfigFile:input_type -> v1.ConfigFilePublishInfo - 4, // 5: v1.PolarisConfigGRPC.WatchConfigFiles:input_type -> v1.ClientWatchConfigFileRequest - 5, // 6: v1.PolarisConfigGRPC.GetConfigFileMetadataList:input_type -> v1.ConfigFileGroupRequest - 6, // 7: v1.PolarisConfigGRPC.Discover:input_type -> v1.ConfigDiscoverRequest - 7, // 8: v1.PolarisConfigGRPC.GetConfigFile:output_type -> v1.ConfigClientResponse - 7, // 9: v1.PolarisConfigGRPC.CreateConfigFile:output_type -> v1.ConfigClientResponse - 7, // 10: v1.PolarisConfigGRPC.UpdateConfigFile:output_type -> v1.ConfigClientResponse - 7, // 11: v1.PolarisConfigGRPC.PublishConfigFile:output_type -> v1.ConfigClientResponse - 7, // 12: v1.PolarisConfigGRPC.UpsertAndPublishConfigFile:output_type -> v1.ConfigClientResponse - 7, // 13: v1.PolarisConfigGRPC.WatchConfigFiles:output_type -> v1.ConfigClientResponse - 8, // 14: v1.PolarisConfigGRPC.GetConfigFileMetadataList:output_type -> v1.ConfigClientListResponse - 9, // 15: v1.PolarisConfigGRPC.Discover:output_type -> v1.ConfigDiscoverResponse - 8, // [8:16] is the sub-list for method output_type - 0, // [0:8] is the sub-list for method input_type - 0, // [0:0] is the sub-list for extension type_name - 0, // [0:0] is the sub-list for extension extendee - 0, // [0:0] is the sub-list for field type_name -} - -func init() { file_grpc_config_api_proto_init() } -func file_grpc_config_api_proto_init() { - if File_grpc_config_api_proto != nil { - return - } - file_config_file_proto_init() - file_config_file_response_proto_init() - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_grpc_config_api_proto_rawDesc, - NumEnums: 0, - NumMessages: 0, - NumExtensions: 0, - NumServices: 1, - }, - GoTypes: file_grpc_config_api_proto_goTypes, - DependencyIndexes: file_grpc_config_api_proto_depIdxs, - }.Build() - File_grpc_config_api_proto = out.File - file_grpc_config_api_proto_rawDesc = nil - file_grpc_config_api_proto_goTypes = nil - file_grpc_config_api_proto_depIdxs = nil -} +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package // Reference imports to suppress errors if they are not otherwise used. var _ context.Context -var _ grpc.ClientConnInterface +var _ grpc.ClientConn // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package it is being compiled against. -const _ = grpc.SupportPackageIsVersion6 +const _ = grpc.SupportPackageIsVersion4 // PolarisConfigGRPCClient is the client API for PolarisConfigGRPC service. // @@ -175,10 +54,10 @@ type PolarisConfigGRPCClient interface { } type polarisConfigGRPCClient struct { - cc grpc.ClientConnInterface + cc *grpc.ClientConn } -func NewPolarisConfigGRPCClient(cc grpc.ClientConnInterface) PolarisConfigGRPCClient { +func NewPolarisConfigGRPCClient(cc *grpc.ClientConn) PolarisConfigGRPCClient { return &polarisConfigGRPCClient{cc} } @@ -296,35 +175,6 @@ type PolarisConfigGRPCServer interface { Discover(PolarisConfigGRPC_DiscoverServer) error } -// UnimplementedPolarisConfigGRPCServer can be embedded to have forward compatible implementations. -type UnimplementedPolarisConfigGRPCServer struct { -} - -func (*UnimplementedPolarisConfigGRPCServer) GetConfigFile(context.Context, *ClientConfigFileInfo) (*ConfigClientResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetConfigFile not implemented") -} -func (*UnimplementedPolarisConfigGRPCServer) CreateConfigFile(context.Context, *ConfigFile) (*ConfigClientResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateConfigFile not implemented") -} -func (*UnimplementedPolarisConfigGRPCServer) UpdateConfigFile(context.Context, *ConfigFile) (*ConfigClientResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateConfigFile not implemented") -} -func (*UnimplementedPolarisConfigGRPCServer) PublishConfigFile(context.Context, *ConfigFileRelease) (*ConfigClientResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method PublishConfigFile not implemented") -} -func (*UnimplementedPolarisConfigGRPCServer) UpsertAndPublishConfigFile(context.Context, *ConfigFilePublishInfo) (*ConfigClientResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpsertAndPublishConfigFile not implemented") -} -func (*UnimplementedPolarisConfigGRPCServer) WatchConfigFiles(context.Context, *ClientWatchConfigFileRequest) (*ConfigClientResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method WatchConfigFiles not implemented") -} -func (*UnimplementedPolarisConfigGRPCServer) GetConfigFileMetadataList(context.Context, *ConfigFileGroupRequest) (*ConfigClientListResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetConfigFileMetadataList not implemented") -} -func (*UnimplementedPolarisConfigGRPCServer) Discover(PolarisConfigGRPC_DiscoverServer) error { - return status.Errorf(codes.Unimplemented, "method Discover not implemented") -} - func RegisterPolarisConfigGRPCServer(s *grpc.Server, srv PolarisConfigGRPCServer) { s.RegisterService(&_PolarisConfigGRPC_serviceDesc, srv) } @@ -524,3 +374,35 @@ var _PolarisConfigGRPC_serviceDesc = grpc.ServiceDesc{ }, Metadata: "grpc_config_api.proto", } + +func init() { + proto.RegisterFile("grpc_config_api.proto", fileDescriptor_grpc_config_api_75804dc4d93d6af6) +} + +var fileDescriptor_grpc_config_api_75804dc4d93d6af6 = []byte{ + // 378 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x93, 0xc1, 0x6a, 0xe3, 0x30, + 0x10, 0x86, 0x37, 0xcb, 0xb2, 0x2c, 0x82, 0x5d, 0x12, 0x43, 0x20, 0x31, 0x7b, 0x58, 0xf6, 0xd4, + 0x93, 0x5c, 0xb7, 0xd0, 0x63, 0xa1, 0x71, 0x1b, 0x53, 0x68, 0xc1, 0x38, 0x84, 0x40, 0x2f, 0x41, + 0x51, 0xc6, 0xce, 0x80, 0x2d, 0xa9, 0x92, 0xec, 0x57, 0xe9, 0x43, 0xf6, 0x25, 0x4a, 0x62, 0x9b, + 0xd8, 0x49, 0x49, 0xa0, 0x47, 0xff, 0xff, 0xcc, 0x67, 0x69, 0xf4, 0x0f, 0x19, 0xa6, 0x5a, 0xf1, + 0x25, 0x97, 0x22, 0xc1, 0x74, 0xc9, 0x14, 0x52, 0xa5, 0xa5, 0x95, 0xce, 0xf7, 0xd2, 0x77, 0x07, + 0xb5, 0x9a, 0x60, 0x06, 0x95, 0xec, 0xba, 0x2d, 0x69, 0xa9, 0xc1, 0x28, 0x29, 0x4c, 0xed, 0x5d, + 0xbd, 0xff, 0x20, 0x83, 0x48, 0x66, 0x4c, 0xa3, 0x09, 0x76, 0x55, 0x61, 0x1c, 0x05, 0xce, 0x03, + 0xf9, 0x1d, 0x82, 0xad, 0x84, 0x29, 0x66, 0xe0, 0x8c, 0x68, 0xe9, 0xd3, 0x20, 0x43, 0x10, 0x2d, + 0xf5, 0x51, 0x24, 0xd2, 0xad, 0x9c, 0x9d, 0x56, 0xf9, 0x71, 0xfd, 0x83, 0xff, 0xdf, 0x9c, 0x5b, + 0xd2, 0x0f, 0x34, 0x30, 0x0b, 0x2d, 0xd2, 0x9f, 0x7d, 0xfd, 0xf6, 0xfb, 0x5c, 0xff, 0x5c, 0xad, + 0xbf, 0xde, 0x3f, 0x25, 0x83, 0xa8, 0x58, 0x65, 0x68, 0x36, 0x2d, 0xc0, 0xb0, 0x0b, 0x88, 0x21, + 0x03, 0x66, 0x4e, 0x73, 0x66, 0xc4, 0x9d, 0x2b, 0x03, 0xda, 0xde, 0x89, 0xf5, 0x31, 0x70, 0xdc, + 0x05, 0xd6, 0x05, 0x67, 0x87, 0x13, 0x91, 0xfe, 0x82, 0x59, 0xde, 0x22, 0x19, 0xe7, 0xdf, 0x7e, + 0xcc, 0x07, 0x5e, 0x0c, 0xaf, 0x05, 0x18, 0x7b, 0x92, 0xb8, 0x20, 0xe3, 0xce, 0xab, 0x3d, 0x83, + 0x65, 0x6b, 0x66, 0xd9, 0x13, 0x1a, 0xeb, 0xb8, 0xdd, 0x53, 0x86, 0x5a, 0x16, 0xaa, 0x81, 0xfe, + 0x3d, 0x84, 0x6e, 0x3b, 0x5a, 0xe0, 0x90, 0xfc, 0xba, 0x47, 0xc3, 0x65, 0x09, 0xba, 0x7d, 0xdb, + 0x46, 0x6b, 0x30, 0xee, 0x67, 0x56, 0x03, 0xb9, 0xe8, 0x5d, 0xf6, 0x26, 0x6f, 0x3d, 0x72, 0xc3, + 0x65, 0x4e, 0x2d, 0x08, 0x0e, 0xc2, 0x52, 0x55, 0x25, 0x8f, 0x1a, 0x05, 0x1c, 0x13, 0xe4, 0xcc, + 0xa2, 0x14, 0x74, 0x1b, 0xe8, 0xd2, 0xa7, 0x55, 0x6a, 0x69, 0xce, 0x04, 0x4b, 0x61, 0x32, 0x3a, + 0x4a, 0xe9, 0x0c, 0x74, 0x89, 0x1c, 0x5e, 0x82, 0x14, 0xed, 0xa6, 0x58, 0x51, 0x2e, 0x73, 0xaf, + 0x06, 0xe6, 0x60, 0x36, 0x5e, 0x07, 0xea, 0x19, 0x59, 0x68, 0x0e, 0x5e, 0x2a, 0x3d, 0xa6, 0xd0, + 0x2b, 0x7d, 0xaf, 0x5e, 0x8a, 0x0a, 0xbf, 0xfa, 0xb9, 0x5b, 0x87, 0xeb, 0x8f, 0x00, 0x00, 0x00, + 0xff, 0xff, 0x1e, 0xe3, 0x11, 0x0b, 0x5a, 0x03, 0x00, 0x00, +} diff --git a/source/go/api/v1/fault_tolerance/circuitbreaker.pb.go b/source/go/api/v1/fault_tolerance/circuitbreaker.pb.go index 57e1543..e73e661 100644 --- a/source/go/api/v1/fault_tolerance/circuitbreaker.pb.go +++ b/source/go/api/v1/fault_tolerance/circuitbreaker.pb.go @@ -1,27 +1,25 @@ // Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.33.0 -// protoc v5.27.3 // source: circuitbreaker.proto -package fault_tolerance +package fault_tolerance // import "github.com/polarismesh/specification/source/go/api/v1/fault_tolerance" -import ( - model "github.com/polarismesh/specification/source/go/api/v1/model" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - durationpb "google.golang.org/protobuf/types/known/durationpb" - wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" - reflect "reflect" - sync "sync" -) +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import model "github.com/polarismesh/specification/source/go/api/v1/model" +import durationpb "google.golang.org/protobuf/types/known/durationpb" +import wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package // circuitbreaking level type Level int32 @@ -38,102 +36,56 @@ const ( Level_INSTANCE Level = 4 ) -// Enum value maps for Level. -var ( - Level_name = map[int32]string{ - 0: "UNKNOWN", - 1: "SERVICE", - 2: "METHOD", - 3: "GROUP", - 4: "INSTANCE", - } - Level_value = map[string]int32{ - "UNKNOWN": 0, - "SERVICE": 1, - "METHOD": 2, - "GROUP": 3, - "INSTANCE": 4, - } -) - -func (x Level) Enum() *Level { - p := new(Level) - *p = x - return p -} - -func (x Level) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (Level) Descriptor() protoreflect.EnumDescriptor { - return file_circuitbreaker_proto_enumTypes[0].Descriptor() +var Level_name = map[int32]string{ + 0: "UNKNOWN", + 1: "SERVICE", + 2: "METHOD", + 3: "GROUP", + 4: "INSTANCE", } - -func (Level) Type() protoreflect.EnumType { - return &file_circuitbreaker_proto_enumTypes[0] +var Level_value = map[string]int32{ + "UNKNOWN": 0, + "SERVICE": 1, + "METHOD": 2, + "GROUP": 3, + "INSTANCE": 4, } -func (x Level) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) +func (x Level) String() string { + return proto.EnumName(Level_name, int32(x)) } - -// Deprecated: Use Level.Descriptor instead. func (Level) EnumDescriptor() ([]byte, []int) { - return file_circuitbreaker_proto_rawDescGZIP(), []int{0} + return fileDescriptor_circuitbreaker_43b6ff9ae3c12c7a, []int{0} } -//主动探测配置 +// 主动探测配置 type RecoverConfig_OutlierDetectWhen int32 const ( - //不开启监控探测 + // 不开启监控探测 RecoverConfig_NEVER RecoverConfig_OutlierDetectWhen = 0 - //只有在熔断恢复时才开启健康探测 + // 只有在熔断恢复时才开启健康探测 RecoverConfig_ON_RECOVER RecoverConfig_OutlierDetectWhen = 1 - //一直开启健康探测 + // 一直开启健康探测 RecoverConfig_ALWAYS RecoverConfig_OutlierDetectWhen = 2 ) -// Enum value maps for RecoverConfig_OutlierDetectWhen. -var ( - RecoverConfig_OutlierDetectWhen_name = map[int32]string{ - 0: "NEVER", - 1: "ON_RECOVER", - 2: "ALWAYS", - } - RecoverConfig_OutlierDetectWhen_value = map[string]int32{ - "NEVER": 0, - "ON_RECOVER": 1, - "ALWAYS": 2, - } -) - -func (x RecoverConfig_OutlierDetectWhen) Enum() *RecoverConfig_OutlierDetectWhen { - p := new(RecoverConfig_OutlierDetectWhen) - *p = x - return p -} - -func (x RecoverConfig_OutlierDetectWhen) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (RecoverConfig_OutlierDetectWhen) Descriptor() protoreflect.EnumDescriptor { - return file_circuitbreaker_proto_enumTypes[1].Descriptor() +var RecoverConfig_OutlierDetectWhen_name = map[int32]string{ + 0: "NEVER", + 1: "ON_RECOVER", + 2: "ALWAYS", } - -func (RecoverConfig_OutlierDetectWhen) Type() protoreflect.EnumType { - return &file_circuitbreaker_proto_enumTypes[1] +var RecoverConfig_OutlierDetectWhen_value = map[string]int32{ + "NEVER": 0, + "ON_RECOVER": 1, + "ALWAYS": 2, } -func (x RecoverConfig_OutlierDetectWhen) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) +func (x RecoverConfig_OutlierDetectWhen) String() string { + return proto.EnumName(RecoverConfig_OutlierDetectWhen_name, int32(x)) } - -// Deprecated: Use RecoverConfig_OutlierDetectWhen.Descriptor instead. func (RecoverConfig_OutlierDetectWhen) EnumDescriptor() ([]byte, []int) { - return file_circuitbreaker_proto_rawDescGZIP(), []int{2, 0} + return fileDescriptor_circuitbreaker_43b6ff9ae3c12c7a, []int{2, 0} } // 需要进行熔断的资源 @@ -147,43 +99,20 @@ const ( DestinationSet_INSTANCE DestinationSet_Resource = 1 ) -// Enum value maps for DestinationSet_Resource. -var ( - DestinationSet_Resource_name = map[int32]string{ - 0: "SUBSET", - 1: "INSTANCE", - } - DestinationSet_Resource_value = map[string]int32{ - "SUBSET": 0, - "INSTANCE": 1, - } -) - -func (x DestinationSet_Resource) Enum() *DestinationSet_Resource { - p := new(DestinationSet_Resource) - *p = x - return p -} - -func (x DestinationSet_Resource) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (DestinationSet_Resource) Descriptor() protoreflect.EnumDescriptor { - return file_circuitbreaker_proto_enumTypes[2].Descriptor() +var DestinationSet_Resource_name = map[int32]string{ + 0: "SUBSET", + 1: "INSTANCE", } - -func (DestinationSet_Resource) Type() protoreflect.EnumType { - return &file_circuitbreaker_proto_enumTypes[2] +var DestinationSet_Resource_value = map[string]int32{ + "SUBSET": 0, + "INSTANCE": 1, } -func (x DestinationSet_Resource) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) +func (x DestinationSet_Resource) String() string { + return proto.EnumName(DestinationSet_Resource_name, int32(x)) } - -// Deprecated: Use DestinationSet_Resource.Descriptor instead. func (DestinationSet_Resource) EnumDescriptor() ([]byte, []int) { - return file_circuitbreaker_proto_rawDescGZIP(), []int{4, 0} + return fileDescriptor_circuitbreaker_43b6ff9ae3c12c7a, []int{4, 0} } // 熔断决策类型,支持GLOBAL(分布式决策)以及LOCAL(本地决策),默认GLOBAL @@ -195,92 +124,46 @@ const ( DestinationSet_LOCAL DestinationSet_Type = 1 ) -// Enum value maps for DestinationSet_Type. -var ( - DestinationSet_Type_name = map[int32]string{ - 0: "GLOBAL", - 1: "LOCAL", - } - DestinationSet_Type_value = map[string]int32{ - "GLOBAL": 0, - "LOCAL": 1, - } -) - -func (x DestinationSet_Type) Enum() *DestinationSet_Type { - p := new(DestinationSet_Type) - *p = x - return p -} - -func (x DestinationSet_Type) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (DestinationSet_Type) Descriptor() protoreflect.EnumDescriptor { - return file_circuitbreaker_proto_enumTypes[3].Descriptor() +var DestinationSet_Type_name = map[int32]string{ + 0: "GLOBAL", + 1: "LOCAL", } - -func (DestinationSet_Type) Type() protoreflect.EnumType { - return &file_circuitbreaker_proto_enumTypes[3] +var DestinationSet_Type_value = map[string]int32{ + "GLOBAL": 0, + "LOCAL": 1, } -func (x DestinationSet_Type) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) +func (x DestinationSet_Type) String() string { + return proto.EnumName(DestinationSet_Type_name, int32(x)) } - -// Deprecated: Use DestinationSet_Type.Descriptor instead. func (DestinationSet_Type) EnumDescriptor() ([]byte, []int) { - return file_circuitbreaker_proto_rawDescGZIP(), []int{4, 1} + return fileDescriptor_circuitbreaker_43b6ff9ae3c12c7a, []int{4, 1} } -//熔断范围,是否扩散针对相同服务下所有接口进行熔断 +// 熔断范围,是否扩散针对相同服务下所有接口进行熔断 type DestinationSet_Scope int32 const ( - //触发熔断条件,扩散熔断所有接口 + // 触发熔断条件,扩散熔断所有接口 DestinationSet_ALL DestinationSet_Scope = 0 - //触发熔断条件,只熔断当前接口 + // 触发熔断条件,只熔断当前接口 DestinationSet_CURRENT DestinationSet_Scope = 1 ) -// Enum value maps for DestinationSet_Scope. -var ( - DestinationSet_Scope_name = map[int32]string{ - 0: "ALL", - 1: "CURRENT", - } - DestinationSet_Scope_value = map[string]int32{ - "ALL": 0, - "CURRENT": 1, - } -) - -func (x DestinationSet_Scope) Enum() *DestinationSet_Scope { - p := new(DestinationSet_Scope) - *p = x - return p -} - -func (x DestinationSet_Scope) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (DestinationSet_Scope) Descriptor() protoreflect.EnumDescriptor { - return file_circuitbreaker_proto_enumTypes[4].Descriptor() +var DestinationSet_Scope_name = map[int32]string{ + 0: "ALL", + 1: "CURRENT", } - -func (DestinationSet_Scope) Type() protoreflect.EnumType { - return &file_circuitbreaker_proto_enumTypes[4] +var DestinationSet_Scope_value = map[string]int32{ + "ALL": 0, + "CURRENT": 1, } -func (x DestinationSet_Scope) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) +func (x DestinationSet_Scope) String() string { + return proto.EnumName(DestinationSet_Scope_name, int32(x)) } - -// Deprecated: Use DestinationSet_Scope.Descriptor instead. func (DestinationSet_Scope) EnumDescriptor() ([]byte, []int) { - return file_circuitbreaker_proto_rawDescGZIP(), []int{4, 2} + return fileDescriptor_circuitbreaker_43b6ff9ae3c12c7a, []int{4, 2} } type ErrorCondition_InputType int32 @@ -291,45 +174,22 @@ const ( ErrorCondition_DELAY ErrorCondition_InputType = 2 ) -// Enum value maps for ErrorCondition_InputType. -var ( - ErrorCondition_InputType_name = map[int32]string{ - 0: "UNKNOWN", - 1: "RET_CODE", - 2: "DELAY", - } - ErrorCondition_InputType_value = map[string]int32{ - "UNKNOWN": 0, - "RET_CODE": 1, - "DELAY": 2, - } -) - -func (x ErrorCondition_InputType) Enum() *ErrorCondition_InputType { - p := new(ErrorCondition_InputType) - *p = x - return p -} - -func (x ErrorCondition_InputType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (ErrorCondition_InputType) Descriptor() protoreflect.EnumDescriptor { - return file_circuitbreaker_proto_enumTypes[5].Descriptor() +var ErrorCondition_InputType_name = map[int32]string{ + 0: "UNKNOWN", + 1: "RET_CODE", + 2: "DELAY", } - -func (ErrorCondition_InputType) Type() protoreflect.EnumType { - return &file_circuitbreaker_proto_enumTypes[5] +var ErrorCondition_InputType_value = map[string]int32{ + "UNKNOWN": 0, + "RET_CODE": 1, + "DELAY": 2, } -func (x ErrorCondition_InputType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) +func (x ErrorCondition_InputType) String() string { + return proto.EnumName(ErrorCondition_InputType_name, int32(x)) } - -// Deprecated: Use ErrorCondition_InputType.Descriptor instead. func (ErrorCondition_InputType) EnumDescriptor() ([]byte, []int) { - return file_circuitbreaker_proto_rawDescGZIP(), []int{8, 0} + return fileDescriptor_circuitbreaker_43b6ff9ae3c12c7a, []int{8, 0} } type TriggerCondition_TriggerType int32 @@ -340,53 +200,26 @@ const ( TriggerCondition_CONSECUTIVE_ERROR TriggerCondition_TriggerType = 2 ) -// Enum value maps for TriggerCondition_TriggerType. -var ( - TriggerCondition_TriggerType_name = map[int32]string{ - 0: "UNKNOWN", - 1: "ERROR_RATE", - 2: "CONSECUTIVE_ERROR", - } - TriggerCondition_TriggerType_value = map[string]int32{ - "UNKNOWN": 0, - "ERROR_RATE": 1, - "CONSECUTIVE_ERROR": 2, - } -) - -func (x TriggerCondition_TriggerType) Enum() *TriggerCondition_TriggerType { - p := new(TriggerCondition_TriggerType) - *p = x - return p -} - -func (x TriggerCondition_TriggerType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (TriggerCondition_TriggerType) Descriptor() protoreflect.EnumDescriptor { - return file_circuitbreaker_proto_enumTypes[6].Descriptor() +var TriggerCondition_TriggerType_name = map[int32]string{ + 0: "UNKNOWN", + 1: "ERROR_RATE", + 2: "CONSECUTIVE_ERROR", } - -func (TriggerCondition_TriggerType) Type() protoreflect.EnumType { - return &file_circuitbreaker_proto_enumTypes[6] +var TriggerCondition_TriggerType_value = map[string]int32{ + "UNKNOWN": 0, + "ERROR_RATE": 1, + "CONSECUTIVE_ERROR": 2, } -func (x TriggerCondition_TriggerType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) +func (x TriggerCondition_TriggerType) String() string { + return proto.EnumName(TriggerCondition_TriggerType_name, int32(x)) } - -// Deprecated: Use TriggerCondition_TriggerType.Descriptor instead. func (TriggerCondition_TriggerType) EnumDescriptor() ([]byte, []int) { - return file_circuitbreaker_proto_rawDescGZIP(), []int{9, 0} + return fileDescriptor_circuitbreaker_43b6ff9ae3c12c7a, []int{9, 0} } -//单个熔断规则定义 +// 单个熔断规则定义 type CircuitBreaker struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // deprecated Id *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // 规则版本 @@ -401,9 +234,9 @@ type CircuitBreaker struct { // 规则所属服务 Service *wrapperspb.StringValue `protobuf:"bytes,5,opt,name=service,proto3" json:"service,omitempty"` ServiceNamespace *wrapperspb.StringValue `protobuf:"bytes,6,opt,name=service_namespace,json=serviceNamespace,proto3" json:"service_namespace,omitempty"` - //熔断规则可以分为被调规则和主调规则 - //被调规则针对所有的指定主调生效,假如不指定则对所有的主调生效 - //主调规则为当前主调方的规则,假如不指定则针对所有被调生效 + // 熔断规则可以分为被调规则和主调规则 + // 被调规则针对所有的指定主调生效,假如不指定则对所有的主调生效 + // 主调规则为当前主调方的规则,假如不指定则针对所有被调生效 // deprecated Inbounds []*CbRule `protobuf:"bytes,7,rep,name=inbounds,proto3" json:"inbounds,omitempty"` // deprecated @@ -427,232 +260,214 @@ type CircuitBreaker struct { Mtime *wrapperspb.StringValue `protobuf:"bytes,15,opt,name=mtime,proto3" json:"mtime,omitempty"` Revision *wrapperspb.StringValue `protobuf:"bytes,16,opt,name=revision,proto3" json:"revision,omitempty"` // circuitbreaker rules for current service - Rules []*CircuitBreakerRule `protobuf:"bytes,21,rep,name=rules,proto3" json:"rules,omitempty"` + Rules []*CircuitBreakerRule `protobuf:"bytes,21,rep,name=rules,proto3" json:"rules,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *CircuitBreaker) Reset() { - *x = CircuitBreaker{} - if protoimpl.UnsafeEnabled { - mi := &file_circuitbreaker_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *CircuitBreaker) Reset() { *m = CircuitBreaker{} } +func (m *CircuitBreaker) String() string { return proto.CompactTextString(m) } +func (*CircuitBreaker) ProtoMessage() {} +func (*CircuitBreaker) Descriptor() ([]byte, []int) { + return fileDescriptor_circuitbreaker_43b6ff9ae3c12c7a, []int{0} } - -func (x *CircuitBreaker) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *CircuitBreaker) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CircuitBreaker.Unmarshal(m, b) } - -func (*CircuitBreaker) ProtoMessage() {} - -func (x *CircuitBreaker) ProtoReflect() protoreflect.Message { - mi := &file_circuitbreaker_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *CircuitBreaker) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CircuitBreaker.Marshal(b, m, deterministic) } - -// Deprecated: Use CircuitBreaker.ProtoReflect.Descriptor instead. -func (*CircuitBreaker) Descriptor() ([]byte, []int) { - return file_circuitbreaker_proto_rawDescGZIP(), []int{0} +func (dst *CircuitBreaker) XXX_Merge(src proto.Message) { + xxx_messageInfo_CircuitBreaker.Merge(dst, src) +} +func (m *CircuitBreaker) XXX_Size() int { + return xxx_messageInfo_CircuitBreaker.Size(m) +} +func (m *CircuitBreaker) XXX_DiscardUnknown() { + xxx_messageInfo_CircuitBreaker.DiscardUnknown(m) } -func (x *CircuitBreaker) GetId() *wrapperspb.StringValue { - if x != nil { - return x.Id +var xxx_messageInfo_CircuitBreaker proto.InternalMessageInfo + +func (m *CircuitBreaker) GetId() *wrapperspb.StringValue { + if m != nil { + return m.Id } return nil } -func (x *CircuitBreaker) GetVersion() *wrapperspb.StringValue { - if x != nil { - return x.Version +func (m *CircuitBreaker) GetVersion() *wrapperspb.StringValue { + if m != nil { + return m.Version } return nil } -func (x *CircuitBreaker) GetName() *wrapperspb.StringValue { - if x != nil { - return x.Name +func (m *CircuitBreaker) GetName() *wrapperspb.StringValue { + if m != nil { + return m.Name } return nil } -func (x *CircuitBreaker) GetNamespace() *wrapperspb.StringValue { - if x != nil { - return x.Namespace +func (m *CircuitBreaker) GetNamespace() *wrapperspb.StringValue { + if m != nil { + return m.Namespace } return nil } -func (x *CircuitBreaker) GetService() *wrapperspb.StringValue { - if x != nil { - return x.Service +func (m *CircuitBreaker) GetService() *wrapperspb.StringValue { + if m != nil { + return m.Service } return nil } -func (x *CircuitBreaker) GetServiceNamespace() *wrapperspb.StringValue { - if x != nil { - return x.ServiceNamespace +func (m *CircuitBreaker) GetServiceNamespace() *wrapperspb.StringValue { + if m != nil { + return m.ServiceNamespace } return nil } -func (x *CircuitBreaker) GetInbounds() []*CbRule { - if x != nil { - return x.Inbounds +func (m *CircuitBreaker) GetInbounds() []*CbRule { + if m != nil { + return m.Inbounds } return nil } -func (x *CircuitBreaker) GetOutbounds() []*CbRule { - if x != nil { - return x.Outbounds +func (m *CircuitBreaker) GetOutbounds() []*CbRule { + if m != nil { + return m.Outbounds } return nil } -func (x *CircuitBreaker) GetToken() *wrapperspb.StringValue { - if x != nil { - return x.Token +func (m *CircuitBreaker) GetToken() *wrapperspb.StringValue { + if m != nil { + return m.Token } return nil } -func (x *CircuitBreaker) GetOwners() *wrapperspb.StringValue { - if x != nil { - return x.Owners +func (m *CircuitBreaker) GetOwners() *wrapperspb.StringValue { + if m != nil { + return m.Owners } return nil } -func (x *CircuitBreaker) GetBusiness() *wrapperspb.StringValue { - if x != nil { - return x.Business +func (m *CircuitBreaker) GetBusiness() *wrapperspb.StringValue { + if m != nil { + return m.Business } return nil } -func (x *CircuitBreaker) GetDepartment() *wrapperspb.StringValue { - if x != nil { - return x.Department +func (m *CircuitBreaker) GetDepartment() *wrapperspb.StringValue { + if m != nil { + return m.Department } return nil } -func (x *CircuitBreaker) GetComment() *wrapperspb.StringValue { - if x != nil { - return x.Comment +func (m *CircuitBreaker) GetComment() *wrapperspb.StringValue { + if m != nil { + return m.Comment } return nil } -func (x *CircuitBreaker) GetCtime() *wrapperspb.StringValue { - if x != nil { - return x.Ctime +func (m *CircuitBreaker) GetCtime() *wrapperspb.StringValue { + if m != nil { + return m.Ctime } return nil } -func (x *CircuitBreaker) GetMtime() *wrapperspb.StringValue { - if x != nil { - return x.Mtime +func (m *CircuitBreaker) GetMtime() *wrapperspb.StringValue { + if m != nil { + return m.Mtime } return nil } -func (x *CircuitBreaker) GetRevision() *wrapperspb.StringValue { - if x != nil { - return x.Revision +func (m *CircuitBreaker) GetRevision() *wrapperspb.StringValue { + if m != nil { + return m.Revision } return nil } -func (x *CircuitBreaker) GetRules() []*CircuitBreakerRule { - if x != nil { - return x.Rules +func (m *CircuitBreaker) GetRules() []*CircuitBreakerRule { + if m != nil { + return m.Rules } return nil } // 主调匹配规则 type SourceMatcher struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // 主调命名空间以及服务名,可以为*,代表全匹配 Service *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"` Namespace *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"` // 可选,主调业务标签,用于匹配是否使用该熔断规则,可放置用户的接口信息等 - Labels map[string]*model.MatchString `protobuf:"bytes,3,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + Labels map[string]*model.MatchString `protobuf:"bytes,3,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *SourceMatcher) Reset() { - *x = SourceMatcher{} - if protoimpl.UnsafeEnabled { - mi := &file_circuitbreaker_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *SourceMatcher) Reset() { *m = SourceMatcher{} } +func (m *SourceMatcher) String() string { return proto.CompactTextString(m) } +func (*SourceMatcher) ProtoMessage() {} +func (*SourceMatcher) Descriptor() ([]byte, []int) { + return fileDescriptor_circuitbreaker_43b6ff9ae3c12c7a, []int{1} } - -func (x *SourceMatcher) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *SourceMatcher) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SourceMatcher.Unmarshal(m, b) } - -func (*SourceMatcher) ProtoMessage() {} - -func (x *SourceMatcher) ProtoReflect() protoreflect.Message { - mi := &file_circuitbreaker_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *SourceMatcher) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SourceMatcher.Marshal(b, m, deterministic) } - -// Deprecated: Use SourceMatcher.ProtoReflect.Descriptor instead. -func (*SourceMatcher) Descriptor() ([]byte, []int) { - return file_circuitbreaker_proto_rawDescGZIP(), []int{1} +func (dst *SourceMatcher) XXX_Merge(src proto.Message) { + xxx_messageInfo_SourceMatcher.Merge(dst, src) +} +func (m *SourceMatcher) XXX_Size() int { + return xxx_messageInfo_SourceMatcher.Size(m) +} +func (m *SourceMatcher) XXX_DiscardUnknown() { + xxx_messageInfo_SourceMatcher.DiscardUnknown(m) } -func (x *SourceMatcher) GetService() *wrapperspb.StringValue { - if x != nil { - return x.Service +var xxx_messageInfo_SourceMatcher proto.InternalMessageInfo + +func (m *SourceMatcher) GetService() *wrapperspb.StringValue { + if m != nil { + return m.Service } return nil } -func (x *SourceMatcher) GetNamespace() *wrapperspb.StringValue { - if x != nil { - return x.Namespace +func (m *SourceMatcher) GetNamespace() *wrapperspb.StringValue { + if m != nil { + return m.Namespace } return nil } -func (x *SourceMatcher) GetLabels() map[string]*model.MatchString { - if x != nil { - return x.Labels +func (m *SourceMatcher) GetLabels() map[string]*model.MatchString { + if m != nil { + return m.Labels } return nil } // 熔断恢复配置 type RecoverConfig struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // 触发熔断后到半开状态之间的等待间隔 SleepWindow *durationpb.Duration `protobuf:"bytes,1,opt,name=sleepWindow,proto3" json:"sleepWindow,omitempty"` // 半开后,最多重试多少次恢复 @@ -664,2471 +479,1589 @@ type RecoverConfig struct { // 半开后最大放量数(用户不配置最大百分比时默认使用该配置) RequestCountAfterHalfOpen *wrapperspb.UInt32Value `protobuf:"bytes,5,opt,name=requestCountAfterHalfOpen,proto3" json:"requestCountAfterHalfOpen,omitempty"` OutlierDetectWhen RecoverConfig_OutlierDetectWhen `protobuf:"varint,6,opt,name=outlierDetectWhen,proto3,enum=v1.RecoverConfig_OutlierDetectWhen" json:"outlierDetectWhen,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *RecoverConfig) Reset() { - *x = RecoverConfig{} - if protoimpl.UnsafeEnabled { - mi := &file_circuitbreaker_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *RecoverConfig) Reset() { *m = RecoverConfig{} } +func (m *RecoverConfig) String() string { return proto.CompactTextString(m) } +func (*RecoverConfig) ProtoMessage() {} +func (*RecoverConfig) Descriptor() ([]byte, []int) { + return fileDescriptor_circuitbreaker_43b6ff9ae3c12c7a, []int{2} } - -func (x *RecoverConfig) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *RecoverConfig) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RecoverConfig.Unmarshal(m, b) } - -func (*RecoverConfig) ProtoMessage() {} - -func (x *RecoverConfig) ProtoReflect() protoreflect.Message { - mi := &file_circuitbreaker_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) +func (m *RecoverConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RecoverConfig.Marshal(b, m, deterministic) } - -// Deprecated: Use RecoverConfig.ProtoReflect.Descriptor instead. -func (*RecoverConfig) Descriptor() ([]byte, []int) { - return file_circuitbreaker_proto_rawDescGZIP(), []int{2} +func (dst *RecoverConfig) XXX_Merge(src proto.Message) { + xxx_messageInfo_RecoverConfig.Merge(dst, src) +} +func (m *RecoverConfig) XXX_Size() int { + return xxx_messageInfo_RecoverConfig.Size(m) +} +func (m *RecoverConfig) XXX_DiscardUnknown() { + xxx_messageInfo_RecoverConfig.DiscardUnknown(m) } -func (x *RecoverConfig) GetSleepWindow() *durationpb.Duration { - if x != nil { - return x.SleepWindow +var xxx_messageInfo_RecoverConfig proto.InternalMessageInfo + +func (m *RecoverConfig) GetSleepWindow() *durationpb.Duration { + if m != nil { + return m.SleepWindow } return nil } -func (x *RecoverConfig) GetMaxRetryAfterHalfOpen() *wrapperspb.UInt32Value { - if x != nil { - return x.MaxRetryAfterHalfOpen +func (m *RecoverConfig) GetMaxRetryAfterHalfOpen() *wrapperspb.UInt32Value { + if m != nil { + return m.MaxRetryAfterHalfOpen } return nil } -func (x *RecoverConfig) GetRequestRateAfterHalfOpen() []*wrapperspb.UInt32Value { - if x != nil { - return x.RequestRateAfterHalfOpen +func (m *RecoverConfig) GetRequestRateAfterHalfOpen() []*wrapperspb.UInt32Value { + if m != nil { + return m.RequestRateAfterHalfOpen } return nil } -func (x *RecoverConfig) GetSuccessRateToClose() *wrapperspb.UInt32Value { - if x != nil { - return x.SuccessRateToClose +func (m *RecoverConfig) GetSuccessRateToClose() *wrapperspb.UInt32Value { + if m != nil { + return m.SuccessRateToClose } return nil } -func (x *RecoverConfig) GetRequestCountAfterHalfOpen() *wrapperspb.UInt32Value { - if x != nil { - return x.RequestCountAfterHalfOpen +func (m *RecoverConfig) GetRequestCountAfterHalfOpen() *wrapperspb.UInt32Value { + if m != nil { + return m.RequestCountAfterHalfOpen } return nil } -func (x *RecoverConfig) GetOutlierDetectWhen() RecoverConfig_OutlierDetectWhen { - if x != nil { - return x.OutlierDetectWhen +func (m *RecoverConfig) GetOutlierDetectWhen() RecoverConfig_OutlierDetectWhen { + if m != nil { + return m.OutlierDetectWhen } return RecoverConfig_NEVER } // 熔断策略 type CbPolicy struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - ErrorRate *CbPolicy_ErrRateConfig `protobuf:"bytes,1,opt,name=errorRate,proto3" json:"errorRate,omitempty"` SlowRate *CbPolicy_SlowRateConfig `protobuf:"bytes,2,opt,name=slowRate,proto3" json:"slowRate,omitempty"` // 熔断的决策周期,多久触发一次熔断决策 JudgeDuration *durationpb.Duration `protobuf:"bytes,3,opt,name=judgeDuration,proto3" json:"judgeDuration,omitempty"` - //最大熔断比例,超过多少比例后不会继续熔断 - MaxEjectionPercent *wrapperspb.UInt32Value `protobuf:"bytes,4,opt,name=maxEjectionPercent,proto3" json:"maxEjectionPercent,omitempty"` - Consecutive *CbPolicy_ConsecutiveErrConfig `protobuf:"bytes,5,opt,name=consecutive,proto3" json:"consecutive,omitempty"` + // 最大熔断比例,超过多少比例后不会继续熔断 + MaxEjectionPercent *wrapperspb.UInt32Value `protobuf:"bytes,4,opt,name=maxEjectionPercent,proto3" json:"maxEjectionPercent,omitempty"` + Consecutive *CbPolicy_ConsecutiveErrConfig `protobuf:"bytes,5,opt,name=consecutive,proto3" json:"consecutive,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *CbPolicy) Reset() { - *x = CbPolicy{} - if protoimpl.UnsafeEnabled { - mi := &file_circuitbreaker_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *CbPolicy) Reset() { *m = CbPolicy{} } +func (m *CbPolicy) String() string { return proto.CompactTextString(m) } +func (*CbPolicy) ProtoMessage() {} +func (*CbPolicy) Descriptor() ([]byte, []int) { + return fileDescriptor_circuitbreaker_43b6ff9ae3c12c7a, []int{3} } - -func (x *CbPolicy) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *CbPolicy) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CbPolicy.Unmarshal(m, b) } - -func (*CbPolicy) ProtoMessage() {} - -func (x *CbPolicy) ProtoReflect() protoreflect.Message { - mi := &file_circuitbreaker_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) +func (m *CbPolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CbPolicy.Marshal(b, m, deterministic) } - -// Deprecated: Use CbPolicy.ProtoReflect.Descriptor instead. -func (*CbPolicy) Descriptor() ([]byte, []int) { - return file_circuitbreaker_proto_rawDescGZIP(), []int{3} +func (dst *CbPolicy) XXX_Merge(src proto.Message) { + xxx_messageInfo_CbPolicy.Merge(dst, src) +} +func (m *CbPolicy) XXX_Size() int { + return xxx_messageInfo_CbPolicy.Size(m) +} +func (m *CbPolicy) XXX_DiscardUnknown() { + xxx_messageInfo_CbPolicy.DiscardUnknown(m) } -func (x *CbPolicy) GetErrorRate() *CbPolicy_ErrRateConfig { - if x != nil { - return x.ErrorRate +var xxx_messageInfo_CbPolicy proto.InternalMessageInfo + +func (m *CbPolicy) GetErrorRate() *CbPolicy_ErrRateConfig { + if m != nil { + return m.ErrorRate } return nil } -func (x *CbPolicy) GetSlowRate() *CbPolicy_SlowRateConfig { - if x != nil { - return x.SlowRate +func (m *CbPolicy) GetSlowRate() *CbPolicy_SlowRateConfig { + if m != nil { + return m.SlowRate } return nil } -func (x *CbPolicy) GetJudgeDuration() *durationpb.Duration { - if x != nil { - return x.JudgeDuration +func (m *CbPolicy) GetJudgeDuration() *durationpb.Duration { + if m != nil { + return m.JudgeDuration } return nil } -func (x *CbPolicy) GetMaxEjectionPercent() *wrapperspb.UInt32Value { - if x != nil { - return x.MaxEjectionPercent +func (m *CbPolicy) GetMaxEjectionPercent() *wrapperspb.UInt32Value { + if m != nil { + return m.MaxEjectionPercent } return nil } -func (x *CbPolicy) GetConsecutive() *CbPolicy_ConsecutiveErrConfig { - if x != nil { - return x.Consecutive +func (m *CbPolicy) GetConsecutive() *CbPolicy_ConsecutiveErrConfig { + if m != nil { + return m.Consecutive } return nil } -// 目标set的规则 -type DestinationSet struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // 被调命名空间以及服务名,可以为*,代表全匹配 - Service *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"` - Namespace *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"` - // 可选,SUBSET标识 - Metadata map[string]*model.MatchString `protobuf:"bytes,3,rep,name=metadata,proto3" json:"metadata,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - Resource DestinationSet_Resource `protobuf:"varint,4,opt,name=resource,proto3,enum=v1.DestinationSet_Resource" json:"resource,omitempty"` - Type DestinationSet_Type `protobuf:"varint,5,opt,name=type,proto3,enum=v1.DestinationSet_Type" json:"type,omitempty"` - Scope DestinationSet_Scope `protobuf:"varint,6,opt,name=scope,proto3,enum=v1.DestinationSet_Scope" json:"scope,omitempty"` - // 熔断数据度量周期 - // 所有的阈值指标按此周期进行统计 - MetricWindow *durationpb.Duration `protobuf:"bytes,7,opt,name=metricWindow,proto3" json:"metricWindow,omitempty"` - // 熔断数据统计精度,决定数据度量的最小周期 - // 度量滑窗的步长=window/precision - MetricPrecision *wrapperspb.UInt32Value `protobuf:"bytes,8,opt,name=metricPrecision,proto3" json:"metricPrecision,omitempty"` - // 熔断数据上报周期,对分布式熔断有效 - UpdateInterval *durationpb.Duration `protobuf:"bytes,9,opt,name=updateInterval,proto3" json:"updateInterval,omitempty"` - // 触发熔断后恢复配置 - Recover *RecoverConfig `protobuf:"bytes,10,opt,name=recover,proto3" json:"recover,omitempty"` - // 熔断策略 - Policy *CbPolicy `protobuf:"bytes,11,opt,name=policy,proto3" json:"policy,omitempty"` - // 被调的接口信息,指定哪些接口会使用该规则 - Method *model.MatchString `protobuf:"bytes,12,opt,name=method,proto3" json:"method,omitempty"` - // 返回码,指定哪些返回码会使用该规则 - ErrorCodes []*wrapperspb.Int64Value `protobuf:"bytes,13,rep,name=errorCodes,proto3" json:"errorCodes,omitempty"` +// 错误率熔断配置 +type CbPolicy_ErrRateConfig struct { + // 是否启用错误率配置 + Enable *wrapperspb.BoolValue `protobuf:"bytes,1,opt,name=enable,proto3" json:"enable,omitempty"` + // 触发错误率熔断的最低请求阈值 + RequestVolumeThreshold *wrapperspb.UInt32Value `protobuf:"bytes,2,opt,name=requestVolumeThreshold,proto3" json:"requestVolumeThreshold,omitempty"` + // 可选。触发保持状态的错误率阈值,假如不配置,则默认不会进入Preserved状态 + ErrorRateToPreserved *wrapperspb.UInt32Value `protobuf:"bytes,3,opt,name=errorRateToPreserved,proto3" json:"errorRateToPreserved,omitempty"` + // 触发熔断的错误率阈值 + ErrorRateToOpen *wrapperspb.UInt32Value `protobuf:"bytes,4,opt,name=errorRateToOpen,proto3" json:"errorRateToOpen,omitempty"` + Specials []*CbPolicy_ErrRateConfig_SpecialConfig `protobuf:"bytes,5,rep,name=specials,proto3" json:"specials,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *DestinationSet) Reset() { - *x = DestinationSet{} - if protoimpl.UnsafeEnabled { - mi := &file_circuitbreaker_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *CbPolicy_ErrRateConfig) Reset() { *m = CbPolicy_ErrRateConfig{} } +func (m *CbPolicy_ErrRateConfig) String() string { return proto.CompactTextString(m) } +func (*CbPolicy_ErrRateConfig) ProtoMessage() {} +func (*CbPolicy_ErrRateConfig) Descriptor() ([]byte, []int) { + return fileDescriptor_circuitbreaker_43b6ff9ae3c12c7a, []int{3, 0} } - -func (x *DestinationSet) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *CbPolicy_ErrRateConfig) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CbPolicy_ErrRateConfig.Unmarshal(m, b) } - -func (*DestinationSet) ProtoMessage() {} - -func (x *DestinationSet) ProtoReflect() protoreflect.Message { - mi := &file_circuitbreaker_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) +func (m *CbPolicy_ErrRateConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CbPolicy_ErrRateConfig.Marshal(b, m, deterministic) } - -// Deprecated: Use DestinationSet.ProtoReflect.Descriptor instead. -func (*DestinationSet) Descriptor() ([]byte, []int) { - return file_circuitbreaker_proto_rawDescGZIP(), []int{4} +func (dst *CbPolicy_ErrRateConfig) XXX_Merge(src proto.Message) { + xxx_messageInfo_CbPolicy_ErrRateConfig.Merge(dst, src) +} +func (m *CbPolicy_ErrRateConfig) XXX_Size() int { + return xxx_messageInfo_CbPolicy_ErrRateConfig.Size(m) } +func (m *CbPolicy_ErrRateConfig) XXX_DiscardUnknown() { + xxx_messageInfo_CbPolicy_ErrRateConfig.DiscardUnknown(m) +} + +var xxx_messageInfo_CbPolicy_ErrRateConfig proto.InternalMessageInfo -func (x *DestinationSet) GetService() *wrapperspb.StringValue { - if x != nil { - return x.Service +func (m *CbPolicy_ErrRateConfig) GetEnable() *wrapperspb.BoolValue { + if m != nil { + return m.Enable } return nil } -func (x *DestinationSet) GetNamespace() *wrapperspb.StringValue { - if x != nil { - return x.Namespace +func (m *CbPolicy_ErrRateConfig) GetRequestVolumeThreshold() *wrapperspb.UInt32Value { + if m != nil { + return m.RequestVolumeThreshold } return nil } -func (x *DestinationSet) GetMetadata() map[string]*model.MatchString { - if x != nil { - return x.Metadata +func (m *CbPolicy_ErrRateConfig) GetErrorRateToPreserved() *wrapperspb.UInt32Value { + if m != nil { + return m.ErrorRateToPreserved } return nil } -func (x *DestinationSet) GetResource() DestinationSet_Resource { - if x != nil { - return x.Resource +func (m *CbPolicy_ErrRateConfig) GetErrorRateToOpen() *wrapperspb.UInt32Value { + if m != nil { + return m.ErrorRateToOpen } - return DestinationSet_SUBSET + return nil } -func (x *DestinationSet) GetType() DestinationSet_Type { - if x != nil { - return x.Type +func (m *CbPolicy_ErrRateConfig) GetSpecials() []*CbPolicy_ErrRateConfig_SpecialConfig { + if m != nil { + return m.Specials } - return DestinationSet_GLOBAL + return nil } -func (x *DestinationSet) GetScope() DestinationSet_Scope { - if x != nil { - return x.Scope - } - return DestinationSet_ALL +// 错误码相关特定配置 +type CbPolicy_ErrRateConfig_SpecialConfig struct { + // 熔断关心的错误类型,用户可以自己定义 + Type *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` + ErrorCodes []*wrapperspb.Int64Value `protobuf:"bytes,2,rep,name=errorCodes,proto3" json:"errorCodes,omitempty"` + ErrorRateToPreserved *wrapperspb.UInt32Value `protobuf:"bytes,3,opt,name=errorRateToPreserved,proto3" json:"errorRateToPreserved,omitempty"` + ErrorRateToOpen *wrapperspb.UInt32Value `protobuf:"bytes,4,opt,name=errorRateToOpen,proto3" json:"errorRateToOpen,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *DestinationSet) GetMetricWindow() *durationpb.Duration { - if x != nil { - return x.MetricWindow - } - return nil +func (m *CbPolicy_ErrRateConfig_SpecialConfig) Reset() { *m = CbPolicy_ErrRateConfig_SpecialConfig{} } +func (m *CbPolicy_ErrRateConfig_SpecialConfig) String() string { return proto.CompactTextString(m) } +func (*CbPolicy_ErrRateConfig_SpecialConfig) ProtoMessage() {} +func (*CbPolicy_ErrRateConfig_SpecialConfig) Descriptor() ([]byte, []int) { + return fileDescriptor_circuitbreaker_43b6ff9ae3c12c7a, []int{3, 0, 0} } - -func (x *DestinationSet) GetMetricPrecision() *wrapperspb.UInt32Value { - if x != nil { - return x.MetricPrecision - } - return nil +func (m *CbPolicy_ErrRateConfig_SpecialConfig) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CbPolicy_ErrRateConfig_SpecialConfig.Unmarshal(m, b) } - -func (x *DestinationSet) GetUpdateInterval() *durationpb.Duration { - if x != nil { - return x.UpdateInterval - } - return nil +func (m *CbPolicy_ErrRateConfig_SpecialConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CbPolicy_ErrRateConfig_SpecialConfig.Marshal(b, m, deterministic) +} +func (dst *CbPolicy_ErrRateConfig_SpecialConfig) XXX_Merge(src proto.Message) { + xxx_messageInfo_CbPolicy_ErrRateConfig_SpecialConfig.Merge(dst, src) +} +func (m *CbPolicy_ErrRateConfig_SpecialConfig) XXX_Size() int { + return xxx_messageInfo_CbPolicy_ErrRateConfig_SpecialConfig.Size(m) +} +func (m *CbPolicy_ErrRateConfig_SpecialConfig) XXX_DiscardUnknown() { + xxx_messageInfo_CbPolicy_ErrRateConfig_SpecialConfig.DiscardUnknown(m) } -func (x *DestinationSet) GetRecover() *RecoverConfig { - if x != nil { - return x.Recover +var xxx_messageInfo_CbPolicy_ErrRateConfig_SpecialConfig proto.InternalMessageInfo + +func (m *CbPolicy_ErrRateConfig_SpecialConfig) GetType() *wrapperspb.StringValue { + if m != nil { + return m.Type } return nil } -func (x *DestinationSet) GetPolicy() *CbPolicy { - if x != nil { - return x.Policy +func (m *CbPolicy_ErrRateConfig_SpecialConfig) GetErrorCodes() []*wrapperspb.Int64Value { + if m != nil { + return m.ErrorCodes } return nil } -func (x *DestinationSet) GetMethod() *model.MatchString { - if x != nil { - return x.Method +func (m *CbPolicy_ErrRateConfig_SpecialConfig) GetErrorRateToPreserved() *wrapperspb.UInt32Value { + if m != nil { + return m.ErrorRateToPreserved } return nil } -func (x *DestinationSet) GetErrorCodes() []*wrapperspb.Int64Value { - if x != nil { - return x.ErrorCodes +func (m *CbPolicy_ErrRateConfig_SpecialConfig) GetErrorRateToOpen() *wrapperspb.UInt32Value { + if m != nil { + return m.ErrorRateToOpen } return nil } -// 具体熔断规则 -type CbRule struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // 如果匹配Source规则,按照Destination进行熔断 - // 多个Source之间的关系为或 - Sources []*SourceMatcher `protobuf:"bytes,1,rep,name=sources,proto3" json:"sources,omitempty"` - Destinations []*DestinationSet `protobuf:"bytes,2,rep,name=destinations,proto3" json:"destinations,omitempty"` +// 慢调用率熔断策略配置 +type CbPolicy_SlowRateConfig struct { + // 是否启用慢调用率配置 + Enable *wrapperspb.BoolValue `protobuf:"bytes,1,opt,name=enable,proto3" json:"enable,omitempty"` + // 最大响应时间,超过该时间属于慢调用请求 + MaxRt *durationpb.Duration `protobuf:"bytes,2,opt,name=maxRt,proto3" json:"maxRt,omitempty"` + // 可选。触发保持状态的超时率阈值,假如不配置,则默认不会进入Preserved状态 + SlowRateToPreserved *wrapperspb.UInt32Value `protobuf:"bytes,3,opt,name=slowRateToPreserved,proto3" json:"slowRateToPreserved,omitempty"` + // 触发熔断的超时率阈值 + SlowRateToOpen *wrapperspb.UInt32Value `protobuf:"bytes,4,opt,name=slowRateToOpen,proto3" json:"slowRateToOpen,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *CbRule) Reset() { - *x = CbRule{} - if protoimpl.UnsafeEnabled { - mi := &file_circuitbreaker_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *CbPolicy_SlowRateConfig) Reset() { *m = CbPolicy_SlowRateConfig{} } +func (m *CbPolicy_SlowRateConfig) String() string { return proto.CompactTextString(m) } +func (*CbPolicy_SlowRateConfig) ProtoMessage() {} +func (*CbPolicy_SlowRateConfig) Descriptor() ([]byte, []int) { + return fileDescriptor_circuitbreaker_43b6ff9ae3c12c7a, []int{3, 1} } - -func (x *CbRule) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *CbPolicy_SlowRateConfig) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CbPolicy_SlowRateConfig.Unmarshal(m, b) +} +func (m *CbPolicy_SlowRateConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CbPolicy_SlowRateConfig.Marshal(b, m, deterministic) +} +func (dst *CbPolicy_SlowRateConfig) XXX_Merge(src proto.Message) { + xxx_messageInfo_CbPolicy_SlowRateConfig.Merge(dst, src) +} +func (m *CbPolicy_SlowRateConfig) XXX_Size() int { + return xxx_messageInfo_CbPolicy_SlowRateConfig.Size(m) +} +func (m *CbPolicy_SlowRateConfig) XXX_DiscardUnknown() { + xxx_messageInfo_CbPolicy_SlowRateConfig.DiscardUnknown(m) } -func (*CbRule) ProtoMessage() {} +var xxx_messageInfo_CbPolicy_SlowRateConfig proto.InternalMessageInfo -func (x *CbRule) ProtoReflect() protoreflect.Message { - mi := &file_circuitbreaker_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms +func (m *CbPolicy_SlowRateConfig) GetEnable() *wrapperspb.BoolValue { + if m != nil { + return m.Enable } - return mi.MessageOf(x) + return nil } -// Deprecated: Use CbRule.ProtoReflect.Descriptor instead. -func (*CbRule) Descriptor() ([]byte, []int) { - return file_circuitbreaker_proto_rawDescGZIP(), []int{5} +func (m *CbPolicy_SlowRateConfig) GetMaxRt() *durationpb.Duration { + if m != nil { + return m.MaxRt + } + return nil } -func (x *CbRule) GetSources() []*SourceMatcher { - if x != nil { - return x.Sources +func (m *CbPolicy_SlowRateConfig) GetSlowRateToPreserved() *wrapperspb.UInt32Value { + if m != nil { + return m.SlowRateToPreserved } return nil } -func (x *CbRule) GetDestinations() []*DestinationSet { - if x != nil { - return x.Destinations +func (m *CbPolicy_SlowRateConfig) GetSlowRateToOpen() *wrapperspb.UInt32Value { + if m != nil { + return m.SlowRateToOpen } return nil } -type RuleMatcher struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Source *RuleMatcher_SourceService `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"` - Destination *RuleMatcher_DestinationService `protobuf:"bytes,2,opt,name=destination,proto3" json:"destination,omitempty"` +// 连续错误数熔断配置 +type CbPolicy_ConsecutiveErrConfig struct { + // 是否启用连续错误数配置 + Enable *wrapperspb.BoolValue `protobuf:"bytes,1,opt,name=enable,proto3" json:"enable,omitempty"` + // 连续错误数阈值,进入Preserved状态 + ConsecutiveErrorToPreserved *wrapperspb.UInt32Value `protobuf:"bytes,2,opt,name=consecutiveErrorToPreserved,proto3" json:"consecutiveErrorToPreserved,omitempty"` + // 连续错误数阈值,进入Open状态 + ConsecutiveErrorToOpen *wrapperspb.UInt32Value `protobuf:"bytes,3,opt,name=consecutiveErrorToOpen,proto3" json:"consecutiveErrorToOpen,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *RuleMatcher) Reset() { - *x = RuleMatcher{} - if protoimpl.UnsafeEnabled { - mi := &file_circuitbreaker_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *CbPolicy_ConsecutiveErrConfig) Reset() { *m = CbPolicy_ConsecutiveErrConfig{} } +func (m *CbPolicy_ConsecutiveErrConfig) String() string { return proto.CompactTextString(m) } +func (*CbPolicy_ConsecutiveErrConfig) ProtoMessage() {} +func (*CbPolicy_ConsecutiveErrConfig) Descriptor() ([]byte, []int) { + return fileDescriptor_circuitbreaker_43b6ff9ae3c12c7a, []int{3, 2} } - -func (x *RuleMatcher) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *CbPolicy_ConsecutiveErrConfig) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CbPolicy_ConsecutiveErrConfig.Unmarshal(m, b) +} +func (m *CbPolicy_ConsecutiveErrConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CbPolicy_ConsecutiveErrConfig.Marshal(b, m, deterministic) +} +func (dst *CbPolicy_ConsecutiveErrConfig) XXX_Merge(src proto.Message) { + xxx_messageInfo_CbPolicy_ConsecutiveErrConfig.Merge(dst, src) +} +func (m *CbPolicy_ConsecutiveErrConfig) XXX_Size() int { + return xxx_messageInfo_CbPolicy_ConsecutiveErrConfig.Size(m) +} +func (m *CbPolicy_ConsecutiveErrConfig) XXX_DiscardUnknown() { + xxx_messageInfo_CbPolicy_ConsecutiveErrConfig.DiscardUnknown(m) } -func (*RuleMatcher) ProtoMessage() {} +var xxx_messageInfo_CbPolicy_ConsecutiveErrConfig proto.InternalMessageInfo -func (x *RuleMatcher) ProtoReflect() protoreflect.Message { - mi := &file_circuitbreaker_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms +func (m *CbPolicy_ConsecutiveErrConfig) GetEnable() *wrapperspb.BoolValue { + if m != nil { + return m.Enable } - return mi.MessageOf(x) -} - -// Deprecated: Use RuleMatcher.ProtoReflect.Descriptor instead. -func (*RuleMatcher) Descriptor() ([]byte, []int) { - return file_circuitbreaker_proto_rawDescGZIP(), []int{6} + return nil } -func (x *RuleMatcher) GetSource() *RuleMatcher_SourceService { - if x != nil { - return x.Source +func (m *CbPolicy_ConsecutiveErrConfig) GetConsecutiveErrorToPreserved() *wrapperspb.UInt32Value { + if m != nil { + return m.ConsecutiveErrorToPreserved } return nil } -func (x *RuleMatcher) GetDestination() *RuleMatcher_DestinationService { - if x != nil { - return x.Destination +func (m *CbPolicy_ConsecutiveErrConfig) GetConsecutiveErrorToOpen() *wrapperspb.UInt32Value { + if m != nil { + return m.ConsecutiveErrorToOpen } return nil } -// new specific rule for circuitbreaker config -type CircuitBreakerRule struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - // rule name - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - // namespace of rule - Namespace string `protobuf:"bytes,3,opt,name=namespace,proto3" json:"namespace,omitempty"` - // enable this router - Enable bool `protobuf:"varint,4,opt,name=enable,proto3" json:"enable,omitempty"` - // revision routing version - Revision string `protobuf:"bytes,5,opt,name=revision,proto3" json:"revision,omitempty"` - // ctime create time of the rules - Ctime string `protobuf:"bytes,6,opt,name=ctime,proto3" json:"ctime,omitempty"` - // mtime modify time of the rules - Mtime string `protobuf:"bytes,7,opt,name=mtime,proto3" json:"mtime,omitempty"` - // etime enable time of the rules - Etime string `protobuf:"bytes,8,opt,name=etime,proto3" json:"etime,omitempty"` - // description simple description rules - Description string `protobuf:"bytes,9,opt,name=description,proto3" json:"description,omitempty"` - // the circuitbreaking level - Level Level `protobuf:"varint,21,opt,name=level,proto3,enum=v1.Level" json:"level,omitempty"` - // match condition for this rule - RuleMatcher *RuleMatcher `protobuf:"bytes,22,opt,name=rule_matcher,json=ruleMatcher,proto3" json:"rule_matcher,omitempty"` - // deprecated_filed error conditions to judge an invocation as an error - // - // Deprecated: Marked as deprecated in circuitbreaker.proto. - ErrorConditions []*ErrorCondition `protobuf:"bytes,23,rep,name=error_conditions,json=errorConditions,proto3" json:"error_conditions,omitempty"` - // deprecated_filed trigger condition to trigger circuitbreaking - // - // Deprecated: Marked as deprecated in circuitbreaker.proto. - TriggerCondition []*TriggerCondition `protobuf:"bytes,24,rep,name=trigger_condition,json=triggerCondition,proto3" json:"trigger_condition,omitempty"` - // the maximum % of an upstream cluster that can be ejected - MaxEjectionPercent uint32 `protobuf:"varint,25,opt,name=max_ejection_percent,json=maxEjectionPercent,proto3" json:"max_ejection_percent,omitempty"` - // recover condition to make resource open to close - RecoverCondition *RecoverCondition `protobuf:"bytes,26,opt,name=recoverCondition,proto3" json:"recoverCondition,omitempty"` - // fault detection enable config - FaultDetectConfig *FaultDetectConfig `protobuf:"bytes,27,opt,name=faultDetectConfig,proto3" json:"faultDetectConfig,omitempty"` - // fall back configuration - FallbackConfig *FallbackConfig `protobuf:"bytes,28,opt,name=fallbackConfig,proto3" json:"fallbackConfig,omitempty"` - // list for block configuration - BlockConfigs []*BlockConfig `protobuf:"bytes,29,rep,name=block_configs,proto3" json:"block_configs,omitempty"` - // priority rules priority - Priority uint32 `protobuf:"varint,30,opt,name=priority,proto3" json:"priority,omitempty"` - // 熔断规则标签数据 - Metadata map[string]string `protobuf:"bytes,31,rep,name=metadata,proto3" json:"metadata,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - // 操作标志位 - Editable bool `protobuf:"varint,40,opt,name=editable,proto3" json:"editable,omitempty"` - Deleteable bool `protobuf:"varint,41,opt,name=deleteable,proto3" json:"deleteable,omitempty"` -} - -func (x *CircuitBreakerRule) Reset() { - *x = CircuitBreakerRule{} - if protoimpl.UnsafeEnabled { - mi := &file_circuitbreaker_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +// 目标set的规则 +type DestinationSet struct { + // 被调命名空间以及服务名,可以为*,代表全匹配 + Service *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"` + Namespace *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"` + // 可选,SUBSET标识 + Metadata map[string]*model.MatchString `protobuf:"bytes,3,rep,name=metadata,proto3" json:"metadata,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + Resource DestinationSet_Resource `protobuf:"varint,4,opt,name=resource,proto3,enum=v1.DestinationSet_Resource" json:"resource,omitempty"` + Type DestinationSet_Type `protobuf:"varint,5,opt,name=type,proto3,enum=v1.DestinationSet_Type" json:"type,omitempty"` + Scope DestinationSet_Scope `protobuf:"varint,6,opt,name=scope,proto3,enum=v1.DestinationSet_Scope" json:"scope,omitempty"` + // 熔断数据度量周期 + // 所有的阈值指标按此周期进行统计 + MetricWindow *durationpb.Duration `protobuf:"bytes,7,opt,name=metricWindow,proto3" json:"metricWindow,omitempty"` + // 熔断数据统计精度,决定数据度量的最小周期 + // 度量滑窗的步长=window/precision + MetricPrecision *wrapperspb.UInt32Value `protobuf:"bytes,8,opt,name=metricPrecision,proto3" json:"metricPrecision,omitempty"` + // 熔断数据上报周期,对分布式熔断有效 + UpdateInterval *durationpb.Duration `protobuf:"bytes,9,opt,name=updateInterval,proto3" json:"updateInterval,omitempty"` + // 触发熔断后恢复配置 + Recover *RecoverConfig `protobuf:"bytes,10,opt,name=recover,proto3" json:"recover,omitempty"` + // 熔断策略 + Policy *CbPolicy `protobuf:"bytes,11,opt,name=policy,proto3" json:"policy,omitempty"` + // 被调的接口信息,指定哪些接口会使用该规则 + Method *model.MatchString `protobuf:"bytes,12,opt,name=method,proto3" json:"method,omitempty"` + // 返回码,指定哪些返回码会使用该规则 + ErrorCodes []*wrapperspb.Int64Value `protobuf:"bytes,13,rep,name=errorCodes,proto3" json:"errorCodes,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *CircuitBreakerRule) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *DestinationSet) Reset() { *m = DestinationSet{} } +func (m *DestinationSet) String() string { return proto.CompactTextString(m) } +func (*DestinationSet) ProtoMessage() {} +func (*DestinationSet) Descriptor() ([]byte, []int) { + return fileDescriptor_circuitbreaker_43b6ff9ae3c12c7a, []int{4} } - -func (*CircuitBreakerRule) ProtoMessage() {} - -func (x *CircuitBreakerRule) ProtoReflect() protoreflect.Message { - mi := &file_circuitbreaker_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) +func (m *DestinationSet) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DestinationSet.Unmarshal(m, b) } - -// Deprecated: Use CircuitBreakerRule.ProtoReflect.Descriptor instead. -func (*CircuitBreakerRule) Descriptor() ([]byte, []int) { - return file_circuitbreaker_proto_rawDescGZIP(), []int{7} +func (m *DestinationSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DestinationSet.Marshal(b, m, deterministic) } - -func (x *CircuitBreakerRule) GetId() string { - if x != nil { - return x.Id - } - return "" +func (dst *DestinationSet) XXX_Merge(src proto.Message) { + xxx_messageInfo_DestinationSet.Merge(dst, src) } - -func (x *CircuitBreakerRule) GetName() string { - if x != nil { - return x.Name - } - return "" +func (m *DestinationSet) XXX_Size() int { + return xxx_messageInfo_DestinationSet.Size(m) } - -func (x *CircuitBreakerRule) GetNamespace() string { - if x != nil { - return x.Namespace - } - return "" +func (m *DestinationSet) XXX_DiscardUnknown() { + xxx_messageInfo_DestinationSet.DiscardUnknown(m) } -func (x *CircuitBreakerRule) GetEnable() bool { - if x != nil { - return x.Enable - } - return false -} +var xxx_messageInfo_DestinationSet proto.InternalMessageInfo -func (x *CircuitBreakerRule) GetRevision() string { - if x != nil { - return x.Revision +func (m *DestinationSet) GetService() *wrapperspb.StringValue { + if m != nil { + return m.Service } - return "" + return nil } -func (x *CircuitBreakerRule) GetCtime() string { - if x != nil { - return x.Ctime +func (m *DestinationSet) GetNamespace() *wrapperspb.StringValue { + if m != nil { + return m.Namespace } - return "" + return nil } -func (x *CircuitBreakerRule) GetMtime() string { - if x != nil { - return x.Mtime +func (m *DestinationSet) GetMetadata() map[string]*model.MatchString { + if m != nil { + return m.Metadata } - return "" + return nil } -func (x *CircuitBreakerRule) GetEtime() string { - if x != nil { - return x.Etime +func (m *DestinationSet) GetResource() DestinationSet_Resource { + if m != nil { + return m.Resource } - return "" + return DestinationSet_SUBSET } -func (x *CircuitBreakerRule) GetDescription() string { - if x != nil { - return x.Description +func (m *DestinationSet) GetType() DestinationSet_Type { + if m != nil { + return m.Type } - return "" + return DestinationSet_GLOBAL } -func (x *CircuitBreakerRule) GetLevel() Level { - if x != nil { - return x.Level +func (m *DestinationSet) GetScope() DestinationSet_Scope { + if m != nil { + return m.Scope } - return Level_UNKNOWN + return DestinationSet_ALL } -func (x *CircuitBreakerRule) GetRuleMatcher() *RuleMatcher { - if x != nil { - return x.RuleMatcher +func (m *DestinationSet) GetMetricWindow() *durationpb.Duration { + if m != nil { + return m.MetricWindow } return nil } -// Deprecated: Marked as deprecated in circuitbreaker.proto. -func (x *CircuitBreakerRule) GetErrorConditions() []*ErrorCondition { - if x != nil { - return x.ErrorConditions +func (m *DestinationSet) GetMetricPrecision() *wrapperspb.UInt32Value { + if m != nil { + return m.MetricPrecision } return nil } -// Deprecated: Marked as deprecated in circuitbreaker.proto. -func (x *CircuitBreakerRule) GetTriggerCondition() []*TriggerCondition { - if x != nil { - return x.TriggerCondition +func (m *DestinationSet) GetUpdateInterval() *durationpb.Duration { + if m != nil { + return m.UpdateInterval } return nil } -func (x *CircuitBreakerRule) GetMaxEjectionPercent() uint32 { - if x != nil { - return x.MaxEjectionPercent +func (m *DestinationSet) GetRecover() *RecoverConfig { + if m != nil { + return m.Recover } - return 0 + return nil } -func (x *CircuitBreakerRule) GetRecoverCondition() *RecoverCondition { - if x != nil { - return x.RecoverCondition +func (m *DestinationSet) GetPolicy() *CbPolicy { + if m != nil { + return m.Policy } return nil } -func (x *CircuitBreakerRule) GetFaultDetectConfig() *FaultDetectConfig { - if x != nil { - return x.FaultDetectConfig +func (m *DestinationSet) GetMethod() *model.MatchString { + if m != nil { + return m.Method } return nil } -func (x *CircuitBreakerRule) GetFallbackConfig() *FallbackConfig { - if x != nil { - return x.FallbackConfig +func (m *DestinationSet) GetErrorCodes() []*wrapperspb.Int64Value { + if m != nil { + return m.ErrorCodes } return nil } -func (x *CircuitBreakerRule) GetBlockConfigs() []*BlockConfig { - if x != nil { - return x.BlockConfigs - } - return nil +// 具体熔断规则 +type CbRule struct { + // 如果匹配Source规则,按照Destination进行熔断 + // 多个Source之间的关系为或 + Sources []*SourceMatcher `protobuf:"bytes,1,rep,name=sources,proto3" json:"sources,omitempty"` + Destinations []*DestinationSet `protobuf:"bytes,2,rep,name=destinations,proto3" json:"destinations,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *CircuitBreakerRule) GetPriority() uint32 { - if x != nil { - return x.Priority - } - return 0 +func (m *CbRule) Reset() { *m = CbRule{} } +func (m *CbRule) String() string { return proto.CompactTextString(m) } +func (*CbRule) ProtoMessage() {} +func (*CbRule) Descriptor() ([]byte, []int) { + return fileDescriptor_circuitbreaker_43b6ff9ae3c12c7a, []int{5} +} +func (m *CbRule) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CbRule.Unmarshal(m, b) +} +func (m *CbRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CbRule.Marshal(b, m, deterministic) +} +func (dst *CbRule) XXX_Merge(src proto.Message) { + xxx_messageInfo_CbRule.Merge(dst, src) +} +func (m *CbRule) XXX_Size() int { + return xxx_messageInfo_CbRule.Size(m) +} +func (m *CbRule) XXX_DiscardUnknown() { + xxx_messageInfo_CbRule.DiscardUnknown(m) } -func (x *CircuitBreakerRule) GetMetadata() map[string]string { - if x != nil { - return x.Metadata +var xxx_messageInfo_CbRule proto.InternalMessageInfo + +func (m *CbRule) GetSources() []*SourceMatcher { + if m != nil { + return m.Sources } return nil } -func (x *CircuitBreakerRule) GetEditable() bool { - if x != nil { - return x.Editable +func (m *CbRule) GetDestinations() []*DestinationSet { + if m != nil { + return m.Destinations } - return false + return nil } -func (x *CircuitBreakerRule) GetDeleteable() bool { - if x != nil { - return x.Deleteable - } - return false +type RuleMatcher struct { + Source *RuleMatcher_SourceService `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"` + Destination *RuleMatcher_DestinationService `protobuf:"bytes,2,opt,name=destination,proto3" json:"destination,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -// the condition to judge an input invocation as an error -type ErrorCondition struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - InputType ErrorCondition_InputType `protobuf:"varint,1,opt,name=input_type,json=inputType,proto3,enum=v1.ErrorCondition_InputType" json:"input_type,omitempty"` - Condition *model.MatchString `protobuf:"bytes,2,opt,name=condition,proto3" json:"condition,omitempty"` +func (m *RuleMatcher) Reset() { *m = RuleMatcher{} } +func (m *RuleMatcher) String() string { return proto.CompactTextString(m) } +func (*RuleMatcher) ProtoMessage() {} +func (*RuleMatcher) Descriptor() ([]byte, []int) { + return fileDescriptor_circuitbreaker_43b6ff9ae3c12c7a, []int{6} } - -func (x *ErrorCondition) Reset() { - *x = ErrorCondition{} - if protoimpl.UnsafeEnabled { - mi := &file_circuitbreaker_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *RuleMatcher) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RuleMatcher.Unmarshal(m, b) } - -func (x *ErrorCondition) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *RuleMatcher) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RuleMatcher.Marshal(b, m, deterministic) } - -func (*ErrorCondition) ProtoMessage() {} - -func (x *ErrorCondition) ProtoReflect() protoreflect.Message { - mi := &file_circuitbreaker_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) +func (dst *RuleMatcher) XXX_Merge(src proto.Message) { + xxx_messageInfo_RuleMatcher.Merge(dst, src) } - -// Deprecated: Use ErrorCondition.ProtoReflect.Descriptor instead. -func (*ErrorCondition) Descriptor() ([]byte, []int) { - return file_circuitbreaker_proto_rawDescGZIP(), []int{8} +func (m *RuleMatcher) XXX_Size() int { + return xxx_messageInfo_RuleMatcher.Size(m) } +func (m *RuleMatcher) XXX_DiscardUnknown() { + xxx_messageInfo_RuleMatcher.DiscardUnknown(m) +} + +var xxx_messageInfo_RuleMatcher proto.InternalMessageInfo -func (x *ErrorCondition) GetInputType() ErrorCondition_InputType { - if x != nil { - return x.InputType +func (m *RuleMatcher) GetSource() *RuleMatcher_SourceService { + if m != nil { + return m.Source } - return ErrorCondition_UNKNOWN + return nil } -func (x *ErrorCondition) GetCondition() *model.MatchString { - if x != nil { - return x.Condition +func (m *RuleMatcher) GetDestination() *RuleMatcher_DestinationService { + if m != nil { + return m.Destination } return nil } -// the error condition to trigger circuitbreaking -type TriggerCondition struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - TriggerType TriggerCondition_TriggerType `protobuf:"varint,1,opt,name=trigger_type,json=triggerType,proto3,enum=v1.TriggerCondition_TriggerType" json:"trigger_type,omitempty"` - ErrorCount uint32 `protobuf:"varint,2,opt,name=error_count,json=errorCount,proto3" json:"error_count,omitempty"` - ErrorPercent uint32 `protobuf:"varint,3,opt,name=error_percent,json=errorPercent,proto3" json:"error_percent,omitempty"` - Interval uint32 `protobuf:"varint,4,opt,name=interval,proto3" json:"interval,omitempty"` - MinimumRequest uint32 `protobuf:"varint,5,opt,name=minimum_request,json=minimumRequest,proto3" json:"minimum_request,omitempty"` +type RuleMatcher_SourceService struct { + Service string `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"` + Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *TriggerCondition) Reset() { - *x = TriggerCondition{} - if protoimpl.UnsafeEnabled { - mi := &file_circuitbreaker_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *RuleMatcher_SourceService) Reset() { *m = RuleMatcher_SourceService{} } +func (m *RuleMatcher_SourceService) String() string { return proto.CompactTextString(m) } +func (*RuleMatcher_SourceService) ProtoMessage() {} +func (*RuleMatcher_SourceService) Descriptor() ([]byte, []int) { + return fileDescriptor_circuitbreaker_43b6ff9ae3c12c7a, []int{6, 0} } - -func (x *TriggerCondition) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *RuleMatcher_SourceService) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RuleMatcher_SourceService.Unmarshal(m, b) } - -func (*TriggerCondition) ProtoMessage() {} - -func (x *TriggerCondition) ProtoReflect() protoreflect.Message { - mi := &file_circuitbreaker_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *RuleMatcher_SourceService) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RuleMatcher_SourceService.Marshal(b, m, deterministic) } - -// Deprecated: Use TriggerCondition.ProtoReflect.Descriptor instead. -func (*TriggerCondition) Descriptor() ([]byte, []int) { - return file_circuitbreaker_proto_rawDescGZIP(), []int{9} +func (dst *RuleMatcher_SourceService) XXX_Merge(src proto.Message) { + xxx_messageInfo_RuleMatcher_SourceService.Merge(dst, src) } - -func (x *TriggerCondition) GetTriggerType() TriggerCondition_TriggerType { - if x != nil { - return x.TriggerType - } - return TriggerCondition_UNKNOWN +func (m *RuleMatcher_SourceService) XXX_Size() int { + return xxx_messageInfo_RuleMatcher_SourceService.Size(m) } - -func (x *TriggerCondition) GetErrorCount() uint32 { - if x != nil { - return x.ErrorCount - } - return 0 +func (m *RuleMatcher_SourceService) XXX_DiscardUnknown() { + xxx_messageInfo_RuleMatcher_SourceService.DiscardUnknown(m) } -func (x *TriggerCondition) GetErrorPercent() uint32 { - if x != nil { - return x.ErrorPercent - } - return 0 -} +var xxx_messageInfo_RuleMatcher_SourceService proto.InternalMessageInfo -func (x *TriggerCondition) GetInterval() uint32 { - if x != nil { - return x.Interval +func (m *RuleMatcher_SourceService) GetService() string { + if m != nil { + return m.Service } - return 0 + return "" } -func (x *TriggerCondition) GetMinimumRequest() uint32 { - if x != nil { - return x.MinimumRequest +func (m *RuleMatcher_SourceService) GetNamespace() string { + if m != nil { + return m.Namespace } - return 0 + return "" } -// circuitbreaking OPEN status recover -type RecoverCondition struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // seconds from open to half-open - SleepWindow uint32 `protobuf:"varint,1,opt,name=sleep_window,json=sleepWindow,proto3" json:"sleep_window,omitempty"` - // consecutive success request to recover - ConsecutiveSuccess uint32 `protobuf:"varint,2,opt,name=consecutiveSuccess,proto3" json:"consecutiveSuccess,omitempty"` +type RuleMatcher_DestinationService struct { + Service string `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"` + Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"` + // deprecated_filed using api.path in blockConfig instead + Method *model.MatchString `protobuf:"bytes,3,opt,name=method,proto3" json:"method,omitempty"` // Deprecated: Do not use. + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *RecoverCondition) Reset() { - *x = RecoverCondition{} - if protoimpl.UnsafeEnabled { - mi := &file_circuitbreaker_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *RuleMatcher_DestinationService) Reset() { *m = RuleMatcher_DestinationService{} } +func (m *RuleMatcher_DestinationService) String() string { return proto.CompactTextString(m) } +func (*RuleMatcher_DestinationService) ProtoMessage() {} +func (*RuleMatcher_DestinationService) Descriptor() ([]byte, []int) { + return fileDescriptor_circuitbreaker_43b6ff9ae3c12c7a, []int{6, 1} } - -func (x *RecoverCondition) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *RuleMatcher_DestinationService) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RuleMatcher_DestinationService.Unmarshal(m, b) +} +func (m *RuleMatcher_DestinationService) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RuleMatcher_DestinationService.Marshal(b, m, deterministic) +} +func (dst *RuleMatcher_DestinationService) XXX_Merge(src proto.Message) { + xxx_messageInfo_RuleMatcher_DestinationService.Merge(dst, src) +} +func (m *RuleMatcher_DestinationService) XXX_Size() int { + return xxx_messageInfo_RuleMatcher_DestinationService.Size(m) +} +func (m *RuleMatcher_DestinationService) XXX_DiscardUnknown() { + xxx_messageInfo_RuleMatcher_DestinationService.DiscardUnknown(m) } -func (*RecoverCondition) ProtoMessage() {} +var xxx_messageInfo_RuleMatcher_DestinationService proto.InternalMessageInfo -func (x *RecoverCondition) ProtoReflect() protoreflect.Message { - mi := &file_circuitbreaker_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms +func (m *RuleMatcher_DestinationService) GetService() string { + if m != nil { + return m.Service } - return mi.MessageOf(x) -} - -// Deprecated: Use RecoverCondition.ProtoReflect.Descriptor instead. -func (*RecoverCondition) Descriptor() ([]byte, []int) { - return file_circuitbreaker_proto_rawDescGZIP(), []int{10} + return "" } -func (x *RecoverCondition) GetSleepWindow() uint32 { - if x != nil { - return x.SleepWindow +func (m *RuleMatcher_DestinationService) GetNamespace() string { + if m != nil { + return m.Namespace } - return 0 + return "" } -func (x *RecoverCondition) GetConsecutiveSuccess() uint32 { - if x != nil { - return x.ConsecutiveSuccess +// Deprecated: Do not use. +func (m *RuleMatcher_DestinationService) GetMethod() *model.MatchString { + if m != nil { + return m.Method } - return 0 + return nil } -// fault detect config within circuitbreaking -type FaultDetectConfig struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Enable bool `protobuf:"varint,1,opt,name=enable,proto3" json:"enable,omitempty"` +// new specific rule for circuitbreaker config +type CircuitBreakerRule struct { + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + // rule name + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + // namespace of rule + Namespace string `protobuf:"bytes,3,opt,name=namespace,proto3" json:"namespace,omitempty"` + // enable this router + Enable bool `protobuf:"varint,4,opt,name=enable,proto3" json:"enable,omitempty"` + // revision routing version + Revision string `protobuf:"bytes,5,opt,name=revision,proto3" json:"revision,omitempty"` + // ctime create time of the rules + Ctime string `protobuf:"bytes,6,opt,name=ctime,proto3" json:"ctime,omitempty"` + // mtime modify time of the rules + Mtime string `protobuf:"bytes,7,opt,name=mtime,proto3" json:"mtime,omitempty"` + // etime enable time of the rules + Etime string `protobuf:"bytes,8,opt,name=etime,proto3" json:"etime,omitempty"` + // description simple description rules + Description string `protobuf:"bytes,9,opt,name=description,proto3" json:"description,omitempty"` + // the circuitbreaking level + Level Level `protobuf:"varint,21,opt,name=level,proto3,enum=v1.Level" json:"level,omitempty"` + // match condition for this rule + RuleMatcher *RuleMatcher `protobuf:"bytes,22,opt,name=rule_matcher,json=ruleMatcher,proto3" json:"rule_matcher,omitempty"` + // deprecated_filed error conditions to judge an invocation as an error + ErrorConditions []*ErrorCondition `protobuf:"bytes,23,rep,name=error_conditions,json=errorConditions,proto3" json:"error_conditions,omitempty"` // Deprecated: Do not use. + // deprecated_filed trigger condition to trigger circuitbreaking + TriggerCondition []*TriggerCondition `protobuf:"bytes,24,rep,name=trigger_condition,json=triggerCondition,proto3" json:"trigger_condition,omitempty"` // Deprecated: Do not use. + // the maximum % of an upstream cluster that can be ejected + MaxEjectionPercent uint32 `protobuf:"varint,25,opt,name=max_ejection_percent,json=maxEjectionPercent,proto3" json:"max_ejection_percent,omitempty"` + // recover condition to make resource open to close + RecoverCondition *RecoverCondition `protobuf:"bytes,26,opt,name=recoverCondition,proto3" json:"recoverCondition,omitempty"` + // fault detection enable config + FaultDetectConfig *FaultDetectConfig `protobuf:"bytes,27,opt,name=faultDetectConfig,proto3" json:"faultDetectConfig,omitempty"` + // fall back configuration + FallbackConfig *FallbackConfig `protobuf:"bytes,28,opt,name=fallbackConfig,proto3" json:"fallbackConfig,omitempty"` + // list for block configuration + BlockConfigs []*BlockConfig `protobuf:"bytes,29,rep,name=block_configs,proto3" json:"block_configs,omitempty"` + // priority rules priority + Priority uint32 `protobuf:"varint,30,opt,name=priority,proto3" json:"priority,omitempty"` + // 熔断规则标签数据 + Metadata map[string]string `protobuf:"bytes,31,rep,name=metadata,proto3" json:"metadata,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + // 操作标志位 + Editable bool `protobuf:"varint,40,opt,name=editable,proto3" json:"editable,omitempty"` + Deleteable bool `protobuf:"varint,41,opt,name=deleteable,proto3" json:"deleteable,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *FaultDetectConfig) Reset() { - *x = FaultDetectConfig{} - if protoimpl.UnsafeEnabled { - mi := &file_circuitbreaker_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *CircuitBreakerRule) Reset() { *m = CircuitBreakerRule{} } +func (m *CircuitBreakerRule) String() string { return proto.CompactTextString(m) } +func (*CircuitBreakerRule) ProtoMessage() {} +func (*CircuitBreakerRule) Descriptor() ([]byte, []int) { + return fileDescriptor_circuitbreaker_43b6ff9ae3c12c7a, []int{7} } - -func (x *FaultDetectConfig) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *CircuitBreakerRule) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CircuitBreakerRule.Unmarshal(m, b) +} +func (m *CircuitBreakerRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CircuitBreakerRule.Marshal(b, m, deterministic) +} +func (dst *CircuitBreakerRule) XXX_Merge(src proto.Message) { + xxx_messageInfo_CircuitBreakerRule.Merge(dst, src) +} +func (m *CircuitBreakerRule) XXX_Size() int { + return xxx_messageInfo_CircuitBreakerRule.Size(m) +} +func (m *CircuitBreakerRule) XXX_DiscardUnknown() { + xxx_messageInfo_CircuitBreakerRule.DiscardUnknown(m) } -func (*FaultDetectConfig) ProtoMessage() {} +var xxx_messageInfo_CircuitBreakerRule proto.InternalMessageInfo -func (x *FaultDetectConfig) ProtoReflect() protoreflect.Message { - mi := &file_circuitbreaker_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms +func (m *CircuitBreakerRule) GetId() string { + if m != nil { + return m.Id } - return mi.MessageOf(x) + return "" } -// Deprecated: Use FaultDetectConfig.ProtoReflect.Descriptor instead. -func (*FaultDetectConfig) Descriptor() ([]byte, []int) { - return file_circuitbreaker_proto_rawDescGZIP(), []int{11} +func (m *CircuitBreakerRule) GetName() string { + if m != nil { + return m.Name + } + return "" } -func (x *FaultDetectConfig) GetEnable() bool { - if x != nil { - return x.Enable +func (m *CircuitBreakerRule) GetNamespace() string { + if m != nil { + return m.Namespace } - return false + return "" } -// blocking strategy -type BlockConfig struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // blocking target api - Api *model.API `protobuf:"bytes,2,opt,name=api,proto3" json:"api,omitempty"` - // conditions to judge an invocation as an error - ErrorConditions []*ErrorCondition `protobuf:"bytes,3,rep,name=error_conditions,proto3" json:"error_conditions,omitempty"` - // trigger condition to trigger circuitbreaking - TriggerConditions []*TriggerCondition `protobuf:"bytes,4,rep,name=trigger_conditions,proto3" json:"trigger_conditions,omitempty"` +func (m *CircuitBreakerRule) GetEnable() bool { + if m != nil { + return m.Enable + } + return false } -func (x *BlockConfig) Reset() { - *x = BlockConfig{} - if protoimpl.UnsafeEnabled { - mi := &file_circuitbreaker_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) +func (m *CircuitBreakerRule) GetRevision() string { + if m != nil { + return m.Revision } + return "" } -func (x *BlockConfig) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *CircuitBreakerRule) GetCtime() string { + if m != nil { + return m.Ctime + } + return "" } -func (*BlockConfig) ProtoMessage() {} - -func (x *BlockConfig) ProtoReflect() protoreflect.Message { - mi := &file_circuitbreaker_proto_msgTypes[12] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms +func (m *CircuitBreakerRule) GetMtime() string { + if m != nil { + return m.Mtime } - return mi.MessageOf(x) + return "" } -// Deprecated: Use BlockConfig.ProtoReflect.Descriptor instead. -func (*BlockConfig) Descriptor() ([]byte, []int) { - return file_circuitbreaker_proto_rawDescGZIP(), []int{12} +func (m *CircuitBreakerRule) GetEtime() string { + if m != nil { + return m.Etime + } + return "" } -func (x *BlockConfig) GetName() string { - if x != nil { - return x.Name +func (m *CircuitBreakerRule) GetDescription() string { + if m != nil { + return m.Description } return "" } -func (x *BlockConfig) GetApi() *model.API { - if x != nil { - return x.Api +func (m *CircuitBreakerRule) GetLevel() Level { + if m != nil { + return m.Level } - return nil + return Level_UNKNOWN } -func (x *BlockConfig) GetErrorConditions() []*ErrorCondition { - if x != nil { - return x.ErrorConditions +func (m *CircuitBreakerRule) GetRuleMatcher() *RuleMatcher { + if m != nil { + return m.RuleMatcher } return nil } -func (x *BlockConfig) GetTriggerConditions() []*TriggerCondition { - if x != nil { - return x.TriggerConditions +// Deprecated: Do not use. +func (m *CircuitBreakerRule) GetErrorConditions() []*ErrorCondition { + if m != nil { + return m.ErrorConditions } return nil } -// fallback config -type FallbackConfig struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Enable bool `protobuf:"varint,1,opt,name=enable,proto3" json:"enable,omitempty"` - Response *FallbackResponse `protobuf:"bytes,2,opt,name=response,proto3" json:"response,omitempty"` +// Deprecated: Do not use. +func (m *CircuitBreakerRule) GetTriggerCondition() []*TriggerCondition { + if m != nil { + return m.TriggerCondition + } + return nil } -func (x *FallbackConfig) Reset() { - *x = FallbackConfig{} - if protoimpl.UnsafeEnabled { - mi := &file_circuitbreaker_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) +func (m *CircuitBreakerRule) GetMaxEjectionPercent() uint32 { + if m != nil { + return m.MaxEjectionPercent } + return 0 } -func (x *FallbackConfig) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *CircuitBreakerRule) GetRecoverCondition() *RecoverCondition { + if m != nil { + return m.RecoverCondition + } + return nil } -func (*FallbackConfig) ProtoMessage() {} +func (m *CircuitBreakerRule) GetFaultDetectConfig() *FaultDetectConfig { + if m != nil { + return m.FaultDetectConfig + } + return nil +} -func (x *FallbackConfig) ProtoReflect() protoreflect.Message { - mi := &file_circuitbreaker_proto_msgTypes[13] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms +func (m *CircuitBreakerRule) GetFallbackConfig() *FallbackConfig { + if m != nil { + return m.FallbackConfig } - return mi.MessageOf(x) + return nil } -// Deprecated: Use FallbackConfig.ProtoReflect.Descriptor instead. -func (*FallbackConfig) Descriptor() ([]byte, []int) { - return file_circuitbreaker_proto_rawDescGZIP(), []int{13} +func (m *CircuitBreakerRule) GetBlockConfigs() []*BlockConfig { + if m != nil { + return m.BlockConfigs + } + return nil } -func (x *FallbackConfig) GetEnable() bool { - if x != nil { - return x.Enable +func (m *CircuitBreakerRule) GetPriority() uint32 { + if m != nil { + return m.Priority } - return false + return 0 } -func (x *FallbackConfig) GetResponse() *FallbackResponse { - if x != nil { - return x.Response +func (m *CircuitBreakerRule) GetMetadata() map[string]string { + if m != nil { + return m.Metadata } return nil } -// fallback response -type FallbackResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` - Headers []*FallbackResponse_MessageHeader `protobuf:"bytes,2,rep,name=headers,proto3" json:"headers,omitempty"` - Body string `protobuf:"bytes,3,opt,name=body,proto3" json:"body,omitempty"` +func (m *CircuitBreakerRule) GetEditable() bool { + if m != nil { + return m.Editable + } + return false } -func (x *FallbackResponse) Reset() { - *x = FallbackResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_circuitbreaker_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) +func (m *CircuitBreakerRule) GetDeleteable() bool { + if m != nil { + return m.Deleteable } + return false } -func (x *FallbackResponse) String() string { - return protoimpl.X.MessageStringOf(x) +// the condition to judge an input invocation as an error +type ErrorCondition struct { + InputType ErrorCondition_InputType `protobuf:"varint,1,opt,name=input_type,json=inputType,proto3,enum=v1.ErrorCondition_InputType" json:"input_type,omitempty"` + Condition *model.MatchString `protobuf:"bytes,2,opt,name=condition,proto3" json:"condition,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (*FallbackResponse) ProtoMessage() {} - -func (x *FallbackResponse) ProtoReflect() protoreflect.Message { - mi := &file_circuitbreaker_proto_msgTypes[14] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *ErrorCondition) Reset() { *m = ErrorCondition{} } +func (m *ErrorCondition) String() string { return proto.CompactTextString(m) } +func (*ErrorCondition) ProtoMessage() {} +func (*ErrorCondition) Descriptor() ([]byte, []int) { + return fileDescriptor_circuitbreaker_43b6ff9ae3c12c7a, []int{8} } - -// Deprecated: Use FallbackResponse.ProtoReflect.Descriptor instead. -func (*FallbackResponse) Descriptor() ([]byte, []int) { - return file_circuitbreaker_proto_rawDescGZIP(), []int{14} +func (m *ErrorCondition) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ErrorCondition.Unmarshal(m, b) +} +func (m *ErrorCondition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ErrorCondition.Marshal(b, m, deterministic) +} +func (dst *ErrorCondition) XXX_Merge(src proto.Message) { + xxx_messageInfo_ErrorCondition.Merge(dst, src) +} +func (m *ErrorCondition) XXX_Size() int { + return xxx_messageInfo_ErrorCondition.Size(m) } +func (m *ErrorCondition) XXX_DiscardUnknown() { + xxx_messageInfo_ErrorCondition.DiscardUnknown(m) +} + +var xxx_messageInfo_ErrorCondition proto.InternalMessageInfo -func (x *FallbackResponse) GetCode() int32 { - if x != nil { - return x.Code +func (m *ErrorCondition) GetInputType() ErrorCondition_InputType { + if m != nil { + return m.InputType } - return 0 + return ErrorCondition_UNKNOWN } -func (x *FallbackResponse) GetHeaders() []*FallbackResponse_MessageHeader { - if x != nil { - return x.Headers +func (m *ErrorCondition) GetCondition() *model.MatchString { + if m != nil { + return m.Condition } return nil } -func (x *FallbackResponse) GetBody() string { - if x != nil { - return x.Body - } - return "" +// the error condition to trigger circuitbreaking +type TriggerCondition struct { + TriggerType TriggerCondition_TriggerType `protobuf:"varint,1,opt,name=trigger_type,json=triggerType,proto3,enum=v1.TriggerCondition_TriggerType" json:"trigger_type,omitempty"` + ErrorCount uint32 `protobuf:"varint,2,opt,name=error_count,json=errorCount,proto3" json:"error_count,omitempty"` + ErrorPercent uint32 `protobuf:"varint,3,opt,name=error_percent,json=errorPercent,proto3" json:"error_percent,omitempty"` + Interval uint32 `protobuf:"varint,4,opt,name=interval,proto3" json:"interval,omitempty"` + MinimumRequest uint32 `protobuf:"varint,5,opt,name=minimum_request,json=minimumRequest,proto3" json:"minimum_request,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *TriggerCondition) Reset() { *m = TriggerCondition{} } +func (m *TriggerCondition) String() string { return proto.CompactTextString(m) } +func (*TriggerCondition) ProtoMessage() {} +func (*TriggerCondition) Descriptor() ([]byte, []int) { + return fileDescriptor_circuitbreaker_43b6ff9ae3c12c7a, []int{9} } - -// 错误率熔断配置 -type CbPolicy_ErrRateConfig struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - //是否启用错误率配置 - Enable *wrapperspb.BoolValue `protobuf:"bytes,1,opt,name=enable,proto3" json:"enable,omitempty"` - // 触发错误率熔断的最低请求阈值 - RequestVolumeThreshold *wrapperspb.UInt32Value `protobuf:"bytes,2,opt,name=requestVolumeThreshold,proto3" json:"requestVolumeThreshold,omitempty"` - // 可选。触发保持状态的错误率阈值,假如不配置,则默认不会进入Preserved状态 - ErrorRateToPreserved *wrapperspb.UInt32Value `protobuf:"bytes,3,opt,name=errorRateToPreserved,proto3" json:"errorRateToPreserved,omitempty"` - // 触发熔断的错误率阈值 - ErrorRateToOpen *wrapperspb.UInt32Value `protobuf:"bytes,4,opt,name=errorRateToOpen,proto3" json:"errorRateToOpen,omitempty"` - Specials []*CbPolicy_ErrRateConfig_SpecialConfig `protobuf:"bytes,5,rep,name=specials,proto3" json:"specials,omitempty"` +func (m *TriggerCondition) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_TriggerCondition.Unmarshal(m, b) } - -func (x *CbPolicy_ErrRateConfig) Reset() { - *x = CbPolicy_ErrRateConfig{} - if protoimpl.UnsafeEnabled { - mi := &file_circuitbreaker_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *TriggerCondition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_TriggerCondition.Marshal(b, m, deterministic) } - -func (x *CbPolicy_ErrRateConfig) String() string { - return protoimpl.X.MessageStringOf(x) +func (dst *TriggerCondition) XXX_Merge(src proto.Message) { + xxx_messageInfo_TriggerCondition.Merge(dst, src) } - -func (*CbPolicy_ErrRateConfig) ProtoMessage() {} - -func (x *CbPolicy_ErrRateConfig) ProtoReflect() protoreflect.Message { - mi := &file_circuitbreaker_proto_msgTypes[16] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *TriggerCondition) XXX_Size() int { + return xxx_messageInfo_TriggerCondition.Size(m) } - -// Deprecated: Use CbPolicy_ErrRateConfig.ProtoReflect.Descriptor instead. -func (*CbPolicy_ErrRateConfig) Descriptor() ([]byte, []int) { - return file_circuitbreaker_proto_rawDescGZIP(), []int{3, 0} +func (m *TriggerCondition) XXX_DiscardUnknown() { + xxx_messageInfo_TriggerCondition.DiscardUnknown(m) } -func (x *CbPolicy_ErrRateConfig) GetEnable() *wrapperspb.BoolValue { - if x != nil { - return x.Enable +var xxx_messageInfo_TriggerCondition proto.InternalMessageInfo + +func (m *TriggerCondition) GetTriggerType() TriggerCondition_TriggerType { + if m != nil { + return m.TriggerType } - return nil + return TriggerCondition_UNKNOWN } -func (x *CbPolicy_ErrRateConfig) GetRequestVolumeThreshold() *wrapperspb.UInt32Value { - if x != nil { - return x.RequestVolumeThreshold +func (m *TriggerCondition) GetErrorCount() uint32 { + if m != nil { + return m.ErrorCount } - return nil + return 0 } -func (x *CbPolicy_ErrRateConfig) GetErrorRateToPreserved() *wrapperspb.UInt32Value { - if x != nil { - return x.ErrorRateToPreserved +func (m *TriggerCondition) GetErrorPercent() uint32 { + if m != nil { + return m.ErrorPercent } - return nil + return 0 } -func (x *CbPolicy_ErrRateConfig) GetErrorRateToOpen() *wrapperspb.UInt32Value { - if x != nil { - return x.ErrorRateToOpen +func (m *TriggerCondition) GetInterval() uint32 { + if m != nil { + return m.Interval } - return nil + return 0 } -func (x *CbPolicy_ErrRateConfig) GetSpecials() []*CbPolicy_ErrRateConfig_SpecialConfig { - if x != nil { - return x.Specials +func (m *TriggerCondition) GetMinimumRequest() uint32 { + if m != nil { + return m.MinimumRequest } - return nil + return 0 } -// 慢调用率熔断策略配置 -type CbPolicy_SlowRateConfig struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // 是否启用慢调用率配置 - Enable *wrapperspb.BoolValue `protobuf:"bytes,1,opt,name=enable,proto3" json:"enable,omitempty"` - // 最大响应时间,超过该时间属于慢调用请求 - MaxRt *durationpb.Duration `protobuf:"bytes,2,opt,name=maxRt,proto3" json:"maxRt,omitempty"` - // 可选。触发保持状态的超时率阈值,假如不配置,则默认不会进入Preserved状态 - SlowRateToPreserved *wrapperspb.UInt32Value `protobuf:"bytes,3,opt,name=slowRateToPreserved,proto3" json:"slowRateToPreserved,omitempty"` - // 触发熔断的超时率阈值 - SlowRateToOpen *wrapperspb.UInt32Value `protobuf:"bytes,4,opt,name=slowRateToOpen,proto3" json:"slowRateToOpen,omitempty"` +// circuitbreaking OPEN status recover +type RecoverCondition struct { + // seconds from open to half-open + SleepWindow uint32 `protobuf:"varint,1,opt,name=sleep_window,json=sleepWindow,proto3" json:"sleep_window,omitempty"` + // consecutive success request to recover + ConsecutiveSuccess uint32 `protobuf:"varint,2,opt,name=consecutiveSuccess,proto3" json:"consecutiveSuccess,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *CbPolicy_SlowRateConfig) Reset() { - *x = CbPolicy_SlowRateConfig{} - if protoimpl.UnsafeEnabled { - mi := &file_circuitbreaker_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *RecoverCondition) Reset() { *m = RecoverCondition{} } +func (m *RecoverCondition) String() string { return proto.CompactTextString(m) } +func (*RecoverCondition) ProtoMessage() {} +func (*RecoverCondition) Descriptor() ([]byte, []int) { + return fileDescriptor_circuitbreaker_43b6ff9ae3c12c7a, []int{10} } - -func (x *CbPolicy_SlowRateConfig) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *RecoverCondition) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RecoverCondition.Unmarshal(m, b) } - -func (*CbPolicy_SlowRateConfig) ProtoMessage() {} - -func (x *CbPolicy_SlowRateConfig) ProtoReflect() protoreflect.Message { - mi := &file_circuitbreaker_proto_msgTypes[17] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *RecoverCondition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RecoverCondition.Marshal(b, m, deterministic) } - -// Deprecated: Use CbPolicy_SlowRateConfig.ProtoReflect.Descriptor instead. -func (*CbPolicy_SlowRateConfig) Descriptor() ([]byte, []int) { - return file_circuitbreaker_proto_rawDescGZIP(), []int{3, 1} +func (dst *RecoverCondition) XXX_Merge(src proto.Message) { + xxx_messageInfo_RecoverCondition.Merge(dst, src) } - -func (x *CbPolicy_SlowRateConfig) GetEnable() *wrapperspb.BoolValue { - if x != nil { - return x.Enable - } - return nil +func (m *RecoverCondition) XXX_Size() int { + return xxx_messageInfo_RecoverCondition.Size(m) } - -func (x *CbPolicy_SlowRateConfig) GetMaxRt() *durationpb.Duration { - if x != nil { - return x.MaxRt - } - return nil +func (m *RecoverCondition) XXX_DiscardUnknown() { + xxx_messageInfo_RecoverCondition.DiscardUnknown(m) } -func (x *CbPolicy_SlowRateConfig) GetSlowRateToPreserved() *wrapperspb.UInt32Value { - if x != nil { - return x.SlowRateToPreserved +var xxx_messageInfo_RecoverCondition proto.InternalMessageInfo + +func (m *RecoverCondition) GetSleepWindow() uint32 { + if m != nil { + return m.SleepWindow } - return nil + return 0 } -func (x *CbPolicy_SlowRateConfig) GetSlowRateToOpen() *wrapperspb.UInt32Value { - if x != nil { - return x.SlowRateToOpen +func (m *RecoverCondition) GetConsecutiveSuccess() uint32 { + if m != nil { + return m.ConsecutiveSuccess } - return nil + return 0 } -//连续错误数熔断配置 -type CbPolicy_ConsecutiveErrConfig struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // 是否启用连续错误数配置 - Enable *wrapperspb.BoolValue `protobuf:"bytes,1,opt,name=enable,proto3" json:"enable,omitempty"` - // 连续错误数阈值,进入Preserved状态 - ConsecutiveErrorToPreserved *wrapperspb.UInt32Value `protobuf:"bytes,2,opt,name=consecutiveErrorToPreserved,proto3" json:"consecutiveErrorToPreserved,omitempty"` - // 连续错误数阈值,进入Open状态 - ConsecutiveErrorToOpen *wrapperspb.UInt32Value `protobuf:"bytes,3,opt,name=consecutiveErrorToOpen,proto3" json:"consecutiveErrorToOpen,omitempty"` +// fault detect config within circuitbreaking +type FaultDetectConfig struct { + Enable bool `protobuf:"varint,1,opt,name=enable,proto3" json:"enable,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *CbPolicy_ConsecutiveErrConfig) Reset() { - *x = CbPolicy_ConsecutiveErrConfig{} - if protoimpl.UnsafeEnabled { - mi := &file_circuitbreaker_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *FaultDetectConfig) Reset() { *m = FaultDetectConfig{} } +func (m *FaultDetectConfig) String() string { return proto.CompactTextString(m) } +func (*FaultDetectConfig) ProtoMessage() {} +func (*FaultDetectConfig) Descriptor() ([]byte, []int) { + return fileDescriptor_circuitbreaker_43b6ff9ae3c12c7a, []int{11} } - -func (x *CbPolicy_ConsecutiveErrConfig) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *FaultDetectConfig) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_FaultDetectConfig.Unmarshal(m, b) +} +func (m *FaultDetectConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_FaultDetectConfig.Marshal(b, m, deterministic) +} +func (dst *FaultDetectConfig) XXX_Merge(src proto.Message) { + xxx_messageInfo_FaultDetectConfig.Merge(dst, src) +} +func (m *FaultDetectConfig) XXX_Size() int { + return xxx_messageInfo_FaultDetectConfig.Size(m) +} +func (m *FaultDetectConfig) XXX_DiscardUnknown() { + xxx_messageInfo_FaultDetectConfig.DiscardUnknown(m) } -func (*CbPolicy_ConsecutiveErrConfig) ProtoMessage() {} +var xxx_messageInfo_FaultDetectConfig proto.InternalMessageInfo -func (x *CbPolicy_ConsecutiveErrConfig) ProtoReflect() protoreflect.Message { - mi := &file_circuitbreaker_proto_msgTypes[18] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms +func (m *FaultDetectConfig) GetEnable() bool { + if m != nil { + return m.Enable } - return mi.MessageOf(x) + return false } -// Deprecated: Use CbPolicy_ConsecutiveErrConfig.ProtoReflect.Descriptor instead. -func (*CbPolicy_ConsecutiveErrConfig) Descriptor() ([]byte, []int) { - return file_circuitbreaker_proto_rawDescGZIP(), []int{3, 2} +// blocking strategy +type BlockConfig struct { + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + // blocking target api + Api *model.API `protobuf:"bytes,2,opt,name=api,proto3" json:"api,omitempty"` + // conditions to judge an invocation as an error + ErrorConditions []*ErrorCondition `protobuf:"bytes,3,rep,name=error_conditions,proto3" json:"error_conditions,omitempty"` + // trigger condition to trigger circuitbreaking + TriggerConditions []*TriggerCondition `protobuf:"bytes,4,rep,name=trigger_conditions,proto3" json:"trigger_conditions,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *CbPolicy_ConsecutiveErrConfig) GetEnable() *wrapperspb.BoolValue { - if x != nil { - return x.Enable - } - return nil +func (m *BlockConfig) Reset() { *m = BlockConfig{} } +func (m *BlockConfig) String() string { return proto.CompactTextString(m) } +func (*BlockConfig) ProtoMessage() {} +func (*BlockConfig) Descriptor() ([]byte, []int) { + return fileDescriptor_circuitbreaker_43b6ff9ae3c12c7a, []int{12} } - -func (x *CbPolicy_ConsecutiveErrConfig) GetConsecutiveErrorToPreserved() *wrapperspb.UInt32Value { - if x != nil { - return x.ConsecutiveErrorToPreserved - } - return nil +func (m *BlockConfig) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_BlockConfig.Unmarshal(m, b) } - -func (x *CbPolicy_ConsecutiveErrConfig) GetConsecutiveErrorToOpen() *wrapperspb.UInt32Value { - if x != nil { - return x.ConsecutiveErrorToOpen - } - return nil +func (m *BlockConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_BlockConfig.Marshal(b, m, deterministic) } - -//错误码相关特定配置 -type CbPolicy_ErrRateConfig_SpecialConfig struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // 熔断关心的错误类型,用户可以自己定义 - Type *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` - ErrorCodes []*wrapperspb.Int64Value `protobuf:"bytes,2,rep,name=errorCodes,proto3" json:"errorCodes,omitempty"` - ErrorRateToPreserved *wrapperspb.UInt32Value `protobuf:"bytes,3,opt,name=errorRateToPreserved,proto3" json:"errorRateToPreserved,omitempty"` - ErrorRateToOpen *wrapperspb.UInt32Value `protobuf:"bytes,4,opt,name=errorRateToOpen,proto3" json:"errorRateToOpen,omitempty"` +func (dst *BlockConfig) XXX_Merge(src proto.Message) { + xxx_messageInfo_BlockConfig.Merge(dst, src) } - -func (x *CbPolicy_ErrRateConfig_SpecialConfig) Reset() { - *x = CbPolicy_ErrRateConfig_SpecialConfig{} - if protoimpl.UnsafeEnabled { - mi := &file_circuitbreaker_proto_msgTypes[19] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *BlockConfig) XXX_Size() int { + return xxx_messageInfo_BlockConfig.Size(m) } - -func (x *CbPolicy_ErrRateConfig_SpecialConfig) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *BlockConfig) XXX_DiscardUnknown() { + xxx_messageInfo_BlockConfig.DiscardUnknown(m) } -func (*CbPolicy_ErrRateConfig_SpecialConfig) ProtoMessage() {} +var xxx_messageInfo_BlockConfig proto.InternalMessageInfo -func (x *CbPolicy_ErrRateConfig_SpecialConfig) ProtoReflect() protoreflect.Message { - mi := &file_circuitbreaker_proto_msgTypes[19] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms +func (m *BlockConfig) GetName() string { + if m != nil { + return m.Name } - return mi.MessageOf(x) -} - -// Deprecated: Use CbPolicy_ErrRateConfig_SpecialConfig.ProtoReflect.Descriptor instead. -func (*CbPolicy_ErrRateConfig_SpecialConfig) Descriptor() ([]byte, []int) { - return file_circuitbreaker_proto_rawDescGZIP(), []int{3, 0, 0} + return "" } -func (x *CbPolicy_ErrRateConfig_SpecialConfig) GetType() *wrapperspb.StringValue { - if x != nil { - return x.Type +func (m *BlockConfig) GetApi() *model.API { + if m != nil { + return m.Api } return nil } -func (x *CbPolicy_ErrRateConfig_SpecialConfig) GetErrorCodes() []*wrapperspb.Int64Value { - if x != nil { - return x.ErrorCodes +func (m *BlockConfig) GetErrorConditions() []*ErrorCondition { + if m != nil { + return m.ErrorConditions } return nil } -func (x *CbPolicy_ErrRateConfig_SpecialConfig) GetErrorRateToPreserved() *wrapperspb.UInt32Value { - if x != nil { - return x.ErrorRateToPreserved +func (m *BlockConfig) GetTriggerConditions() []*TriggerCondition { + if m != nil { + return m.TriggerConditions } return nil } -func (x *CbPolicy_ErrRateConfig_SpecialConfig) GetErrorRateToOpen() *wrapperspb.UInt32Value { - if x != nil { - return x.ErrorRateToOpen - } - return nil +// fallback config +type FallbackConfig struct { + Enable bool `protobuf:"varint,1,opt,name=enable,proto3" json:"enable,omitempty"` + Response *FallbackResponse `protobuf:"bytes,2,opt,name=response,proto3" json:"response,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -type RuleMatcher_SourceService struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Service string `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"` - Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"` +func (m *FallbackConfig) Reset() { *m = FallbackConfig{} } +func (m *FallbackConfig) String() string { return proto.CompactTextString(m) } +func (*FallbackConfig) ProtoMessage() {} +func (*FallbackConfig) Descriptor() ([]byte, []int) { + return fileDescriptor_circuitbreaker_43b6ff9ae3c12c7a, []int{13} } - -func (x *RuleMatcher_SourceService) Reset() { - *x = RuleMatcher_SourceService{} - if protoimpl.UnsafeEnabled { - mi := &file_circuitbreaker_proto_msgTypes[21] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *FallbackConfig) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_FallbackConfig.Unmarshal(m, b) } - -func (x *RuleMatcher_SourceService) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *FallbackConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_FallbackConfig.Marshal(b, m, deterministic) } - -func (*RuleMatcher_SourceService) ProtoMessage() {} - -func (x *RuleMatcher_SourceService) ProtoReflect() protoreflect.Message { - mi := &file_circuitbreaker_proto_msgTypes[21] - 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) +func (dst *FallbackConfig) XXX_Merge(src proto.Message) { + xxx_messageInfo_FallbackConfig.Merge(dst, src) } - -// Deprecated: Use RuleMatcher_SourceService.ProtoReflect.Descriptor instead. -func (*RuleMatcher_SourceService) Descriptor() ([]byte, []int) { - return file_circuitbreaker_proto_rawDescGZIP(), []int{6, 0} +func (m *FallbackConfig) XXX_Size() int { + return xxx_messageInfo_FallbackConfig.Size(m) } +func (m *FallbackConfig) XXX_DiscardUnknown() { + xxx_messageInfo_FallbackConfig.DiscardUnknown(m) +} + +var xxx_messageInfo_FallbackConfig proto.InternalMessageInfo -func (x *RuleMatcher_SourceService) GetService() string { - if x != nil { - return x.Service +func (m *FallbackConfig) GetEnable() bool { + if m != nil { + return m.Enable } - return "" + return false } -func (x *RuleMatcher_SourceService) GetNamespace() string { - if x != nil { - return x.Namespace +func (m *FallbackConfig) GetResponse() *FallbackResponse { + if m != nil { + return m.Response } - return "" + return nil } -type RuleMatcher_DestinationService struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Service string `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"` - Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"` - // deprecated_filed using api.path in blockConfig instead - // - // Deprecated: Marked as deprecated in circuitbreaker.proto. - Method *model.MatchString `protobuf:"bytes,3,opt,name=method,proto3" json:"method,omitempty"` +// fallback response +type FallbackResponse struct { + Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` + Headers []*FallbackResponse_MessageHeader `protobuf:"bytes,2,rep,name=headers,proto3" json:"headers,omitempty"` + Body string `protobuf:"bytes,3,opt,name=body,proto3" json:"body,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *RuleMatcher_DestinationService) Reset() { - *x = RuleMatcher_DestinationService{} - if protoimpl.UnsafeEnabled { - mi := &file_circuitbreaker_proto_msgTypes[22] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *FallbackResponse) Reset() { *m = FallbackResponse{} } +func (m *FallbackResponse) String() string { return proto.CompactTextString(m) } +func (*FallbackResponse) ProtoMessage() {} +func (*FallbackResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_circuitbreaker_43b6ff9ae3c12c7a, []int{14} } - -func (x *RuleMatcher_DestinationService) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *FallbackResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_FallbackResponse.Unmarshal(m, b) } - -func (*RuleMatcher_DestinationService) ProtoMessage() {} - -func (x *RuleMatcher_DestinationService) ProtoReflect() protoreflect.Message { - mi := &file_circuitbreaker_proto_msgTypes[22] - 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) +func (m *FallbackResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_FallbackResponse.Marshal(b, m, deterministic) } - -// Deprecated: Use RuleMatcher_DestinationService.ProtoReflect.Descriptor instead. -func (*RuleMatcher_DestinationService) Descriptor() ([]byte, []int) { - return file_circuitbreaker_proto_rawDescGZIP(), []int{6, 1} +func (dst *FallbackResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_FallbackResponse.Merge(dst, src) +} +func (m *FallbackResponse) XXX_Size() int { + return xxx_messageInfo_FallbackResponse.Size(m) +} +func (m *FallbackResponse) XXX_DiscardUnknown() { + xxx_messageInfo_FallbackResponse.DiscardUnknown(m) } -func (x *RuleMatcher_DestinationService) GetService() string { - if x != nil { - return x.Service +var xxx_messageInfo_FallbackResponse proto.InternalMessageInfo + +func (m *FallbackResponse) GetCode() int32 { + if m != nil { + return m.Code } - return "" + return 0 } -func (x *RuleMatcher_DestinationService) GetNamespace() string { - if x != nil { - return x.Namespace +func (m *FallbackResponse) GetHeaders() []*FallbackResponse_MessageHeader { + if m != nil { + return m.Headers } - return "" + return nil } -// Deprecated: Marked as deprecated in circuitbreaker.proto. -func (x *RuleMatcher_DestinationService) GetMethod() *model.MatchString { - if x != nil { - return x.Method +func (m *FallbackResponse) GetBody() string { + if m != nil { + return m.Body } - return nil + return "" } type FallbackResponse_MessageHeader struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` - Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` + Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` + Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *FallbackResponse_MessageHeader) Reset() { - *x = FallbackResponse_MessageHeader{} - if protoimpl.UnsafeEnabled { - mi := &file_circuitbreaker_proto_msgTypes[24] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *FallbackResponse_MessageHeader) Reset() { *m = FallbackResponse_MessageHeader{} } +func (m *FallbackResponse_MessageHeader) String() string { return proto.CompactTextString(m) } +func (*FallbackResponse_MessageHeader) ProtoMessage() {} +func (*FallbackResponse_MessageHeader) Descriptor() ([]byte, []int) { + return fileDescriptor_circuitbreaker_43b6ff9ae3c12c7a, []int{14, 0} } - -func (x *FallbackResponse_MessageHeader) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *FallbackResponse_MessageHeader) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_FallbackResponse_MessageHeader.Unmarshal(m, b) } - -func (*FallbackResponse_MessageHeader) ProtoMessage() {} - -func (x *FallbackResponse_MessageHeader) ProtoReflect() protoreflect.Message { - mi := &file_circuitbreaker_proto_msgTypes[24] - 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) +func (m *FallbackResponse_MessageHeader) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_FallbackResponse_MessageHeader.Marshal(b, m, deterministic) } - -// Deprecated: Use FallbackResponse_MessageHeader.ProtoReflect.Descriptor instead. -func (*FallbackResponse_MessageHeader) Descriptor() ([]byte, []int) { - return file_circuitbreaker_proto_rawDescGZIP(), []int{14, 0} +func (dst *FallbackResponse_MessageHeader) XXX_Merge(src proto.Message) { + xxx_messageInfo_FallbackResponse_MessageHeader.Merge(dst, src) +} +func (m *FallbackResponse_MessageHeader) XXX_Size() int { + return xxx_messageInfo_FallbackResponse_MessageHeader.Size(m) +} +func (m *FallbackResponse_MessageHeader) XXX_DiscardUnknown() { + xxx_messageInfo_FallbackResponse_MessageHeader.DiscardUnknown(m) } -func (x *FallbackResponse_MessageHeader) GetKey() string { - if x != nil { - return x.Key +var xxx_messageInfo_FallbackResponse_MessageHeader proto.InternalMessageInfo + +func (m *FallbackResponse_MessageHeader) GetKey() string { + if m != nil { + return m.Key } return "" } -func (x *FallbackResponse_MessageHeader) GetValue() string { - if x != nil { - return x.Value +func (m *FallbackResponse_MessageHeader) GetValue() string { + if m != nil { + return m.Value } return "" } -var File_circuitbreaker_proto protoreflect.FileDescriptor - -var file_circuitbreaker_proto_rawDesc = []byte{ - 0x0a, 0x14, 0x63, 0x69, 0x72, 0x63, 0x75, 0x69, 0x74, 0x62, 0x72, 0x65, 0x61, 0x6b, 0x65, 0x72, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x76, 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, 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, 0x0b, 0x6d, 0x6f, 0x64, 0x65, - 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa9, 0x07, 0x0a, 0x0e, 0x43, 0x69, 0x72, 0x63, - 0x75, 0x69, 0x74, 0x42, 0x72, 0x65, 0x61, 0x6b, 0x65, 0x72, 0x12, 0x2c, 0x0a, 0x02, 0x69, 0x64, - 0x18, 0x01, 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, 0x02, 0x69, 0x64, 0x12, 0x36, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, - 0x69, 0x6f, 0x6e, 0x18, 0x02, 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, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, - 0x12, 0x30, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 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, 0x04, 0x6e, 0x61, - 0x6d, 0x65, 0x12, 0x3a, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, - 0x04, 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, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x36, - 0x0a, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x18, 0x05, 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, 0x07, 0x73, - 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x49, 0x0a, 0x11, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, - 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x06, 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, - 0x10, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, - 0x65, 0x12, 0x26, 0x0a, 0x08, 0x69, 0x6e, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x73, 0x18, 0x07, 0x20, - 0x03, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x62, 0x52, 0x75, 0x6c, 0x65, 0x52, - 0x08, 0x69, 0x6e, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x73, 0x12, 0x28, 0x0a, 0x09, 0x6f, 0x75, 0x74, - 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x76, - 0x31, 0x2e, 0x43, 0x62, 0x52, 0x75, 0x6c, 0x65, 0x52, 0x09, 0x6f, 0x75, 0x74, 0x62, 0x6f, 0x75, - 0x6e, 0x64, 0x73, 0x12, 0x32, 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x09, 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, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x34, 0x0a, 0x06, 0x6f, 0x77, 0x6e, 0x65, 0x72, - 0x73, 0x18, 0x0a, 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, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x73, 0x12, 0x38, 0x0a, - 0x08, 0x62, 0x75, 0x73, 0x69, 0x6e, 0x65, 0x73, 0x73, 0x18, 0x0b, 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, 0x08, 0x62, - 0x75, 0x73, 0x69, 0x6e, 0x65, 0x73, 0x73, 0x12, 0x3c, 0x0a, 0x0a, 0x64, 0x65, 0x70, 0x61, 0x72, - 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x0c, 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, 0x0a, 0x64, 0x65, 0x70, 0x61, 0x72, - 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x36, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, - 0x18, 0x0d, 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, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x32, 0x0a, - 0x05, 0x63, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0e, 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, 0x05, 0x63, 0x74, 0x69, 0x6d, - 0x65, 0x12, 0x32, 0x0a, 0x05, 0x6d, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0f, 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, 0x05, - 0x6d, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x38, 0x0a, 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, - 0x6e, 0x18, 0x10, 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, 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x12, - 0x2c, 0x0a, 0x05, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x15, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, - 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x69, 0x72, 0x63, 0x75, 0x69, 0x74, 0x42, 0x72, 0x65, 0x61, 0x6b, - 0x65, 0x72, 0x52, 0x75, 0x6c, 0x65, 0x52, 0x05, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x4a, 0x04, 0x08, - 0x11, 0x10, 0x15, 0x22, 0x86, 0x02, 0x0a, 0x0d, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4d, 0x61, - 0x74, 0x63, 0x68, 0x65, 0x72, 0x12, 0x36, 0x0a, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, - 0x18, 0x01, 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, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x3a, 0x0a, - 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x02, 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, 0x09, - 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x35, 0x0a, 0x06, 0x6c, 0x61, 0x62, - 0x65, 0x6c, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x76, 0x31, 0x2e, 0x53, - 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x2e, 0x4c, 0x61, 0x62, - 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, - 0x1a, 0x4a, 0x0a, 0x0b, 0x4c, 0x61, 0x62, 0x65, 0x6c, 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, 0x25, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x0f, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x53, 0x74, 0x72, 0x69, 0x6e, - 0x67, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xb3, 0x04, 0x0a, - 0x0d, 0x52, 0x65, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x3b, - 0x0a, 0x0b, 0x73, 0x6c, 0x65, 0x65, 0x70, 0x57, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0b, - 0x73, 0x6c, 0x65, 0x65, 0x70, 0x57, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x12, 0x52, 0x0a, 0x15, 0x6d, - 0x61, 0x78, 0x52, 0x65, 0x74, 0x72, 0x79, 0x41, 0x66, 0x74, 0x65, 0x72, 0x48, 0x61, 0x6c, 0x66, - 0x4f, 0x70, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, - 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x49, 0x6e, - 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x15, 0x6d, 0x61, 0x78, 0x52, 0x65, 0x74, - 0x72, 0x79, 0x41, 0x66, 0x74, 0x65, 0x72, 0x48, 0x61, 0x6c, 0x66, 0x4f, 0x70, 0x65, 0x6e, 0x12, - 0x58, 0x0a, 0x18, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x61, 0x74, 0x65, 0x41, 0x66, - 0x74, 0x65, 0x72, 0x48, 0x61, 0x6c, 0x66, 0x4f, 0x70, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x62, 0x75, 0x66, 0x2e, 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, - 0x18, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x61, 0x74, 0x65, 0x41, 0x66, 0x74, 0x65, - 0x72, 0x48, 0x61, 0x6c, 0x66, 0x4f, 0x70, 0x65, 0x6e, 0x12, 0x4c, 0x0a, 0x12, 0x73, 0x75, 0x63, - 0x63, 0x65, 0x73, 0x73, 0x52, 0x61, 0x74, 0x65, 0x54, 0x6f, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x18, - 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, - 0x6c, 0x75, 0x65, 0x52, 0x12, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x52, 0x61, 0x74, 0x65, - 0x54, 0x6f, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x12, 0x5a, 0x0a, 0x19, 0x72, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x66, 0x74, 0x65, 0x72, 0x48, 0x61, 0x6c, 0x66, - 0x4f, 0x70, 0x65, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, - 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x49, 0x6e, - 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x19, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x66, 0x74, 0x65, 0x72, 0x48, 0x61, 0x6c, 0x66, 0x4f, - 0x70, 0x65, 0x6e, 0x12, 0x51, 0x0a, 0x11, 0x6f, 0x75, 0x74, 0x6c, 0x69, 0x65, 0x72, 0x44, 0x65, - 0x74, 0x65, 0x63, 0x74, 0x57, 0x68, 0x65, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x23, - 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, - 0x67, 0x2e, 0x4f, 0x75, 0x74, 0x6c, 0x69, 0x65, 0x72, 0x44, 0x65, 0x74, 0x65, 0x63, 0x74, 0x57, - 0x68, 0x65, 0x6e, 0x52, 0x11, 0x6f, 0x75, 0x74, 0x6c, 0x69, 0x65, 0x72, 0x44, 0x65, 0x74, 0x65, - 0x63, 0x74, 0x57, 0x68, 0x65, 0x6e, 0x22, 0x3a, 0x0a, 0x11, 0x4f, 0x75, 0x74, 0x6c, 0x69, 0x65, - 0x72, 0x44, 0x65, 0x74, 0x65, 0x63, 0x74, 0x57, 0x68, 0x65, 0x6e, 0x12, 0x09, 0x0a, 0x05, 0x4e, - 0x45, 0x56, 0x45, 0x52, 0x10, 0x00, 0x12, 0x0e, 0x0a, 0x0a, 0x4f, 0x4e, 0x5f, 0x52, 0x45, 0x43, - 0x4f, 0x56, 0x45, 0x52, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x41, 0x4c, 0x57, 0x41, 0x59, 0x53, - 0x10, 0x02, 0x22, 0xf9, 0x0b, 0x0a, 0x08, 0x43, 0x62, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, - 0x38, 0x0a, 0x09, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x62, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, - 0x2e, 0x45, 0x72, 0x72, 0x52, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x09, - 0x65, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x61, 0x74, 0x65, 0x12, 0x37, 0x0a, 0x08, 0x73, 0x6c, 0x6f, - 0x77, 0x52, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x76, 0x31, - 0x2e, 0x43, 0x62, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x53, 0x6c, 0x6f, 0x77, 0x52, 0x61, - 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x08, 0x73, 0x6c, 0x6f, 0x77, 0x52, 0x61, - 0x74, 0x65, 0x12, 0x3f, 0x0a, 0x0d, 0x6a, 0x75, 0x64, 0x67, 0x65, 0x44, 0x75, 0x72, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, - 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0d, 0x6a, 0x75, 0x64, 0x67, 0x65, 0x44, 0x75, 0x72, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x12, 0x4c, 0x0a, 0x12, 0x6d, 0x61, 0x78, 0x45, 0x6a, 0x65, 0x63, 0x74, 0x69, - 0x6f, 0x6e, 0x50, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, - 0x66, 0x2e, 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x12, 0x6d, - 0x61, 0x78, 0x45, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x65, 0x72, 0x63, 0x65, 0x6e, - 0x74, 0x12, 0x43, 0x0a, 0x0b, 0x63, 0x6f, 0x6e, 0x73, 0x65, 0x63, 0x75, 0x74, 0x69, 0x76, 0x65, - 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x62, 0x50, 0x6f, - 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x43, 0x6f, 0x6e, 0x73, 0x65, 0x63, 0x75, 0x74, 0x69, 0x76, 0x65, - 0x45, 0x72, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x0b, 0x63, 0x6f, 0x6e, 0x73, 0x65, - 0x63, 0x75, 0x74, 0x69, 0x76, 0x65, 0x1a, 0x94, 0x05, 0x0a, 0x0d, 0x45, 0x72, 0x72, 0x52, 0x61, - 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x32, 0x0a, 0x06, 0x65, 0x6e, 0x61, 0x62, - 0x6c, 0x65, 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, 0x06, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x54, 0x0a, 0x16, - 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x54, 0x68, 0x72, - 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, - 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, - 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x16, 0x72, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x54, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, - 0x6c, 0x64, 0x12, 0x50, 0x0a, 0x14, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x61, 0x74, 0x65, 0x54, - 0x6f, 0x50, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 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, 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x14, - 0x65, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x61, 0x74, 0x65, 0x54, 0x6f, 0x50, 0x72, 0x65, 0x73, 0x65, - 0x72, 0x76, 0x65, 0x64, 0x12, 0x46, 0x0a, 0x0f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x61, 0x74, - 0x65, 0x54, 0x6f, 0x4f, 0x70, 0x65, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, - 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, - 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0f, 0x65, 0x72, 0x72, - 0x6f, 0x72, 0x52, 0x61, 0x74, 0x65, 0x54, 0x6f, 0x4f, 0x70, 0x65, 0x6e, 0x12, 0x44, 0x0a, 0x08, - 0x73, 0x70, 0x65, 0x63, 0x69, 0x61, 0x6c, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, - 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x62, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x45, 0x72, 0x72, - 0x52, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x53, 0x70, 0x65, 0x63, 0x69, - 0x61, 0x6c, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x08, 0x73, 0x70, 0x65, 0x63, 0x69, 0x61, - 0x6c, 0x73, 0x1a, 0x98, 0x02, 0x0a, 0x0d, 0x53, 0x70, 0x65, 0x63, 0x69, 0x61, 0x6c, 0x43, 0x6f, - 0x6e, 0x66, 0x69, 0x67, 0x12, 0x30, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 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, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x3b, 0x0a, 0x0a, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x43, - 0x6f, 0x64, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, - 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x49, 0x6e, 0x74, - 0x36, 0x34, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0a, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x43, 0x6f, - 0x64, 0x65, 0x73, 0x12, 0x50, 0x0a, 0x14, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x61, 0x74, 0x65, - 0x54, 0x6f, 0x50, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 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, 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, - 0x14, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x61, 0x74, 0x65, 0x54, 0x6f, 0x50, 0x72, 0x65, 0x73, - 0x65, 0x72, 0x76, 0x65, 0x64, 0x12, 0x46, 0x0a, 0x0f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x61, - 0x74, 0x65, 0x54, 0x6f, 0x4f, 0x70, 0x65, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, - 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, - 0x2e, 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0f, 0x65, 0x72, - 0x72, 0x6f, 0x72, 0x52, 0x61, 0x74, 0x65, 0x54, 0x6f, 0x4f, 0x70, 0x65, 0x6e, 0x1a, 0x8b, 0x02, - 0x0a, 0x0e, 0x53, 0x6c, 0x6f, 0x77, 0x52, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, - 0x12, 0x32, 0x0a, 0x06, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 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, 0x06, 0x65, 0x6e, - 0x61, 0x62, 0x6c, 0x65, 0x12, 0x2f, 0x0a, 0x05, 0x6d, 0x61, 0x78, 0x52, 0x74, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x05, - 0x6d, 0x61, 0x78, 0x52, 0x74, 0x12, 0x4e, 0x0a, 0x13, 0x73, 0x6c, 0x6f, 0x77, 0x52, 0x61, 0x74, - 0x65, 0x54, 0x6f, 0x50, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 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, 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, - 0x52, 0x13, 0x73, 0x6c, 0x6f, 0x77, 0x52, 0x61, 0x74, 0x65, 0x54, 0x6f, 0x50, 0x72, 0x65, 0x73, - 0x65, 0x72, 0x76, 0x65, 0x64, 0x12, 0x44, 0x0a, 0x0e, 0x73, 0x6c, 0x6f, 0x77, 0x52, 0x61, 0x74, - 0x65, 0x54, 0x6f, 0x4f, 0x70, 0x65, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, - 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, - 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0e, 0x73, 0x6c, 0x6f, - 0x77, 0x52, 0x61, 0x74, 0x65, 0x54, 0x6f, 0x4f, 0x70, 0x65, 0x6e, 0x1a, 0x80, 0x02, 0x0a, 0x14, - 0x43, 0x6f, 0x6e, 0x73, 0x65, 0x63, 0x75, 0x74, 0x69, 0x76, 0x65, 0x45, 0x72, 0x72, 0x43, 0x6f, - 0x6e, 0x66, 0x69, 0x67, 0x12, 0x32, 0x0a, 0x06, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 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, 0x06, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x5e, 0x0a, 0x1b, 0x63, 0x6f, 0x6e, 0x73, - 0x65, 0x63, 0x75, 0x74, 0x69, 0x76, 0x65, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x54, 0x6f, 0x50, 0x72, - 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, - 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, - 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x1b, 0x63, 0x6f, 0x6e, - 0x73, 0x65, 0x63, 0x75, 0x74, 0x69, 0x76, 0x65, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x54, 0x6f, 0x50, - 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x12, 0x54, 0x0a, 0x16, 0x63, 0x6f, 0x6e, 0x73, - 0x65, 0x63, 0x75, 0x74, 0x69, 0x76, 0x65, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x54, 0x6f, 0x4f, 0x70, - 0x65, 0x6e, 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, 0x55, 0x49, 0x6e, 0x74, 0x33, - 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x16, 0x63, 0x6f, 0x6e, 0x73, 0x65, 0x63, 0x75, 0x74, - 0x69, 0x76, 0x65, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x54, 0x6f, 0x4f, 0x70, 0x65, 0x6e, 0x22, 0x8d, - 0x07, 0x0a, 0x0e, 0x44, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x65, - 0x74, 0x12, 0x36, 0x0a, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x18, 0x01, 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, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x3a, 0x0a, 0x09, 0x6e, 0x61, 0x6d, - 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x02, 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, 0x09, 0x6e, 0x61, 0x6d, 0x65, - 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x3c, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, - 0x61, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x73, - 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x74, 0x2e, 0x4d, 0x65, 0x74, 0x61, - 0x64, 0x61, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, - 0x61, 0x74, 0x61, 0x12, 0x37, 0x0a, 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, - 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1b, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x73, 0x74, 0x69, - 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x74, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, - 0x63, 0x65, 0x52, 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x2b, 0x0a, 0x04, - 0x74, 0x79, 0x70, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x17, 0x2e, 0x76, 0x31, 0x2e, - 0x44, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x74, 0x2e, 0x54, - 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x2e, 0x0a, 0x05, 0x73, 0x63, 0x6f, - 0x70, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x18, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, - 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x74, 0x2e, 0x53, 0x63, 0x6f, - 0x70, 0x65, 0x52, 0x05, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x12, 0x3d, 0x0a, 0x0c, 0x6d, 0x65, 0x74, - 0x72, 0x69, 0x63, 0x57, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, - 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0c, 0x6d, 0x65, 0x74, 0x72, - 0x69, 0x63, 0x57, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x12, 0x46, 0x0a, 0x0f, 0x6d, 0x65, 0x74, 0x72, - 0x69, 0x63, 0x50, 0x72, 0x65, 0x63, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x08, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x62, 0x75, 0x66, 0x2e, 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, - 0x0f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x50, 0x72, 0x65, 0x63, 0x69, 0x73, 0x69, 0x6f, 0x6e, - 0x12, 0x41, 0x0a, 0x0e, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x76, - 0x61, 0x6c, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, - 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x52, 0x0e, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x74, 0x65, 0x72, - 0x76, 0x61, 0x6c, 0x12, 0x2b, 0x0a, 0x07, 0x72, 0x65, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x18, 0x0a, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x63, 0x6f, 0x76, 0x65, - 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x07, 0x72, 0x65, 0x63, 0x6f, 0x76, 0x65, 0x72, - 0x12, 0x24, 0x0a, 0x06, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x0c, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x62, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x06, - 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x27, 0x0a, 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, - 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x61, 0x74, 0x63, - 0x68, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x52, 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x12, - 0x3b, 0x0a, 0x0a, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x73, 0x18, 0x0d, 0x20, - 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x56, 0x61, 0x6c, 0x75, 0x65, - 0x52, 0x0a, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x73, 0x1a, 0x4c, 0x0a, 0x0d, - 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, - 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, - 0x25, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, - 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x52, - 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x24, 0x0a, 0x08, 0x52, 0x65, - 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x0a, 0x0a, 0x06, 0x53, 0x55, 0x42, 0x53, 0x45, 0x54, - 0x10, 0x00, 0x12, 0x0c, 0x0a, 0x08, 0x49, 0x4e, 0x53, 0x54, 0x41, 0x4e, 0x43, 0x45, 0x10, 0x01, - 0x22, 0x1d, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0a, 0x0a, 0x06, 0x47, 0x4c, 0x4f, 0x42, - 0x41, 0x4c, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x4c, 0x4f, 0x43, 0x41, 0x4c, 0x10, 0x01, 0x22, - 0x1d, 0x0a, 0x05, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x12, 0x07, 0x0a, 0x03, 0x41, 0x4c, 0x4c, 0x10, - 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x43, 0x55, 0x52, 0x52, 0x45, 0x4e, 0x54, 0x10, 0x01, 0x22, 0x6d, - 0x0a, 0x06, 0x43, 0x62, 0x52, 0x75, 0x6c, 0x65, 0x12, 0x2b, 0x0a, 0x07, 0x73, 0x6f, 0x75, 0x72, - 0x63, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x76, 0x31, 0x2e, 0x53, - 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x52, 0x07, 0x73, 0x6f, - 0x75, 0x72, 0x63, 0x65, 0x73, 0x12, 0x36, 0x0a, 0x0c, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x76, 0x31, - 0x2e, 0x44, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x74, 0x52, - 0x0c, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0xce, 0x02, - 0x0a, 0x0b, 0x52, 0x75, 0x6c, 0x65, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x12, 0x35, 0x0a, - 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, - 0x76, 0x31, 0x2e, 0x52, 0x75, 0x6c, 0x65, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x2e, 0x53, - 0x6f, 0x75, 0x72, 0x63, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x06, 0x73, 0x6f, - 0x75, 0x72, 0x63, 0x65, 0x12, 0x44, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x76, 0x31, 0x2e, 0x52, - 0x75, 0x6c, 0x65, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x2e, 0x44, 0x65, 0x73, 0x74, 0x69, - 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x0b, 0x64, - 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x47, 0x0a, 0x0d, 0x53, 0x6f, - 0x75, 0x72, 0x63, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x73, - 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x73, 0x65, - 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, - 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, - 0x61, 0x63, 0x65, 0x1a, 0x79, 0x0a, 0x12, 0x44, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x65, 0x72, - 0x76, 0x69, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x73, 0x65, 0x72, 0x76, - 0x69, 0x63, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, - 0x65, 0x12, 0x2b, 0x0a, 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x0f, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x53, 0x74, 0x72, 0x69, - 0x6e, 0x67, 0x42, 0x02, 0x18, 0x01, 0x52, 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x22, 0xd6, - 0x07, 0x0a, 0x12, 0x43, 0x69, 0x72, 0x63, 0x75, 0x69, 0x74, 0x42, 0x72, 0x65, 0x61, 0x6b, 0x65, - 0x72, 0x52, 0x75, 0x6c, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 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, 0x1c, 0x0a, 0x09, 0x6e, 0x61, 0x6d, - 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6e, 0x61, - 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x65, 0x6e, 0x61, 0x62, 0x6c, - 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x12, - 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x63, - 0x74, 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x63, 0x74, 0x69, 0x6d, - 0x65, 0x12, 0x14, 0x0a, 0x05, 0x6d, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x05, 0x6d, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x74, 0x69, 0x6d, 0x65, - 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x20, 0x0a, - 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x09, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, - 0x1f, 0x0a, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x15, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x09, - 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x52, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, - 0x12, 0x32, 0x0a, 0x0c, 0x72, 0x75, 0x6c, 0x65, 0x5f, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, - 0x18, 0x16, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x75, 0x6c, 0x65, - 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x52, 0x0b, 0x72, 0x75, 0x6c, 0x65, 0x4d, 0x61, 0x74, - 0x63, 0x68, 0x65, 0x72, 0x12, 0x41, 0x0a, 0x10, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x63, 0x6f, - 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x17, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, - 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, - 0x6f, 0x6e, 0x42, 0x02, 0x18, 0x01, 0x52, 0x0f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x43, 0x6f, 0x6e, - 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x45, 0x0a, 0x11, 0x74, 0x72, 0x69, 0x67, 0x67, - 0x65, 0x72, 0x5f, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x18, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x43, - 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x02, 0x18, 0x01, 0x52, 0x10, 0x74, 0x72, - 0x69, 0x67, 0x67, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x30, - 0x0a, 0x14, 0x6d, 0x61, 0x78, 0x5f, 0x65, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x70, - 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x18, 0x19, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x6d, 0x61, - 0x78, 0x45, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, - 0x12, 0x40, 0x0a, 0x10, 0x72, 0x65, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x64, 0x69, - 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x1a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x76, 0x31, 0x2e, - 0x52, 0x65, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, - 0x52, 0x10, 0x72, 0x65, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, - 0x6f, 0x6e, 0x12, 0x43, 0x0a, 0x11, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x44, 0x65, 0x74, 0x65, 0x63, - 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x1b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, - 0x76, 0x31, 0x2e, 0x46, 0x61, 0x75, 0x6c, 0x74, 0x44, 0x65, 0x74, 0x65, 0x63, 0x74, 0x43, 0x6f, - 0x6e, 0x66, 0x69, 0x67, 0x52, 0x11, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x44, 0x65, 0x74, 0x65, 0x63, - 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x3a, 0x0a, 0x0e, 0x66, 0x61, 0x6c, 0x6c, 0x62, - 0x61, 0x63, 0x6b, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x1c, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x12, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x61, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x43, 0x6f, 0x6e, - 0x66, 0x69, 0x67, 0x52, 0x0e, 0x66, 0x61, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x43, 0x6f, 0x6e, - 0x66, 0x69, 0x67, 0x12, 0x35, 0x0a, 0x0d, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x63, 0x6f, 0x6e, - 0x66, 0x69, 0x67, 0x73, 0x18, 0x1d, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x76, 0x31, 0x2e, - 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x0d, 0x62, 0x6c, 0x6f, - 0x63, 0x6b, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, - 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x18, 0x1e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x70, 0x72, - 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x12, 0x40, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, - 0x74, 0x61, 0x18, 0x1f, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x69, - 0x72, 0x63, 0x75, 0x69, 0x74, 0x42, 0x72, 0x65, 0x61, 0x6b, 0x65, 0x72, 0x52, 0x75, 0x6c, 0x65, - 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x08, - 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x1a, 0x0a, 0x08, 0x65, 0x64, 0x69, 0x74, - 0x61, 0x62, 0x6c, 0x65, 0x18, 0x28, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x65, 0x64, 0x69, 0x74, - 0x61, 0x62, 0x6c, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x61, 0x62, - 0x6c, 0x65, 0x18, 0x29, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, - 0x61, 0x62, 0x6c, 0x65, 0x1a, 0x3b, 0x0a, 0x0d, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, - 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, - 0x01, 0x4a, 0x04, 0x08, 0x0a, 0x10, 0x15, 0x22, 0xaf, 0x01, 0x0a, 0x0e, 0x45, 0x72, 0x72, 0x6f, - 0x72, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x3b, 0x0a, 0x0a, 0x69, 0x6e, - 0x70, 0x75, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1c, - 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, - 0x6f, 0x6e, 0x2e, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x09, 0x69, 0x6e, - 0x70, 0x75, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x2d, 0x0a, 0x09, 0x63, 0x6f, 0x6e, 0x64, 0x69, - 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x76, 0x31, 0x2e, - 0x4d, 0x61, 0x74, 0x63, 0x68, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x52, 0x09, 0x63, 0x6f, 0x6e, - 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x31, 0x0a, 0x09, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x54, - 0x79, 0x70, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, - 0x12, 0x0c, 0x0a, 0x08, 0x52, 0x45, 0x54, 0x5f, 0x43, 0x4f, 0x44, 0x45, 0x10, 0x01, 0x12, 0x09, - 0x0a, 0x05, 0x44, 0x45, 0x4c, 0x41, 0x59, 0x10, 0x02, 0x22, 0xa5, 0x02, 0x0a, 0x10, 0x54, 0x72, - 0x69, 0x67, 0x67, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x43, - 0x0a, 0x0c, 0x74, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x0e, 0x32, 0x20, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, - 0x72, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x54, 0x72, 0x69, 0x67, 0x67, - 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0b, 0x74, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x54, - 0x79, 0x70, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x63, 0x6f, 0x75, - 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x43, - 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x70, 0x65, - 0x72, 0x63, 0x65, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x65, 0x72, 0x72, - 0x6f, 0x72, 0x50, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x69, 0x6e, 0x74, - 0x65, 0x72, 0x76, 0x61, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x69, 0x6e, 0x74, - 0x65, 0x72, 0x76, 0x61, 0x6c, 0x12, 0x27, 0x0a, 0x0f, 0x6d, 0x69, 0x6e, 0x69, 0x6d, 0x75, 0x6d, - 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0e, - 0x6d, 0x69, 0x6e, 0x69, 0x6d, 0x75, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x41, - 0x0a, 0x0b, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0b, 0x0a, - 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x0e, 0x0a, 0x0a, 0x45, 0x52, - 0x52, 0x4f, 0x52, 0x5f, 0x52, 0x41, 0x54, 0x45, 0x10, 0x01, 0x12, 0x15, 0x0a, 0x11, 0x43, 0x4f, - 0x4e, 0x53, 0x45, 0x43, 0x55, 0x54, 0x49, 0x56, 0x45, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, - 0x02, 0x22, 0x65, 0x0a, 0x10, 0x52, 0x65, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x64, - 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x21, 0x0a, 0x0c, 0x73, 0x6c, 0x65, 0x65, 0x70, 0x5f, 0x77, - 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x73, 0x6c, 0x65, - 0x65, 0x70, 0x57, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x12, 0x2e, 0x0a, 0x12, 0x63, 0x6f, 0x6e, 0x73, - 0x65, 0x63, 0x75, 0x74, 0x69, 0x76, 0x65, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x63, 0x6f, 0x6e, 0x73, 0x65, 0x63, 0x75, 0x74, 0x69, 0x76, - 0x65, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x22, 0x2b, 0x0a, 0x11, 0x46, 0x61, 0x75, 0x6c, - 0x74, 0x44, 0x65, 0x74, 0x65, 0x63, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x16, 0x0a, - 0x06, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x65, - 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x22, 0xc2, 0x01, 0x0a, 0x0b, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x43, - 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x19, 0x0a, 0x03, 0x61, 0x70, 0x69, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x50, 0x49, 0x52, - 0x03, 0x61, 0x70, 0x69, 0x12, 0x3e, 0x0a, 0x10, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x63, 0x6f, - 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, - 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, - 0x6f, 0x6e, 0x52, 0x10, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, - 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x44, 0x0a, 0x12, 0x74, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x5f, - 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, - 0x32, 0x14, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x43, 0x6f, 0x6e, - 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x12, 0x74, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x5f, - 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x5a, 0x0a, 0x0e, 0x46, 0x61, - 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x16, 0x0a, 0x06, - 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x65, 0x6e, - 0x61, 0x62, 0x6c, 0x65, 0x12, 0x30, 0x0a, 0x08, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x61, 0x6c, 0x6c, - 0x62, 0x61, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x08, 0x72, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xb1, 0x01, 0x0a, 0x10, 0x46, 0x61, 0x6c, 0x6c, 0x62, - 0x61, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x63, - 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, - 0x3c, 0x0a, 0x07, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, - 0x32, 0x22, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x61, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x48, 0x65, - 0x61, 0x64, 0x65, 0x72, 0x52, 0x07, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x12, 0x12, 0x0a, - 0x04, 0x62, 0x6f, 0x64, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x62, 0x6f, 0x64, - 0x79, 0x1a, 0x37, 0x0a, 0x0d, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x48, 0x65, 0x61, 0x64, - 0x65, 0x72, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x2a, 0x46, 0x0a, 0x05, 0x4c, 0x65, - 0x76, 0x65, 0x6c, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, - 0x12, 0x0b, 0x0a, 0x07, 0x53, 0x45, 0x52, 0x56, 0x49, 0x43, 0x45, 0x10, 0x01, 0x12, 0x0a, 0x0a, - 0x06, 0x4d, 0x45, 0x54, 0x48, 0x4f, 0x44, 0x10, 0x02, 0x12, 0x09, 0x0a, 0x05, 0x47, 0x52, 0x4f, - 0x55, 0x50, 0x10, 0x03, 0x12, 0x0c, 0x0a, 0x08, 0x49, 0x4e, 0x53, 0x54, 0x41, 0x4e, 0x43, 0x45, - 0x10, 0x04, 0x42, 0x96, 0x01, 0x0a, 0x38, 0x63, 0x6f, 0x6d, 0x2e, 0x74, 0x65, 0x6e, 0x63, 0x65, - 0x6e, 0x74, 0x2e, 0x70, 0x6f, 0x6c, 0x61, 0x72, 0x69, 0x73, 0x2e, 0x73, 0x70, 0x65, 0x63, 0x69, - 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, - 0x66, 0x61, 0x75, 0x6c, 0x74, 0x2e, 0x74, 0x6f, 0x6c, 0x65, 0x72, 0x61, 0x6e, 0x63, 0x65, 0x42, - 0x13, 0x43, 0x69, 0x72, 0x63, 0x75, 0x69, 0x74, 0x42, 0x72, 0x65, 0x61, 0x6b, 0x65, 0x72, 0x50, - 0x72, 0x6f, 0x74, 0x6f, 0x5a, 0x45, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, - 0x2f, 0x70, 0x6f, 0x6c, 0x61, 0x72, 0x69, 0x73, 0x6d, 0x65, 0x73, 0x68, 0x2f, 0x73, 0x70, 0x65, - 0x63, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x73, 0x6f, 0x75, 0x72, 0x63, - 0x65, 0x2f, 0x67, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x66, 0x61, 0x75, 0x6c, - 0x74, 0x5f, 0x74, 0x6f, 0x6c, 0x65, 0x72, 0x61, 0x6e, 0x63, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x33, -} - -var ( - file_circuitbreaker_proto_rawDescOnce sync.Once - file_circuitbreaker_proto_rawDescData = file_circuitbreaker_proto_rawDesc -) - -func file_circuitbreaker_proto_rawDescGZIP() []byte { - file_circuitbreaker_proto_rawDescOnce.Do(func() { - file_circuitbreaker_proto_rawDescData = protoimpl.X.CompressGZIP(file_circuitbreaker_proto_rawDescData) - }) - return file_circuitbreaker_proto_rawDescData -} - -var file_circuitbreaker_proto_enumTypes = make([]protoimpl.EnumInfo, 7) -var file_circuitbreaker_proto_msgTypes = make([]protoimpl.MessageInfo, 25) -var file_circuitbreaker_proto_goTypes = []interface{}{ - (Level)(0), // 0: v1.Level - (RecoverConfig_OutlierDetectWhen)(0), // 1: v1.RecoverConfig.OutlierDetectWhen - (DestinationSet_Resource)(0), // 2: v1.DestinationSet.Resource - (DestinationSet_Type)(0), // 3: v1.DestinationSet.Type - (DestinationSet_Scope)(0), // 4: v1.DestinationSet.Scope - (ErrorCondition_InputType)(0), // 5: v1.ErrorCondition.InputType - (TriggerCondition_TriggerType)(0), // 6: v1.TriggerCondition.TriggerType - (*CircuitBreaker)(nil), // 7: v1.CircuitBreaker - (*SourceMatcher)(nil), // 8: v1.SourceMatcher - (*RecoverConfig)(nil), // 9: v1.RecoverConfig - (*CbPolicy)(nil), // 10: v1.CbPolicy - (*DestinationSet)(nil), // 11: v1.DestinationSet - (*CbRule)(nil), // 12: v1.CbRule - (*RuleMatcher)(nil), // 13: v1.RuleMatcher - (*CircuitBreakerRule)(nil), // 14: v1.CircuitBreakerRule - (*ErrorCondition)(nil), // 15: v1.ErrorCondition - (*TriggerCondition)(nil), // 16: v1.TriggerCondition - (*RecoverCondition)(nil), // 17: v1.RecoverCondition - (*FaultDetectConfig)(nil), // 18: v1.FaultDetectConfig - (*BlockConfig)(nil), // 19: v1.BlockConfig - (*FallbackConfig)(nil), // 20: v1.FallbackConfig - (*FallbackResponse)(nil), // 21: v1.FallbackResponse - nil, // 22: v1.SourceMatcher.LabelsEntry - (*CbPolicy_ErrRateConfig)(nil), // 23: v1.CbPolicy.ErrRateConfig - (*CbPolicy_SlowRateConfig)(nil), // 24: v1.CbPolicy.SlowRateConfig - (*CbPolicy_ConsecutiveErrConfig)(nil), // 25: v1.CbPolicy.ConsecutiveErrConfig - (*CbPolicy_ErrRateConfig_SpecialConfig)(nil), // 26: v1.CbPolicy.ErrRateConfig.SpecialConfig - nil, // 27: v1.DestinationSet.MetadataEntry - (*RuleMatcher_SourceService)(nil), // 28: v1.RuleMatcher.SourceService - (*RuleMatcher_DestinationService)(nil), // 29: v1.RuleMatcher.DestinationService - nil, // 30: v1.CircuitBreakerRule.MetadataEntry - (*FallbackResponse_MessageHeader)(nil), // 31: v1.FallbackResponse.MessageHeader - (*wrapperspb.StringValue)(nil), // 32: google.protobuf.StringValue - (*durationpb.Duration)(nil), // 33: google.protobuf.Duration - (*wrapperspb.UInt32Value)(nil), // 34: google.protobuf.UInt32Value - (*model.MatchString)(nil), // 35: v1.MatchString - (*wrapperspb.Int64Value)(nil), // 36: google.protobuf.Int64Value - (*model.API)(nil), // 37: v1.API - (*wrapperspb.BoolValue)(nil), // 38: google.protobuf.BoolValue -} -var file_circuitbreaker_proto_depIdxs = []int32{ - 32, // 0: v1.CircuitBreaker.id:type_name -> google.protobuf.StringValue - 32, // 1: v1.CircuitBreaker.version:type_name -> google.protobuf.StringValue - 32, // 2: v1.CircuitBreaker.name:type_name -> google.protobuf.StringValue - 32, // 3: v1.CircuitBreaker.namespace:type_name -> google.protobuf.StringValue - 32, // 4: v1.CircuitBreaker.service:type_name -> google.protobuf.StringValue - 32, // 5: v1.CircuitBreaker.service_namespace:type_name -> google.protobuf.StringValue - 12, // 6: v1.CircuitBreaker.inbounds:type_name -> v1.CbRule - 12, // 7: v1.CircuitBreaker.outbounds:type_name -> v1.CbRule - 32, // 8: v1.CircuitBreaker.token:type_name -> google.protobuf.StringValue - 32, // 9: v1.CircuitBreaker.owners:type_name -> google.protobuf.StringValue - 32, // 10: v1.CircuitBreaker.business:type_name -> google.protobuf.StringValue - 32, // 11: v1.CircuitBreaker.department:type_name -> google.protobuf.StringValue - 32, // 12: v1.CircuitBreaker.comment:type_name -> google.protobuf.StringValue - 32, // 13: v1.CircuitBreaker.ctime:type_name -> google.protobuf.StringValue - 32, // 14: v1.CircuitBreaker.mtime:type_name -> google.protobuf.StringValue - 32, // 15: v1.CircuitBreaker.revision:type_name -> google.protobuf.StringValue - 14, // 16: v1.CircuitBreaker.rules:type_name -> v1.CircuitBreakerRule - 32, // 17: v1.SourceMatcher.service:type_name -> google.protobuf.StringValue - 32, // 18: v1.SourceMatcher.namespace:type_name -> google.protobuf.StringValue - 22, // 19: v1.SourceMatcher.labels:type_name -> v1.SourceMatcher.LabelsEntry - 33, // 20: v1.RecoverConfig.sleepWindow:type_name -> google.protobuf.Duration - 34, // 21: v1.RecoverConfig.maxRetryAfterHalfOpen:type_name -> google.protobuf.UInt32Value - 34, // 22: v1.RecoverConfig.requestRateAfterHalfOpen:type_name -> google.protobuf.UInt32Value - 34, // 23: v1.RecoverConfig.successRateToClose:type_name -> google.protobuf.UInt32Value - 34, // 24: v1.RecoverConfig.requestCountAfterHalfOpen:type_name -> google.protobuf.UInt32Value - 1, // 25: v1.RecoverConfig.outlierDetectWhen:type_name -> v1.RecoverConfig.OutlierDetectWhen - 23, // 26: v1.CbPolicy.errorRate:type_name -> v1.CbPolicy.ErrRateConfig - 24, // 27: v1.CbPolicy.slowRate:type_name -> v1.CbPolicy.SlowRateConfig - 33, // 28: v1.CbPolicy.judgeDuration:type_name -> google.protobuf.Duration - 34, // 29: v1.CbPolicy.maxEjectionPercent:type_name -> google.protobuf.UInt32Value - 25, // 30: v1.CbPolicy.consecutive:type_name -> v1.CbPolicy.ConsecutiveErrConfig - 32, // 31: v1.DestinationSet.service:type_name -> google.protobuf.StringValue - 32, // 32: v1.DestinationSet.namespace:type_name -> google.protobuf.StringValue - 27, // 33: v1.DestinationSet.metadata:type_name -> v1.DestinationSet.MetadataEntry - 2, // 34: v1.DestinationSet.resource:type_name -> v1.DestinationSet.Resource - 3, // 35: v1.DestinationSet.type:type_name -> v1.DestinationSet.Type - 4, // 36: v1.DestinationSet.scope:type_name -> v1.DestinationSet.Scope - 33, // 37: v1.DestinationSet.metricWindow:type_name -> google.protobuf.Duration - 34, // 38: v1.DestinationSet.metricPrecision:type_name -> google.protobuf.UInt32Value - 33, // 39: v1.DestinationSet.updateInterval:type_name -> google.protobuf.Duration - 9, // 40: v1.DestinationSet.recover:type_name -> v1.RecoverConfig - 10, // 41: v1.DestinationSet.policy:type_name -> v1.CbPolicy - 35, // 42: v1.DestinationSet.method:type_name -> v1.MatchString - 36, // 43: v1.DestinationSet.errorCodes:type_name -> google.protobuf.Int64Value - 8, // 44: v1.CbRule.sources:type_name -> v1.SourceMatcher - 11, // 45: v1.CbRule.destinations:type_name -> v1.DestinationSet - 28, // 46: v1.RuleMatcher.source:type_name -> v1.RuleMatcher.SourceService - 29, // 47: v1.RuleMatcher.destination:type_name -> v1.RuleMatcher.DestinationService - 0, // 48: v1.CircuitBreakerRule.level:type_name -> v1.Level - 13, // 49: v1.CircuitBreakerRule.rule_matcher:type_name -> v1.RuleMatcher - 15, // 50: v1.CircuitBreakerRule.error_conditions:type_name -> v1.ErrorCondition - 16, // 51: v1.CircuitBreakerRule.trigger_condition:type_name -> v1.TriggerCondition - 17, // 52: v1.CircuitBreakerRule.recoverCondition:type_name -> v1.RecoverCondition - 18, // 53: v1.CircuitBreakerRule.faultDetectConfig:type_name -> v1.FaultDetectConfig - 20, // 54: v1.CircuitBreakerRule.fallbackConfig:type_name -> v1.FallbackConfig - 19, // 55: v1.CircuitBreakerRule.block_configs:type_name -> v1.BlockConfig - 30, // 56: v1.CircuitBreakerRule.metadata:type_name -> v1.CircuitBreakerRule.MetadataEntry - 5, // 57: v1.ErrorCondition.input_type:type_name -> v1.ErrorCondition.InputType - 35, // 58: v1.ErrorCondition.condition:type_name -> v1.MatchString - 6, // 59: v1.TriggerCondition.trigger_type:type_name -> v1.TriggerCondition.TriggerType - 37, // 60: v1.BlockConfig.api:type_name -> v1.API - 15, // 61: v1.BlockConfig.error_conditions:type_name -> v1.ErrorCondition - 16, // 62: v1.BlockConfig.trigger_conditions:type_name -> v1.TriggerCondition - 21, // 63: v1.FallbackConfig.response:type_name -> v1.FallbackResponse - 31, // 64: v1.FallbackResponse.headers:type_name -> v1.FallbackResponse.MessageHeader - 35, // 65: v1.SourceMatcher.LabelsEntry.value:type_name -> v1.MatchString - 38, // 66: v1.CbPolicy.ErrRateConfig.enable:type_name -> google.protobuf.BoolValue - 34, // 67: v1.CbPolicy.ErrRateConfig.requestVolumeThreshold:type_name -> google.protobuf.UInt32Value - 34, // 68: v1.CbPolicy.ErrRateConfig.errorRateToPreserved:type_name -> google.protobuf.UInt32Value - 34, // 69: v1.CbPolicy.ErrRateConfig.errorRateToOpen:type_name -> google.protobuf.UInt32Value - 26, // 70: v1.CbPolicy.ErrRateConfig.specials:type_name -> v1.CbPolicy.ErrRateConfig.SpecialConfig - 38, // 71: v1.CbPolicy.SlowRateConfig.enable:type_name -> google.protobuf.BoolValue - 33, // 72: v1.CbPolicy.SlowRateConfig.maxRt:type_name -> google.protobuf.Duration - 34, // 73: v1.CbPolicy.SlowRateConfig.slowRateToPreserved:type_name -> google.protobuf.UInt32Value - 34, // 74: v1.CbPolicy.SlowRateConfig.slowRateToOpen:type_name -> google.protobuf.UInt32Value - 38, // 75: v1.CbPolicy.ConsecutiveErrConfig.enable:type_name -> google.protobuf.BoolValue - 34, // 76: v1.CbPolicy.ConsecutiveErrConfig.consecutiveErrorToPreserved:type_name -> google.protobuf.UInt32Value - 34, // 77: v1.CbPolicy.ConsecutiveErrConfig.consecutiveErrorToOpen:type_name -> google.protobuf.UInt32Value - 32, // 78: v1.CbPolicy.ErrRateConfig.SpecialConfig.type:type_name -> google.protobuf.StringValue - 36, // 79: v1.CbPolicy.ErrRateConfig.SpecialConfig.errorCodes:type_name -> google.protobuf.Int64Value - 34, // 80: v1.CbPolicy.ErrRateConfig.SpecialConfig.errorRateToPreserved:type_name -> google.protobuf.UInt32Value - 34, // 81: v1.CbPolicy.ErrRateConfig.SpecialConfig.errorRateToOpen:type_name -> google.protobuf.UInt32Value - 35, // 82: v1.DestinationSet.MetadataEntry.value:type_name -> v1.MatchString - 35, // 83: v1.RuleMatcher.DestinationService.method:type_name -> v1.MatchString - 84, // [84:84] is the sub-list for method output_type - 84, // [84:84] is the sub-list for method input_type - 84, // [84:84] is the sub-list for extension type_name - 84, // [84:84] is the sub-list for extension extendee - 0, // [0:84] is the sub-list for field type_name -} - -func init() { file_circuitbreaker_proto_init() } -func file_circuitbreaker_proto_init() { - if File_circuitbreaker_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_circuitbreaker_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CircuitBreaker); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_circuitbreaker_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SourceMatcher); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_circuitbreaker_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RecoverConfig); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_circuitbreaker_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CbPolicy); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_circuitbreaker_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DestinationSet); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_circuitbreaker_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CbRule); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_circuitbreaker_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RuleMatcher); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_circuitbreaker_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CircuitBreakerRule); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_circuitbreaker_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ErrorCondition); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_circuitbreaker_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TriggerCondition); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_circuitbreaker_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RecoverCondition); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_circuitbreaker_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FaultDetectConfig); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_circuitbreaker_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BlockConfig); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_circuitbreaker_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FallbackConfig); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_circuitbreaker_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FallbackResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_circuitbreaker_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CbPolicy_ErrRateConfig); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_circuitbreaker_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CbPolicy_SlowRateConfig); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_circuitbreaker_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CbPolicy_ConsecutiveErrConfig); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_circuitbreaker_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CbPolicy_ErrRateConfig_SpecialConfig); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_circuitbreaker_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RuleMatcher_SourceService); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_circuitbreaker_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RuleMatcher_DestinationService); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_circuitbreaker_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FallbackResponse_MessageHeader); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_circuitbreaker_proto_rawDesc, - NumEnums: 7, - NumMessages: 25, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_circuitbreaker_proto_goTypes, - DependencyIndexes: file_circuitbreaker_proto_depIdxs, - EnumInfos: file_circuitbreaker_proto_enumTypes, - MessageInfos: file_circuitbreaker_proto_msgTypes, - }.Build() - File_circuitbreaker_proto = out.File - file_circuitbreaker_proto_rawDesc = nil - file_circuitbreaker_proto_goTypes = nil - file_circuitbreaker_proto_depIdxs = nil +func init() { + proto.RegisterType((*CircuitBreaker)(nil), "v1.CircuitBreaker") + proto.RegisterType((*SourceMatcher)(nil), "v1.SourceMatcher") + proto.RegisterMapType((map[string]*model.MatchString)(nil), "v1.SourceMatcher.LabelsEntry") + proto.RegisterType((*RecoverConfig)(nil), "v1.RecoverConfig") + proto.RegisterType((*CbPolicy)(nil), "v1.CbPolicy") + proto.RegisterType((*CbPolicy_ErrRateConfig)(nil), "v1.CbPolicy.ErrRateConfig") + proto.RegisterType((*CbPolicy_ErrRateConfig_SpecialConfig)(nil), "v1.CbPolicy.ErrRateConfig.SpecialConfig") + proto.RegisterType((*CbPolicy_SlowRateConfig)(nil), "v1.CbPolicy.SlowRateConfig") + proto.RegisterType((*CbPolicy_ConsecutiveErrConfig)(nil), "v1.CbPolicy.ConsecutiveErrConfig") + proto.RegisterType((*DestinationSet)(nil), "v1.DestinationSet") + proto.RegisterMapType((map[string]*model.MatchString)(nil), "v1.DestinationSet.MetadataEntry") + proto.RegisterType((*CbRule)(nil), "v1.CbRule") + proto.RegisterType((*RuleMatcher)(nil), "v1.RuleMatcher") + proto.RegisterType((*RuleMatcher_SourceService)(nil), "v1.RuleMatcher.SourceService") + proto.RegisterType((*RuleMatcher_DestinationService)(nil), "v1.RuleMatcher.DestinationService") + proto.RegisterType((*CircuitBreakerRule)(nil), "v1.CircuitBreakerRule") + proto.RegisterMapType((map[string]string)(nil), "v1.CircuitBreakerRule.MetadataEntry") + proto.RegisterType((*ErrorCondition)(nil), "v1.ErrorCondition") + proto.RegisterType((*TriggerCondition)(nil), "v1.TriggerCondition") + proto.RegisterType((*RecoverCondition)(nil), "v1.RecoverCondition") + proto.RegisterType((*FaultDetectConfig)(nil), "v1.FaultDetectConfig") + proto.RegisterType((*BlockConfig)(nil), "v1.BlockConfig") + proto.RegisterType((*FallbackConfig)(nil), "v1.FallbackConfig") + proto.RegisterType((*FallbackResponse)(nil), "v1.FallbackResponse") + proto.RegisterType((*FallbackResponse_MessageHeader)(nil), "v1.FallbackResponse.MessageHeader") + proto.RegisterEnum("v1.Level", Level_name, Level_value) + proto.RegisterEnum("v1.RecoverConfig_OutlierDetectWhen", RecoverConfig_OutlierDetectWhen_name, RecoverConfig_OutlierDetectWhen_value) + proto.RegisterEnum("v1.DestinationSet_Resource", DestinationSet_Resource_name, DestinationSet_Resource_value) + proto.RegisterEnum("v1.DestinationSet_Type", DestinationSet_Type_name, DestinationSet_Type_value) + proto.RegisterEnum("v1.DestinationSet_Scope", DestinationSet_Scope_name, DestinationSet_Scope_value) + proto.RegisterEnum("v1.ErrorCondition_InputType", ErrorCondition_InputType_name, ErrorCondition_InputType_value) + proto.RegisterEnum("v1.TriggerCondition_TriggerType", TriggerCondition_TriggerType_name, TriggerCondition_TriggerType_value) +} + +func init() { + proto.RegisterFile("circuitbreaker.proto", fileDescriptor_circuitbreaker_43b6ff9ae3c12c7a) +} + +var fileDescriptor_circuitbreaker_43b6ff9ae3c12c7a = []byte{ + // 2304 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x59, 0x4b, 0x77, 0x1b, 0x49, + 0x15, 0x8e, 0x64, 0xcb, 0x92, 0xae, 0x2c, 0xa5, 0x5d, 0x63, 0x67, 0x3a, 0xca, 0xcb, 0xa3, 0x09, + 0x8c, 0x21, 0x83, 0x9c, 0x78, 0x26, 0x99, 0x9c, 0x24, 0xc0, 0xc8, 0xb2, 0x92, 0x38, 0x38, 0x92, + 0x29, 0xc9, 0x09, 0x93, 0x05, 0x3a, 0xad, 0x56, 0x59, 0xee, 0x49, 0xbf, 0xa8, 0xae, 0x56, 0xe2, + 0x1d, 0x2b, 0x36, 0x1c, 0x76, 0x1c, 0x0e, 0x7f, 0x80, 0x05, 0x2b, 0x0e, 0x87, 0x7f, 0xc0, 0x0f, + 0x60, 0xc9, 0x7f, 0x61, 0xc7, 0xa9, 0x47, 0x4b, 0xdd, 0x7a, 0x64, 0x3a, 0x61, 0xc1, 0xac, 0xac, + 0xbe, 0xf7, 0xbb, 0xb7, 0x6e, 0xdf, 0xba, 0xcf, 0x36, 0x6c, 0x9a, 0x16, 0x35, 0x43, 0x8b, 0x0d, + 0x28, 0x31, 0x5e, 0x13, 0x5a, 0xf7, 0xa9, 0xc7, 0x3c, 0x94, 0x1d, 0xdf, 0xa9, 0x5e, 0x1f, 0x79, + 0xde, 0xc8, 0x26, 0xbb, 0x82, 0x32, 0x08, 0x4f, 0x77, 0xdf, 0x50, 0xc3, 0xf7, 0x09, 0x0d, 0x24, + 0x66, 0x9e, 0x3f, 0x0c, 0xa9, 0xc1, 0x2c, 0xcf, 0x55, 0xfc, 0x92, 0xe3, 0x0d, 0x89, 0x2d, 0x1f, + 0x6a, 0x7f, 0xcd, 0x43, 0xa5, 0x29, 0x4f, 0xda, 0x97, 0x27, 0xa1, 0xcf, 0x21, 0x6b, 0x0d, 0xf5, + 0xcc, 0x76, 0x66, 0xa7, 0xb4, 0x77, 0xb5, 0x2e, 0x95, 0xd5, 0x23, 0x65, 0xf5, 0x2e, 0xa3, 0x96, + 0x3b, 0x7a, 0x61, 0xd8, 0x21, 0xc1, 0x59, 0x6b, 0x88, 0xee, 0x41, 0x7e, 0x4c, 0x68, 0x60, 0x79, + 0xae, 0x9e, 0x4d, 0x21, 0x12, 0x81, 0xd1, 0x6d, 0x58, 0x75, 0x0d, 0x87, 0xe8, 0x2b, 0x29, 0x84, + 0x04, 0x12, 0x3d, 0x80, 0x22, 0xff, 0x1b, 0xf8, 0x86, 0x49, 0xf4, 0xd5, 0x14, 0x62, 0x53, 0x38, + 0xb7, 0x32, 0x20, 0x74, 0x6c, 0x99, 0x44, 0xcf, 0xa5, 0xb1, 0x52, 0x81, 0xd1, 0x21, 0x6c, 0xa8, + 0x9f, 0xfd, 0xe9, 0xd9, 0x6b, 0x29, 0x34, 0x68, 0x4a, 0xac, 0x3d, 0x31, 0xe1, 0x87, 0x50, 0xb0, + 0xdc, 0x81, 0x17, 0xba, 0xc3, 0x40, 0xcf, 0x6f, 0xaf, 0xec, 0x94, 0xf6, 0xa0, 0x3e, 0xbe, 0x53, + 0x6f, 0x0e, 0x70, 0x68, 0x13, 0x3c, 0xe1, 0xa1, 0x1d, 0x28, 0x7a, 0x21, 0x53, 0xc0, 0xc2, 0x1c, + 0x70, 0xca, 0x44, 0x7b, 0x90, 0x63, 0xde, 0x6b, 0xe2, 0xea, 0xc5, 0x14, 0x06, 0x49, 0x28, 0xfa, + 0x12, 0xd6, 0xbc, 0x37, 0x2e, 0xa1, 0x81, 0x0e, 0x29, 0x84, 0x14, 0x16, 0xdd, 0x87, 0xc2, 0x20, + 0x0c, 0x2c, 0x97, 0x04, 0x81, 0x5e, 0x4a, 0x21, 0x37, 0x41, 0xa3, 0x47, 0x00, 0x43, 0xe2, 0x1b, + 0x94, 0x39, 0xc4, 0x65, 0xfa, 0x7a, 0x0a, 0xd9, 0x18, 0x9e, 0x5f, 0x9b, 0xe9, 0x39, 0x42, 0xb4, + 0x9c, 0xe6, 0xda, 0x14, 0x98, 0x7b, 0xc6, 0x64, 0x96, 0x43, 0xf4, 0x4a, 0x1a, 0xcf, 0x08, 0x28, + 0x97, 0x71, 0x84, 0xcc, 0xc5, 0x34, 0x32, 0x02, 0xca, 0xfd, 0x42, 0xc9, 0xd8, 0x12, 0xd1, 0xaf, + 0xa5, 0xf1, 0x4b, 0x84, 0x46, 0x9f, 0x43, 0x8e, 0x86, 0x36, 0x09, 0xf4, 0x2d, 0x71, 0xc3, 0x97, + 0xc4, 0x0d, 0x27, 0xf2, 0x50, 0xdc, 0xb6, 0x04, 0x3d, 0x5b, 0x2d, 0x6c, 0x68, 0x5b, 0xb5, 0xdf, + 0x65, 0xa1, 0xdc, 0xf5, 0x42, 0x6a, 0x92, 0xe7, 0x06, 0x33, 0xcf, 0x08, 0x8d, 0x87, 0x75, 0xe6, + 0x7d, 0xc2, 0x3a, 0x91, 0x4a, 0xd9, 0xf7, 0x4b, 0xa5, 0xbb, 0xb0, 0x66, 0x1b, 0x03, 0x62, 0x07, + 0xfa, 0x8a, 0x30, 0xfd, 0x1a, 0x37, 0x3d, 0x61, 0x56, 0xfd, 0x48, 0xf0, 0x5b, 0x2e, 0xa3, 0xe7, + 0x58, 0x81, 0xab, 0xcf, 0xa0, 0x14, 0x23, 0x23, 0x0d, 0x56, 0x5e, 0x93, 0x73, 0x61, 0x75, 0x11, + 0xf3, 0x9f, 0xe8, 0x07, 0x90, 0x1b, 0xf3, 0xb3, 0x94, 0x3d, 0x17, 0xb9, 0x5a, 0xa1, 0x50, 0xda, + 0x81, 0x25, 0xf7, 0x41, 0xf6, 0x7e, 0xa6, 0xf6, 0x8f, 0x55, 0x28, 0x63, 0x62, 0x7a, 0x63, 0x42, + 0x9b, 0x9e, 0x7b, 0x6a, 0x8d, 0xd0, 0x43, 0x28, 0x05, 0x36, 0x21, 0xfe, 0x4b, 0xcb, 0x1d, 0x7a, + 0x6f, 0x94, 0x33, 0x2e, 0xcf, 0xbd, 0xd2, 0x81, 0xaa, 0x84, 0x38, 0x8e, 0x46, 0x18, 0xb6, 0x1c, + 0xe3, 0x2d, 0x26, 0x8c, 0x9e, 0x37, 0x4e, 0x19, 0xa1, 0x4f, 0x0d, 0xfb, 0xb4, 0xe3, 0x93, 0xe5, + 0x05, 0xed, 0xe4, 0xd0, 0x65, 0x5f, 0xec, 0x49, 0xcf, 0x2c, 0x16, 0x45, 0xbf, 0x02, 0x9d, 0x92, + 0xdf, 0x84, 0x24, 0x60, 0xd8, 0x60, 0x24, 0xa9, 0x56, 0xfa, 0xed, 0xdd, 0x6a, 0x97, 0x4a, 0xa3, + 0x23, 0x40, 0x41, 0x68, 0x9a, 0x24, 0x08, 0x38, 0xaf, 0xe7, 0x35, 0x6d, 0x2f, 0x58, 0x5e, 0x0f, + 0xe3, 0x3a, 0x17, 0xc8, 0xa1, 0x57, 0x70, 0x59, 0x9d, 0xd4, 0xf4, 0x42, 0x97, 0x25, 0x0d, 0xcd, + 0xa5, 0x50, 0xba, 0x5c, 0x1c, 0xfd, 0x12, 0x36, 0xbc, 0x90, 0xd9, 0x16, 0xa1, 0x07, 0x84, 0x11, + 0x93, 0xbd, 0x3c, 0x23, 0xae, 0x28, 0x9e, 0x95, 0xbd, 0x4f, 0xf9, 0xed, 0x26, 0xae, 0xb0, 0xde, + 0x99, 0x85, 0xe2, 0x79, 0xe9, 0xda, 0x03, 0xd8, 0x98, 0xc3, 0xa1, 0x22, 0xe4, 0xda, 0xad, 0x17, + 0x2d, 0xac, 0x5d, 0x40, 0x15, 0x80, 0x4e, 0xbb, 0x8f, 0x5b, 0xcd, 0x0e, 0x7f, 0xce, 0x20, 0x80, + 0xb5, 0xc6, 0xd1, 0xcb, 0xc6, 0x37, 0x5d, 0x2d, 0x5b, 0xfb, 0x4f, 0x09, 0x0a, 0xcd, 0xc1, 0xb1, + 0x67, 0x5b, 0xe6, 0x39, 0xba, 0x0f, 0x45, 0x42, 0xa9, 0x47, 0xb9, 0x2f, 0x54, 0xb8, 0x54, 0x65, + 0x95, 0x95, 0x80, 0x7a, 0x8b, 0x0a, 0x9e, 0x34, 0x0e, 0x4f, 0xc1, 0xe8, 0x2b, 0x28, 0x04, 0xb6, + 0xf7, 0x46, 0x08, 0xca, 0x00, 0xb9, 0x92, 0x10, 0xec, 0x2a, 0xa6, 0x92, 0x9c, 0x80, 0xd1, 0xcf, + 0xa1, 0xfc, 0x6d, 0x38, 0x1c, 0x91, 0x28, 0x08, 0x55, 0xeb, 0x7b, 0x47, 0x94, 0x26, 0xf1, 0xfc, + 0xe6, 0x1d, 0xe3, 0x6d, 0xeb, 0x5b, 0x62, 0xf2, 0xc7, 0x63, 0x42, 0x4d, 0x5e, 0x18, 0x53, 0xdd, + 0xfc, 0xbc, 0x1c, 0x6a, 0x42, 0xc9, 0xf4, 0xdc, 0x80, 0x98, 0x21, 0xb3, 0xc6, 0x51, 0x5b, 0xfc, + 0x24, 0xf1, 0x2a, 0xcd, 0x29, 0xbf, 0x45, 0xd5, 0x3d, 0xe1, 0xb8, 0x54, 0xf5, 0x8f, 0x39, 0x28, + 0x27, 0x3c, 0x85, 0xf6, 0x60, 0x8d, 0xb8, 0xc6, 0xc0, 0x9e, 0x7a, 0x75, 0xd6, 0xb0, 0x7d, 0xcf, + 0xb3, 0x55, 0x7b, 0x91, 0x48, 0xd4, 0x83, 0x4b, 0x2a, 0x8a, 0x5e, 0x78, 0x76, 0xe8, 0x90, 0xde, + 0x19, 0x25, 0xc1, 0x99, 0x67, 0x0f, 0x53, 0x65, 0xe0, 0x12, 0x59, 0x74, 0x0c, 0x9b, 0x93, 0x5b, + 0xeb, 0x79, 0xc7, 0x94, 0xf0, 0xea, 0x47, 0x86, 0x4b, 0x27, 0x8e, 0xb8, 0xce, 0x85, 0x92, 0xe8, + 0x31, 0x5c, 0x8c, 0xd1, 0x45, 0x8a, 0xa4, 0xf1, 0xfe, 0xac, 0x10, 0x3a, 0x80, 0x42, 0xe0, 0x13, + 0xd3, 0x32, 0xec, 0x40, 0xcf, 0x89, 0x62, 0xb0, 0xb3, 0x3c, 0xf6, 0xea, 0x5d, 0x09, 0x9d, 0xc4, + 0x93, 0x92, 0xac, 0xfe, 0x99, 0xb7, 0x83, 0x38, 0x8f, 0xcf, 0x54, 0xec, 0xdc, 0x4f, 0xd7, 0x0b, + 0x04, 0x12, 0x3d, 0x04, 0x10, 0xc6, 0x35, 0xbd, 0x21, 0x09, 0xf4, 0xac, 0xb0, 0xe5, 0xca, 0x9c, + 0xdc, 0xa1, 0xcb, 0xee, 0x7d, 0xa9, 0xba, 0xf3, 0x14, 0xfe, 0xfd, 0x75, 0x70, 0xf5, 0xf7, 0x59, + 0xa8, 0x24, 0xf3, 0xf0, 0x83, 0xe2, 0x72, 0x17, 0x72, 0xbc, 0xba, 0x33, 0x15, 0x86, 0xef, 0xc8, + 0x54, 0x89, 0x43, 0x6d, 0xf8, 0x28, 0x4a, 0xf7, 0xf7, 0x75, 0xc8, 0x22, 0x41, 0x74, 0x00, 0x95, + 0x29, 0x39, 0xb5, 0x3b, 0x66, 0x64, 0xaa, 0xbf, 0xcd, 0xc2, 0xe6, 0xa2, 0x54, 0xfe, 0x20, 0x9f, + 0xfc, 0x1a, 0xae, 0x98, 0x09, 0x5d, 0x1e, 0x8d, 0xbf, 0x6a, 0x9a, 0x84, 0x7d, 0x97, 0x02, 0x5e, + 0x0b, 0xe6, 0xd9, 0xaa, 0x6d, 0xa6, 0xa8, 0x05, 0x8b, 0x65, 0x6b, 0x7f, 0xc8, 0x43, 0xe5, 0x80, + 0x04, 0xcc, 0x72, 0xc5, 0x7d, 0x75, 0x09, 0xfb, 0xbf, 0xcc, 0x4e, 0x8f, 0xa0, 0xe0, 0x10, 0x66, + 0x0c, 0x0d, 0x66, 0xa8, 0x29, 0x60, 0x9b, 0x27, 0x7e, 0xd2, 0xb2, 0xfa, 0x73, 0x05, 0x91, 0x03, + 0xd4, 0x44, 0x82, 0x77, 0x1e, 0x4a, 0x02, 0x31, 0x69, 0x89, 0x38, 0xa8, 0xc8, 0xce, 0x33, 0x23, + 0x8d, 0x15, 0x04, 0x4f, 0xc0, 0xe8, 0x96, 0xaa, 0x0b, 0x39, 0x21, 0xf4, 0xf1, 0x02, 0xa1, 0xde, + 0xb9, 0x1f, 0x95, 0x84, 0x3a, 0xe4, 0x02, 0xd3, 0xf3, 0x89, 0xea, 0xd4, 0xfa, 0x02, 0x74, 0x97, + 0xf3, 0xb1, 0x84, 0xa1, 0x9f, 0xc2, 0xba, 0x43, 0x18, 0xb5, 0x4c, 0x35, 0x7b, 0xe5, 0xbf, 0x2b, + 0x57, 0x12, 0x70, 0x9e, 0xf2, 0xf2, 0xf9, 0x98, 0x12, 0x53, 0x4e, 0xd2, 0x85, 0x34, 0x29, 0x3f, + 0x23, 0x84, 0x1a, 0x50, 0x09, 0xfd, 0xa1, 0xc1, 0xc8, 0xa1, 0xcb, 0x08, 0x1d, 0x1b, 0xb6, 0xda, + 0x8a, 0xde, 0x61, 0xc8, 0x8c, 0x00, 0xba, 0x05, 0x79, 0x2a, 0x47, 0x12, 0xb5, 0x1c, 0x6d, 0xcc, + 0x4d, 0x29, 0x38, 0x42, 0xa0, 0x9b, 0xb0, 0xe6, 0x8b, 0x6a, 0xad, 0x16, 0xa2, 0xf5, 0x78, 0x05, + 0xc7, 0x8a, 0x87, 0x3e, 0x83, 0x35, 0x87, 0xb0, 0x33, 0x6f, 0xa8, 0x56, 0x9f, 0xb9, 0xa9, 0x56, + 0xb1, 0x67, 0x0a, 0x71, 0xf9, 0xbd, 0x0a, 0x71, 0xf5, 0x08, 0xca, 0x89, 0x98, 0xf9, 0xdf, 0xa6, + 0xeb, 0x9b, 0x50, 0x88, 0x62, 0x88, 0xcf, 0x4f, 0xdd, 0x93, 0xfd, 0x6e, 0xab, 0xa7, 0x5d, 0x40, + 0xeb, 0x50, 0x38, 0x6c, 0x77, 0x7b, 0x8d, 0x76, 0xb3, 0xa5, 0x65, 0x6a, 0xd7, 0x60, 0x95, 0x07, + 0x0d, 0x47, 0x3c, 0x39, 0xea, 0xec, 0x37, 0x8e, 0xb4, 0x0b, 0x7c, 0x10, 0x3b, 0xea, 0x34, 0x1b, + 0x47, 0x82, 0x9d, 0x13, 0x51, 0x82, 0xf2, 0xb0, 0xd2, 0x38, 0xe2, 0xcc, 0x12, 0xe4, 0x9b, 0x27, + 0x18, 0xb7, 0xda, 0x3d, 0x2d, 0x53, 0x73, 0x60, 0x4d, 0xee, 0xb3, 0xdc, 0xe9, 0xf2, 0xac, 0x40, + 0xcf, 0x88, 0xb7, 0xde, 0x98, 0xdb, 0x27, 0x70, 0x84, 0x40, 0xf7, 0x60, 0x7d, 0x38, 0x0d, 0xc5, + 0xa8, 0x61, 0xa1, 0xf9, 0x10, 0xc5, 0x09, 0x5c, 0xed, 0x5f, 0x59, 0x28, 0xf1, 0xd3, 0xa2, 0xbd, + 0xe9, 0x2e, 0xac, 0xa9, 0x3c, 0x92, 0xa9, 0x2f, 0x76, 0x98, 0x18, 0x40, 0x9d, 0xdf, 0x95, 0x29, + 0x8f, 0x15, 0x18, 0x1d, 0x40, 0x29, 0xa6, 0x56, 0xb9, 0xb2, 0x36, 0x2b, 0x9b, 0xb0, 0x44, 0x2a, + 0x88, 0x8b, 0x55, 0x9f, 0x44, 0x5b, 0x9c, 0xe2, 0x22, 0x3d, 0x59, 0x89, 0x8a, 0xd3, 0x5a, 0x73, + 0x75, 0xb6, 0xd6, 0x14, 0x63, 0xd5, 0xa4, 0x7a, 0x0e, 0x68, 0xfe, 0xac, 0x0f, 0xd5, 0x86, 0x6e, + 0x4d, 0x42, 0x75, 0x65, 0x61, 0x88, 0xec, 0x67, 0xf5, 0x4c, 0x14, 0xae, 0xb5, 0x7f, 0xe7, 0x01, + 0xcd, 0xaf, 0xab, 0xa8, 0x32, 0xf9, 0x74, 0x54, 0x14, 0x1f, 0x87, 0x90, 0xfa, 0xc8, 0x23, 0x0f, + 0x93, 0x9f, 0x71, 0x12, 0x56, 0xac, 0xcc, 0x5a, 0x71, 0x69, 0xd2, 0x92, 0x78, 0x85, 0x2b, 0x4c, + 0xda, 0x4e, 0x35, 0xb6, 0x69, 0xe7, 0x84, 0xd0, 0x74, 0x97, 0xde, 0x8c, 0xb6, 0xfd, 0x35, 0xc1, + 0x50, 0xfb, 0xfc, 0x66, 0xb4, 0xcf, 0xe7, 0x25, 0xd5, 0x89, 0xa8, 0x44, 0x50, 0x0b, 0x92, 0x2a, + 0x1e, 0xd0, 0xb6, 0xb8, 0x58, 0x93, 0x5a, 0xbe, 0xb8, 0xd8, 0xa2, 0xe0, 0xc5, 0x49, 0xe8, 0x06, + 0xe4, 0x6c, 0x32, 0x26, 0xb6, 0xbe, 0x25, 0xaa, 0x62, 0x91, 0x3b, 0xe7, 0x88, 0x13, 0xb0, 0xa4, + 0xa3, 0x3d, 0x58, 0xe7, 0xbb, 0x7a, 0xdf, 0x91, 0x51, 0xa0, 0x5f, 0x9a, 0x3a, 0x31, 0x16, 0x1c, + 0xb8, 0x44, 0x63, 0x61, 0xd8, 0x00, 0x4d, 0x64, 0x71, 0xdf, 0xf4, 0xdc, 0xa1, 0x25, 0x43, 0xfa, + 0xe3, 0x69, 0x48, 0xb7, 0x64, 0x86, 0x2b, 0x96, 0xf0, 0xff, 0x45, 0x92, 0xa0, 0x05, 0xa8, 0x05, + 0x1b, 0x8c, 0x5a, 0xa3, 0x11, 0x89, 0x29, 0xd1, 0x75, 0xa1, 0x63, 0x93, 0xeb, 0xe8, 0x49, 0x66, + 0x52, 0x8b, 0xc6, 0x66, 0xa8, 0xe8, 0x36, 0x6c, 0x3a, 0xc6, 0xdb, 0x3e, 0x51, 0x3b, 0x42, 0xdf, + 0x57, 0xcb, 0xc5, 0xe5, 0xed, 0xcc, 0x4e, 0x79, 0xe1, 0xfa, 0xf0, 0x35, 0x68, 0x74, 0x52, 0x19, + 0xd5, 0xb9, 0x55, 0xf1, 0xce, 0x9b, 0xc9, 0xaa, 0x29, 0x79, 0x78, 0x0e, 0x8d, 0x9a, 0xb0, 0x71, + 0x6a, 0x84, 0x36, 0x93, 0x9b, 0x9c, 0xac, 0xaf, 0xfa, 0x15, 0xa1, 0x62, 0x8b, 0xab, 0x78, 0x3c, + 0xcb, 0xc4, 0xf3, 0x78, 0xf4, 0x00, 0x2a, 0xa7, 0x86, 0x6d, 0x0f, 0x0c, 0xf3, 0xb5, 0xd2, 0x70, + 0x55, 0x68, 0x40, 0x52, 0x43, 0x9c, 0x83, 0x67, 0x90, 0xe8, 0x2e, 0x94, 0x07, 0xb6, 0x67, 0xbe, + 0xe6, 0x9e, 0x3b, 0xb5, 0x46, 0x81, 0x7e, 0x4d, 0xf8, 0x4d, 0xdc, 0xd9, 0x3e, 0x67, 0x28, 0xb9, + 0x24, 0x8a, 0x87, 0xa2, 0x4f, 0x2d, 0x8f, 0x5a, 0xec, 0x5c, 0xbf, 0x2e, 0xfc, 0x33, 0x79, 0x46, + 0x5f, 0xc7, 0x1a, 0xfc, 0x0d, 0xa1, 0xed, 0xe6, 0xe2, 0x2f, 0x3b, 0x4b, 0x9b, 0x7c, 0x15, 0x0a, + 0x64, 0x68, 0x31, 0x91, 0x02, 0x3b, 0x22, 0x05, 0x26, 0xcf, 0xe8, 0x3a, 0xc0, 0x90, 0xd8, 0x84, + 0x11, 0xc1, 0xfd, 0x91, 0xe0, 0xc6, 0x28, 0xd5, 0x87, 0xdf, 0xdd, 0x07, 0x36, 0xe3, 0x7d, 0xa0, + 0x18, 0x2b, 0xfb, 0xcf, 0x56, 0x0b, 0xa0, 0x6d, 0xd5, 0xfe, 0x96, 0x81, 0x4a, 0x32, 0xee, 0x78, + 0x6b, 0xb2, 0x5c, 0x3f, 0x64, 0xfd, 0xc9, 0x6e, 0x51, 0xd9, 0xbb, 0x3a, 0x1f, 0x9f, 0xf5, 0x43, + 0x0e, 0x12, 0x83, 0x44, 0xd1, 0x8a, 0x7e, 0xa2, 0x9f, 0x40, 0x71, 0x1a, 0x97, 0x4b, 0x7a, 0xcf, + 0x14, 0x51, 0xbb, 0x03, 0xc5, 0x89, 0x1a, 0xde, 0x31, 0x4e, 0xda, 0xbf, 0x68, 0x77, 0x5e, 0xb6, + 0x65, 0xf7, 0xc1, 0xad, 0x5e, 0xbf, 0xd9, 0x39, 0x68, 0x69, 0x19, 0xde, 0x69, 0x0e, 0x5a, 0x47, + 0x8d, 0x6f, 0xb4, 0x6c, 0xed, 0x2f, 0x59, 0xd0, 0x66, 0xa3, 0x1c, 0x35, 0x61, 0x3d, 0x4a, 0x8b, + 0x98, 0xd5, 0xdb, 0x8b, 0x32, 0x22, 0x22, 0x08, 0xcb, 0x4b, 0x6c, 0xfa, 0x80, 0x6e, 0x40, 0x29, + 0x4a, 0xcf, 0xd0, 0x95, 0x4b, 0x40, 0x79, 0xd2, 0x77, 0x43, 0x97, 0xa1, 0x4f, 0xa1, 0x2c, 0x01, + 0x51, 0xba, 0xac, 0x08, 0xc8, 0xba, 0x20, 0x46, 0x89, 0x52, 0x85, 0x82, 0x15, 0x8d, 0x24, 0xab, + 0x32, 0x5c, 0xa2, 0x67, 0xf4, 0x19, 0x5c, 0x74, 0x2c, 0xd7, 0x72, 0x42, 0xa7, 0xaf, 0x96, 0x58, + 0x51, 0xdc, 0xca, 0xb8, 0xa2, 0xc8, 0x58, 0x52, 0x6b, 0x0d, 0x28, 0xc5, 0xcc, 0x4c, 0x7a, 0xa6, + 0x02, 0xd0, 0xc2, 0xb8, 0x83, 0xfb, 0xb8, 0xd1, 0xe3, 0xbe, 0xd9, 0x82, 0x8d, 0x66, 0xa7, 0xdd, + 0x6d, 0x35, 0x4f, 0x7a, 0x87, 0x2f, 0x5a, 0x7d, 0xc1, 0xd3, 0xb2, 0x35, 0x02, 0xda, 0x6c, 0x52, + 0xa2, 0x4f, 0x60, 0x5d, 0x7c, 0x08, 0xeb, 0xbf, 0x99, 0x7e, 0x37, 0x2b, 0x27, 0x3f, 0x8e, 0xd5, + 0x01, 0xc5, 0x66, 0xea, 0xae, 0xfc, 0x82, 0xa4, 0x7c, 0xb1, 0x80, 0x53, 0xbb, 0x05, 0x1b, 0x73, + 0x89, 0x1b, 0xab, 0xea, 0x99, 0x78, 0x55, 0xaf, 0xfd, 0x33, 0x03, 0xa5, 0x58, 0xa6, 0x4d, 0xfa, + 0x45, 0x26, 0xd6, 0x2f, 0x2e, 0xc3, 0x8a, 0xe1, 0x5b, 0x2a, 0x76, 0xf2, 0xfc, 0x06, 0x1b, 0xc7, + 0x87, 0x98, 0xd3, 0xd0, 0xcf, 0x16, 0xd4, 0xcf, 0x95, 0x65, 0xf5, 0x13, 0xcf, 0x61, 0xd1, 0x01, + 0xa0, 0xb9, 0xe2, 0x19, 0xe8, 0xab, 0xcb, 0xab, 0x27, 0x5e, 0x80, 0xaf, 0xbd, 0x82, 0x4a, 0xb2, + 0xd0, 0x2c, 0x7b, 0x5d, 0x74, 0x5b, 0x0c, 0xf0, 0x3e, 0x77, 0x9a, 0x7a, 0x9f, 0xcd, 0x78, 0x99, + 0xc2, 0x8a, 0x87, 0x27, 0xa8, 0xda, 0xdf, 0x33, 0xa0, 0xcd, 0xb2, 0xb9, 0x97, 0x4c, 0x6f, 0x28, + 0x95, 0xe7, 0xb0, 0xf8, 0x8d, 0x1e, 0x41, 0xfe, 0x8c, 0x18, 0x43, 0x42, 0xa3, 0xa1, 0xa8, 0xb6, + 0x48, 0x73, 0xfd, 0x39, 0x09, 0x02, 0x63, 0x44, 0x9e, 0x0a, 0x28, 0x8e, 0x44, 0xb8, 0xc6, 0x81, + 0x37, 0x3c, 0x57, 0xed, 0x58, 0xfc, 0xae, 0x7e, 0xc5, 0x8b, 0x49, 0x0c, 0x9d, 0xb6, 0x98, 0xfc, + 0xf8, 0x31, 0xe4, 0x44, 0x67, 0x4c, 0x46, 0x69, 0x09, 0xf2, 0xdd, 0x16, 0x7e, 0x71, 0xc8, 0x87, + 0x47, 0x3e, 0x34, 0x3e, 0x6f, 0xf5, 0x9e, 0x76, 0x0e, 0xb4, 0x2c, 0x4f, 0xe5, 0x27, 0xb8, 0x73, + 0x72, 0xac, 0xad, 0x24, 0x26, 0xcc, 0xd5, 0xfd, 0x3f, 0x65, 0xe0, 0xbe, 0xe9, 0x39, 0x75, 0x46, + 0x5c, 0x9e, 0x48, 0x75, 0xdf, 0xb3, 0x0d, 0x6a, 0x05, 0x75, 0xf1, 0x01, 0xe4, 0xd4, 0x32, 0xe5, + 0xff, 0xb4, 0x0c, 0xdf, 0xe2, 0x6f, 0x2a, 0x3a, 0x43, 0x9d, 0x79, 0x36, 0xa1, 0x86, 0x6b, 0x92, + 0xfd, 0x8f, 0x92, 0x25, 0xf7, 0x98, 0x4f, 0xd0, 0xaf, 0x5a, 0x23, 0x8b, 0x9d, 0x85, 0x83, 0xba, + 0xe9, 0x39, 0xbb, 0x4a, 0x9b, 0x43, 0x82, 0xb3, 0xdd, 0x84, 0xc6, 0x5d, 0x39, 0xec, 0xed, 0x8e, + 0xbc, 0x5d, 0xc3, 0xb7, 0x76, 0xc7, 0x77, 0x76, 0x85, 0xee, 0xfe, 0x44, 0xf7, 0x60, 0x4d, 0xcc, + 0xe3, 0x5f, 0xfc, 0x37, 0x00, 0x00, 0xff, 0xff, 0x1e, 0x58, 0xef, 0x13, 0xa3, 0x1b, 0x00, 0x00, } diff --git a/source/go/api/v1/fault_tolerance/fault_detector.pb.go b/source/go/api/v1/fault_tolerance/fault_detector.pb.go index 8afb5aa..2191803 100644 --- a/source/go/api/v1/fault_tolerance/fault_detector.pb.go +++ b/source/go/api/v1/fault_tolerance/fault_detector.pb.go @@ -1,25 +1,23 @@ // Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.33.0 -// protoc v5.27.3 // source: fault_detector.proto -package fault_tolerance +package fault_tolerance // import "github.com/polarismesh/specification/source/go/api/v1/fault_tolerance" -import ( - model "github.com/polarismesh/specification/source/go/api/v1/model" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" -) +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import model "github.com/polarismesh/specification/source/go/api/v1/model" -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package // detect protocol type FaultDetectRule_Protocol int32 @@ -31,111 +29,75 @@ const ( FaultDetectRule_UDP FaultDetectRule_Protocol = 3 ) -// Enum value maps for FaultDetectRule_Protocol. -var ( - FaultDetectRule_Protocol_name = map[int32]string{ - 0: "UNKNOWN", - 1: "HTTP", - 2: "TCP", - 3: "UDP", - } - FaultDetectRule_Protocol_value = map[string]int32{ - "UNKNOWN": 0, - "HTTP": 1, - "TCP": 2, - "UDP": 3, - } -) - -func (x FaultDetectRule_Protocol) Enum() *FaultDetectRule_Protocol { - p := new(FaultDetectRule_Protocol) - *p = x - return p +var FaultDetectRule_Protocol_name = map[int32]string{ + 0: "UNKNOWN", + 1: "HTTP", + 2: "TCP", + 3: "UDP", } - -func (x FaultDetectRule_Protocol) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (FaultDetectRule_Protocol) Descriptor() protoreflect.EnumDescriptor { - return file_fault_detector_proto_enumTypes[0].Descriptor() -} - -func (FaultDetectRule_Protocol) Type() protoreflect.EnumType { - return &file_fault_detector_proto_enumTypes[0] +var FaultDetectRule_Protocol_value = map[string]int32{ + "UNKNOWN": 0, + "HTTP": 1, + "TCP": 2, + "UDP": 3, } -func (x FaultDetectRule_Protocol) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) +func (x FaultDetectRule_Protocol) String() string { + return proto.EnumName(FaultDetectRule_Protocol_name, int32(x)) } - -// Deprecated: Use FaultDetectRule_Protocol.Descriptor instead. func (FaultDetectRule_Protocol) EnumDescriptor() ([]byte, []int) { - return file_fault_detector_proto_rawDescGZIP(), []int{1, 0} + return fileDescriptor_fault_detector_974ba3e80f86913c, []int{1, 0} } type FaultDetector struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // fault detect rules for current service Rules []*FaultDetectRule `protobuf:"bytes,1,rep,name=rules,proto3" json:"rules,omitempty"` // total revision for the fault detect rules - Revision string `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"` + Revision string `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *FaultDetector) Reset() { - *x = FaultDetector{} - if protoimpl.UnsafeEnabled { - mi := &file_fault_detector_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *FaultDetector) Reset() { *m = FaultDetector{} } +func (m *FaultDetector) String() string { return proto.CompactTextString(m) } +func (*FaultDetector) ProtoMessage() {} +func (*FaultDetector) Descriptor() ([]byte, []int) { + return fileDescriptor_fault_detector_974ba3e80f86913c, []int{0} } - -func (x *FaultDetector) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *FaultDetector) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_FaultDetector.Unmarshal(m, b) } - -func (*FaultDetector) ProtoMessage() {} - -func (x *FaultDetector) ProtoReflect() protoreflect.Message { - mi := &file_fault_detector_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *FaultDetector) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_FaultDetector.Marshal(b, m, deterministic) } - -// Deprecated: Use FaultDetector.ProtoReflect.Descriptor instead. -func (*FaultDetector) Descriptor() ([]byte, []int) { - return file_fault_detector_proto_rawDescGZIP(), []int{0} +func (dst *FaultDetector) XXX_Merge(src proto.Message) { + xxx_messageInfo_FaultDetector.Merge(dst, src) +} +func (m *FaultDetector) XXX_Size() int { + return xxx_messageInfo_FaultDetector.Size(m) +} +func (m *FaultDetector) XXX_DiscardUnknown() { + xxx_messageInfo_FaultDetector.DiscardUnknown(m) } -func (x *FaultDetector) GetRules() []*FaultDetectRule { - if x != nil { - return x.Rules +var xxx_messageInfo_FaultDetector proto.InternalMessageInfo + +func (m *FaultDetector) GetRules() []*FaultDetectRule { + if m != nil { + return m.Rules } return nil } -func (x *FaultDetector) GetRevision() string { - if x != nil { - return x.Revision +func (m *FaultDetector) GetRevision() string { + if m != nil { + return m.Revision } return "" } type FaultDetectRule struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // rule name Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` @@ -171,763 +133,510 @@ type FaultDetectRule struct { // extend info, put some custom info to display in console ExtendInfo map[string]string `protobuf:"bytes,31,rep,name=extendInfo,json=extend_info,proto3" json:"extendInfo,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // 操作标志位 - Editable bool `protobuf:"varint,40,opt,name=editable,proto3" json:"editable,omitempty"` - Deleteable bool `protobuf:"varint,41,opt,name=deleteable,proto3" json:"deleteable,omitempty"` + Editable bool `protobuf:"varint,40,opt,name=editable,proto3" json:"editable,omitempty"` + Deleteable bool `protobuf:"varint,41,opt,name=deleteable,proto3" json:"deleteable,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *FaultDetectRule) Reset() { - *x = FaultDetectRule{} - if protoimpl.UnsafeEnabled { - mi := &file_fault_detector_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *FaultDetectRule) Reset() { *m = FaultDetectRule{} } +func (m *FaultDetectRule) String() string { return proto.CompactTextString(m) } +func (*FaultDetectRule) ProtoMessage() {} +func (*FaultDetectRule) Descriptor() ([]byte, []int) { + return fileDescriptor_fault_detector_974ba3e80f86913c, []int{1} } - -func (x *FaultDetectRule) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *FaultDetectRule) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_FaultDetectRule.Unmarshal(m, b) } - -func (*FaultDetectRule) ProtoMessage() {} - -func (x *FaultDetectRule) ProtoReflect() protoreflect.Message { - mi := &file_fault_detector_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *FaultDetectRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_FaultDetectRule.Marshal(b, m, deterministic) } - -// Deprecated: Use FaultDetectRule.ProtoReflect.Descriptor instead. -func (*FaultDetectRule) Descriptor() ([]byte, []int) { - return file_fault_detector_proto_rawDescGZIP(), []int{1} +func (dst *FaultDetectRule) XXX_Merge(src proto.Message) { + xxx_messageInfo_FaultDetectRule.Merge(dst, src) +} +func (m *FaultDetectRule) XXX_Size() int { + return xxx_messageInfo_FaultDetectRule.Size(m) +} +func (m *FaultDetectRule) XXX_DiscardUnknown() { + xxx_messageInfo_FaultDetectRule.DiscardUnknown(m) } -func (x *FaultDetectRule) GetId() string { - if x != nil { - return x.Id +var xxx_messageInfo_FaultDetectRule proto.InternalMessageInfo + +func (m *FaultDetectRule) GetId() string { + if m != nil { + return m.Id } return "" } -func (x *FaultDetectRule) GetName() string { - if x != nil { - return x.Name +func (m *FaultDetectRule) GetName() string { + if m != nil { + return m.Name } return "" } -func (x *FaultDetectRule) GetNamespace() string { - if x != nil { - return x.Namespace +func (m *FaultDetectRule) GetNamespace() string { + if m != nil { + return m.Namespace } return "" } -func (x *FaultDetectRule) GetRevision() string { - if x != nil { - return x.Revision +func (m *FaultDetectRule) GetRevision() string { + if m != nil { + return m.Revision } return "" } -func (x *FaultDetectRule) GetCtime() string { - if x != nil { - return x.Ctime +func (m *FaultDetectRule) GetCtime() string { + if m != nil { + return m.Ctime } return "" } -func (x *FaultDetectRule) GetMtime() string { - if x != nil { - return x.Mtime +func (m *FaultDetectRule) GetMtime() string { + if m != nil { + return m.Mtime } return "" } -func (x *FaultDetectRule) GetDescription() string { - if x != nil { - return x.Description +func (m *FaultDetectRule) GetDescription() string { + if m != nil { + return m.Description } return "" } -func (x *FaultDetectRule) GetTargetService() *FaultDetectRule_DestinationService { - if x != nil { - return x.TargetService +func (m *FaultDetectRule) GetTargetService() *FaultDetectRule_DestinationService { + if m != nil { + return m.TargetService } return nil } -func (x *FaultDetectRule) GetInterval() uint32 { - if x != nil { - return x.Interval +func (m *FaultDetectRule) GetInterval() uint32 { + if m != nil { + return m.Interval } return 0 } -func (x *FaultDetectRule) GetTimeout() uint32 { - if x != nil { - return x.Timeout +func (m *FaultDetectRule) GetTimeout() uint32 { + if m != nil { + return m.Timeout } return 0 } -func (x *FaultDetectRule) GetPort() uint32 { - if x != nil { - return x.Port +func (m *FaultDetectRule) GetPort() uint32 { + if m != nil { + return m.Port } return 0 } -func (x *FaultDetectRule) GetProtocol() FaultDetectRule_Protocol { - if x != nil { - return x.Protocol +func (m *FaultDetectRule) GetProtocol() FaultDetectRule_Protocol { + if m != nil { + return m.Protocol } return FaultDetectRule_UNKNOWN } -func (x *FaultDetectRule) GetHttpConfig() *HttpProtocolConfig { - if x != nil { - return x.HttpConfig +func (m *FaultDetectRule) GetHttpConfig() *HttpProtocolConfig { + if m != nil { + return m.HttpConfig } return nil } -func (x *FaultDetectRule) GetTcpConfig() *TcpProtocolConfig { - if x != nil { - return x.TcpConfig +func (m *FaultDetectRule) GetTcpConfig() *TcpProtocolConfig { + if m != nil { + return m.TcpConfig } return nil } -func (x *FaultDetectRule) GetUdpConfig() *UdpProtocolConfig { - if x != nil { - return x.UdpConfig +func (m *FaultDetectRule) GetUdpConfig() *UdpProtocolConfig { + if m != nil { + return m.UdpConfig } return nil } -func (x *FaultDetectRule) GetPriority() uint32 { - if x != nil { - return x.Priority +func (m *FaultDetectRule) GetPriority() uint32 { + if m != nil { + return m.Priority } return 0 } -func (x *FaultDetectRule) GetMetadata() map[string]string { - if x != nil { - return x.Metadata +func (m *FaultDetectRule) GetMetadata() map[string]string { + if m != nil { + return m.Metadata } return nil } -func (x *FaultDetectRule) GetExtendInfo() map[string]string { - if x != nil { - return x.ExtendInfo +func (m *FaultDetectRule) GetExtendInfo() map[string]string { + if m != nil { + return m.ExtendInfo } return nil } -func (x *FaultDetectRule) GetEditable() bool { - if x != nil { - return x.Editable +func (m *FaultDetectRule) GetEditable() bool { + if m != nil { + return m.Editable } return false } -func (x *FaultDetectRule) GetDeleteable() bool { - if x != nil { - return x.Deleteable +func (m *FaultDetectRule) GetDeleteable() bool { + if m != nil { + return m.Deleteable } return false } -type HttpProtocolConfig struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Method string `protobuf:"bytes,1,opt,name=method,proto3" json:"method,omitempty"` - Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"` - Headers []*HttpProtocolConfig_MessageHeader `protobuf:"bytes,3,rep,name=headers,proto3" json:"headers,omitempty"` - Body string `protobuf:"bytes,4,opt,name=body,proto3" json:"body,omitempty"` +type FaultDetectRule_DestinationService struct { + Service string `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"` + Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"` + // deprecated_filed use api.path instead + Method *model.MatchString `protobuf:"bytes,3,opt,name=method,proto3" json:"method,omitempty"` // Deprecated: Do not use. + Api *model.API `protobuf:"bytes,4,opt,name=api,proto3" json:"api,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *HttpProtocolConfig) Reset() { - *x = HttpProtocolConfig{} - if protoimpl.UnsafeEnabled { - mi := &file_fault_detector_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *FaultDetectRule_DestinationService) Reset() { *m = FaultDetectRule_DestinationService{} } +func (m *FaultDetectRule_DestinationService) String() string { return proto.CompactTextString(m) } +func (*FaultDetectRule_DestinationService) ProtoMessage() {} +func (*FaultDetectRule_DestinationService) Descriptor() ([]byte, []int) { + return fileDescriptor_fault_detector_974ba3e80f86913c, []int{1, 0} } - -func (x *HttpProtocolConfig) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *FaultDetectRule_DestinationService) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_FaultDetectRule_DestinationService.Unmarshal(m, b) } - -func (*HttpProtocolConfig) ProtoMessage() {} - -func (x *HttpProtocolConfig) ProtoReflect() protoreflect.Message { - mi := &file_fault_detector_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) +func (m *FaultDetectRule_DestinationService) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_FaultDetectRule_DestinationService.Marshal(b, m, deterministic) } - -// Deprecated: Use HttpProtocolConfig.ProtoReflect.Descriptor instead. -func (*HttpProtocolConfig) Descriptor() ([]byte, []int) { - return file_fault_detector_proto_rawDescGZIP(), []int{2} +func (dst *FaultDetectRule_DestinationService) XXX_Merge(src proto.Message) { + xxx_messageInfo_FaultDetectRule_DestinationService.Merge(dst, src) +} +func (m *FaultDetectRule_DestinationService) XXX_Size() int { + return xxx_messageInfo_FaultDetectRule_DestinationService.Size(m) } +func (m *FaultDetectRule_DestinationService) XXX_DiscardUnknown() { + xxx_messageInfo_FaultDetectRule_DestinationService.DiscardUnknown(m) +} + +var xxx_messageInfo_FaultDetectRule_DestinationService proto.InternalMessageInfo -func (x *HttpProtocolConfig) GetMethod() string { - if x != nil { - return x.Method +func (m *FaultDetectRule_DestinationService) GetService() string { + if m != nil { + return m.Service } return "" } -func (x *HttpProtocolConfig) GetUrl() string { - if x != nil { - return x.Url +func (m *FaultDetectRule_DestinationService) GetNamespace() string { + if m != nil { + return m.Namespace } return "" } -func (x *HttpProtocolConfig) GetHeaders() []*HttpProtocolConfig_MessageHeader { - if x != nil { - return x.Headers +// Deprecated: Do not use. +func (m *FaultDetectRule_DestinationService) GetMethod() *model.MatchString { + if m != nil { + return m.Method } return nil } -func (x *HttpProtocolConfig) GetBody() string { - if x != nil { - return x.Body +func (m *FaultDetectRule_DestinationService) GetApi() *model.API { + if m != nil { + return m.Api } - return "" + return nil } -type TcpProtocolConfig struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Send string `protobuf:"bytes,1,opt,name=send,proto3" json:"send,omitempty"` - Receive []string `protobuf:"bytes,2,rep,name=receive,proto3" json:"receive,omitempty"` +type HttpProtocolConfig struct { + Method string `protobuf:"bytes,1,opt,name=method,proto3" json:"method,omitempty"` + Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"` + Headers []*HttpProtocolConfig_MessageHeader `protobuf:"bytes,3,rep,name=headers,proto3" json:"headers,omitempty"` + Body string `protobuf:"bytes,4,opt,name=body,proto3" json:"body,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *HttpProtocolConfig) Reset() { *m = HttpProtocolConfig{} } +func (m *HttpProtocolConfig) String() string { return proto.CompactTextString(m) } +func (*HttpProtocolConfig) ProtoMessage() {} +func (*HttpProtocolConfig) Descriptor() ([]byte, []int) { + return fileDescriptor_fault_detector_974ba3e80f86913c, []int{2} } - -func (x *TcpProtocolConfig) Reset() { - *x = TcpProtocolConfig{} - if protoimpl.UnsafeEnabled { - mi := &file_fault_detector_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *HttpProtocolConfig) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_HttpProtocolConfig.Unmarshal(m, b) } - -func (x *TcpProtocolConfig) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *HttpProtocolConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_HttpProtocolConfig.Marshal(b, m, deterministic) +} +func (dst *HttpProtocolConfig) XXX_Merge(src proto.Message) { + xxx_messageInfo_HttpProtocolConfig.Merge(dst, src) +} +func (m *HttpProtocolConfig) XXX_Size() int { + return xxx_messageInfo_HttpProtocolConfig.Size(m) +} +func (m *HttpProtocolConfig) XXX_DiscardUnknown() { + xxx_messageInfo_HttpProtocolConfig.DiscardUnknown(m) } -func (*TcpProtocolConfig) ProtoMessage() {} +var xxx_messageInfo_HttpProtocolConfig proto.InternalMessageInfo -func (x *TcpProtocolConfig) ProtoReflect() protoreflect.Message { - mi := &file_fault_detector_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms +func (m *HttpProtocolConfig) GetMethod() string { + if m != nil { + return m.Method } - return mi.MessageOf(x) -} - -// Deprecated: Use TcpProtocolConfig.ProtoReflect.Descriptor instead. -func (*TcpProtocolConfig) Descriptor() ([]byte, []int) { - return file_fault_detector_proto_rawDescGZIP(), []int{3} + return "" } -func (x *TcpProtocolConfig) GetSend() string { - if x != nil { - return x.Send +func (m *HttpProtocolConfig) GetUrl() string { + if m != nil { + return m.Url } return "" } -func (x *TcpProtocolConfig) GetReceive() []string { - if x != nil { - return x.Receive +func (m *HttpProtocolConfig) GetHeaders() []*HttpProtocolConfig_MessageHeader { + if m != nil { + return m.Headers } return nil } -type UdpProtocolConfig struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Send string `protobuf:"bytes,1,opt,name=send,proto3" json:"send,omitempty"` - Receive []string `protobuf:"bytes,2,rep,name=receive,proto3" json:"receive,omitempty"` -} - -func (x *UdpProtocolConfig) Reset() { - *x = UdpProtocolConfig{} - if protoimpl.UnsafeEnabled { - mi := &file_fault_detector_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) +func (m *HttpProtocolConfig) GetBody() string { + if m != nil { + return m.Body } + return "" } -func (x *UdpProtocolConfig) String() string { - return protoimpl.X.MessageStringOf(x) +type HttpProtocolConfig_MessageHeader struct { + Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` + Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (*UdpProtocolConfig) ProtoMessage() {} - -func (x *UdpProtocolConfig) ProtoReflect() protoreflect.Message { - mi := &file_fault_detector_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) +func (m *HttpProtocolConfig_MessageHeader) Reset() { *m = HttpProtocolConfig_MessageHeader{} } +func (m *HttpProtocolConfig_MessageHeader) String() string { return proto.CompactTextString(m) } +func (*HttpProtocolConfig_MessageHeader) ProtoMessage() {} +func (*HttpProtocolConfig_MessageHeader) Descriptor() ([]byte, []int) { + return fileDescriptor_fault_detector_974ba3e80f86913c, []int{2, 0} } - -// Deprecated: Use UdpProtocolConfig.ProtoReflect.Descriptor instead. -func (*UdpProtocolConfig) Descriptor() ([]byte, []int) { - return file_fault_detector_proto_rawDescGZIP(), []int{4} +func (m *HttpProtocolConfig_MessageHeader) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_HttpProtocolConfig_MessageHeader.Unmarshal(m, b) +} +func (m *HttpProtocolConfig_MessageHeader) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_HttpProtocolConfig_MessageHeader.Marshal(b, m, deterministic) +} +func (dst *HttpProtocolConfig_MessageHeader) XXX_Merge(src proto.Message) { + xxx_messageInfo_HttpProtocolConfig_MessageHeader.Merge(dst, src) +} +func (m *HttpProtocolConfig_MessageHeader) XXX_Size() int { + return xxx_messageInfo_HttpProtocolConfig_MessageHeader.Size(m) +} +func (m *HttpProtocolConfig_MessageHeader) XXX_DiscardUnknown() { + xxx_messageInfo_HttpProtocolConfig_MessageHeader.DiscardUnknown(m) } -func (x *UdpProtocolConfig) GetSend() string { - if x != nil { - return x.Send +var xxx_messageInfo_HttpProtocolConfig_MessageHeader proto.InternalMessageInfo + +func (m *HttpProtocolConfig_MessageHeader) GetKey() string { + if m != nil { + return m.Key } return "" } -func (x *UdpProtocolConfig) GetReceive() []string { - if x != nil { - return x.Receive +func (m *HttpProtocolConfig_MessageHeader) GetValue() string { + if m != nil { + return m.Value } - return nil + return "" } -type FaultDetectRule_DestinationService struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Service string `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"` - Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"` - // deprecated_filed use api.path instead - // - // Deprecated: Marked as deprecated in fault_detector.proto. - Method *model.MatchString `protobuf:"bytes,3,opt,name=method,proto3" json:"method,omitempty"` - Api *model.API `protobuf:"bytes,4,opt,name=api,proto3" json:"api,omitempty"` +type TcpProtocolConfig struct { + Send string `protobuf:"bytes,1,opt,name=send,proto3" json:"send,omitempty"` + Receive []string `protobuf:"bytes,2,rep,name=receive,proto3" json:"receive,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *FaultDetectRule_DestinationService) Reset() { - *x = FaultDetectRule_DestinationService{} - if protoimpl.UnsafeEnabled { - mi := &file_fault_detector_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *TcpProtocolConfig) Reset() { *m = TcpProtocolConfig{} } +func (m *TcpProtocolConfig) String() string { return proto.CompactTextString(m) } +func (*TcpProtocolConfig) ProtoMessage() {} +func (*TcpProtocolConfig) Descriptor() ([]byte, []int) { + return fileDescriptor_fault_detector_974ba3e80f86913c, []int{3} } - -func (x *FaultDetectRule_DestinationService) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *TcpProtocolConfig) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_TcpProtocolConfig.Unmarshal(m, b) } - -func (*FaultDetectRule_DestinationService) ProtoMessage() {} - -func (x *FaultDetectRule_DestinationService) ProtoReflect() protoreflect.Message { - mi := &file_fault_detector_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) +func (m *TcpProtocolConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_TcpProtocolConfig.Marshal(b, m, deterministic) } - -// Deprecated: Use FaultDetectRule_DestinationService.ProtoReflect.Descriptor instead. -func (*FaultDetectRule_DestinationService) Descriptor() ([]byte, []int) { - return file_fault_detector_proto_rawDescGZIP(), []int{1, 0} +func (dst *TcpProtocolConfig) XXX_Merge(src proto.Message) { + xxx_messageInfo_TcpProtocolConfig.Merge(dst, src) } - -func (x *FaultDetectRule_DestinationService) GetService() string { - if x != nil { - return x.Service - } - return "" +func (m *TcpProtocolConfig) XXX_Size() int { + return xxx_messageInfo_TcpProtocolConfig.Size(m) } +func (m *TcpProtocolConfig) XXX_DiscardUnknown() { + xxx_messageInfo_TcpProtocolConfig.DiscardUnknown(m) +} + +var xxx_messageInfo_TcpProtocolConfig proto.InternalMessageInfo -func (x *FaultDetectRule_DestinationService) GetNamespace() string { - if x != nil { - return x.Namespace +func (m *TcpProtocolConfig) GetSend() string { + if m != nil { + return m.Send } return "" } -// Deprecated: Marked as deprecated in fault_detector.proto. -func (x *FaultDetectRule_DestinationService) GetMethod() *model.MatchString { - if x != nil { - return x.Method +func (m *TcpProtocolConfig) GetReceive() []string { + if m != nil { + return m.Receive } return nil } -func (x *FaultDetectRule_DestinationService) GetApi() *model.API { - if x != nil { - return x.Api - } - return nil +type UdpProtocolConfig struct { + Send string `protobuf:"bytes,1,opt,name=send,proto3" json:"send,omitempty"` + Receive []string `protobuf:"bytes,2,rep,name=receive,proto3" json:"receive,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -type HttpProtocolConfig_MessageHeader struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` - Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` +func (m *UdpProtocolConfig) Reset() { *m = UdpProtocolConfig{} } +func (m *UdpProtocolConfig) String() string { return proto.CompactTextString(m) } +func (*UdpProtocolConfig) ProtoMessage() {} +func (*UdpProtocolConfig) Descriptor() ([]byte, []int) { + return fileDescriptor_fault_detector_974ba3e80f86913c, []int{4} } - -func (x *HttpProtocolConfig_MessageHeader) Reset() { - *x = HttpProtocolConfig_MessageHeader{} - if protoimpl.UnsafeEnabled { - mi := &file_fault_detector_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *UdpProtocolConfig) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UdpProtocolConfig.Unmarshal(m, b) } - -func (x *HttpProtocolConfig_MessageHeader) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *UdpProtocolConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UdpProtocolConfig.Marshal(b, m, deterministic) } - -func (*HttpProtocolConfig_MessageHeader) ProtoMessage() {} - -func (x *HttpProtocolConfig_MessageHeader) ProtoReflect() protoreflect.Message { - mi := &file_fault_detector_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) +func (dst *UdpProtocolConfig) XXX_Merge(src proto.Message) { + xxx_messageInfo_UdpProtocolConfig.Merge(dst, src) } - -// Deprecated: Use HttpProtocolConfig_MessageHeader.ProtoReflect.Descriptor instead. -func (*HttpProtocolConfig_MessageHeader) Descriptor() ([]byte, []int) { - return file_fault_detector_proto_rawDescGZIP(), []int{2, 0} +func (m *UdpProtocolConfig) XXX_Size() int { + return xxx_messageInfo_UdpProtocolConfig.Size(m) } +func (m *UdpProtocolConfig) XXX_DiscardUnknown() { + xxx_messageInfo_UdpProtocolConfig.DiscardUnknown(m) +} + +var xxx_messageInfo_UdpProtocolConfig proto.InternalMessageInfo -func (x *HttpProtocolConfig_MessageHeader) GetKey() string { - if x != nil { - return x.Key +func (m *UdpProtocolConfig) GetSend() string { + if m != nil { + return m.Send } return "" } -func (x *HttpProtocolConfig_MessageHeader) GetValue() string { - if x != nil { - return x.Value +func (m *UdpProtocolConfig) GetReceive() []string { + if m != nil { + return m.Receive } - return "" + return nil } -var File_fault_detector_proto protoreflect.FileDescriptor - -var file_fault_detector_proto_rawDesc = []byte{ - 0x0a, 0x14, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x64, 0x65, 0x74, 0x65, 0x63, 0x74, 0x6f, 0x72, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x76, 0x31, 0x1a, 0x0b, 0x6d, 0x6f, 0x64, 0x65, - 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x56, 0x0a, 0x0d, 0x46, 0x61, 0x75, 0x6c, 0x74, - 0x44, 0x65, 0x74, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x12, 0x29, 0x0a, 0x05, 0x72, 0x75, 0x6c, 0x65, - 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x61, 0x75, - 0x6c, 0x74, 0x44, 0x65, 0x74, 0x65, 0x63, 0x74, 0x52, 0x75, 0x6c, 0x65, 0x52, 0x05, 0x72, 0x75, - 0x6c, 0x65, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x22, - 0xe0, 0x08, 0x0a, 0x0f, 0x46, 0x61, 0x75, 0x6c, 0x74, 0x44, 0x65, 0x74, 0x65, 0x63, 0x74, 0x52, - 0x75, 0x6c, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 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, 0x1c, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, - 0x70, 0x61, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6e, 0x61, 0x6d, 0x65, - 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, - 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, - 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x05, 0x63, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x6d, 0x74, 0x69, 0x6d, 0x65, - 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6d, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x20, 0x0a, - 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x07, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, - 0x4d, 0x0a, 0x0e, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, - 0x65, 0x18, 0x15, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x61, 0x75, - 0x6c, 0x74, 0x44, 0x65, 0x74, 0x65, 0x63, 0x74, 0x52, 0x75, 0x6c, 0x65, 0x2e, 0x44, 0x65, 0x73, - 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, - 0x0d, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x1a, - 0x0a, 0x08, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x18, 0x16, 0x20, 0x01, 0x28, 0x0d, - 0x52, 0x08, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x12, 0x18, 0x0a, 0x07, 0x74, 0x69, - 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x18, 0x17, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x74, 0x69, 0x6d, - 0x65, 0x6f, 0x75, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x18, 0x20, 0x01, - 0x28, 0x0d, 0x52, 0x04, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x38, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x63, 0x6f, 0x6c, 0x18, 0x19, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1c, 0x2e, 0x76, 0x31, 0x2e, - 0x46, 0x61, 0x75, 0x6c, 0x74, 0x44, 0x65, 0x74, 0x65, 0x63, 0x74, 0x52, 0x75, 0x6c, 0x65, 0x2e, - 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, - 0x6f, 0x6c, 0x12, 0x37, 0x0a, 0x0b, 0x68, 0x74, 0x74, 0x70, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, - 0x67, 0x18, 0x1a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x76, 0x31, 0x2e, 0x48, 0x74, 0x74, - 0x70, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, - 0x0a, 0x68, 0x74, 0x74, 0x70, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x34, 0x0a, 0x0a, 0x74, - 0x63, 0x70, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x1b, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x15, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x63, 0x70, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, - 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x09, 0x74, 0x63, 0x70, 0x43, 0x6f, 0x6e, 0x66, 0x69, - 0x67, 0x12, 0x34, 0x0a, 0x0a, 0x75, 0x64, 0x70, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, - 0x1c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x64, 0x70, 0x50, 0x72, - 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x09, 0x75, 0x64, - 0x70, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x69, 0x6f, 0x72, - 0x69, 0x74, 0x79, 0x18, 0x1d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x70, 0x72, 0x69, 0x6f, 0x72, - 0x69, 0x74, 0x79, 0x12, 0x3d, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, - 0x1e, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x61, 0x75, 0x6c, 0x74, - 0x44, 0x65, 0x74, 0x65, 0x63, 0x74, 0x52, 0x75, 0x6c, 0x65, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x64, - 0x61, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, - 0x74, 0x61, 0x12, 0x44, 0x0a, 0x0a, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x64, 0x49, 0x6e, 0x66, 0x6f, - 0x18, 0x1f, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x61, 0x75, 0x6c, - 0x74, 0x44, 0x65, 0x74, 0x65, 0x63, 0x74, 0x52, 0x75, 0x6c, 0x65, 0x2e, 0x45, 0x78, 0x74, 0x65, - 0x6e, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0b, 0x65, 0x78, 0x74, - 0x65, 0x6e, 0x64, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x12, 0x1a, 0x0a, 0x08, 0x65, 0x64, 0x69, 0x74, - 0x61, 0x62, 0x6c, 0x65, 0x18, 0x28, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x65, 0x64, 0x69, 0x74, - 0x61, 0x62, 0x6c, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x61, 0x62, - 0x6c, 0x65, 0x18, 0x29, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, - 0x61, 0x62, 0x6c, 0x65, 0x1a, 0x94, 0x01, 0x0a, 0x12, 0x44, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x73, - 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x73, 0x65, - 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, - 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, - 0x61, 0x63, 0x65, 0x12, 0x2b, 0x0a, 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x18, 0x03, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x53, 0x74, - 0x72, 0x69, 0x6e, 0x67, 0x42, 0x02, 0x18, 0x01, 0x52, 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, - 0x12, 0x19, 0x0a, 0x03, 0x61, 0x70, 0x69, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, - 0x76, 0x31, 0x2e, 0x41, 0x50, 0x49, 0x52, 0x03, 0x61, 0x70, 0x69, 0x1a, 0x3b, 0x0a, 0x0d, 0x4d, - 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, - 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, - 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, - 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x3d, 0x0a, 0x0f, 0x45, 0x78, 0x74, 0x65, - 0x6e, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, - 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, - 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, - 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x33, 0x0a, 0x08, 0x50, 0x72, 0x6f, 0x74, 0x6f, - 0x63, 0x6f, 0x6c, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, - 0x12, 0x08, 0x0a, 0x04, 0x48, 0x54, 0x54, 0x50, 0x10, 0x01, 0x12, 0x07, 0x0a, 0x03, 0x54, 0x43, - 0x50, 0x10, 0x02, 0x12, 0x07, 0x0a, 0x03, 0x55, 0x44, 0x50, 0x10, 0x03, 0x4a, 0x04, 0x08, 0x08, - 0x10, 0x15, 0x22, 0xcb, 0x01, 0x0a, 0x12, 0x48, 0x74, 0x74, 0x70, 0x50, 0x72, 0x6f, 0x74, 0x6f, - 0x63, 0x6f, 0x6c, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x16, 0x0a, 0x06, 0x6d, 0x65, 0x74, - 0x68, 0x6f, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f, - 0x64, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, - 0x75, 0x72, 0x6c, 0x12, 0x3e, 0x0a, 0x07, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x18, 0x03, - 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x76, 0x31, 0x2e, 0x48, 0x74, 0x74, 0x70, 0x50, 0x72, - 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x4d, 0x65, 0x73, - 0x73, 0x61, 0x67, 0x65, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x07, 0x68, 0x65, 0x61, 0x64, - 0x65, 0x72, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x1a, 0x37, 0x0a, 0x0d, 0x4d, 0x65, 0x73, 0x73, 0x61, - 0x67, 0x65, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, - 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, - 0x22, 0x41, 0x0a, 0x11, 0x54, 0x63, 0x70, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x43, - 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x65, 0x6e, 0x64, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x04, 0x73, 0x65, 0x6e, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x63, - 0x65, 0x69, 0x76, 0x65, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x72, 0x65, 0x63, 0x65, - 0x69, 0x76, 0x65, 0x22, 0x41, 0x0a, 0x11, 0x55, 0x64, 0x70, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, - 0x6f, 0x6c, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x65, 0x6e, 0x64, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x73, 0x65, 0x6e, 0x64, 0x12, 0x18, 0x0a, 0x07, - 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x72, - 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x42, 0x95, 0x01, 0x0a, 0x38, 0x63, 0x6f, 0x6d, 0x2e, 0x74, - 0x65, 0x6e, 0x63, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x6f, 0x6c, 0x61, 0x72, 0x69, 0x73, 0x2e, 0x73, - 0x70, 0x65, 0x63, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x61, 0x70, 0x69, - 0x2e, 0x76, 0x31, 0x2e, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x2e, 0x74, 0x6f, 0x6c, 0x65, 0x72, 0x61, - 0x6e, 0x63, 0x65, 0x42, 0x12, 0x46, 0x61, 0x75, 0x6c, 0x74, 0x44, 0x65, 0x74, 0x65, 0x63, 0x74, - 0x6f, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x5a, 0x45, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, - 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x6f, 0x6c, 0x61, 0x72, 0x69, 0x73, 0x6d, 0x65, 0x73, 0x68, 0x2f, - 0x73, 0x70, 0x65, 0x63, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x73, 0x6f, - 0x75, 0x72, 0x63, 0x65, 0x2f, 0x67, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x66, - 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x74, 0x6f, 0x6c, 0x65, 0x72, 0x61, 0x6e, 0x63, 0x65, 0x62, 0x06, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_fault_detector_proto_rawDescOnce sync.Once - file_fault_detector_proto_rawDescData = file_fault_detector_proto_rawDesc -) - -func file_fault_detector_proto_rawDescGZIP() []byte { - file_fault_detector_proto_rawDescOnce.Do(func() { - file_fault_detector_proto_rawDescData = protoimpl.X.CompressGZIP(file_fault_detector_proto_rawDescData) - }) - return file_fault_detector_proto_rawDescData -} - -var file_fault_detector_proto_enumTypes = make([]protoimpl.EnumInfo, 1) -var file_fault_detector_proto_msgTypes = make([]protoimpl.MessageInfo, 9) -var file_fault_detector_proto_goTypes = []interface{}{ - (FaultDetectRule_Protocol)(0), // 0: v1.FaultDetectRule.Protocol - (*FaultDetector)(nil), // 1: v1.FaultDetector - (*FaultDetectRule)(nil), // 2: v1.FaultDetectRule - (*HttpProtocolConfig)(nil), // 3: v1.HttpProtocolConfig - (*TcpProtocolConfig)(nil), // 4: v1.TcpProtocolConfig - (*UdpProtocolConfig)(nil), // 5: v1.UdpProtocolConfig - (*FaultDetectRule_DestinationService)(nil), // 6: v1.FaultDetectRule.DestinationService - nil, // 7: v1.FaultDetectRule.MetadataEntry - nil, // 8: v1.FaultDetectRule.ExtendInfoEntry - (*HttpProtocolConfig_MessageHeader)(nil), // 9: v1.HttpProtocolConfig.MessageHeader - (*model.MatchString)(nil), // 10: v1.MatchString - (*model.API)(nil), // 11: v1.API -} -var file_fault_detector_proto_depIdxs = []int32{ - 2, // 0: v1.FaultDetector.rules:type_name -> v1.FaultDetectRule - 6, // 1: v1.FaultDetectRule.target_service:type_name -> v1.FaultDetectRule.DestinationService - 0, // 2: v1.FaultDetectRule.protocol:type_name -> v1.FaultDetectRule.Protocol - 3, // 3: v1.FaultDetectRule.http_config:type_name -> v1.HttpProtocolConfig - 4, // 4: v1.FaultDetectRule.tcp_config:type_name -> v1.TcpProtocolConfig - 5, // 5: v1.FaultDetectRule.udp_config:type_name -> v1.UdpProtocolConfig - 7, // 6: v1.FaultDetectRule.metadata:type_name -> v1.FaultDetectRule.MetadataEntry - 8, // 7: v1.FaultDetectRule.extendInfo:type_name -> v1.FaultDetectRule.ExtendInfoEntry - 9, // 8: v1.HttpProtocolConfig.headers:type_name -> v1.HttpProtocolConfig.MessageHeader - 10, // 9: v1.FaultDetectRule.DestinationService.method:type_name -> v1.MatchString - 11, // 10: v1.FaultDetectRule.DestinationService.api:type_name -> v1.API - 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 -} - -func init() { file_fault_detector_proto_init() } -func file_fault_detector_proto_init() { - if File_fault_detector_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_fault_detector_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FaultDetector); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_fault_detector_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FaultDetectRule); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_fault_detector_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*HttpProtocolConfig); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_fault_detector_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TcpProtocolConfig); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_fault_detector_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UdpProtocolConfig); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_fault_detector_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FaultDetectRule_DestinationService); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_fault_detector_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*HttpProtocolConfig_MessageHeader); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_fault_detector_proto_rawDesc, - NumEnums: 1, - NumMessages: 9, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_fault_detector_proto_goTypes, - DependencyIndexes: file_fault_detector_proto_depIdxs, - EnumInfos: file_fault_detector_proto_enumTypes, - MessageInfos: file_fault_detector_proto_msgTypes, - }.Build() - File_fault_detector_proto = out.File - file_fault_detector_proto_rawDesc = nil - file_fault_detector_proto_goTypes = nil - file_fault_detector_proto_depIdxs = nil +func init() { + proto.RegisterType((*FaultDetector)(nil), "v1.FaultDetector") + proto.RegisterType((*FaultDetectRule)(nil), "v1.FaultDetectRule") + proto.RegisterMapType((map[string]string)(nil), "v1.FaultDetectRule.ExtendInfoEntry") + proto.RegisterMapType((map[string]string)(nil), "v1.FaultDetectRule.MetadataEntry") + proto.RegisterType((*FaultDetectRule_DestinationService)(nil), "v1.FaultDetectRule.DestinationService") + proto.RegisterType((*HttpProtocolConfig)(nil), "v1.HttpProtocolConfig") + proto.RegisterType((*HttpProtocolConfig_MessageHeader)(nil), "v1.HttpProtocolConfig.MessageHeader") + proto.RegisterType((*TcpProtocolConfig)(nil), "v1.TcpProtocolConfig") + proto.RegisterType((*UdpProtocolConfig)(nil), "v1.UdpProtocolConfig") + proto.RegisterEnum("v1.FaultDetectRule_Protocol", FaultDetectRule_Protocol_name, FaultDetectRule_Protocol_value) +} + +func init() { + proto.RegisterFile("fault_detector.proto", fileDescriptor_fault_detector_974ba3e80f86913c) +} + +var fileDescriptor_fault_detector_974ba3e80f86913c = []byte{ + // 825 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x55, 0x6d, 0x6f, 0xe3, 0x44, + 0x10, 0xc6, 0x71, 0xdb, 0xb8, 0x63, 0xb5, 0x0d, 0xcb, 0xb5, 0xec, 0x85, 0x72, 0x84, 0x80, 0x50, + 0x4e, 0x48, 0x8e, 0x9a, 0x43, 0xba, 0x0a, 0x74, 0x48, 0xd7, 0x6b, 0x51, 0x0f, 0xd4, 0x12, 0xf9, + 0x5a, 0x90, 0xf8, 0x52, 0x6d, 0xd7, 0x93, 0x64, 0x85, 0xed, 0xb5, 0xd6, 0xeb, 0x88, 0xfe, 0x0f, + 0xf8, 0x55, 0xfc, 0x09, 0x7e, 0x0a, 0xda, 0xf5, 0xcb, 0xe5, 0xed, 0xc3, 0xf5, 0x53, 0xe6, 0x99, + 0x79, 0x9e, 0xd9, 0xd9, 0xc9, 0x8c, 0x17, 0x9e, 0x4c, 0x58, 0x11, 0xeb, 0xbb, 0x08, 0x35, 0x72, + 0x2d, 0x55, 0x90, 0x29, 0xa9, 0x25, 0x69, 0xcd, 0x4f, 0xba, 0x7e, 0x22, 0x23, 0x8c, 0x4b, 0x47, + 0xff, 0x37, 0xd8, 0xfb, 0xc9, 0x10, 0xcf, 0x2b, 0x1e, 0x79, 0x0e, 0xdb, 0xaa, 0x88, 0x31, 0xa7, + 0x4e, 0xcf, 0x1d, 0xf8, 0xa3, 0x4f, 0x82, 0xf9, 0x49, 0xb0, 0xc0, 0x08, 0x8b, 0x18, 0xc3, 0x92, + 0x41, 0xba, 0xe0, 0x29, 0x9c, 0x8b, 0x5c, 0xc8, 0x94, 0xb6, 0x7a, 0xce, 0x60, 0x37, 0x6c, 0x70, + 0xff, 0x3f, 0x0f, 0x0e, 0x56, 0x64, 0x64, 0x1f, 0x5a, 0x22, 0xa2, 0x8e, 0x65, 0xb6, 0x44, 0x44, + 0x08, 0x6c, 0xa5, 0x2c, 0xc1, 0x4a, 0x6b, 0x6d, 0x72, 0x0c, 0xbb, 0xe6, 0x37, 0xcf, 0x18, 0x47, + 0xea, 0xda, 0xc0, 0x7b, 0xc7, 0xd2, 0x89, 0x5b, 0xcb, 0x27, 0x92, 0x27, 0xb0, 0xcd, 0xb5, 0x48, + 0x90, 0x6e, 0xdb, 0x40, 0x09, 0x8c, 0x37, 0xb1, 0xde, 0x9d, 0xd2, 0x6b, 0x01, 0xe9, 0x81, 0x1f, + 0x61, 0xce, 0x95, 0xc8, 0xb4, 0x49, 0xd5, 0xb6, 0xb1, 0x45, 0x17, 0xb9, 0x82, 0x7d, 0xcd, 0xd4, + 0x14, 0xf5, 0x5d, 0x8e, 0x6a, 0x2e, 0x38, 0xd2, 0xc3, 0x9e, 0x33, 0xf0, 0x47, 0xdf, 0x6c, 0xe8, + 0x47, 0x70, 0x8e, 0xb9, 0x16, 0x29, 0x33, 0xc2, 0x77, 0x25, 0x3b, 0xdc, 0x2b, 0xd5, 0x15, 0x34, + 0x85, 0x8b, 0x54, 0xa3, 0x9a, 0xb3, 0x98, 0x1e, 0xf5, 0x9c, 0xc1, 0x5e, 0xd8, 0x60, 0x42, 0xa1, + 0x6d, 0x8a, 0x92, 0x85, 0xa6, 0x9f, 0xda, 0x50, 0x0d, 0x4d, 0x83, 0x32, 0xa9, 0x34, 0xa5, 0xd6, + 0x6d, 0x6d, 0x72, 0x0a, 0x9e, 0xfd, 0xe7, 0xb8, 0x8c, 0xe9, 0xd3, 0x9e, 0x33, 0xd8, 0x1f, 0x1d, + 0x6f, 0x2a, 0x69, 0x5c, 0x71, 0xc2, 0x86, 0x4d, 0x5e, 0x82, 0x3f, 0xd3, 0x3a, 0xbb, 0xe3, 0x32, + 0x9d, 0x88, 0x29, 0xed, 0xda, 0xfb, 0x1c, 0x19, 0xf1, 0xa5, 0xd6, 0x59, 0x2d, 0x78, 0x63, 0xa3, + 0x21, 0x18, 0x6a, 0x69, 0x93, 0xef, 0x00, 0x34, 0x6f, 0x74, 0x9f, 0x59, 0xdd, 0xa1, 0xd1, 0xdd, + 0xf0, 0x55, 0xd9, 0xae, 0xe6, 0x0b, 0xaa, 0x22, 0x6a, 0x54, 0xc7, 0xef, 0x55, 0xb7, 0xd1, 0x9a, + 0xaa, 0x88, 0x6a, 0x55, 0xd7, 0x5c, 0x4f, 0x48, 0x25, 0xf4, 0x03, 0xfd, 0xbc, 0x6c, 0x54, 0x8d, + 0xc9, 0x2b, 0xf0, 0x12, 0xd4, 0x2c, 0x62, 0x9a, 0xd1, 0x67, 0x76, 0x3a, 0xbf, 0xdc, 0x74, 0xf5, + 0xab, 0x8a, 0x73, 0x91, 0x6a, 0xf5, 0x10, 0x36, 0x12, 0x72, 0x0e, 0x80, 0x7f, 0x69, 0x4c, 0xa3, + 0xb7, 0xe9, 0x44, 0xd2, 0x2f, 0x6c, 0x82, 0xaf, 0x36, 0x25, 0xb8, 0x68, 0x58, 0x65, 0x0a, 0xbf, + 0x94, 0xdd, 0x89, 0x74, 0x22, 0x4d, 0x81, 0x18, 0x09, 0xcd, 0xee, 0x63, 0xa4, 0x83, 0x9e, 0x33, + 0xf0, 0xc2, 0x06, 0x93, 0x67, 0x00, 0x11, 0xc6, 0xa8, 0xd1, 0x46, 0x9f, 0xdb, 0xe8, 0x82, 0xa7, + 0xfb, 0xb7, 0x03, 0x64, 0x7d, 0x56, 0xcc, 0x00, 0xd4, 0x43, 0x56, 0x2e, 0x47, 0x0d, 0x97, 0xb7, + 0xa1, 0xb5, 0xba, 0x0d, 0xdf, 0xc2, 0x4e, 0x82, 0x7a, 0x26, 0x23, 0xbb, 0x28, 0xfe, 0xe8, 0xc0, + 0x5c, 0xe6, 0x8a, 0x69, 0x3e, 0x7b, 0xa7, 0x95, 0x48, 0xa7, 0x67, 0x2d, 0xea, 0x84, 0x15, 0x85, + 0x3c, 0x05, 0x97, 0x65, 0xc2, 0x6e, 0x8d, 0x3f, 0x6a, 0x1b, 0xe6, 0xeb, 0xf1, 0xdb, 0xd0, 0xf8, + 0xba, 0x3f, 0xc0, 0xde, 0x52, 0xcf, 0x48, 0x07, 0xdc, 0x3f, 0xf1, 0xa1, 0x2a, 0xc6, 0x98, 0x66, + 0x8d, 0xe6, 0x2c, 0x2e, 0xea, 0x22, 0x4a, 0xf0, 0x7d, 0xeb, 0xd4, 0xe9, 0xbe, 0x82, 0x83, 0x95, + 0x7e, 0x3d, 0x46, 0xde, 0x7f, 0x01, 0x5e, 0x3d, 0x0c, 0xc4, 0x87, 0xf6, 0xed, 0xf5, 0x2f, 0xd7, + 0xbf, 0xfe, 0x7e, 0xdd, 0xf9, 0x88, 0x78, 0xb0, 0x75, 0x79, 0x73, 0x33, 0xee, 0x38, 0xa4, 0x0d, + 0xee, 0xcd, 0x9b, 0x71, 0xa7, 0x65, 0x8c, 0xdb, 0xf3, 0x71, 0xc7, 0xfd, 0x79, 0xcb, 0xf3, 0x3a, + 0x87, 0xfd, 0x7f, 0x1d, 0x20, 0xeb, 0x93, 0x4b, 0x8e, 0x9a, 0xae, 0x94, 0x05, 0xd4, 0x0d, 0xe8, + 0x80, 0x5b, 0xa8, 0xb8, 0xaa, 0xc0, 0x98, 0xe4, 0x47, 0x68, 0xcf, 0x90, 0x45, 0xa8, 0x72, 0xea, + 0xda, 0x69, 0xf8, 0x7a, 0xf3, 0x32, 0x04, 0x57, 0x98, 0xe7, 0x6c, 0x8a, 0x97, 0x96, 0x1c, 0xd6, + 0x22, 0xb3, 0x9e, 0xf7, 0x32, 0x7a, 0xa8, 0xbe, 0x44, 0xd6, 0xee, 0xbe, 0x34, 0xbd, 0x5c, 0x60, + 0x7f, 0x68, 0x33, 0xfa, 0xaf, 0xe1, 0xe3, 0xb5, 0x75, 0x32, 0x27, 0xe4, 0x98, 0xd6, 0x37, 0xb1, + 0xb6, 0x99, 0x16, 0x85, 0x1c, 0xc5, 0xdc, 0x24, 0x70, 0xcd, 0xb4, 0x54, 0xd0, 0xa4, 0x58, 0xdb, + 0xad, 0xc7, 0xa5, 0x38, 0xfb, 0xc7, 0x81, 0x53, 0x2e, 0x93, 0x40, 0x63, 0xca, 0x31, 0xd5, 0x41, + 0x26, 0x63, 0xa6, 0x44, 0x1e, 0xe4, 0x19, 0x72, 0x31, 0x11, 0xdc, 0xce, 0x6d, 0xc0, 0x32, 0x61, + 0x3a, 0x65, 0x5f, 0x98, 0x40, 0xcb, 0x18, 0x15, 0x4b, 0x39, 0x9e, 0x91, 0xa5, 0x97, 0xc4, 0xd6, + 0xf1, 0xc7, 0xc5, 0x54, 0xe8, 0x59, 0x71, 0x1f, 0x70, 0x99, 0x0c, 0xab, 0x64, 0x09, 0xe6, 0xb3, + 0xe1, 0x52, 0xc2, 0x61, 0x2e, 0x0b, 0xc5, 0x71, 0x38, 0x95, 0x43, 0x96, 0x89, 0xe1, 0xfc, 0x64, + 0x58, 0x3e, 0x5e, 0x4d, 0xea, 0xfb, 0x1d, 0xfb, 0x15, 0x7b, 0xf1, 0x7f, 0x00, 0x00, 0x00, 0xff, + 0xff, 0x7a, 0xee, 0x11, 0x83, 0xd6, 0x06, 0x00, 0x00, } diff --git a/source/go/api/v1/model/code.pb.go b/source/go/api/v1/model/code.pb.go index ad23955..9775990 100644 --- a/source/go/api/v1/model/code.pb.go +++ b/source/go/api/v1/model/code.pb.go @@ -1,24 +1,22 @@ // Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.33.0 -// protoc v5.27.3 // source: code.proto -package model +package model // import "github.com/polarismesh/specification/source/go/api/v1/model" -import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" -) +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package type Code int32 @@ -199,738 +197,487 @@ const ( Code_OperationRoleForbidden Code = 403002 ) -// Enum value maps for Code. -var ( - Code_name = map[int32]string{ - 0: "Unknown", - 200000: "ExecuteSuccess", - 200001: "DataNoChange", - 200002: "NoNeedUpdate", - 400000: "BadRequest", - 400001: "ParseException", - 400002: "EmptyRequest", - 400003: "BatchSizeOverLimit", - 400004: "InvalidDiscoverResource", - 400100: "InvalidRequestID", - 400101: "InvalidUserName", - 400102: "InvalidUserToken", - 400103: "InvalidParameter", - 400104: "EmptyQueryParameter", - 400105: "InvalidQueryInsParameter", - 400110: "InvalidNamespaceName", - 400111: "InvalidNamespaceOwners", - 400112: "InvalidNamespaceToken", - 400120: "InvalidServiceName", - 400121: "InvalidServiceOwners", - 400122: "InvalidServiceToken", - 400123: "InvalidServiceMetadata", - 400124: "InvalidServicePorts", - 400125: "InvalidServiceBusiness", - 400126: "InvalidServiceDepartment", - 400127: "InvalidServiceCMDB", - 400128: "InvalidServiceComment", - 400129: "InvalidServiceAliasComment", - 400130: "InvalidInstanceID", - 400131: "InvalidInstanceHost", - 400132: "InvalidInstancePort", - 400133: "InvalidServiceAlias", - 400134: "InvalidNamespaceWithAlias", - 400135: "InvalidServiceAliasOwners", - 400136: "InvalidInstanceProtocol", - 400137: "InvalidInstanceVersion", - 400138: "InvalidInstanceLogicSet", - 400139: "InvalidInstanceIsolate", - 400140: "HealthCheckNotOpen", - 400141: "HeartbeatOnDisabledIns", - 400142: "HeartbeatExceedLimit", - 400143: "HeartbeatTypeNotFound", - 400150: "InvalidMetadata", - 400151: "InvalidRateLimitID", - 400152: "InvalidRateLimitLabels", - 400153: "InvalidRateLimitAmounts", - 400154: "InvalidRateLimitName", - 400160: "InvalidCircuitBreakerID", - 400161: "InvalidCircuitBreakerVersion", - 400162: "InvalidCircuitBreakerName", - 400163: "InvalidCircuitBreakerNamespace", - 400164: "InvalidCircuitBreakerOwners", - 400165: "InvalidCircuitBreakerToken", - 400166: "InvalidCircuitBreakerBusiness", - 400167: "InvalidCircuitBreakerDepartment", - 400168: "InvalidCircuitBreakerComment", - 400169: "CircuitBreakerRuleExisted", - 400700: "InvalidRoutingID", - 400701: "InvalidRoutingPolicy", - 400702: "InvalidRoutingName", - 400703: "InvalidRoutingPriority", - 400900: "InvalidFaultDetectID", - 400901: "InvalidFaultDetectName", - 400902: "InvalidFaultDetectNamespace", - 400903: "FaultDetectRuleExisted", - 400904: "InvalidMatchRule", - 400170: "ServicesExistedMesh", - 400171: "ResourcesExistedMesh", - 400172: "InvalidMeshParameter", - 400180: "InvalidPlatformID", - 400181: "InvalidPlatformName", - 400182: "InvalidPlatformDomain", - 400183: "InvalidPlatformQPS", - 400184: "InvalidPlatformToken", - 400185: "InvalidPlatformOwner", - 400186: "InvalidPlatformDepartment", - 400187: "InvalidPlatformComment", - 400188: "NotFoundPlatform", - 400190: "InvalidFluxRateLimitId", - 400191: "InvalidFluxRateLimitQps", - 400192: "InvalidFluxRateLimitSetKey", - 400201: "ExistedResource", - 400202: "NotFoundResource", - 400203: "NamespaceExistedServices", - 400204: "ServiceExistedInstances", - 400205: "ServiceExistedRoutings", - 400206: "ServiceExistedRateLimits", - 400207: "ExistReleasedConfig", - 400208: "SameInstanceRequest", - 400209: "ServiceExistedCircuitBreakers", - 400210: "ServiceExistedAlias", - 400211: "NamespaceExistedMeshResources", - 400212: "NamespaceExistedCircuitBreakers", - 400213: "ServiceSubscribedByMeshes", - 400214: "ServiceExistedFluxRateLimits", - 400219: "NamespaceExistedConfigGroups", - 400301: "NotFoundService", - 400302: "NotFoundRouting", - 400303: "NotFoundInstance", - 400304: "NotFoundServiceAlias", - 400305: "NotFoundNamespace", - 400306: "NotFoundSourceService", - 400307: "NotFoundRateLimit", - 400308: "NotFoundCircuitBreaker", - 400309: "NotFoundMasterConfig", - 400310: "NotFoundTagConfig", - 400311: "NotFoundTagConfigOrService", - 400401: "ClientAPINotOpen", - 400402: "NotAllowBusinessService", - 400501: "NotAllowAliasUpdate", - 400502: "NotAllowAliasCreateInstance", - 400503: "NotAllowAliasCreateRouting", - 400504: "NotAllowCreateAliasForAlias", - 400505: "NotAllowAliasCreateRateLimit", - 400506: "NotAllowAliasBindRule", - 400507: "NotAllowDifferentNamespaceBindRule", - 401000: "Unauthorized", - 401001: "NotAllowedAccess", - 404001: "CMDBNotFindHost", - 409000: "DataConflict", - 429001: "InstanceTooManyRequests", - 429002: "IPRateLimit", - 403003: "APIRateLimit", - 500000: "ExecuteException", - 500001: "StoreLayerException", - 500002: "CMDBPluginException", - 500004: "ParseRoutingException", - 500005: "ParseRateLimitException", - 500006: "ParseCircuitBreakerException", - 500007: "HeartbeatException", - 500008: "InstanceRegisTimeout", - 400801: "InvalidConfigFileGroupName", - 400802: "InvalidConfigFileName", - 400803: "InvalidConfigFileContentLength", - 400804: "InvalidConfigFileFormat", - 400805: "InvalidConfigFileTags", - 400806: "InvalidWatchConfigFileFormat", - 400807: "NotFoundResourceConfigFile", - 400808: "InvalidConfigFileTemplateName", - 400809: "EncryptConfigFileException", - 400810: "GroupExistActiveRelease", - 400811: "DecryptConfigFileException", - 400410: "InvalidUserOwners", - 400411: "InvalidUserID", - 400412: "InvalidUserPassword", - 400413: "InvalidUserMobile", - 400414: "InvalidUserEmail", - 400420: "InvalidUserGroupOwners", - 400421: "InvalidUserGroupID", - 400430: "InvalidAuthStrategyOwners", - 400431: "InvalidAuthStrategyName", - 400432: "InvalidAuthStrategyID", - 400440: "InvalidPrincipalType", - 400215: "UserExisted", - 400216: "UserGroupExisted", - 400217: "AuthStrategyRuleExisted", - 400218: "SubAccountExisted", - 400312: "NotFoundUser", - 400313: "NotFoundOwnerUser", - 400314: "NotFoundUserGroup", - 400315: "NotFoundAuthStrategyRule", - 400508: "NotAllowModifyDefaultStrategyPrincipal", - 400509: "NotAllowModifyOwnerDefaultStrategy", - 401002: "EmptyAutToken", - 401003: "TokenDisabled", - 401004: "TokenNotExisted", - 403001: "AuthTokenForbidden", - 403002: "OperationRoleForbidden", - } - Code_value = map[string]int32{ - "Unknown": 0, - "ExecuteSuccess": 200000, - "DataNoChange": 200001, - "NoNeedUpdate": 200002, - "BadRequest": 400000, - "ParseException": 400001, - "EmptyRequest": 400002, - "BatchSizeOverLimit": 400003, - "InvalidDiscoverResource": 400004, - "InvalidRequestID": 400100, - "InvalidUserName": 400101, - "InvalidUserToken": 400102, - "InvalidParameter": 400103, - "EmptyQueryParameter": 400104, - "InvalidQueryInsParameter": 400105, - "InvalidNamespaceName": 400110, - "InvalidNamespaceOwners": 400111, - "InvalidNamespaceToken": 400112, - "InvalidServiceName": 400120, - "InvalidServiceOwners": 400121, - "InvalidServiceToken": 400122, - "InvalidServiceMetadata": 400123, - "InvalidServicePorts": 400124, - "InvalidServiceBusiness": 400125, - "InvalidServiceDepartment": 400126, - "InvalidServiceCMDB": 400127, - "InvalidServiceComment": 400128, - "InvalidServiceAliasComment": 400129, - "InvalidInstanceID": 400130, - "InvalidInstanceHost": 400131, - "InvalidInstancePort": 400132, - "InvalidServiceAlias": 400133, - "InvalidNamespaceWithAlias": 400134, - "InvalidServiceAliasOwners": 400135, - "InvalidInstanceProtocol": 400136, - "InvalidInstanceVersion": 400137, - "InvalidInstanceLogicSet": 400138, - "InvalidInstanceIsolate": 400139, - "HealthCheckNotOpen": 400140, - "HeartbeatOnDisabledIns": 400141, - "HeartbeatExceedLimit": 400142, - "HeartbeatTypeNotFound": 400143, - "InvalidMetadata": 400150, - "InvalidRateLimitID": 400151, - "InvalidRateLimitLabels": 400152, - "InvalidRateLimitAmounts": 400153, - "InvalidRateLimitName": 400154, - "InvalidCircuitBreakerID": 400160, - "InvalidCircuitBreakerVersion": 400161, - "InvalidCircuitBreakerName": 400162, - "InvalidCircuitBreakerNamespace": 400163, - "InvalidCircuitBreakerOwners": 400164, - "InvalidCircuitBreakerToken": 400165, - "InvalidCircuitBreakerBusiness": 400166, - "InvalidCircuitBreakerDepartment": 400167, - "InvalidCircuitBreakerComment": 400168, - "CircuitBreakerRuleExisted": 400169, - "InvalidRoutingID": 400700, - "InvalidRoutingPolicy": 400701, - "InvalidRoutingName": 400702, - "InvalidRoutingPriority": 400703, - "InvalidFaultDetectID": 400900, - "InvalidFaultDetectName": 400901, - "InvalidFaultDetectNamespace": 400902, - "FaultDetectRuleExisted": 400903, - "InvalidMatchRule": 400904, - "ServicesExistedMesh": 400170, - "ResourcesExistedMesh": 400171, - "InvalidMeshParameter": 400172, - "InvalidPlatformID": 400180, - "InvalidPlatformName": 400181, - "InvalidPlatformDomain": 400182, - "InvalidPlatformQPS": 400183, - "InvalidPlatformToken": 400184, - "InvalidPlatformOwner": 400185, - "InvalidPlatformDepartment": 400186, - "InvalidPlatformComment": 400187, - "NotFoundPlatform": 400188, - "InvalidFluxRateLimitId": 400190, - "InvalidFluxRateLimitQps": 400191, - "InvalidFluxRateLimitSetKey": 400192, - "ExistedResource": 400201, - "NotFoundResource": 400202, - "NamespaceExistedServices": 400203, - "ServiceExistedInstances": 400204, - "ServiceExistedRoutings": 400205, - "ServiceExistedRateLimits": 400206, - "ExistReleasedConfig": 400207, - "SameInstanceRequest": 400208, - "ServiceExistedCircuitBreakers": 400209, - "ServiceExistedAlias": 400210, - "NamespaceExistedMeshResources": 400211, - "NamespaceExistedCircuitBreakers": 400212, - "ServiceSubscribedByMeshes": 400213, - "ServiceExistedFluxRateLimits": 400214, - "NamespaceExistedConfigGroups": 400219, - "NotFoundService": 400301, - "NotFoundRouting": 400302, - "NotFoundInstance": 400303, - "NotFoundServiceAlias": 400304, - "NotFoundNamespace": 400305, - "NotFoundSourceService": 400306, - "NotFoundRateLimit": 400307, - "NotFoundCircuitBreaker": 400308, - "NotFoundMasterConfig": 400309, - "NotFoundTagConfig": 400310, - "NotFoundTagConfigOrService": 400311, - "ClientAPINotOpen": 400401, - "NotAllowBusinessService": 400402, - "NotAllowAliasUpdate": 400501, - "NotAllowAliasCreateInstance": 400502, - "NotAllowAliasCreateRouting": 400503, - "NotAllowCreateAliasForAlias": 400504, - "NotAllowAliasCreateRateLimit": 400505, - "NotAllowAliasBindRule": 400506, - "NotAllowDifferentNamespaceBindRule": 400507, - "Unauthorized": 401000, - "NotAllowedAccess": 401001, - "CMDBNotFindHost": 404001, - "DataConflict": 409000, - "InstanceTooManyRequests": 429001, - "IPRateLimit": 429002, - "APIRateLimit": 403003, - "ExecuteException": 500000, - "StoreLayerException": 500001, - "CMDBPluginException": 500002, - "ParseRoutingException": 500004, - "ParseRateLimitException": 500005, - "ParseCircuitBreakerException": 500006, - "HeartbeatException": 500007, - "InstanceRegisTimeout": 500008, - "InvalidConfigFileGroupName": 400801, - "InvalidConfigFileName": 400802, - "InvalidConfigFileContentLength": 400803, - "InvalidConfigFileFormat": 400804, - "InvalidConfigFileTags": 400805, - "InvalidWatchConfigFileFormat": 400806, - "NotFoundResourceConfigFile": 400807, - "InvalidConfigFileTemplateName": 400808, - "EncryptConfigFileException": 400809, - "GroupExistActiveRelease": 400810, - "DecryptConfigFileException": 400811, - "InvalidUserOwners": 400410, - "InvalidUserID": 400411, - "InvalidUserPassword": 400412, - "InvalidUserMobile": 400413, - "InvalidUserEmail": 400414, - "InvalidUserGroupOwners": 400420, - "InvalidUserGroupID": 400421, - "InvalidAuthStrategyOwners": 400430, - "InvalidAuthStrategyName": 400431, - "InvalidAuthStrategyID": 400432, - "InvalidPrincipalType": 400440, - "UserExisted": 400215, - "UserGroupExisted": 400216, - "AuthStrategyRuleExisted": 400217, - "SubAccountExisted": 400218, - "NotFoundUser": 400312, - "NotFoundOwnerUser": 400313, - "NotFoundUserGroup": 400314, - "NotFoundAuthStrategyRule": 400315, - "NotAllowModifyDefaultStrategyPrincipal": 400508, - "NotAllowModifyOwnerDefaultStrategy": 400509, - "EmptyAutToken": 401002, - "TokenDisabled": 401003, - "TokenNotExisted": 401004, - "AuthTokenForbidden": 403001, - "OperationRoleForbidden": 403002, - } -) - -func (x Code) Enum() *Code { - p := new(Code) - *p = x - return p +var Code_name = map[int32]string{ + 0: "Unknown", + 200000: "ExecuteSuccess", + 200001: "DataNoChange", + 200002: "NoNeedUpdate", + 400000: "BadRequest", + 400001: "ParseException", + 400002: "EmptyRequest", + 400003: "BatchSizeOverLimit", + 400004: "InvalidDiscoverResource", + 400100: "InvalidRequestID", + 400101: "InvalidUserName", + 400102: "InvalidUserToken", + 400103: "InvalidParameter", + 400104: "EmptyQueryParameter", + 400105: "InvalidQueryInsParameter", + 400110: "InvalidNamespaceName", + 400111: "InvalidNamespaceOwners", + 400112: "InvalidNamespaceToken", + 400120: "InvalidServiceName", + 400121: "InvalidServiceOwners", + 400122: "InvalidServiceToken", + 400123: "InvalidServiceMetadata", + 400124: "InvalidServicePorts", + 400125: "InvalidServiceBusiness", + 400126: "InvalidServiceDepartment", + 400127: "InvalidServiceCMDB", + 400128: "InvalidServiceComment", + 400129: "InvalidServiceAliasComment", + 400130: "InvalidInstanceID", + 400131: "InvalidInstanceHost", + 400132: "InvalidInstancePort", + 400133: "InvalidServiceAlias", + 400134: "InvalidNamespaceWithAlias", + 400135: "InvalidServiceAliasOwners", + 400136: "InvalidInstanceProtocol", + 400137: "InvalidInstanceVersion", + 400138: "InvalidInstanceLogicSet", + 400139: "InvalidInstanceIsolate", + 400140: "HealthCheckNotOpen", + 400141: "HeartbeatOnDisabledIns", + 400142: "HeartbeatExceedLimit", + 400143: "HeartbeatTypeNotFound", + 400150: "InvalidMetadata", + 400151: "InvalidRateLimitID", + 400152: "InvalidRateLimitLabels", + 400153: "InvalidRateLimitAmounts", + 400154: "InvalidRateLimitName", + 400160: "InvalidCircuitBreakerID", + 400161: "InvalidCircuitBreakerVersion", + 400162: "InvalidCircuitBreakerName", + 400163: "InvalidCircuitBreakerNamespace", + 400164: "InvalidCircuitBreakerOwners", + 400165: "InvalidCircuitBreakerToken", + 400166: "InvalidCircuitBreakerBusiness", + 400167: "InvalidCircuitBreakerDepartment", + 400168: "InvalidCircuitBreakerComment", + 400169: "CircuitBreakerRuleExisted", + 400700: "InvalidRoutingID", + 400701: "InvalidRoutingPolicy", + 400702: "InvalidRoutingName", + 400703: "InvalidRoutingPriority", + 400900: "InvalidFaultDetectID", + 400901: "InvalidFaultDetectName", + 400902: "InvalidFaultDetectNamespace", + 400903: "FaultDetectRuleExisted", + 400904: "InvalidMatchRule", + 400170: "ServicesExistedMesh", + 400171: "ResourcesExistedMesh", + 400172: "InvalidMeshParameter", + 400180: "InvalidPlatformID", + 400181: "InvalidPlatformName", + 400182: "InvalidPlatformDomain", + 400183: "InvalidPlatformQPS", + 400184: "InvalidPlatformToken", + 400185: "InvalidPlatformOwner", + 400186: "InvalidPlatformDepartment", + 400187: "InvalidPlatformComment", + 400188: "NotFoundPlatform", + 400190: "InvalidFluxRateLimitId", + 400191: "InvalidFluxRateLimitQps", + 400192: "InvalidFluxRateLimitSetKey", + 400201: "ExistedResource", + 400202: "NotFoundResource", + 400203: "NamespaceExistedServices", + 400204: "ServiceExistedInstances", + 400205: "ServiceExistedRoutings", + 400206: "ServiceExistedRateLimits", + 400207: "ExistReleasedConfig", + 400208: "SameInstanceRequest", + 400209: "ServiceExistedCircuitBreakers", + 400210: "ServiceExistedAlias", + 400211: "NamespaceExistedMeshResources", + 400212: "NamespaceExistedCircuitBreakers", + 400213: "ServiceSubscribedByMeshes", + 400214: "ServiceExistedFluxRateLimits", + 400219: "NamespaceExistedConfigGroups", + 400301: "NotFoundService", + 400302: "NotFoundRouting", + 400303: "NotFoundInstance", + 400304: "NotFoundServiceAlias", + 400305: "NotFoundNamespace", + 400306: "NotFoundSourceService", + 400307: "NotFoundRateLimit", + 400308: "NotFoundCircuitBreaker", + 400309: "NotFoundMasterConfig", + 400310: "NotFoundTagConfig", + 400311: "NotFoundTagConfigOrService", + 400401: "ClientAPINotOpen", + 400402: "NotAllowBusinessService", + 400501: "NotAllowAliasUpdate", + 400502: "NotAllowAliasCreateInstance", + 400503: "NotAllowAliasCreateRouting", + 400504: "NotAllowCreateAliasForAlias", + 400505: "NotAllowAliasCreateRateLimit", + 400506: "NotAllowAliasBindRule", + 400507: "NotAllowDifferentNamespaceBindRule", + 401000: "Unauthorized", + 401001: "NotAllowedAccess", + 404001: "CMDBNotFindHost", + 409000: "DataConflict", + 429001: "InstanceTooManyRequests", + 429002: "IPRateLimit", + 403003: "APIRateLimit", + 500000: "ExecuteException", + 500001: "StoreLayerException", + 500002: "CMDBPluginException", + 500004: "ParseRoutingException", + 500005: "ParseRateLimitException", + 500006: "ParseCircuitBreakerException", + 500007: "HeartbeatException", + 500008: "InstanceRegisTimeout", + 400801: "InvalidConfigFileGroupName", + 400802: "InvalidConfigFileName", + 400803: "InvalidConfigFileContentLength", + 400804: "InvalidConfigFileFormat", + 400805: "InvalidConfigFileTags", + 400806: "InvalidWatchConfigFileFormat", + 400807: "NotFoundResourceConfigFile", + 400808: "InvalidConfigFileTemplateName", + 400809: "EncryptConfigFileException", + 400810: "GroupExistActiveRelease", + 400811: "DecryptConfigFileException", + 400410: "InvalidUserOwners", + 400411: "InvalidUserID", + 400412: "InvalidUserPassword", + 400413: "InvalidUserMobile", + 400414: "InvalidUserEmail", + 400420: "InvalidUserGroupOwners", + 400421: "InvalidUserGroupID", + 400430: "InvalidAuthStrategyOwners", + 400431: "InvalidAuthStrategyName", + 400432: "InvalidAuthStrategyID", + 400440: "InvalidPrincipalType", + 400215: "UserExisted", + 400216: "UserGroupExisted", + 400217: "AuthStrategyRuleExisted", + 400218: "SubAccountExisted", + 400312: "NotFoundUser", + 400313: "NotFoundOwnerUser", + 400314: "NotFoundUserGroup", + 400315: "NotFoundAuthStrategyRule", + 400508: "NotAllowModifyDefaultStrategyPrincipal", + 400509: "NotAllowModifyOwnerDefaultStrategy", + 401002: "EmptyAutToken", + 401003: "TokenDisabled", + 401004: "TokenNotExisted", + 403001: "AuthTokenForbidden", + 403002: "OperationRoleForbidden", } - -func (x Code) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +var Code_value = map[string]int32{ + "Unknown": 0, + "ExecuteSuccess": 200000, + "DataNoChange": 200001, + "NoNeedUpdate": 200002, + "BadRequest": 400000, + "ParseException": 400001, + "EmptyRequest": 400002, + "BatchSizeOverLimit": 400003, + "InvalidDiscoverResource": 400004, + "InvalidRequestID": 400100, + "InvalidUserName": 400101, + "InvalidUserToken": 400102, + "InvalidParameter": 400103, + "EmptyQueryParameter": 400104, + "InvalidQueryInsParameter": 400105, + "InvalidNamespaceName": 400110, + "InvalidNamespaceOwners": 400111, + "InvalidNamespaceToken": 400112, + "InvalidServiceName": 400120, + "InvalidServiceOwners": 400121, + "InvalidServiceToken": 400122, + "InvalidServiceMetadata": 400123, + "InvalidServicePorts": 400124, + "InvalidServiceBusiness": 400125, + "InvalidServiceDepartment": 400126, + "InvalidServiceCMDB": 400127, + "InvalidServiceComment": 400128, + "InvalidServiceAliasComment": 400129, + "InvalidInstanceID": 400130, + "InvalidInstanceHost": 400131, + "InvalidInstancePort": 400132, + "InvalidServiceAlias": 400133, + "InvalidNamespaceWithAlias": 400134, + "InvalidServiceAliasOwners": 400135, + "InvalidInstanceProtocol": 400136, + "InvalidInstanceVersion": 400137, + "InvalidInstanceLogicSet": 400138, + "InvalidInstanceIsolate": 400139, + "HealthCheckNotOpen": 400140, + "HeartbeatOnDisabledIns": 400141, + "HeartbeatExceedLimit": 400142, + "HeartbeatTypeNotFound": 400143, + "InvalidMetadata": 400150, + "InvalidRateLimitID": 400151, + "InvalidRateLimitLabels": 400152, + "InvalidRateLimitAmounts": 400153, + "InvalidRateLimitName": 400154, + "InvalidCircuitBreakerID": 400160, + "InvalidCircuitBreakerVersion": 400161, + "InvalidCircuitBreakerName": 400162, + "InvalidCircuitBreakerNamespace": 400163, + "InvalidCircuitBreakerOwners": 400164, + "InvalidCircuitBreakerToken": 400165, + "InvalidCircuitBreakerBusiness": 400166, + "InvalidCircuitBreakerDepartment": 400167, + "InvalidCircuitBreakerComment": 400168, + "CircuitBreakerRuleExisted": 400169, + "InvalidRoutingID": 400700, + "InvalidRoutingPolicy": 400701, + "InvalidRoutingName": 400702, + "InvalidRoutingPriority": 400703, + "InvalidFaultDetectID": 400900, + "InvalidFaultDetectName": 400901, + "InvalidFaultDetectNamespace": 400902, + "FaultDetectRuleExisted": 400903, + "InvalidMatchRule": 400904, + "ServicesExistedMesh": 400170, + "ResourcesExistedMesh": 400171, + "InvalidMeshParameter": 400172, + "InvalidPlatformID": 400180, + "InvalidPlatformName": 400181, + "InvalidPlatformDomain": 400182, + "InvalidPlatformQPS": 400183, + "InvalidPlatformToken": 400184, + "InvalidPlatformOwner": 400185, + "InvalidPlatformDepartment": 400186, + "InvalidPlatformComment": 400187, + "NotFoundPlatform": 400188, + "InvalidFluxRateLimitId": 400190, + "InvalidFluxRateLimitQps": 400191, + "InvalidFluxRateLimitSetKey": 400192, + "ExistedResource": 400201, + "NotFoundResource": 400202, + "NamespaceExistedServices": 400203, + "ServiceExistedInstances": 400204, + "ServiceExistedRoutings": 400205, + "ServiceExistedRateLimits": 400206, + "ExistReleasedConfig": 400207, + "SameInstanceRequest": 400208, + "ServiceExistedCircuitBreakers": 400209, + "ServiceExistedAlias": 400210, + "NamespaceExistedMeshResources": 400211, + "NamespaceExistedCircuitBreakers": 400212, + "ServiceSubscribedByMeshes": 400213, + "ServiceExistedFluxRateLimits": 400214, + "NamespaceExistedConfigGroups": 400219, + "NotFoundService": 400301, + "NotFoundRouting": 400302, + "NotFoundInstance": 400303, + "NotFoundServiceAlias": 400304, + "NotFoundNamespace": 400305, + "NotFoundSourceService": 400306, + "NotFoundRateLimit": 400307, + "NotFoundCircuitBreaker": 400308, + "NotFoundMasterConfig": 400309, + "NotFoundTagConfig": 400310, + "NotFoundTagConfigOrService": 400311, + "ClientAPINotOpen": 400401, + "NotAllowBusinessService": 400402, + "NotAllowAliasUpdate": 400501, + "NotAllowAliasCreateInstance": 400502, + "NotAllowAliasCreateRouting": 400503, + "NotAllowCreateAliasForAlias": 400504, + "NotAllowAliasCreateRateLimit": 400505, + "NotAllowAliasBindRule": 400506, + "NotAllowDifferentNamespaceBindRule": 400507, + "Unauthorized": 401000, + "NotAllowedAccess": 401001, + "CMDBNotFindHost": 404001, + "DataConflict": 409000, + "InstanceTooManyRequests": 429001, + "IPRateLimit": 429002, + "APIRateLimit": 403003, + "ExecuteException": 500000, + "StoreLayerException": 500001, + "CMDBPluginException": 500002, + "ParseRoutingException": 500004, + "ParseRateLimitException": 500005, + "ParseCircuitBreakerException": 500006, + "HeartbeatException": 500007, + "InstanceRegisTimeout": 500008, + "InvalidConfigFileGroupName": 400801, + "InvalidConfigFileName": 400802, + "InvalidConfigFileContentLength": 400803, + "InvalidConfigFileFormat": 400804, + "InvalidConfigFileTags": 400805, + "InvalidWatchConfigFileFormat": 400806, + "NotFoundResourceConfigFile": 400807, + "InvalidConfigFileTemplateName": 400808, + "EncryptConfigFileException": 400809, + "GroupExistActiveRelease": 400810, + "DecryptConfigFileException": 400811, + "InvalidUserOwners": 400410, + "InvalidUserID": 400411, + "InvalidUserPassword": 400412, + "InvalidUserMobile": 400413, + "InvalidUserEmail": 400414, + "InvalidUserGroupOwners": 400420, + "InvalidUserGroupID": 400421, + "InvalidAuthStrategyOwners": 400430, + "InvalidAuthStrategyName": 400431, + "InvalidAuthStrategyID": 400432, + "InvalidPrincipalType": 400440, + "UserExisted": 400215, + "UserGroupExisted": 400216, + "AuthStrategyRuleExisted": 400217, + "SubAccountExisted": 400218, + "NotFoundUser": 400312, + "NotFoundOwnerUser": 400313, + "NotFoundUserGroup": 400314, + "NotFoundAuthStrategyRule": 400315, + "NotAllowModifyDefaultStrategyPrincipal": 400508, + "NotAllowModifyOwnerDefaultStrategy": 400509, + "EmptyAutToken": 401002, + "TokenDisabled": 401003, + "TokenNotExisted": 401004, + "AuthTokenForbidden": 403001, + "OperationRoleForbidden": 403002, } -func (Code) Descriptor() protoreflect.EnumDescriptor { - return file_code_proto_enumTypes[0].Descriptor() -} - -func (Code) Type() protoreflect.EnumType { - return &file_code_proto_enumTypes[0] -} - -func (x Code) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) +func (x Code) String() string { + return proto.EnumName(Code_name, int32(x)) } - -// Deprecated: Use Code.Descriptor instead. func (Code) EnumDescriptor() ([]byte, []int) { - return file_code_proto_rawDescGZIP(), []int{0} -} - -var File_code_proto protoreflect.FileDescriptor - -var file_code_proto_rawDesc = []byte{ - 0x0a, 0x0a, 0x63, 0x6f, 0x64, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x76, 0x31, - 0x2a, 0xdb, 0x25, 0x0a, 0x04, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x6e, 0x6b, - 0x6e, 0x6f, 0x77, 0x6e, 0x10, 0x00, 0x12, 0x14, 0x0a, 0x0e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, - 0x65, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x10, 0xc0, 0x9a, 0x0c, 0x12, 0x12, 0x0a, 0x0c, - 0x44, 0x61, 0x74, 0x61, 0x4e, 0x6f, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x10, 0xc1, 0x9a, 0x0c, - 0x12, 0x12, 0x0a, 0x0c, 0x4e, 0x6f, 0x4e, 0x65, 0x65, 0x64, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, - 0x10, 0xc2, 0x9a, 0x0c, 0x12, 0x10, 0x0a, 0x0a, 0x42, 0x61, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x10, 0x80, 0xb5, 0x18, 0x12, 0x14, 0x0a, 0x0e, 0x50, 0x61, 0x72, 0x73, 0x65, 0x45, - 0x78, 0x63, 0x65, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x10, 0x81, 0xb5, 0x18, 0x12, 0x12, 0x0a, 0x0c, - 0x45, 0x6d, 0x70, 0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x10, 0x82, 0xb5, 0x18, - 0x12, 0x18, 0x0a, 0x12, 0x42, 0x61, 0x74, 0x63, 0x68, 0x53, 0x69, 0x7a, 0x65, 0x4f, 0x76, 0x65, - 0x72, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x10, 0x83, 0xb5, 0x18, 0x12, 0x1d, 0x0a, 0x17, 0x49, 0x6e, - 0x76, 0x61, 0x6c, 0x69, 0x64, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x52, 0x65, 0x73, - 0x6f, 0x75, 0x72, 0x63, 0x65, 0x10, 0x84, 0xb5, 0x18, 0x12, 0x16, 0x0a, 0x10, 0x49, 0x6e, 0x76, - 0x61, 0x6c, 0x69, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x44, 0x10, 0xe4, 0xb5, - 0x18, 0x12, 0x15, 0x0a, 0x0f, 0x49, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x55, 0x73, 0x65, 0x72, - 0x4e, 0x61, 0x6d, 0x65, 0x10, 0xe5, 0xb5, 0x18, 0x12, 0x16, 0x0a, 0x10, 0x49, 0x6e, 0x76, 0x61, - 0x6c, 0x69, 0x64, 0x55, 0x73, 0x65, 0x72, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x10, 0xe6, 0xb5, 0x18, - 0x12, 0x16, 0x0a, 0x10, 0x49, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x50, 0x61, 0x72, 0x61, 0x6d, - 0x65, 0x74, 0x65, 0x72, 0x10, 0xe7, 0xb5, 0x18, 0x12, 0x19, 0x0a, 0x13, 0x45, 0x6d, 0x70, 0x74, - 0x79, 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x10, - 0xe8, 0xb5, 0x18, 0x12, 0x1e, 0x0a, 0x18, 0x49, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x51, 0x75, - 0x65, 0x72, 0x79, 0x49, 0x6e, 0x73, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x10, - 0xe9, 0xb5, 0x18, 0x12, 0x1a, 0x0a, 0x14, 0x49, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x4e, 0x61, - 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x10, 0xee, 0xb5, 0x18, 0x12, - 0x1c, 0x0a, 0x16, 0x49, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, - 0x61, 0x63, 0x65, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x73, 0x10, 0xef, 0xb5, 0x18, 0x12, 0x1b, 0x0a, - 0x15, 0x49, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, - 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x10, 0xf0, 0xb5, 0x18, 0x12, 0x18, 0x0a, 0x12, 0x49, 0x6e, - 0x76, 0x61, 0x6c, 0x69, 0x64, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, - 0x10, 0xf8, 0xb5, 0x18, 0x12, 0x1a, 0x0a, 0x14, 0x49, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x53, - 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x73, 0x10, 0xf9, 0xb5, 0x18, - 0x12, 0x19, 0x0a, 0x13, 0x49, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x53, 0x65, 0x72, 0x76, 0x69, - 0x63, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x10, 0xfa, 0xb5, 0x18, 0x12, 0x1c, 0x0a, 0x16, 0x49, - 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x4d, 0x65, 0x74, - 0x61, 0x64, 0x61, 0x74, 0x61, 0x10, 0xfb, 0xb5, 0x18, 0x12, 0x19, 0x0a, 0x13, 0x49, 0x6e, 0x76, - 0x61, 0x6c, 0x69, 0x64, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x6f, 0x72, 0x74, 0x73, - 0x10, 0xfc, 0xb5, 0x18, 0x12, 0x1c, 0x0a, 0x16, 0x49, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x53, - 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x42, 0x75, 0x73, 0x69, 0x6e, 0x65, 0x73, 0x73, 0x10, 0xfd, - 0xb5, 0x18, 0x12, 0x1e, 0x0a, 0x18, 0x49, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x53, 0x65, 0x72, - 0x76, 0x69, 0x63, 0x65, 0x44, 0x65, 0x70, 0x61, 0x72, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x10, 0xfe, - 0xb5, 0x18, 0x12, 0x18, 0x0a, 0x12, 0x49, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x53, 0x65, 0x72, - 0x76, 0x69, 0x63, 0x65, 0x43, 0x4d, 0x44, 0x42, 0x10, 0xff, 0xb5, 0x18, 0x12, 0x1b, 0x0a, 0x15, - 0x49, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x43, 0x6f, - 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x10, 0x80, 0xb6, 0x18, 0x12, 0x20, 0x0a, 0x1a, 0x49, 0x6e, 0x76, - 0x61, 0x6c, 0x69, 0x64, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x6c, 0x69, 0x61, 0x73, - 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x10, 0x81, 0xb6, 0x18, 0x12, 0x17, 0x0a, 0x11, 0x49, - 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x49, 0x44, - 0x10, 0x82, 0xb6, 0x18, 0x12, 0x19, 0x0a, 0x13, 0x49, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x49, - 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x48, 0x6f, 0x73, 0x74, 0x10, 0x83, 0xb6, 0x18, 0x12, - 0x19, 0x0a, 0x13, 0x49, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, - 0x63, 0x65, 0x50, 0x6f, 0x72, 0x74, 0x10, 0x84, 0xb6, 0x18, 0x12, 0x19, 0x0a, 0x13, 0x49, 0x6e, - 0x76, 0x61, 0x6c, 0x69, 0x64, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x6c, 0x69, 0x61, - 0x73, 0x10, 0x85, 0xb6, 0x18, 0x12, 0x1f, 0x0a, 0x19, 0x49, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, - 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x57, 0x69, 0x74, 0x68, 0x41, 0x6c, 0x69, - 0x61, 0x73, 0x10, 0x86, 0xb6, 0x18, 0x12, 0x1f, 0x0a, 0x19, 0x49, 0x6e, 0x76, 0x61, 0x6c, 0x69, - 0x64, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x4f, 0x77, 0x6e, - 0x65, 0x72, 0x73, 0x10, 0x87, 0xb6, 0x18, 0x12, 0x1d, 0x0a, 0x17, 0x49, 0x6e, 0x76, 0x61, 0x6c, - 0x69, 0x64, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, - 0x6f, 0x6c, 0x10, 0x88, 0xb6, 0x18, 0x12, 0x1c, 0x0a, 0x16, 0x49, 0x6e, 0x76, 0x61, 0x6c, 0x69, - 0x64, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, - 0x10, 0x89, 0xb6, 0x18, 0x12, 0x1d, 0x0a, 0x17, 0x49, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x49, - 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x4c, 0x6f, 0x67, 0x69, 0x63, 0x53, 0x65, 0x74, 0x10, - 0x8a, 0xb6, 0x18, 0x12, 0x1c, 0x0a, 0x16, 0x49, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x49, 0x6e, - 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x49, 0x73, 0x6f, 0x6c, 0x61, 0x74, 0x65, 0x10, 0x8b, 0xb6, - 0x18, 0x12, 0x18, 0x0a, 0x12, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, - 0x4e, 0x6f, 0x74, 0x4f, 0x70, 0x65, 0x6e, 0x10, 0x8c, 0xb6, 0x18, 0x12, 0x1c, 0x0a, 0x16, 0x48, - 0x65, 0x61, 0x72, 0x74, 0x62, 0x65, 0x61, 0x74, 0x4f, 0x6e, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, - 0x65, 0x64, 0x49, 0x6e, 0x73, 0x10, 0x8d, 0xb6, 0x18, 0x12, 0x1a, 0x0a, 0x14, 0x48, 0x65, 0x61, - 0x72, 0x74, 0x62, 0x65, 0x61, 0x74, 0x45, 0x78, 0x63, 0x65, 0x65, 0x64, 0x4c, 0x69, 0x6d, 0x69, - 0x74, 0x10, 0x8e, 0xb6, 0x18, 0x12, 0x1b, 0x0a, 0x15, 0x48, 0x65, 0x61, 0x72, 0x74, 0x62, 0x65, - 0x61, 0x74, 0x54, 0x79, 0x70, 0x65, 0x4e, 0x6f, 0x74, 0x46, 0x6f, 0x75, 0x6e, 0x64, 0x10, 0x8f, - 0xb6, 0x18, 0x12, 0x15, 0x0a, 0x0f, 0x49, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x4d, 0x65, 0x74, - 0x61, 0x64, 0x61, 0x74, 0x61, 0x10, 0x96, 0xb6, 0x18, 0x12, 0x18, 0x0a, 0x12, 0x49, 0x6e, 0x76, - 0x61, 0x6c, 0x69, 0x64, 0x52, 0x61, 0x74, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x49, 0x44, 0x10, - 0x97, 0xb6, 0x18, 0x12, 0x1c, 0x0a, 0x16, 0x49, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x52, 0x61, - 0x74, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x10, 0x98, 0xb6, - 0x18, 0x12, 0x1d, 0x0a, 0x17, 0x49, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x52, 0x61, 0x74, 0x65, - 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x10, 0x99, 0xb6, 0x18, - 0x12, 0x1a, 0x0a, 0x14, 0x49, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x52, 0x61, 0x74, 0x65, 0x4c, - 0x69, 0x6d, 0x69, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x10, 0x9a, 0xb6, 0x18, 0x12, 0x1d, 0x0a, 0x17, - 0x49, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x43, 0x69, 0x72, 0x63, 0x75, 0x69, 0x74, 0x42, 0x72, - 0x65, 0x61, 0x6b, 0x65, 0x72, 0x49, 0x44, 0x10, 0xa0, 0xb6, 0x18, 0x12, 0x22, 0x0a, 0x1c, 0x49, - 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x43, 0x69, 0x72, 0x63, 0x75, 0x69, 0x74, 0x42, 0x72, 0x65, - 0x61, 0x6b, 0x65, 0x72, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x10, 0xa1, 0xb6, 0x18, 0x12, - 0x1f, 0x0a, 0x19, 0x49, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x43, 0x69, 0x72, 0x63, 0x75, 0x69, - 0x74, 0x42, 0x72, 0x65, 0x61, 0x6b, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x10, 0xa2, 0xb6, 0x18, - 0x12, 0x24, 0x0a, 0x1e, 0x49, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x43, 0x69, 0x72, 0x63, 0x75, - 0x69, 0x74, 0x42, 0x72, 0x65, 0x61, 0x6b, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, - 0x63, 0x65, 0x10, 0xa3, 0xb6, 0x18, 0x12, 0x21, 0x0a, 0x1b, 0x49, 0x6e, 0x76, 0x61, 0x6c, 0x69, - 0x64, 0x43, 0x69, 0x72, 0x63, 0x75, 0x69, 0x74, 0x42, 0x72, 0x65, 0x61, 0x6b, 0x65, 0x72, 0x4f, - 0x77, 0x6e, 0x65, 0x72, 0x73, 0x10, 0xa4, 0xb6, 0x18, 0x12, 0x20, 0x0a, 0x1a, 0x49, 0x6e, 0x76, - 0x61, 0x6c, 0x69, 0x64, 0x43, 0x69, 0x72, 0x63, 0x75, 0x69, 0x74, 0x42, 0x72, 0x65, 0x61, 0x6b, - 0x65, 0x72, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x10, 0xa5, 0xb6, 0x18, 0x12, 0x23, 0x0a, 0x1d, 0x49, - 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x43, 0x69, 0x72, 0x63, 0x75, 0x69, 0x74, 0x42, 0x72, 0x65, - 0x61, 0x6b, 0x65, 0x72, 0x42, 0x75, 0x73, 0x69, 0x6e, 0x65, 0x73, 0x73, 0x10, 0xa6, 0xb6, 0x18, - 0x12, 0x25, 0x0a, 0x1f, 0x49, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x43, 0x69, 0x72, 0x63, 0x75, - 0x69, 0x74, 0x42, 0x72, 0x65, 0x61, 0x6b, 0x65, 0x72, 0x44, 0x65, 0x70, 0x61, 0x72, 0x74, 0x6d, - 0x65, 0x6e, 0x74, 0x10, 0xa7, 0xb6, 0x18, 0x12, 0x22, 0x0a, 0x1c, 0x49, 0x6e, 0x76, 0x61, 0x6c, - 0x69, 0x64, 0x43, 0x69, 0x72, 0x63, 0x75, 0x69, 0x74, 0x42, 0x72, 0x65, 0x61, 0x6b, 0x65, 0x72, - 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x10, 0xa8, 0xb6, 0x18, 0x12, 0x1f, 0x0a, 0x19, 0x43, - 0x69, 0x72, 0x63, 0x75, 0x69, 0x74, 0x42, 0x72, 0x65, 0x61, 0x6b, 0x65, 0x72, 0x52, 0x75, 0x6c, - 0x65, 0x45, 0x78, 0x69, 0x73, 0x74, 0x65, 0x64, 0x10, 0xa9, 0xb6, 0x18, 0x12, 0x16, 0x0a, 0x10, - 0x49, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x49, 0x44, - 0x10, 0xbc, 0xba, 0x18, 0x12, 0x1a, 0x0a, 0x14, 0x49, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x52, - 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x10, 0xbd, 0xba, 0x18, - 0x12, 0x18, 0x0a, 0x12, 0x49, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x52, 0x6f, 0x75, 0x74, 0x69, - 0x6e, 0x67, 0x4e, 0x61, 0x6d, 0x65, 0x10, 0xbe, 0xba, 0x18, 0x12, 0x1c, 0x0a, 0x16, 0x49, 0x6e, - 0x76, 0x61, 0x6c, 0x69, 0x64, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x50, 0x72, 0x69, 0x6f, - 0x72, 0x69, 0x74, 0x79, 0x10, 0xbf, 0xba, 0x18, 0x12, 0x1a, 0x0a, 0x14, 0x49, 0x6e, 0x76, 0x61, - 0x6c, 0x69, 0x64, 0x46, 0x61, 0x75, 0x6c, 0x74, 0x44, 0x65, 0x74, 0x65, 0x63, 0x74, 0x49, 0x44, - 0x10, 0x84, 0xbc, 0x18, 0x12, 0x1c, 0x0a, 0x16, 0x49, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x46, - 0x61, 0x75, 0x6c, 0x74, 0x44, 0x65, 0x74, 0x65, 0x63, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x10, 0x85, - 0xbc, 0x18, 0x12, 0x21, 0x0a, 0x1b, 0x49, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x46, 0x61, 0x75, - 0x6c, 0x74, 0x44, 0x65, 0x74, 0x65, 0x63, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, - 0x65, 0x10, 0x86, 0xbc, 0x18, 0x12, 0x1c, 0x0a, 0x16, 0x46, 0x61, 0x75, 0x6c, 0x74, 0x44, 0x65, - 0x74, 0x65, 0x63, 0x74, 0x52, 0x75, 0x6c, 0x65, 0x45, 0x78, 0x69, 0x73, 0x74, 0x65, 0x64, 0x10, - 0x87, 0xbc, 0x18, 0x12, 0x16, 0x0a, 0x10, 0x49, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x4d, 0x61, - 0x74, 0x63, 0x68, 0x52, 0x75, 0x6c, 0x65, 0x10, 0x88, 0xbc, 0x18, 0x12, 0x19, 0x0a, 0x13, 0x53, - 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x45, 0x78, 0x69, 0x73, 0x74, 0x65, 0x64, 0x4d, 0x65, - 0x73, 0x68, 0x10, 0xaa, 0xb6, 0x18, 0x12, 0x1a, 0x0a, 0x14, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, - 0x63, 0x65, 0x73, 0x45, 0x78, 0x69, 0x73, 0x74, 0x65, 0x64, 0x4d, 0x65, 0x73, 0x68, 0x10, 0xab, - 0xb6, 0x18, 0x12, 0x1a, 0x0a, 0x14, 0x49, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x4d, 0x65, 0x73, - 0x68, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x10, 0xac, 0xb6, 0x18, 0x12, 0x17, - 0x0a, 0x11, 0x49, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, - 0x6d, 0x49, 0x44, 0x10, 0xb4, 0xb6, 0x18, 0x12, 0x19, 0x0a, 0x13, 0x49, 0x6e, 0x76, 0x61, 0x6c, - 0x69, 0x64, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x4e, 0x61, 0x6d, 0x65, 0x10, 0xb5, - 0xb6, 0x18, 0x12, 0x1b, 0x0a, 0x15, 0x49, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x50, 0x6c, 0x61, - 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x10, 0xb6, 0xb6, 0x18, 0x12, - 0x18, 0x0a, 0x12, 0x49, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, - 0x72, 0x6d, 0x51, 0x50, 0x53, 0x10, 0xb7, 0xb6, 0x18, 0x12, 0x1a, 0x0a, 0x14, 0x49, 0x6e, 0x76, - 0x61, 0x6c, 0x69, 0x64, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x54, 0x6f, 0x6b, 0x65, - 0x6e, 0x10, 0xb8, 0xb6, 0x18, 0x12, 0x1a, 0x0a, 0x14, 0x49, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, - 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x10, 0xb9, 0xb6, - 0x18, 0x12, 0x1f, 0x0a, 0x19, 0x49, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x50, 0x6c, 0x61, 0x74, - 0x66, 0x6f, 0x72, 0x6d, 0x44, 0x65, 0x70, 0x61, 0x72, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x10, 0xba, - 0xb6, 0x18, 0x12, 0x1c, 0x0a, 0x16, 0x49, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x50, 0x6c, 0x61, - 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x10, 0xbb, 0xb6, 0x18, - 0x12, 0x16, 0x0a, 0x10, 0x4e, 0x6f, 0x74, 0x46, 0x6f, 0x75, 0x6e, 0x64, 0x50, 0x6c, 0x61, 0x74, - 0x66, 0x6f, 0x72, 0x6d, 0x10, 0xbc, 0xb6, 0x18, 0x12, 0x1c, 0x0a, 0x16, 0x49, 0x6e, 0x76, 0x61, - 0x6c, 0x69, 0x64, 0x46, 0x6c, 0x75, 0x78, 0x52, 0x61, 0x74, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, - 0x49, 0x64, 0x10, 0xbe, 0xb6, 0x18, 0x12, 0x1d, 0x0a, 0x17, 0x49, 0x6e, 0x76, 0x61, 0x6c, 0x69, - 0x64, 0x46, 0x6c, 0x75, 0x78, 0x52, 0x61, 0x74, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x51, 0x70, - 0x73, 0x10, 0xbf, 0xb6, 0x18, 0x12, 0x20, 0x0a, 0x1a, 0x49, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, - 0x46, 0x6c, 0x75, 0x78, 0x52, 0x61, 0x74, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x53, 0x65, 0x74, - 0x4b, 0x65, 0x79, 0x10, 0xc0, 0xb6, 0x18, 0x12, 0x15, 0x0a, 0x0f, 0x45, 0x78, 0x69, 0x73, 0x74, - 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x10, 0xc9, 0xb6, 0x18, 0x12, 0x16, - 0x0a, 0x10, 0x4e, 0x6f, 0x74, 0x46, 0x6f, 0x75, 0x6e, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, - 0x63, 0x65, 0x10, 0xca, 0xb6, 0x18, 0x12, 0x1e, 0x0a, 0x18, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, - 0x61, 0x63, 0x65, 0x45, 0x78, 0x69, 0x73, 0x74, 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, - 0x65, 0x73, 0x10, 0xcb, 0xb6, 0x18, 0x12, 0x1d, 0x0a, 0x17, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, - 0x65, 0x45, 0x78, 0x69, 0x73, 0x74, 0x65, 0x64, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, - 0x73, 0x10, 0xcc, 0xb6, 0x18, 0x12, 0x1c, 0x0a, 0x16, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, - 0x45, 0x78, 0x69, 0x73, 0x74, 0x65, 0x64, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x10, - 0xcd, 0xb6, 0x18, 0x12, 0x1e, 0x0a, 0x18, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x45, 0x78, - 0x69, 0x73, 0x74, 0x65, 0x64, 0x52, 0x61, 0x74, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x10, - 0xce, 0xb6, 0x18, 0x12, 0x19, 0x0a, 0x13, 0x45, 0x78, 0x69, 0x73, 0x74, 0x52, 0x65, 0x6c, 0x65, - 0x61, 0x73, 0x65, 0x64, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x10, 0xcf, 0xb6, 0x18, 0x12, 0x19, - 0x0a, 0x13, 0x53, 0x61, 0x6d, 0x65, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x10, 0xd0, 0xb6, 0x18, 0x12, 0x23, 0x0a, 0x1d, 0x53, 0x65, 0x72, - 0x76, 0x69, 0x63, 0x65, 0x45, 0x78, 0x69, 0x73, 0x74, 0x65, 0x64, 0x43, 0x69, 0x72, 0x63, 0x75, - 0x69, 0x74, 0x42, 0x72, 0x65, 0x61, 0x6b, 0x65, 0x72, 0x73, 0x10, 0xd1, 0xb6, 0x18, 0x12, 0x19, - 0x0a, 0x13, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x45, 0x78, 0x69, 0x73, 0x74, 0x65, 0x64, - 0x41, 0x6c, 0x69, 0x61, 0x73, 0x10, 0xd2, 0xb6, 0x18, 0x12, 0x23, 0x0a, 0x1d, 0x4e, 0x61, 0x6d, - 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x45, 0x78, 0x69, 0x73, 0x74, 0x65, 0x64, 0x4d, 0x65, 0x73, - 0x68, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x10, 0xd3, 0xb6, 0x18, 0x12, 0x25, - 0x0a, 0x1f, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x45, 0x78, 0x69, 0x73, 0x74, - 0x65, 0x64, 0x43, 0x69, 0x72, 0x63, 0x75, 0x69, 0x74, 0x42, 0x72, 0x65, 0x61, 0x6b, 0x65, 0x72, - 0x73, 0x10, 0xd4, 0xb6, 0x18, 0x12, 0x1f, 0x0a, 0x19, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, - 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x64, 0x42, 0x79, 0x4d, 0x65, 0x73, 0x68, - 0x65, 0x73, 0x10, 0xd5, 0xb6, 0x18, 0x12, 0x22, 0x0a, 0x1c, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, - 0x65, 0x45, 0x78, 0x69, 0x73, 0x74, 0x65, 0x64, 0x46, 0x6c, 0x75, 0x78, 0x52, 0x61, 0x74, 0x65, - 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x10, 0xd6, 0xb6, 0x18, 0x12, 0x22, 0x0a, 0x1c, 0x4e, 0x61, - 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x45, 0x78, 0x69, 0x73, 0x74, 0x65, 0x64, 0x43, 0x6f, - 0x6e, 0x66, 0x69, 0x67, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x10, 0xdb, 0xb6, 0x18, 0x12, 0x15, - 0x0a, 0x0f, 0x4e, 0x6f, 0x74, 0x46, 0x6f, 0x75, 0x6e, 0x64, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, - 0x65, 0x10, 0xad, 0xb7, 0x18, 0x12, 0x15, 0x0a, 0x0f, 0x4e, 0x6f, 0x74, 0x46, 0x6f, 0x75, 0x6e, - 0x64, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x10, 0xae, 0xb7, 0x18, 0x12, 0x16, 0x0a, 0x10, - 0x4e, 0x6f, 0x74, 0x46, 0x6f, 0x75, 0x6e, 0x64, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, - 0x10, 0xaf, 0xb7, 0x18, 0x12, 0x1a, 0x0a, 0x14, 0x4e, 0x6f, 0x74, 0x46, 0x6f, 0x75, 0x6e, 0x64, - 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x10, 0xb0, 0xb7, 0x18, - 0x12, 0x17, 0x0a, 0x11, 0x4e, 0x6f, 0x74, 0x46, 0x6f, 0x75, 0x6e, 0x64, 0x4e, 0x61, 0x6d, 0x65, - 0x73, 0x70, 0x61, 0x63, 0x65, 0x10, 0xb1, 0xb7, 0x18, 0x12, 0x1b, 0x0a, 0x15, 0x4e, 0x6f, 0x74, - 0x46, 0x6f, 0x75, 0x6e, 0x64, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, - 0x63, 0x65, 0x10, 0xb2, 0xb7, 0x18, 0x12, 0x17, 0x0a, 0x11, 0x4e, 0x6f, 0x74, 0x46, 0x6f, 0x75, - 0x6e, 0x64, 0x52, 0x61, 0x74, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x10, 0xb3, 0xb7, 0x18, 0x12, - 0x1c, 0x0a, 0x16, 0x4e, 0x6f, 0x74, 0x46, 0x6f, 0x75, 0x6e, 0x64, 0x43, 0x69, 0x72, 0x63, 0x75, - 0x69, 0x74, 0x42, 0x72, 0x65, 0x61, 0x6b, 0x65, 0x72, 0x10, 0xb4, 0xb7, 0x18, 0x12, 0x1a, 0x0a, - 0x14, 0x4e, 0x6f, 0x74, 0x46, 0x6f, 0x75, 0x6e, 0x64, 0x4d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x43, - 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x10, 0xb5, 0xb7, 0x18, 0x12, 0x17, 0x0a, 0x11, 0x4e, 0x6f, 0x74, - 0x46, 0x6f, 0x75, 0x6e, 0x64, 0x54, 0x61, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x10, 0xb6, - 0xb7, 0x18, 0x12, 0x20, 0x0a, 0x1a, 0x4e, 0x6f, 0x74, 0x46, 0x6f, 0x75, 0x6e, 0x64, 0x54, 0x61, - 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x4f, 0x72, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, - 0x10, 0xb7, 0xb7, 0x18, 0x12, 0x16, 0x0a, 0x10, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x41, 0x50, - 0x49, 0x4e, 0x6f, 0x74, 0x4f, 0x70, 0x65, 0x6e, 0x10, 0x91, 0xb8, 0x18, 0x12, 0x1d, 0x0a, 0x17, - 0x4e, 0x6f, 0x74, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x42, 0x75, 0x73, 0x69, 0x6e, 0x65, 0x73, 0x73, - 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x10, 0x92, 0xb8, 0x18, 0x12, 0x19, 0x0a, 0x13, 0x4e, - 0x6f, 0x74, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x55, 0x70, 0x64, 0x61, - 0x74, 0x65, 0x10, 0xf5, 0xb8, 0x18, 0x12, 0x21, 0x0a, 0x1b, 0x4e, 0x6f, 0x74, 0x41, 0x6c, 0x6c, - 0x6f, 0x77, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x73, - 0x74, 0x61, 0x6e, 0x63, 0x65, 0x10, 0xf6, 0xb8, 0x18, 0x12, 0x20, 0x0a, 0x1a, 0x4e, 0x6f, 0x74, - 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, - 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x10, 0xf7, 0xb8, 0x18, 0x12, 0x21, 0x0a, 0x1b, 0x4e, - 0x6f, 0x74, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x6c, 0x69, - 0x61, 0x73, 0x46, 0x6f, 0x72, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x10, 0xf8, 0xb8, 0x18, 0x12, 0x22, - 0x0a, 0x1c, 0x4e, 0x6f, 0x74, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x43, - 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x61, 0x74, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x10, 0xf9, - 0xb8, 0x18, 0x12, 0x1b, 0x0a, 0x15, 0x4e, 0x6f, 0x74, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x41, 0x6c, - 0x69, 0x61, 0x73, 0x42, 0x69, 0x6e, 0x64, 0x52, 0x75, 0x6c, 0x65, 0x10, 0xfa, 0xb8, 0x18, 0x12, - 0x28, 0x0a, 0x22, 0x4e, 0x6f, 0x74, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x44, 0x69, 0x66, 0x66, 0x65, - 0x72, 0x65, 0x6e, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x42, 0x69, 0x6e, - 0x64, 0x52, 0x75, 0x6c, 0x65, 0x10, 0xfb, 0xb8, 0x18, 0x12, 0x12, 0x0a, 0x0c, 0x55, 0x6e, 0x61, - 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x64, 0x10, 0xe8, 0xbc, 0x18, 0x12, 0x16, 0x0a, - 0x10, 0x4e, 0x6f, 0x74, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x41, 0x63, 0x63, 0x65, 0x73, - 0x73, 0x10, 0xe9, 0xbc, 0x18, 0x12, 0x15, 0x0a, 0x0f, 0x43, 0x4d, 0x44, 0x42, 0x4e, 0x6f, 0x74, - 0x46, 0x69, 0x6e, 0x64, 0x48, 0x6f, 0x73, 0x74, 0x10, 0xa1, 0xd4, 0x18, 0x12, 0x12, 0x0a, 0x0c, - 0x44, 0x61, 0x74, 0x61, 0x43, 0x6f, 0x6e, 0x66, 0x6c, 0x69, 0x63, 0x74, 0x10, 0xa8, 0xfb, 0x18, - 0x12, 0x1d, 0x0a, 0x17, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x54, 0x6f, 0x6f, 0x4d, - 0x61, 0x6e, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x10, 0xc9, 0x97, 0x1a, 0x12, - 0x11, 0x0a, 0x0b, 0x49, 0x50, 0x52, 0x61, 0x74, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x10, 0xca, - 0x97, 0x1a, 0x12, 0x12, 0x0a, 0x0c, 0x41, 0x50, 0x49, 0x52, 0x61, 0x74, 0x65, 0x4c, 0x69, 0x6d, - 0x69, 0x74, 0x10, 0xbb, 0xcc, 0x18, 0x12, 0x16, 0x0a, 0x10, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, - 0x65, 0x45, 0x78, 0x63, 0x65, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x10, 0xa0, 0xc2, 0x1e, 0x12, 0x19, - 0x0a, 0x13, 0x53, 0x74, 0x6f, 0x72, 0x65, 0x4c, 0x61, 0x79, 0x65, 0x72, 0x45, 0x78, 0x63, 0x65, - 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x10, 0xa1, 0xc2, 0x1e, 0x12, 0x19, 0x0a, 0x13, 0x43, 0x4d, 0x44, - 0x42, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x45, 0x78, 0x63, 0x65, 0x70, 0x74, 0x69, 0x6f, 0x6e, - 0x10, 0xa2, 0xc2, 0x1e, 0x12, 0x1b, 0x0a, 0x15, 0x50, 0x61, 0x72, 0x73, 0x65, 0x52, 0x6f, 0x75, - 0x74, 0x69, 0x6e, 0x67, 0x45, 0x78, 0x63, 0x65, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x10, 0xa4, 0xc2, - 0x1e, 0x12, 0x1d, 0x0a, 0x17, 0x50, 0x61, 0x72, 0x73, 0x65, 0x52, 0x61, 0x74, 0x65, 0x4c, 0x69, - 0x6d, 0x69, 0x74, 0x45, 0x78, 0x63, 0x65, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x10, 0xa5, 0xc2, 0x1e, - 0x12, 0x22, 0x0a, 0x1c, 0x50, 0x61, 0x72, 0x73, 0x65, 0x43, 0x69, 0x72, 0x63, 0x75, 0x69, 0x74, - 0x42, 0x72, 0x65, 0x61, 0x6b, 0x65, 0x72, 0x45, 0x78, 0x63, 0x65, 0x70, 0x74, 0x69, 0x6f, 0x6e, - 0x10, 0xa6, 0xc2, 0x1e, 0x12, 0x18, 0x0a, 0x12, 0x48, 0x65, 0x61, 0x72, 0x74, 0x62, 0x65, 0x61, - 0x74, 0x45, 0x78, 0x63, 0x65, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x10, 0xa7, 0xc2, 0x1e, 0x12, 0x1a, - 0x0a, 0x14, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x67, 0x69, 0x73, 0x54, - 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x10, 0xa8, 0xc2, 0x1e, 0x12, 0x20, 0x0a, 0x1a, 0x49, 0x6e, - 0x76, 0x61, 0x6c, 0x69, 0x64, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x46, 0x69, 0x6c, 0x65, 0x47, - 0x72, 0x6f, 0x75, 0x70, 0x4e, 0x61, 0x6d, 0x65, 0x10, 0xa1, 0xbb, 0x18, 0x12, 0x1b, 0x0a, 0x15, - 0x49, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x46, 0x69, 0x6c, - 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x10, 0xa2, 0xbb, 0x18, 0x12, 0x24, 0x0a, 0x1e, 0x49, 0x6e, 0x76, - 0x61, 0x6c, 0x69, 0x64, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x46, 0x69, 0x6c, 0x65, 0x43, 0x6f, - 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x4c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x10, 0xa3, 0xbb, 0x18, 0x12, - 0x1d, 0x0a, 0x17, 0x49, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, - 0x46, 0x69, 0x6c, 0x65, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x10, 0xa4, 0xbb, 0x18, 0x12, 0x1b, - 0x0a, 0x15, 0x49, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x46, - 0x69, 0x6c, 0x65, 0x54, 0x61, 0x67, 0x73, 0x10, 0xa5, 0xbb, 0x18, 0x12, 0x22, 0x0a, 0x1c, 0x49, - 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x57, 0x61, 0x74, 0x63, 0x68, 0x43, 0x6f, 0x6e, 0x66, 0x69, - 0x67, 0x46, 0x69, 0x6c, 0x65, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x10, 0xa6, 0xbb, 0x18, 0x12, - 0x20, 0x0a, 0x1a, 0x4e, 0x6f, 0x74, 0x46, 0x6f, 0x75, 0x6e, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, - 0x72, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x46, 0x69, 0x6c, 0x65, 0x10, 0xa7, 0xbb, - 0x18, 0x12, 0x23, 0x0a, 0x1d, 0x49, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x43, 0x6f, 0x6e, 0x66, - 0x69, 0x67, 0x46, 0x69, 0x6c, 0x65, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x4e, 0x61, - 0x6d, 0x65, 0x10, 0xa8, 0xbb, 0x18, 0x12, 0x20, 0x0a, 0x1a, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, - 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x46, 0x69, 0x6c, 0x65, 0x45, 0x78, 0x63, 0x65, 0x70, - 0x74, 0x69, 0x6f, 0x6e, 0x10, 0xa9, 0xbb, 0x18, 0x12, 0x1d, 0x0a, 0x17, 0x47, 0x72, 0x6f, 0x75, - 0x70, 0x45, 0x78, 0x69, 0x73, 0x74, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x52, 0x65, 0x6c, 0x65, - 0x61, 0x73, 0x65, 0x10, 0xaa, 0xbb, 0x18, 0x12, 0x20, 0x0a, 0x1a, 0x44, 0x65, 0x63, 0x72, 0x79, - 0x70, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x46, 0x69, 0x6c, 0x65, 0x45, 0x78, 0x63, 0x65, - 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x10, 0xab, 0xbb, 0x18, 0x12, 0x17, 0x0a, 0x11, 0x49, 0x6e, 0x76, - 0x61, 0x6c, 0x69, 0x64, 0x55, 0x73, 0x65, 0x72, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x73, 0x10, 0x9a, - 0xb8, 0x18, 0x12, 0x13, 0x0a, 0x0d, 0x49, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x55, 0x73, 0x65, - 0x72, 0x49, 0x44, 0x10, 0x9b, 0xb8, 0x18, 0x12, 0x19, 0x0a, 0x13, 0x49, 0x6e, 0x76, 0x61, 0x6c, - 0x69, 0x64, 0x55, 0x73, 0x65, 0x72, 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x10, 0x9c, - 0xb8, 0x18, 0x12, 0x17, 0x0a, 0x11, 0x49, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x55, 0x73, 0x65, - 0x72, 0x4d, 0x6f, 0x62, 0x69, 0x6c, 0x65, 0x10, 0x9d, 0xb8, 0x18, 0x12, 0x16, 0x0a, 0x10, 0x49, - 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x55, 0x73, 0x65, 0x72, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x10, - 0x9e, 0xb8, 0x18, 0x12, 0x1c, 0x0a, 0x16, 0x49, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x55, 0x73, - 0x65, 0x72, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x73, 0x10, 0xa4, 0xb8, - 0x18, 0x12, 0x18, 0x0a, 0x12, 0x49, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x55, 0x73, 0x65, 0x72, - 0x47, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x44, 0x10, 0xa5, 0xb8, 0x18, 0x12, 0x1f, 0x0a, 0x19, 0x49, - 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x41, 0x75, 0x74, 0x68, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, - 0x67, 0x79, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x73, 0x10, 0xae, 0xb8, 0x18, 0x12, 0x1d, 0x0a, 0x17, - 0x49, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x41, 0x75, 0x74, 0x68, 0x53, 0x74, 0x72, 0x61, 0x74, - 0x65, 0x67, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x10, 0xaf, 0xb8, 0x18, 0x12, 0x1b, 0x0a, 0x15, 0x49, - 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x41, 0x75, 0x74, 0x68, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, - 0x67, 0x79, 0x49, 0x44, 0x10, 0xb0, 0xb8, 0x18, 0x12, 0x1a, 0x0a, 0x14, 0x49, 0x6e, 0x76, 0x61, - 0x6c, 0x69, 0x64, 0x50, 0x72, 0x69, 0x6e, 0x63, 0x69, 0x70, 0x61, 0x6c, 0x54, 0x79, 0x70, 0x65, - 0x10, 0xb8, 0xb8, 0x18, 0x12, 0x11, 0x0a, 0x0b, 0x55, 0x73, 0x65, 0x72, 0x45, 0x78, 0x69, 0x73, - 0x74, 0x65, 0x64, 0x10, 0xd7, 0xb6, 0x18, 0x12, 0x16, 0x0a, 0x10, 0x55, 0x73, 0x65, 0x72, 0x47, - 0x72, 0x6f, 0x75, 0x70, 0x45, 0x78, 0x69, 0x73, 0x74, 0x65, 0x64, 0x10, 0xd8, 0xb6, 0x18, 0x12, - 0x1d, 0x0a, 0x17, 0x41, 0x75, 0x74, 0x68, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x52, - 0x75, 0x6c, 0x65, 0x45, 0x78, 0x69, 0x73, 0x74, 0x65, 0x64, 0x10, 0xd9, 0xb6, 0x18, 0x12, 0x17, - 0x0a, 0x11, 0x53, 0x75, 0x62, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x45, 0x78, 0x69, 0x73, - 0x74, 0x65, 0x64, 0x10, 0xda, 0xb6, 0x18, 0x12, 0x12, 0x0a, 0x0c, 0x4e, 0x6f, 0x74, 0x46, 0x6f, - 0x75, 0x6e, 0x64, 0x55, 0x73, 0x65, 0x72, 0x10, 0xb8, 0xb7, 0x18, 0x12, 0x17, 0x0a, 0x11, 0x4e, - 0x6f, 0x74, 0x46, 0x6f, 0x75, 0x6e, 0x64, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x55, 0x73, 0x65, 0x72, - 0x10, 0xb9, 0xb7, 0x18, 0x12, 0x17, 0x0a, 0x11, 0x4e, 0x6f, 0x74, 0x46, 0x6f, 0x75, 0x6e, 0x64, - 0x55, 0x73, 0x65, 0x72, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x10, 0xba, 0xb7, 0x18, 0x12, 0x1e, 0x0a, - 0x18, 0x4e, 0x6f, 0x74, 0x46, 0x6f, 0x75, 0x6e, 0x64, 0x41, 0x75, 0x74, 0x68, 0x53, 0x74, 0x72, - 0x61, 0x74, 0x65, 0x67, 0x79, 0x52, 0x75, 0x6c, 0x65, 0x10, 0xbb, 0xb7, 0x18, 0x12, 0x2c, 0x0a, - 0x26, 0x4e, 0x6f, 0x74, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x79, 0x44, - 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x50, 0x72, - 0x69, 0x6e, 0x63, 0x69, 0x70, 0x61, 0x6c, 0x10, 0xfc, 0xb8, 0x18, 0x12, 0x28, 0x0a, 0x22, 0x4e, - 0x6f, 0x74, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x79, 0x4f, 0x77, 0x6e, - 0x65, 0x72, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, - 0x79, 0x10, 0xfd, 0xb8, 0x18, 0x12, 0x13, 0x0a, 0x0d, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x41, 0x75, - 0x74, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x10, 0xea, 0xbc, 0x18, 0x12, 0x13, 0x0a, 0x0d, 0x54, 0x6f, - 0x6b, 0x65, 0x6e, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x10, 0xeb, 0xbc, 0x18, 0x12, - 0x15, 0x0a, 0x0f, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x4e, 0x6f, 0x74, 0x45, 0x78, 0x69, 0x73, 0x74, - 0x65, 0x64, 0x10, 0xec, 0xbc, 0x18, 0x12, 0x18, 0x0a, 0x12, 0x41, 0x75, 0x74, 0x68, 0x54, 0x6f, - 0x6b, 0x65, 0x6e, 0x46, 0x6f, 0x72, 0x62, 0x69, 0x64, 0x64, 0x65, 0x6e, 0x10, 0xb9, 0xcc, 0x18, - 0x12, 0x1c, 0x0a, 0x16, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x6f, 0x6c, - 0x65, 0x46, 0x6f, 0x72, 0x62, 0x69, 0x64, 0x64, 0x65, 0x6e, 0x10, 0xba, 0xcc, 0x18, 0x42, 0x78, - 0x0a, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x74, 0x65, 0x6e, 0x63, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x6f, - 0x6c, 0x61, 0x72, 0x69, 0x73, 0x2e, 0x73, 0x70, 0x65, 0x63, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, - 0x42, 0x09, 0x43, 0x6f, 0x64, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x5a, 0x3b, 0x67, 0x69, 0x74, - 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x6f, 0x6c, 0x61, 0x72, 0x69, 0x73, 0x6d, - 0x65, 0x73, 0x68, 0x2f, 0x73, 0x70, 0x65, 0x63, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x2f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2f, 0x67, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, - 0x76, 0x31, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + return fileDescriptor_code_cc736450b8dbd25a, []int{0} } -var ( - file_code_proto_rawDescOnce sync.Once - file_code_proto_rawDescData = file_code_proto_rawDesc -) - -func file_code_proto_rawDescGZIP() []byte { - file_code_proto_rawDescOnce.Do(func() { - file_code_proto_rawDescData = protoimpl.X.CompressGZIP(file_code_proto_rawDescData) - }) - return file_code_proto_rawDescData +func init() { + proto.RegisterEnum("v1.Code", Code_name, Code_value) } -var file_code_proto_enumTypes = make([]protoimpl.EnumInfo, 1) -var file_code_proto_goTypes = []interface{}{ - (Code)(0), // 0: v1.Code -} -var file_code_proto_depIdxs = []int32{ - 0, // [0:0] is the sub-list for method output_type - 0, // [0:0] is the sub-list for method input_type - 0, // [0:0] is the sub-list for extension type_name - 0, // [0:0] is the sub-list for extension extendee - 0, // [0:0] is the sub-list for field type_name -} +func init() { proto.RegisterFile("code.proto", fileDescriptor_code_cc736450b8dbd25a) } -func init() { file_code_proto_init() } -func file_code_proto_init() { - if File_code_proto != nil { - return - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_code_proto_rawDesc, - NumEnums: 1, - NumMessages: 0, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_code_proto_goTypes, - DependencyIndexes: file_code_proto_depIdxs, - EnumInfos: file_code_proto_enumTypes, - }.Build() - File_code_proto = out.File - file_code_proto_rawDesc = nil - file_code_proto_goTypes = nil - file_code_proto_depIdxs = nil +var fileDescriptor_code_cc736450b8dbd25a = []byte{ + // 2018 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x58, 0x5b, 0x90, 0x24, 0x45, + 0x15, 0x35, 0x0c, 0x43, 0xc3, 0x02, 0xf5, 0x52, 0xbc, 0x8a, 0x05, 0x06, 0x45, 0x31, 0x0c, 0xc3, + 0x98, 0x89, 0x0d, 0x3f, 0xfd, 0x9a, 0xe9, 0x9e, 0x71, 0x3b, 0xdc, 0x99, 0xe9, 0x9d, 0x9e, 0x95, + 0x08, 0xff, 0xb2, 0xab, 0xee, 0x74, 0x67, 0x6c, 0x75, 0x65, 0x5b, 0x99, 0x35, 0x3b, 0xcd, 0x17, + 0x8f, 0xe5, 0xe1, 0x3b, 0xf4, 0xc3, 0xd5, 0xf5, 0x11, 0x2c, 0xec, 0x0b, 0x50, 0x40, 0xa5, 0xab, + 0x6b, 0xa7, 0x5b, 0xc0, 0xf9, 0x03, 0xd7, 0x37, 0x3e, 0xf9, 0xf5, 0x01, 0x6a, 0xa8, 0x3f, 0x2a, + 0xb0, 0xa0, 0x46, 0x66, 0x56, 0x56, 0x55, 0xf6, 0xf6, 0xfa, 0xd9, 0x79, 0xee, 0xbd, 0x79, 0x1f, + 0xe7, 0xde, 0xba, 0xd9, 0x8e, 0xe3, 0xb3, 0x00, 0xe7, 0xfb, 0x31, 0x13, 0xcc, 0x7d, 0xf3, 0xf6, + 0xfe, 0x0f, 0xbe, 0x78, 0x9b, 0xf3, 0x96, 0x1a, 0x0b, 0xd0, 0xbd, 0xc2, 0x79, 0xdb, 0xe1, 0xe8, + 0x48, 0xc4, 0x8e, 0x46, 0xf0, 0x26, 0xf7, 0x1a, 0xe7, 0x9d, 0xcb, 0x3b, 0xe8, 0x27, 0x02, 0x5b, + 0x89, 0xef, 0x23, 0xe7, 0xf0, 0xec, 0x89, 0x2b, 0x5d, 0xd7, 0xb9, 0xb2, 0x4e, 0x04, 0x59, 0x63, + 0xb5, 0x2e, 0x89, 0x3a, 0x08, 0x3f, 0xd0, 0x67, 0x6b, 0x6c, 0x0d, 0x31, 0x38, 0xdc, 0x0f, 0x88, + 0x40, 0xd8, 0x3b, 0x71, 0xa5, 0x0b, 0x8e, 0xb3, 0x44, 0x82, 0x0d, 0xfc, 0x64, 0x82, 0x5c, 0xc0, + 0x9d, 0x43, 0x4f, 0xda, 0x6b, 0x92, 0x98, 0xe3, 0xf2, 0x8e, 0x8f, 0x7d, 0x41, 0x59, 0x04, 0x77, + 0x0d, 0x3d, 0xa9, 0xbb, 0xdc, 0xeb, 0x8b, 0x81, 0x91, 0xbc, 0x7b, 0xe8, 0xb9, 0x9e, 0xe3, 0x2e, + 0x11, 0xe1, 0x77, 0x5b, 0xf4, 0x0e, 0x5c, 0xdf, 0xc6, 0xf8, 0x20, 0xed, 0x51, 0x01, 0xf7, 0x0c, + 0x3d, 0xf7, 0x66, 0xe7, 0xfa, 0x46, 0xb4, 0x4d, 0x42, 0x1a, 0xd4, 0x29, 0xf7, 0xd9, 0x36, 0xc6, + 0x1b, 0xc8, 0x59, 0x12, 0xfb, 0x08, 0xc7, 0x86, 0x9e, 0x7b, 0x9d, 0x03, 0x39, 0x9c, 0x9b, 0x6b, + 0xd4, 0xe1, 0xf7, 0x43, 0xcf, 0xbd, 0xd6, 0x79, 0x57, 0x7e, 0x7e, 0x98, 0x63, 0xbc, 0x46, 0x7a, + 0x08, 0x7f, 0xb0, 0xc4, 0xe5, 0xf1, 0x26, 0x3b, 0x82, 0x11, 0xfc, 0xd1, 0x3a, 0x6f, 0x92, 0x98, + 0xf4, 0x50, 0x60, 0x0c, 0x7f, 0x1a, 0x7a, 0xee, 0x0d, 0xce, 0xd5, 0xca, 0xd7, 0x43, 0x09, 0xc6, + 0x83, 0x12, 0x7a, 0x69, 0xe8, 0xb9, 0x73, 0x8e, 0x97, 0xab, 0x28, 0xb0, 0x11, 0xf1, 0x12, 0x7f, + 0x79, 0xe8, 0xb9, 0xfb, 0x9c, 0x6b, 0x72, 0x5c, 0xde, 0xce, 0xfb, 0xc4, 0x47, 0xe5, 0xc6, 0xdf, + 0x86, 0x9e, 0x7b, 0x93, 0x73, 0xdd, 0x34, 0xb6, 0x7e, 0x34, 0xc2, 0x98, 0xc3, 0xdf, 0x87, 0x9e, + 0x7b, 0xa3, 0x73, 0xed, 0x34, 0xaa, 0x3d, 0xfd, 0x87, 0xce, 0x54, 0x0e, 0xb6, 0x30, 0xde, 0xa6, + 0xb9, 0xd1, 0x57, 0xac, 0x0b, 0x73, 0x24, 0x37, 0xf9, 0xaa, 0x8e, 0xc3, 0xc6, 0xb4, 0xc1, 0xd7, + 0x2c, 0x5f, 0x72, 0x68, 0x15, 0x05, 0x09, 0x88, 0x20, 0x70, 0x71, 0x96, 0x62, 0x93, 0xc5, 0x82, + 0xc3, 0xeb, 0xb3, 0x14, 0x97, 0x12, 0x4e, 0x23, 0xc9, 0x9a, 0x37, 0xac, 0xf4, 0xe4, 0x68, 0x1d, + 0xfb, 0x24, 0x16, 0x3d, 0x8c, 0x04, 0xfc, 0x67, 0x56, 0x1c, 0xb5, 0xd5, 0xfa, 0x12, 0xfc, 0xd7, + 0x0a, 0xdf, 0x20, 0xac, 0xa7, 0xd4, 0xee, 0x4c, 0x3d, 0xf7, 0xdd, 0xce, 0x3e, 0x1b, 0x5c, 0x0c, + 0x29, 0xe1, 0x46, 0xe2, 0xae, 0xd4, 0x73, 0xaf, 0x77, 0xae, 0xca, 0x25, 0x1a, 0x11, 0x17, 0x24, + 0xf2, 0xb1, 0x51, 0x87, 0xbb, 0xd3, 0x6a, 0x28, 0x06, 0x38, 0xc0, 0xb8, 0x80, 0x7b, 0x66, 0x42, + 0x32, 0x4c, 0x38, 0x96, 0xce, 0x48, 0x80, 0xba, 0x10, 0xee, 0x4d, 0x3d, 0xf7, 0x16, 0xe7, 0x86, + 0xe9, 0x3a, 0xdd, 0x4e, 0x45, 0x57, 0x0b, 0xdc, 0x67, 0x09, 0x54, 0x75, 0xf3, 0xb2, 0xdc, 0x9f, + 0x56, 0xc9, 0x5d, 0xdc, 0x2b, 0x5b, 0xd4, 0x67, 0x21, 0x3c, 0x90, 0x56, 0x33, 0x6c, 0xe0, 0x8f, + 0x63, 0xcc, 0x65, 0x1f, 0x7d, 0x6a, 0xa6, 0xf2, 0x41, 0xd6, 0xa1, 0x7e, 0x0b, 0x05, 0x7c, 0x7a, + 0xa6, 0x72, 0x83, 0xb3, 0x50, 0x36, 0xeb, 0x67, 0x52, 0x95, 0xfe, 0x03, 0x48, 0x42, 0xd1, 0xad, + 0x75, 0xd1, 0x3f, 0xb2, 0xc6, 0xc4, 0x7a, 0x1f, 0x23, 0xf8, 0xac, 0xd6, 0x3b, 0x80, 0x24, 0x16, + 0x6d, 0x24, 0x62, 0x3d, 0xaa, 0x53, 0x4e, 0xda, 0x21, 0x4a, 0x1b, 0xf0, 0xb9, 0x54, 0x91, 0xac, + 0x40, 0x65, 0x5b, 0x63, 0xa0, 0x5b, 0xf5, 0xf3, 0xa9, 0x2a, 0x5c, 0x81, 0x6d, 0x0e, 0xfa, 0xb8, + 0xc6, 0xc4, 0x0a, 0x4b, 0xa2, 0x00, 0xbe, 0x90, 0x56, 0x1b, 0xb2, 0xe0, 0xd7, 0x97, 0xd3, 0x2a, + 0x0d, 0x36, 0x88, 0x40, 0x65, 0xab, 0x51, 0x87, 0xe3, 0x96, 0xff, 0x05, 0x72, 0x90, 0xb4, 0x31, + 0xe4, 0xf0, 0x15, 0x2b, 0xf8, 0x02, 0x5d, 0xec, 0xb1, 0x24, 0x12, 0x1c, 0xbe, 0x9a, 0x56, 0x7b, + 0xa1, 0x80, 0x55, 0x9f, 0x9c, 0xb0, 0x54, 0x6b, 0x34, 0xf6, 0x13, 0x2a, 0x96, 0x62, 0x24, 0x47, + 0x30, 0x6e, 0xd4, 0xe1, 0xc1, 0xd4, 0x73, 0x6f, 0x75, 0x6e, 0x9a, 0x09, 0x9b, 0xd4, 0x9f, 0xb4, + 0x0a, 0x6b, 0xcb, 0xa8, 0x3b, 0x1e, 0x4a, 0x3d, 0xf7, 0x7d, 0xce, 0xdc, 0x65, 0x05, 0x14, 0x51, + 0xe0, 0xe1, 0xd4, 0x73, 0xdf, 0xe3, 0xdc, 0x38, 0x53, 0x2a, 0x67, 0xc8, 0x29, 0x8b, 0xef, 0xb6, + 0x88, 0xee, 0xdf, 0xd3, 0xa9, 0xe7, 0xbe, 0xd7, 0xb9, 0x79, 0xa6, 0x44, 0xd1, 0x8d, 0x67, 0x52, + 0xcf, 0xbd, 0xcd, 0xb9, 0x65, 0xa6, 0x50, 0xa5, 0x29, 0xcf, 0xfe, 0x9f, 0xd8, 0x4d, 0x7f, 0x9d, + 0xd3, 0xb1, 0xdb, 0xe0, 0x46, 0x12, 0xe2, 0xf2, 0x0e, 0xe5, 0x02, 0x03, 0x78, 0x24, 0xb5, 0x46, + 0x32, 0x4b, 0x04, 0x8d, 0x3a, 0x8d, 0x3a, 0x4c, 0x76, 0xad, 0x9a, 0xe8, 0xf3, 0x26, 0x0b, 0xa9, + 0x3f, 0x80, 0xef, 0xef, 0x5a, 0x34, 0xd0, 0x98, 0xca, 0xe4, 0xd3, 0xbb, 0x16, 0x0d, 0x72, 0xad, + 0x98, 0xb2, 0x98, 0x8a, 0x01, 0x3c, 0x63, 0xd9, 0x5c, 0x21, 0x49, 0x28, 0xea, 0x28, 0xd0, 0x97, + 0x04, 0x3a, 0x36, 0xa9, 0x6a, 0x56, 0x30, 0x65, 0xf7, 0xde, 0x49, 0x35, 0xf7, 0x53, 0xa8, 0x2e, + 0xcf, 0x7d, 0xda, 0x40, 0x05, 0xab, 0x86, 0x79, 0xff, 0xa4, 0x1a, 0xe6, 0xaa, 0xfc, 0x72, 0x49, + 0x18, 0x1e, 0x98, 0xa8, 0x81, 0x91, 0x77, 0x3b, 0xcf, 0xc5, 0x57, 0x91, 0x77, 0xe1, 0x51, 0xcd, + 0x4a, 0xf3, 0xf1, 0xb2, 0xb0, 0xc7, 0x2c, 0xc6, 0xca, 0xa3, 0xf2, 0x53, 0xf2, 0x2d, 0x6b, 0xa4, + 0x35, 0x43, 0x22, 0xb6, 0x58, 0xdc, 0x6b, 0xd4, 0xe1, 0x29, 0x6b, 0x38, 0x19, 0x40, 0xc5, 0x37, + 0x4c, 0xab, 0x53, 0xd4, 0x40, 0x75, 0xd6, 0x23, 0x34, 0x82, 0xd4, 0xea, 0x3a, 0x03, 0x1e, 0x6a, + 0xb6, 0x60, 0x64, 0xb9, 0x61, 0x10, 0xcd, 0xb4, 0x6c, 0x26, 0xa6, 0x88, 0x0a, 0xe7, 0xad, 0x8e, + 0x28, 0xae, 0x2b, 0xa9, 0xb5, 0x6b, 0xb5, 0xb3, 0x11, 0x30, 0xa4, 0x1a, 0x6b, 0xce, 0x98, 0x69, + 0x61, 0x60, 0x98, 0x58, 0x5a, 0x2b, 0x61, 0xb2, 0x53, 0x8e, 0x88, 0x00, 0x9e, 0xb6, 0x3a, 0xd9, + 0x42, 0x0f, 0xf5, 0x39, 0x3c, 0x63, 0xf5, 0x8e, 0x05, 0xb7, 0x50, 0x7c, 0x0c, 0x07, 0xf0, 0xac, + 0x1e, 0x4a, 0x79, 0x1d, 0x8a, 0xa5, 0xe2, 0x39, 0xdb, 0x9b, 0xe2, 0xfc, 0xf9, 0x54, 0x7d, 0xd3, + 0x0a, 0x86, 0xe4, 0x7a, 0xa6, 0xd4, 0xf0, 0x43, 0xed, 0x4f, 0xfe, 0x3b, 0x47, 0xcd, 0xe4, 0xe5, + 0x70, 0x41, 0x07, 0x63, 0xc3, 0x39, 0xa3, 0x39, 0xfc, 0x48, 0x1b, 0x9f, 0x42, 0x8d, 0xc3, 0x1c, + 0x7e, 0xac, 0x6b, 0xad, 0x80, 0x0d, 0x0c, 0x91, 0x70, 0x0c, 0x6a, 0x2c, 0xda, 0xa2, 0x1d, 0xf8, + 0x89, 0x86, 0x5a, 0xa4, 0x87, 0xe6, 0x36, 0xb3, 0x58, 0xfd, 0x54, 0x4f, 0x07, 0xdb, 0xaa, 0xdd, + 0xbb, 0x1c, 0x7e, 0x96, 0x56, 0x29, 0x9b, 0x0b, 0xe9, 0x4f, 0xd8, 0xcf, 0xb5, 0xfe, 0x74, 0xc8, + 0x92, 0x9f, 0x05, 0x8d, 0xe1, 0x17, 0x7a, 0xba, 0x4c, 0x0b, 0x4d, 0x5f, 0xf3, 0x82, 0xe6, 0x48, + 0x7e, 0x4d, 0x2b, 0x69, 0x73, 0x3f, 0xa6, 0x6d, 0x0c, 0x96, 0x06, 0xd2, 0x1c, 0x72, 0xf8, 0xa5, + 0x1e, 0x3f, 0xb6, 0x1f, 0x56, 0xdd, 0x38, 0xfc, 0x4a, 0xcb, 0x5c, 0x72, 0x97, 0xca, 0xc4, 0x47, + 0x63, 0x96, 0xf4, 0x39, 0xbc, 0xa8, 0xcb, 0x6a, 0xea, 0x97, 0xdb, 0x83, 0x6f, 0x8f, 0xac, 0xe3, + 0x3c, 0xf3, 0xf0, 0xf8, 0xc8, 0xaa, 0xb6, 0xc9, 0x20, 0x3c, 0x31, 0x52, 0x74, 0x9f, 0xb2, 0xa2, + 0xd3, 0xf2, 0xe4, 0x48, 0x75, 0xa4, 0xc1, 0xca, 0x99, 0xf1, 0x9d, 0x91, 0x6a, 0xbb, 0x42, 0x49, + 0x65, 0xc8, 0x38, 0xf0, 0x5d, 0x5b, 0xab, 0x88, 0x0a, 0xbe, 0x37, 0x52, 0xcc, 0x30, 0x80, 0x9d, + 0x38, 0x78, 0xca, 0x76, 0x64, 0x95, 0x70, 0x21, 0xc7, 0xb1, 0x2a, 0xfd, 0xd0, 0x36, 0xb9, 0x49, + 0x3a, 0x39, 0x90, 0x8e, 0x14, 0xf9, 0x2f, 0x01, 0xd6, 0x63, 0xe3, 0xcd, 0x48, 0xc7, 0x5d, 0x0b, + 0x29, 0x46, 0x62, 0xb1, 0xd9, 0x30, 0x0b, 0xc0, 0x17, 0x33, 0xc5, 0xe2, 0x35, 0x26, 0x16, 0xc3, + 0x90, 0x1d, 0x35, 0xdf, 0x10, 0xa3, 0xf6, 0xa5, 0x4c, 0x91, 0xc5, 0xc0, 0x2a, 0x1f, 0xf9, 0x0b, + 0xe0, 0x9f, 0x99, 0x9a, 0xa9, 0x16, 0x54, 0x8b, 0x91, 0x88, 0x82, 0x96, 0xf0, 0xaf, 0xcc, 0xb8, + 0x35, 0x2d, 0x62, 0xca, 0xf1, 0x6f, 0xdb, 0x88, 0x06, 0x95, 0xdc, 0x0a, 0x8b, 0x75, 0xf6, 0x5f, + 0xc9, 0x34, 0x07, 0x66, 0x18, 0x29, 0x52, 0xfa, 0x6a, 0x66, 0x0a, 0x51, 0xca, 0x2c, 0xd1, 0x28, + 0x50, 0x33, 0xfa, 0xb5, 0xcc, 0x73, 0x3f, 0xe0, 0xdc, 0x6a, 0xc0, 0x3a, 0xdd, 0xda, 0xc2, 0x18, + 0xa3, 0x72, 0xf6, 0x17, 0x92, 0x17, 0x33, 0xf5, 0x58, 0x39, 0x1c, 0x91, 0x44, 0x74, 0x59, 0x4c, + 0xef, 0xc0, 0x00, 0x5e, 0x9a, 0x18, 0xc2, 0x28, 0x6d, 0x0c, 0x16, 0xf5, 0x43, 0xe9, 0xe5, 0x89, + 0xe2, 0x97, 0x5c, 0x62, 0x65, 0xda, 0x69, 0x14, 0xa8, 0xe5, 0xf2, 0xe4, 0x0b, 0x9e, 0x79, 0x3f, + 0xc9, 0x12, 0x84, 0xd4, 0x17, 0x70, 0xee, 0x62, 0x3e, 0xb9, 0x74, 0x5a, 0x36, 0x19, 0x5b, 0x25, + 0x91, 0x79, 0x0d, 0x71, 0x78, 0xee, 0xf8, 0x3e, 0xf7, 0x2a, 0xe7, 0x8a, 0x46, 0xb3, 0x8c, 0xe7, + 0xf9, 0xe3, 0xfb, 0xa4, 0x95, 0xc5, 0x66, 0xa3, 0x3c, 0x1b, 0x5f, 0x50, 0x8e, 0xe4, 0xef, 0xb5, + 0xf2, 0x85, 0xf5, 0xe0, 0xde, 0x9c, 0xea, 0x67, 0xc1, 0x62, 0x3c, 0x48, 0x06, 0x18, 0x97, 0xd0, + 0x49, 0x0d, 0x49, 0x1f, 0x9b, 0x61, 0xd2, 0xa1, 0x51, 0x09, 0x3d, 0xb4, 0x37, 0x27, 0x33, 0xa6, + 0x5e, 0x6b, 0x79, 0x31, 0x4a, 0xf0, 0xd4, 0xde, 0x9c, 0x74, 0x58, 0x83, 0xc6, 0x81, 0x12, 0x3e, + 0xbd, 0x37, 0x27, 0x2b, 0xa2, 0x60, 0x9b, 0xbd, 0xa5, 0xcc, 0x99, 0xbd, 0xb9, 0x7c, 0xe5, 0x2c, + 0x57, 0x47, 0x8d, 0x9c, 0xdd, 0x9b, 0xd3, 0x1f, 0x16, 0x33, 0xbb, 0x3a, 0x94, 0x6f, 0xd2, 0x1e, + 0xb2, 0x44, 0xc0, 0xb9, 0xbd, 0xb9, 0xea, 0x02, 0xa4, 0x38, 0xbc, 0x42, 0x43, 0x54, 0xad, 0xae, + 0xbe, 0x74, 0x27, 0xc7, 0xd5, 0x2f, 0x5d, 0x29, 0xa1, 0x17, 0xb1, 0xb1, 0xb5, 0x88, 0x15, 0x60, + 0x8d, 0x45, 0x02, 0x23, 0x71, 0x10, 0xa3, 0x8e, 0xe8, 0xc2, 0xc3, 0x63, 0x6b, 0x25, 0x2c, 0xa4, + 0x56, 0x58, 0xdc, 0x23, 0x02, 0x4e, 0x5d, 0xe6, 0x86, 0x4d, 0xd2, 0xe1, 0x70, 0x7a, 0x5c, 0xdd, + 0x99, 0x6e, 0x97, 0x7b, 0xc0, 0x25, 0x06, 0xce, 0x8c, 0xad, 0x66, 0x34, 0x93, 0xb3, 0x94, 0x83, + 0xb3, 0x63, 0x6b, 0x8b, 0x2b, 0xaf, 0xc0, 0x5e, 0x5f, 0x2e, 0xec, 0x2a, 0x98, 0x73, 0xda, 0xcc, + 0x72, 0xe4, 0xc7, 0x83, 0xbe, 0x28, 0x85, 0xca, 0x4c, 0x3e, 0xa2, 0x03, 0x51, 0xc9, 0x51, 0x93, + 0x71, 0xd1, 0x17, 0x74, 0x1b, 0xf3, 0xef, 0x05, 0x3c, 0xaa, 0x0d, 0xd4, 0xf1, 0xb2, 0x06, 0x1e, + 0x1b, 0x57, 0x57, 0x0d, 0xf9, 0x40, 0xce, 0x17, 0xd1, 0x13, 0x99, 0xe7, 0x5e, 0xed, 0xbc, 0xa3, + 0x02, 0x34, 0xea, 0xf0, 0xb5, 0xac, 0xba, 0x7f, 0xc8, 0xc3, 0x26, 0xe1, 0xfc, 0x28, 0x8b, 0x03, + 0xf8, 0x7a, 0x36, 0x6d, 0x68, 0x95, 0xb5, 0x65, 0xa4, 0xdf, 0xc8, 0xa6, 0x9f, 0xe0, 0xcb, 0x3d, + 0x42, 0x43, 0xf8, 0x66, 0x56, 0xfd, 0xd4, 0xcb, 0x73, 0x15, 0x85, 0xd9, 0x83, 0xb3, 0xea, 0xc6, + 0x52, 0xa0, 0x8d, 0x3a, 0x9c, 0xce, 0xaa, 0x9b, 0xc7, 0x62, 0x22, 0xba, 0x2d, 0x11, 0x13, 0x81, + 0x9d, 0x41, 0xae, 0xfa, 0x78, 0x56, 0x2d, 0x6e, 0x55, 0x40, 0x25, 0xf5, 0x89, 0xac, 0x5a, 0xdc, + 0x2a, 0xdc, 0xa8, 0xc3, 0x93, 0x99, 0xb5, 0xf2, 0xc4, 0x34, 0xf2, 0x69, 0x9f, 0x84, 0xf2, 0x65, + 0x03, 0x59, 0xe6, 0xc9, 0x26, 0x55, 0x11, 0xe4, 0x3b, 0xe1, 0xaf, 0xf5, 0xe2, 0x50, 0xb8, 0x67, + 0xce, 0x7f, 0xa3, 0x17, 0x83, 0xaa, 0xf1, 0xea, 0x2a, 0xf9, 0x5b, 0xbd, 0xdf, 0xb5, 0x92, 0xf6, + 0xa2, 0xef, 0xcb, 0x07, 0x8c, 0x01, 0x7e, 0x97, 0x7a, 0xfa, 0x6f, 0x16, 0xcd, 0x1b, 0x69, 0x17, + 0x32, 0x7b, 0xe2, 0xab, 0x20, 0x15, 0x70, 0xde, 0x06, 0x0a, 0x27, 0x60, 0x77, 0xa4, 0xd7, 0x96, + 0x1c, 0x98, 0xf6, 0x02, 0xc6, 0x23, 0xcf, 0xfd, 0x90, 0xf3, 0x7e, 0x33, 0xcf, 0x56, 0x59, 0x40, + 0xb7, 0x06, 0x75, 0xdc, 0x92, 0x7b, 0xaf, 0x11, 0x2c, 0x42, 0x87, 0xd7, 0xed, 0xd9, 0xa9, 0xa5, + 0x95, 0x17, 0x53, 0x2a, 0xf0, 0x86, 0xa6, 0x8c, 0xfa, 0xf3, 0x64, 0x31, 0x11, 0x7a, 0x89, 0xfc, + 0xf3, 0x44, 0x1d, 0xaa, 0x1f, 0xe6, 0x61, 0x09, 0x7f, 0xd1, 0x93, 0x53, 0x1d, 0xae, 0xb1, 0x22, + 0xfc, 0xbf, 0x4e, 0x54, 0xd1, 0xa5, 0xc3, 0x0a, 0x5a, 0x61, 0x71, 0x9b, 0x06, 0x01, 0x46, 0x70, + 0xfe, 0x82, 0x22, 0xcb, 0x7a, 0x1f, 0x63, 0x22, 0x79, 0xbb, 0xc1, 0x54, 0xaf, 0xe5, 0xe8, 0xee, + 0x05, 0x6f, 0x69, 0xc7, 0x99, 0xf7, 0x59, 0x6f, 0x5e, 0x60, 0xe4, 0x63, 0x24, 0xe6, 0xfb, 0x2c, + 0x24, 0x31, 0xe5, 0xf3, 0xbc, 0x8f, 0x3e, 0xdd, 0xa2, 0xbe, 0xd2, 0x9a, 0x27, 0x7d, 0x3a, 0xbf, + 0xbd, 0x7f, 0xbe, 0xc7, 0x02, 0x0c, 0x97, 0xde, 0x5e, 0x63, 0x81, 0x7e, 0x7b, 0x7f, 0xe2, 0x23, + 0x1d, 0x2a, 0xba, 0x49, 0x5b, 0x5a, 0x58, 0xc8, 0x35, 0x7b, 0xc8, 0xbb, 0x0b, 0x96, 0xf6, 0x82, + 0x6e, 0xe2, 0x85, 0x0e, 0x5b, 0x20, 0x7d, 0xba, 0xb0, 0xbd, 0x7f, 0x41, 0xd9, 0x69, 0xbf, 0x55, + 0xfd, 0xc5, 0xf6, 0xe1, 0xff, 0x05, 0x00, 0x00, 0xff, 0xff, 0x9e, 0xf0, 0x22, 0xba, 0x70, 0x13, + 0x00, 0x00, } diff --git a/source/go/api/v1/model/model.pb.go b/source/go/api/v1/model/model.pb.go index e82b867..c7ec7f6 100644 --- a/source/go/api/v1/model/model.pb.go +++ b/source/go/api/v1/model/model.pb.go @@ -1,25 +1,23 @@ // Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.33.0 -// protoc v5.27.3 // source: model.proto -package model +package model // import "github.com/polarismesh/specification/source/go/api/v1/model" -import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" - reflect "reflect" - sync "sync" -) +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package type MatchString_MatchStringType int32 @@ -38,51 +36,28 @@ const ( MatchString_RANGE MatchString_MatchStringType = 5 ) -// Enum value maps for MatchString_MatchStringType. -var ( - MatchString_MatchStringType_name = map[int32]string{ - 0: "EXACT", - 1: "REGEX", - 2: "NOT_EQUALS", - 3: "IN", - 4: "NOT_IN", - 5: "RANGE", - } - MatchString_MatchStringType_value = map[string]int32{ - "EXACT": 0, - "REGEX": 1, - "NOT_EQUALS": 2, - "IN": 3, - "NOT_IN": 4, - "RANGE": 5, - } -) - -func (x MatchString_MatchStringType) Enum() *MatchString_MatchStringType { - p := new(MatchString_MatchStringType) - *p = x - return p -} - -func (x MatchString_MatchStringType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (MatchString_MatchStringType) Descriptor() protoreflect.EnumDescriptor { - return file_model_proto_enumTypes[0].Descriptor() +var MatchString_MatchStringType_name = map[int32]string{ + 0: "EXACT", + 1: "REGEX", + 2: "NOT_EQUALS", + 3: "IN", + 4: "NOT_IN", + 5: "RANGE", } - -func (MatchString_MatchStringType) Type() protoreflect.EnumType { - return &file_model_proto_enumTypes[0] +var MatchString_MatchStringType_value = map[string]int32{ + "EXACT": 0, + "REGEX": 1, + "NOT_EQUALS": 2, + "IN": 3, + "NOT_IN": 4, + "RANGE": 5, } -func (x MatchString_MatchStringType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) +func (x MatchString_MatchStringType) String() string { + return proto.EnumName(MatchString_MatchStringType_name, int32(x)) } - -// Deprecated: Use MatchString_MatchStringType.Descriptor instead. func (MatchString_MatchStringType) EnumDescriptor() ([]byte, []int) { - return file_model_proto_rawDescGZIP(), []int{1, 0} + return fileDescriptor_model_aa561456633c3db7, []int{1, 0} } type MatchString_ValueType int32 @@ -93,618 +68,381 @@ const ( MatchString_VARIABLE MatchString_ValueType = 2 ) -// Enum value maps for MatchString_ValueType. -var ( - MatchString_ValueType_name = map[int32]string{ - 0: "TEXT", - 1: "PARAMETER", - 2: "VARIABLE", - } - MatchString_ValueType_value = map[string]int32{ - "TEXT": 0, - "PARAMETER": 1, - "VARIABLE": 2, - } -) - -func (x MatchString_ValueType) Enum() *MatchString_ValueType { - p := new(MatchString_ValueType) - *p = x - return p +var MatchString_ValueType_name = map[int32]string{ + 0: "TEXT", + 1: "PARAMETER", + 2: "VARIABLE", +} +var MatchString_ValueType_value = map[string]int32{ + "TEXT": 0, + "PARAMETER": 1, + "VARIABLE": 2, } func (x MatchString_ValueType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) + return proto.EnumName(MatchString_ValueType_name, int32(x)) } - -func (MatchString_ValueType) Descriptor() protoreflect.EnumDescriptor { - return file_model_proto_enumTypes[1].Descriptor() +func (MatchString_ValueType) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_model_aa561456633c3db7, []int{1, 1} } -func (MatchString_ValueType) Type() protoreflect.EnumType { - return &file_model_proto_enumTypes[1] +type Location struct { + Region *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=region,proto3" json:"region,omitempty"` + Zone *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` + Campus *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=campus,proto3" json:"campus,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x MatchString_ValueType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) +func (m *Location) Reset() { *m = Location{} } +func (m *Location) String() string { return proto.CompactTextString(m) } +func (*Location) ProtoMessage() {} +func (*Location) Descriptor() ([]byte, []int) { + return fileDescriptor_model_aa561456633c3db7, []int{0} } - -// Deprecated: Use MatchString_ValueType.Descriptor instead. -func (MatchString_ValueType) EnumDescriptor() ([]byte, []int) { - return file_model_proto_rawDescGZIP(), []int{1, 1} +func (m *Location) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Location.Unmarshal(m, b) } - -type Location struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Region *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=region,proto3" json:"region,omitempty"` - Zone *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` - Campus *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=campus,proto3" json:"campus,omitempty"` +func (m *Location) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Location.Marshal(b, m, deterministic) } - -func (x *Location) Reset() { - *x = Location{} - if protoimpl.UnsafeEnabled { - mi := &file_model_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (dst *Location) XXX_Merge(src proto.Message) { + xxx_messageInfo_Location.Merge(dst, src) } - -func (x *Location) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *Location) XXX_Size() int { + return xxx_messageInfo_Location.Size(m) } - -func (*Location) ProtoMessage() {} - -func (x *Location) ProtoReflect() protoreflect.Message { - mi := &file_model_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *Location) XXX_DiscardUnknown() { + xxx_messageInfo_Location.DiscardUnknown(m) } -// Deprecated: Use Location.ProtoReflect.Descriptor instead. -func (*Location) Descriptor() ([]byte, []int) { - return file_model_proto_rawDescGZIP(), []int{0} -} +var xxx_messageInfo_Location proto.InternalMessageInfo -func (x *Location) GetRegion() *wrapperspb.StringValue { - if x != nil { - return x.Region +func (m *Location) GetRegion() *wrapperspb.StringValue { + if m != nil { + return m.Region } return nil } -func (x *Location) GetZone() *wrapperspb.StringValue { - if x != nil { - return x.Zone +func (m *Location) GetZone() *wrapperspb.StringValue { + if m != nil { + return m.Zone } return nil } -func (x *Location) GetCampus() *wrapperspb.StringValue { - if x != nil { - return x.Campus +func (m *Location) GetCampus() *wrapperspb.StringValue { + if m != nil { + return m.Campus } return nil } type MatchString struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Type MatchString_MatchStringType `protobuf:"varint,1,opt,name=type,proto3,enum=v1.MatchString_MatchStringType" json:"type,omitempty"` - Value *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` - ValueType MatchString_ValueType `protobuf:"varint,3,opt,name=value_type,proto3,enum=v1.MatchString_ValueType" json:"value_type,omitempty"` + Type MatchString_MatchStringType `protobuf:"varint,1,opt,name=type,proto3,enum=v1.MatchString_MatchStringType" json:"type,omitempty"` + Value *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` + ValueType MatchString_ValueType `protobuf:"varint,3,opt,name=value_type,proto3,enum=v1.MatchString_ValueType" json:"value_type,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *MatchString) Reset() { - *x = MatchString{} - if protoimpl.UnsafeEnabled { - mi := &file_model_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *MatchString) Reset() { *m = MatchString{} } +func (m *MatchString) String() string { return proto.CompactTextString(m) } +func (*MatchString) ProtoMessage() {} +func (*MatchString) Descriptor() ([]byte, []int) { + return fileDescriptor_model_aa561456633c3db7, []int{1} } - -func (x *MatchString) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *MatchString) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MatchString.Unmarshal(m, b) } - -func (*MatchString) ProtoMessage() {} - -func (x *MatchString) ProtoReflect() protoreflect.Message { - mi := &file_model_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *MatchString) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MatchString.Marshal(b, m, deterministic) } - -// Deprecated: Use MatchString.ProtoReflect.Descriptor instead. -func (*MatchString) Descriptor() ([]byte, []int) { - return file_model_proto_rawDescGZIP(), []int{1} +func (dst *MatchString) XXX_Merge(src proto.Message) { + xxx_messageInfo_MatchString.Merge(dst, src) +} +func (m *MatchString) XXX_Size() int { + return xxx_messageInfo_MatchString.Size(m) } +func (m *MatchString) XXX_DiscardUnknown() { + xxx_messageInfo_MatchString.DiscardUnknown(m) +} + +var xxx_messageInfo_MatchString proto.InternalMessageInfo -func (x *MatchString) GetType() MatchString_MatchStringType { - if x != nil { - return x.Type +func (m *MatchString) GetType() MatchString_MatchStringType { + if m != nil { + return m.Type } return MatchString_EXACT } -func (x *MatchString) GetValue() *wrapperspb.StringValue { - if x != nil { - return x.Value +func (m *MatchString) GetValue() *wrapperspb.StringValue { + if m != nil { + return m.Value } return nil } -func (x *MatchString) GetValueType() MatchString_ValueType { - if x != nil { - return x.ValueType +func (m *MatchString) GetValueType() MatchString_ValueType { + if m != nil { + return m.ValueType } return MatchString_TEXT } type StringList struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Values []string `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"` + Values []string `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *StringList) Reset() { - *x = StringList{} - if protoimpl.UnsafeEnabled { - mi := &file_model_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *StringList) Reset() { *m = StringList{} } +func (m *StringList) String() string { return proto.CompactTextString(m) } +func (*StringList) ProtoMessage() {} +func (*StringList) Descriptor() ([]byte, []int) { + return fileDescriptor_model_aa561456633c3db7, []int{2} } - -func (x *StringList) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *StringList) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_StringList.Unmarshal(m, b) } - -func (*StringList) ProtoMessage() {} - -func (x *StringList) ProtoReflect() protoreflect.Message { - mi := &file_model_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) +func (m *StringList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_StringList.Marshal(b, m, deterministic) } - -// Deprecated: Use StringList.ProtoReflect.Descriptor instead. -func (*StringList) Descriptor() ([]byte, []int) { - return file_model_proto_rawDescGZIP(), []int{2} +func (dst *StringList) XXX_Merge(src proto.Message) { + xxx_messageInfo_StringList.Merge(dst, src) +} +func (m *StringList) XXX_Size() int { + return xxx_messageInfo_StringList.Size(m) +} +func (m *StringList) XXX_DiscardUnknown() { + xxx_messageInfo_StringList.DiscardUnknown(m) } -func (x *StringList) GetValues() []string { - if x != nil { - return x.Values +var xxx_messageInfo_StringList proto.InternalMessageInfo + +func (m *StringList) GetValues() []string { + if m != nil { + return m.Values } return nil } // 汇总查询数据 type Summary struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // 服务总数 TotalServiceCount uint32 `protobuf:"varint,1,opt,name=total_service_count,proto3" json:"total_service_count,omitempty"` // 健康实例总数 TotalHealthInstanceCount uint32 `protobuf:"varint,2,opt,name=total_health_instance_count,proto3" json:"total_health_instance_count,omitempty"` // 实例总数 - TotalInstanceCount uint32 `protobuf:"varint,3,opt,name=total_instance_count,proto3" json:"total_instance_count,omitempty"` + TotalInstanceCount uint32 `protobuf:"varint,3,opt,name=total_instance_count,proto3" json:"total_instance_count,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *Summary) Reset() { - *x = Summary{} - if protoimpl.UnsafeEnabled { - mi := &file_model_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *Summary) Reset() { *m = Summary{} } +func (m *Summary) String() string { return proto.CompactTextString(m) } +func (*Summary) ProtoMessage() {} +func (*Summary) Descriptor() ([]byte, []int) { + return fileDescriptor_model_aa561456633c3db7, []int{3} } - -func (x *Summary) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *Summary) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Summary.Unmarshal(m, b) } - -func (*Summary) ProtoMessage() {} - -func (x *Summary) ProtoReflect() protoreflect.Message { - mi := &file_model_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) +func (m *Summary) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Summary.Marshal(b, m, deterministic) } - -// Deprecated: Use Summary.ProtoReflect.Descriptor instead. -func (*Summary) Descriptor() ([]byte, []int) { - return file_model_proto_rawDescGZIP(), []int{3} +func (dst *Summary) XXX_Merge(src proto.Message) { + xxx_messageInfo_Summary.Merge(dst, src) } +func (m *Summary) XXX_Size() int { + return xxx_messageInfo_Summary.Size(m) +} +func (m *Summary) XXX_DiscardUnknown() { + xxx_messageInfo_Summary.DiscardUnknown(m) +} + +var xxx_messageInfo_Summary proto.InternalMessageInfo -func (x *Summary) GetTotalServiceCount() uint32 { - if x != nil { - return x.TotalServiceCount +func (m *Summary) GetTotalServiceCount() uint32 { + if m != nil { + return m.TotalServiceCount } return 0 } -func (x *Summary) GetTotalHealthInstanceCount() uint32 { - if x != nil { - return x.TotalHealthInstanceCount +func (m *Summary) GetTotalHealthInstanceCount() uint32 { + if m != nil { + return m.TotalHealthInstanceCount } return 0 } -func (x *Summary) GetTotalInstanceCount() uint32 { - if x != nil { - return x.TotalInstanceCount +func (m *Summary) GetTotalInstanceCount() uint32 { + if m != nil { + return m.TotalInstanceCount } return 0 } type ClientLabel struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` - Value *MatchString `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` + Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` + Value *MatchString `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *ClientLabel) Reset() { - *x = ClientLabel{} - if protoimpl.UnsafeEnabled { - mi := &file_model_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *ClientLabel) Reset() { *m = ClientLabel{} } +func (m *ClientLabel) String() string { return proto.CompactTextString(m) } +func (*ClientLabel) ProtoMessage() {} +func (*ClientLabel) Descriptor() ([]byte, []int) { + return fileDescriptor_model_aa561456633c3db7, []int{4} } - -func (x *ClientLabel) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *ClientLabel) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ClientLabel.Unmarshal(m, b) } - -func (*ClientLabel) ProtoMessage() {} - -func (x *ClientLabel) ProtoReflect() protoreflect.Message { - mi := &file_model_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) +func (m *ClientLabel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ClientLabel.Marshal(b, m, deterministic) } - -// Deprecated: Use ClientLabel.ProtoReflect.Descriptor instead. -func (*ClientLabel) Descriptor() ([]byte, []int) { - return file_model_proto_rawDescGZIP(), []int{4} +func (dst *ClientLabel) XXX_Merge(src proto.Message) { + xxx_messageInfo_ClientLabel.Merge(dst, src) +} +func (m *ClientLabel) XXX_Size() int { + return xxx_messageInfo_ClientLabel.Size(m) } +func (m *ClientLabel) XXX_DiscardUnknown() { + xxx_messageInfo_ClientLabel.DiscardUnknown(m) +} + +var xxx_messageInfo_ClientLabel proto.InternalMessageInfo -func (x *ClientLabel) GetKey() string { - if x != nil { - return x.Key +func (m *ClientLabel) GetKey() string { + if m != nil { + return m.Key } return "" } -func (x *ClientLabel) GetValue() *MatchString { - if x != nil { - return x.Value +func (m *ClientLabel) GetValue() *MatchString { + if m != nil { + return m.Value } return nil } // API统一数据结构 type API struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // API的协议,*或者为空代表全部 Protocol string `protobuf:"bytes,1,opt,name=protocol,proto3" json:"protocol,omitempty"` // API的方法,*或者为空代表全部 Method string `protobuf:"bytes,2,opt,name=method,proto3" json:"method,omitempty"` // API的路径,支持多种匹配方式 - Path *MatchString `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"` + Path *MatchString `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *API) Reset() { - *x = API{} - if protoimpl.UnsafeEnabled { - mi := &file_model_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *API) Reset() { *m = API{} } +func (m *API) String() string { return proto.CompactTextString(m) } +func (*API) ProtoMessage() {} +func (*API) Descriptor() ([]byte, []int) { + return fileDescriptor_model_aa561456633c3db7, []int{5} } - -func (x *API) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *API) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_API.Unmarshal(m, b) } - -func (*API) ProtoMessage() {} - -func (x *API) ProtoReflect() protoreflect.Message { - mi := &file_model_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) +func (m *API) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_API.Marshal(b, m, deterministic) } - -// Deprecated: Use API.ProtoReflect.Descriptor instead. -func (*API) Descriptor() ([]byte, []int) { - return file_model_proto_rawDescGZIP(), []int{5} +func (dst *API) XXX_Merge(src proto.Message) { + xxx_messageInfo_API.Merge(dst, src) +} +func (m *API) XXX_Size() int { + return xxx_messageInfo_API.Size(m) } +func (m *API) XXX_DiscardUnknown() { + xxx_messageInfo_API.DiscardUnknown(m) +} + +var xxx_messageInfo_API proto.InternalMessageInfo -func (x *API) GetProtocol() string { - if x != nil { - return x.Protocol +func (m *API) GetProtocol() string { + if m != nil { + return m.Protocol } return "" } -func (x *API) GetMethod() string { - if x != nil { - return x.Method +func (m *API) GetMethod() string { + if m != nil { + return m.Method } return "" } -func (x *API) GetPath() *MatchString { - if x != nil { - return x.Path +func (m *API) GetPath() *MatchString { + if m != nil { + return m.Path } return nil } -var File_model_proto protoreflect.FileDescriptor - -var file_model_proto_rawDesc = []byte{ - 0x0a, 0x0b, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x76, - 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, 0xa8, 0x01, 0x0a, 0x08, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x34, - 0x0a, 0x06, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x18, 0x01, 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, 0x72, 0x65, - 0x67, 0x69, 0x6f, 0x6e, 0x12, 0x30, 0x0a, 0x04, 0x7a, 0x6f, 0x6e, 0x65, 0x18, 0x02, 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, 0x04, 0x7a, 0x6f, 0x6e, 0x65, 0x12, 0x34, 0x0a, 0x06, 0x63, 0x61, 0x6d, 0x70, 0x75, 0x73, - 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, 0x63, 0x61, 0x6d, 0x70, 0x75, 0x73, 0x22, 0xbd, 0x02, 0x0a, - 0x0b, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x33, 0x0a, 0x04, - 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1f, 0x2e, 0x76, 0x31, 0x2e, - 0x4d, 0x61, 0x74, 0x63, 0x68, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x4d, 0x61, 0x74, 0x63, - 0x68, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, - 0x65, 0x12, 0x32, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 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, 0x05, - 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x39, 0x0a, 0x0a, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x5f, 0x74, - 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x19, 0x2e, 0x76, 0x31, 0x2e, 0x4d, - 0x61, 0x74, 0x63, 0x68, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, - 0x54, 0x79, 0x70, 0x65, 0x52, 0x0a, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, - 0x22, 0x56, 0x0a, 0x0f, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x54, - 0x79, 0x70, 0x65, 0x12, 0x09, 0x0a, 0x05, 0x45, 0x58, 0x41, 0x43, 0x54, 0x10, 0x00, 0x12, 0x09, - 0x0a, 0x05, 0x52, 0x45, 0x47, 0x45, 0x58, 0x10, 0x01, 0x12, 0x0e, 0x0a, 0x0a, 0x4e, 0x4f, 0x54, - 0x5f, 0x45, 0x51, 0x55, 0x41, 0x4c, 0x53, 0x10, 0x02, 0x12, 0x06, 0x0a, 0x02, 0x49, 0x4e, 0x10, - 0x03, 0x12, 0x0a, 0x0a, 0x06, 0x4e, 0x4f, 0x54, 0x5f, 0x49, 0x4e, 0x10, 0x04, 0x12, 0x09, 0x0a, - 0x05, 0x52, 0x41, 0x4e, 0x47, 0x45, 0x10, 0x05, 0x22, 0x32, 0x0a, 0x09, 0x56, 0x61, 0x6c, 0x75, - 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x08, 0x0a, 0x04, 0x54, 0x45, 0x58, 0x54, 0x10, 0x00, 0x12, - 0x0d, 0x0a, 0x09, 0x50, 0x41, 0x52, 0x41, 0x4d, 0x45, 0x54, 0x45, 0x52, 0x10, 0x01, 0x12, 0x0c, - 0x0a, 0x08, 0x56, 0x41, 0x52, 0x49, 0x41, 0x42, 0x4c, 0x45, 0x10, 0x02, 0x22, 0x24, 0x0a, 0x0a, - 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x76, 0x61, - 0x6c, 0x75, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x76, 0x61, 0x6c, 0x75, - 0x65, 0x73, 0x22, 0xb1, 0x01, 0x0a, 0x07, 0x53, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x12, 0x30, - 0x0a, 0x13, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, - 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x13, 0x74, 0x6f, 0x74, - 0x61, 0x6c, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, - 0x12, 0x40, 0x0a, 0x1b, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, - 0x5f, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x1b, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x68, 0x65, 0x61, - 0x6c, 0x74, 0x68, 0x5f, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x63, 0x6f, 0x75, - 0x6e, 0x74, 0x12, 0x32, 0x0a, 0x14, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x69, 0x6e, 0x73, 0x74, - 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, - 0x52, 0x14, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, - 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x46, 0x0a, 0x0b, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, - 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x25, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x61, 0x74, 0x63, - 0x68, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x5e, - 0x0a, 0x03, 0x41, 0x50, 0x49, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, - 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, - 0x6c, 0x12, 0x16, 0x0a, 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x12, 0x23, 0x0a, 0x04, 0x70, 0x61, 0x74, - 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x61, 0x74, - 0x63, 0x68, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x42, 0x79, - 0x0a, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x74, 0x65, 0x6e, 0x63, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x6f, - 0x6c, 0x61, 0x72, 0x69, 0x73, 0x2e, 0x73, 0x70, 0x65, 0x63, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, - 0x42, 0x0a, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x5a, 0x3b, 0x67, 0x69, - 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x6f, 0x6c, 0x61, 0x72, 0x69, 0x73, - 0x6d, 0x65, 0x73, 0x68, 0x2f, 0x73, 0x70, 0x65, 0x63, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x2f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2f, 0x67, 0x6f, 0x2f, 0x61, 0x70, 0x69, - 0x2f, 0x76, 0x31, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x33, -} - -var ( - file_model_proto_rawDescOnce sync.Once - file_model_proto_rawDescData = file_model_proto_rawDesc -) - -func file_model_proto_rawDescGZIP() []byte { - file_model_proto_rawDescOnce.Do(func() { - file_model_proto_rawDescData = protoimpl.X.CompressGZIP(file_model_proto_rawDescData) - }) - return file_model_proto_rawDescData -} - -var file_model_proto_enumTypes = make([]protoimpl.EnumInfo, 2) -var file_model_proto_msgTypes = make([]protoimpl.MessageInfo, 6) -var file_model_proto_goTypes = []interface{}{ - (MatchString_MatchStringType)(0), // 0: v1.MatchString.MatchStringType - (MatchString_ValueType)(0), // 1: v1.MatchString.ValueType - (*Location)(nil), // 2: v1.Location - (*MatchString)(nil), // 3: v1.MatchString - (*StringList)(nil), // 4: v1.StringList - (*Summary)(nil), // 5: v1.Summary - (*ClientLabel)(nil), // 6: v1.ClientLabel - (*API)(nil), // 7: v1.API - (*wrapperspb.StringValue)(nil), // 8: google.protobuf.StringValue -} -var file_model_proto_depIdxs = []int32{ - 8, // 0: v1.Location.region:type_name -> google.protobuf.StringValue - 8, // 1: v1.Location.zone:type_name -> google.protobuf.StringValue - 8, // 2: v1.Location.campus:type_name -> google.protobuf.StringValue - 0, // 3: v1.MatchString.type:type_name -> v1.MatchString.MatchStringType - 8, // 4: v1.MatchString.value:type_name -> google.protobuf.StringValue - 1, // 5: v1.MatchString.value_type:type_name -> v1.MatchString.ValueType - 3, // 6: v1.ClientLabel.value:type_name -> v1.MatchString - 3, // 7: v1.API.path:type_name -> v1.MatchString - 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_model_proto_init() } -func file_model_proto_init() { - if File_model_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_model_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Location); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_model_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MatchString); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_model_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StringList); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_model_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Summary); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_model_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ClientLabel); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_model_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*API); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_model_proto_rawDesc, - NumEnums: 2, - NumMessages: 6, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_model_proto_goTypes, - DependencyIndexes: file_model_proto_depIdxs, - EnumInfos: file_model_proto_enumTypes, - MessageInfos: file_model_proto_msgTypes, - }.Build() - File_model_proto = out.File - file_model_proto_rawDesc = nil - file_model_proto_goTypes = nil - file_model_proto_depIdxs = nil +func init() { + proto.RegisterType((*Location)(nil), "v1.Location") + proto.RegisterType((*MatchString)(nil), "v1.MatchString") + proto.RegisterType((*StringList)(nil), "v1.StringList") + proto.RegisterType((*Summary)(nil), "v1.Summary") + proto.RegisterType((*ClientLabel)(nil), "v1.ClientLabel") + proto.RegisterType((*API)(nil), "v1.API") + proto.RegisterEnum("v1.MatchString_MatchStringType", MatchString_MatchStringType_name, MatchString_MatchStringType_value) + proto.RegisterEnum("v1.MatchString_ValueType", MatchString_ValueType_name, MatchString_ValueType_value) +} + +func init() { proto.RegisterFile("model.proto", fileDescriptor_model_aa561456633c3db7) } + +var fileDescriptor_model_aa561456633c3db7 = []byte{ + // 562 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x53, 0x4f, 0x6f, 0xd3, 0x30, + 0x14, 0x27, 0x49, 0x57, 0x9a, 0x57, 0xb6, 0x45, 0x06, 0xa1, 0x32, 0x10, 0x4c, 0x01, 0xa4, 0x9d, + 0x92, 0xad, 0xe3, 0x82, 0xb8, 0x90, 0x4d, 0x61, 0xaa, 0xd4, 0x96, 0x92, 0x96, 0xaa, 0xe2, 0x40, + 0xe5, 0x66, 0x5e, 0x62, 0x91, 0xc4, 0x56, 0xe2, 0x14, 0x95, 0x4f, 0xc4, 0x95, 0x0f, 0xc0, 0x77, + 0x43, 0x76, 0x42, 0xd5, 0x95, 0x09, 0xf5, 0x94, 0x67, 0xbf, 0xdf, 0xbf, 0xf8, 0xd9, 0xd0, 0x4e, + 0xd9, 0x35, 0x49, 0x1c, 0x9e, 0x33, 0xc1, 0x90, 0xbe, 0x3c, 0x3b, 0x7a, 0x1e, 0x31, 0x16, 0x25, + 0xc4, 0x55, 0x3b, 0x8b, 0xf2, 0xc6, 0xfd, 0x9e, 0x63, 0xce, 0x49, 0x5e, 0x54, 0x18, 0xfb, 0xa7, + 0x06, 0xad, 0x3e, 0x0b, 0xb1, 0xa0, 0x2c, 0x43, 0x6f, 0xa0, 0x99, 0x93, 0x88, 0xb2, 0xac, 0xa3, + 0x1d, 0x6b, 0x27, 0xed, 0xee, 0x33, 0xa7, 0x62, 0x3b, 0x7f, 0xd9, 0xce, 0x58, 0xe4, 0x34, 0x8b, + 0xa6, 0x38, 0x29, 0x49, 0x50, 0x63, 0xd1, 0x29, 0x34, 0x7e, 0xb0, 0x8c, 0x74, 0xf4, 0x1d, 0x38, + 0x0a, 0x29, 0x7d, 0x42, 0x9c, 0xf2, 0xb2, 0xe8, 0x18, 0xbb, 0xf8, 0x54, 0x58, 0xfb, 0xb7, 0x0e, + 0xed, 0x01, 0x16, 0x61, 0x5c, 0x35, 0xd1, 0x39, 0x34, 0xc4, 0x8a, 0x13, 0x95, 0xf5, 0xa0, 0xfb, + 0xc2, 0x59, 0x9e, 0x39, 0x1b, 0xed, 0xcd, 0x7a, 0xb2, 0xe2, 0x24, 0x50, 0x60, 0xd4, 0x85, 0xbd, + 0xa5, 0x54, 0xdd, 0x29, 0x6d, 0x05, 0x45, 0x6f, 0x01, 0x54, 0x31, 0x57, 0x76, 0x86, 0xb2, 0x7b, + 0xb2, 0x6d, 0xa7, 0x18, 0xca, 0x68, 0x03, 0x6c, 0x4f, 0xe1, 0x70, 0x2b, 0x07, 0x32, 0x61, 0xcf, + 0x9f, 0x79, 0x97, 0x13, 0xeb, 0x9e, 0x2c, 0x03, 0xff, 0xca, 0x9f, 0x59, 0x1a, 0x3a, 0x00, 0x18, + 0x7e, 0x9c, 0xcc, 0xfd, 0x4f, 0x9f, 0xbd, 0xfe, 0xd8, 0xd2, 0x51, 0x13, 0xf4, 0xde, 0xd0, 0x32, + 0x10, 0x40, 0x53, 0xee, 0xf7, 0x86, 0x56, 0x43, 0xc1, 0xbd, 0xe1, 0x95, 0x6f, 0xed, 0xd9, 0x5d, + 0x30, 0xd7, 0x86, 0xa8, 0x05, 0x8d, 0x89, 0x3f, 0x93, 0x82, 0xfb, 0x60, 0x8e, 0xbc, 0xc0, 0x1b, + 0xf8, 0x13, 0x3f, 0xb0, 0x34, 0xf4, 0x00, 0x5a, 0x53, 0x2f, 0xe8, 0x79, 0x17, 0x7d, 0xdf, 0xd2, + 0xed, 0x57, 0x00, 0x55, 0x8c, 0x3e, 0x2d, 0x04, 0x7a, 0x0c, 0x4d, 0x95, 0xb3, 0xe8, 0x68, 0xc7, + 0xc6, 0x89, 0x19, 0xd4, 0x2b, 0xfb, 0x97, 0x06, 0xf7, 0xc7, 0x65, 0x9a, 0xe2, 0x7c, 0x85, 0x4e, + 0xe1, 0xa1, 0x60, 0x02, 0x27, 0xf3, 0x82, 0xe4, 0x4b, 0x1a, 0x92, 0x79, 0xc8, 0xca, 0x4c, 0xa8, + 0x03, 0xdf, 0x0f, 0xee, 0x6a, 0xa1, 0xf7, 0xf0, 0xb4, 0xda, 0x8e, 0x09, 0x4e, 0x44, 0x3c, 0xa7, + 0x59, 0x21, 0x70, 0xb6, 0x66, 0xea, 0x8a, 0xf9, 0x3f, 0x08, 0xea, 0xc2, 0xa3, 0xaa, 0xbd, 0x45, + 0x35, 0x14, 0xf5, 0xce, 0x9e, 0xfd, 0x01, 0xda, 0x97, 0x09, 0x25, 0x99, 0xe8, 0xe3, 0x05, 0x49, + 0x90, 0x05, 0xc6, 0x37, 0xb2, 0x52, 0x31, 0xcd, 0x40, 0x96, 0xe8, 0xf5, 0xed, 0xa9, 0x1f, 0x6e, + 0x0d, 0xaf, 0x1e, 0xb4, 0xfd, 0x15, 0x0c, 0x6f, 0xd4, 0x43, 0x47, 0xd0, 0x52, 0xd7, 0x21, 0x64, + 0x49, 0x2d, 0xb2, 0x5e, 0xcb, 0x63, 0x4b, 0x89, 0x88, 0xd9, 0xb5, 0x92, 0x32, 0x83, 0x7a, 0x85, + 0x5e, 0x42, 0x83, 0x63, 0x11, 0xd7, 0x17, 0xfa, 0x1f, 0x03, 0xd5, 0xbc, 0x58, 0x81, 0x13, 0xb2, + 0xd4, 0x11, 0x24, 0x0b, 0x49, 0x26, 0x1c, 0xce, 0x12, 0x9c, 0xd3, 0xc2, 0x29, 0x38, 0x09, 0xe9, + 0x0d, 0xad, 0x1e, 0xa1, 0x83, 0x39, 0x95, 0x6c, 0xf5, 0x90, 0x2f, 0x60, 0x20, 0x3f, 0x23, 0xe9, + 0xfe, 0xe5, 0x5d, 0x44, 0x45, 0x5c, 0x2e, 0xa4, 0x84, 0x5b, 0x53, 0x53, 0x52, 0xc4, 0xee, 0x2d, + 0xba, 0x5b, 0xb0, 0x32, 0x0f, 0x89, 0x1b, 0x31, 0x17, 0x73, 0xea, 0x2e, 0xcf, 0x5c, 0x25, 0xb4, + 0x68, 0xaa, 0x3f, 0x38, 0xff, 0x13, 0x00, 0x00, 0xff, 0xff, 0x26, 0x13, 0x9f, 0xfc, 0x21, 0x04, + 0x00, 0x00, } diff --git a/source/go/api/v1/model/namespace.pb.go b/source/go/api/v1/model/namespace.pb.go index 8102234..f00c506 100644 --- a/source/go/api/v1/model/namespace.pb.go +++ b/source/go/api/v1/model/namespace.pb.go @@ -1,31 +1,25 @@ // Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.33.0 -// protoc v5.27.3 // source: namespace.proto -package model +package model // import "github.com/polarismesh/specification/source/go/api/v1/model" -import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" - reflect "reflect" - sync "sync" -) +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf -type Namespace struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package +type Namespace struct { Name *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Comment *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=comment,proto3" json:"comment,omitempty"` Owners *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=owners,proto3" json:"owners,omitempty"` @@ -44,340 +38,201 @@ type Namespace struct { ServiceExportTo []*wrapperspb.StringValue `protobuf:"bytes,16,rep,name=service_export_to,proto3" json:"service_export_to,omitempty"` Metadata map[string]string `protobuf:"bytes,17,rep,name=metadata,proto3" json:"metadata,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` Deleteable *wrapperspb.BoolValue `protobuf:"bytes,18,opt,name=deleteable,proto3" json:"deleteable,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *Namespace) Reset() { - *x = Namespace{} - if protoimpl.UnsafeEnabled { - mi := &file_namespace_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *Namespace) Reset() { *m = Namespace{} } +func (m *Namespace) String() string { return proto.CompactTextString(m) } +func (*Namespace) ProtoMessage() {} +func (*Namespace) Descriptor() ([]byte, []int) { + return fileDescriptor_namespace_f3223e82191c5132, []int{0} } - -func (x *Namespace) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *Namespace) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Namespace.Unmarshal(m, b) } - -func (*Namespace) ProtoMessage() {} - -func (x *Namespace) ProtoReflect() protoreflect.Message { - mi := &file_namespace_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *Namespace) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Namespace.Marshal(b, m, deterministic) } - -// Deprecated: Use Namespace.ProtoReflect.Descriptor instead. -func (*Namespace) Descriptor() ([]byte, []int) { - return file_namespace_proto_rawDescGZIP(), []int{0} +func (dst *Namespace) XXX_Merge(src proto.Message) { + xxx_messageInfo_Namespace.Merge(dst, src) +} +func (m *Namespace) XXX_Size() int { + return xxx_messageInfo_Namespace.Size(m) } +func (m *Namespace) XXX_DiscardUnknown() { + xxx_messageInfo_Namespace.DiscardUnknown(m) +} + +var xxx_messageInfo_Namespace proto.InternalMessageInfo -func (x *Namespace) GetName() *wrapperspb.StringValue { - if x != nil { - return x.Name +func (m *Namespace) GetName() *wrapperspb.StringValue { + if m != nil { + return m.Name } return nil } -func (x *Namespace) GetComment() *wrapperspb.StringValue { - if x != nil { - return x.Comment +func (m *Namespace) GetComment() *wrapperspb.StringValue { + if m != nil { + return m.Comment } return nil } -func (x *Namespace) GetOwners() *wrapperspb.StringValue { - if x != nil { - return x.Owners +func (m *Namespace) GetOwners() *wrapperspb.StringValue { + if m != nil { + return m.Owners } return nil } -func (x *Namespace) GetToken() *wrapperspb.StringValue { - if x != nil { - return x.Token +func (m *Namespace) GetToken() *wrapperspb.StringValue { + if m != nil { + return m.Token } return nil } -func (x *Namespace) GetCtime() *wrapperspb.StringValue { - if x != nil { - return x.Ctime +func (m *Namespace) GetCtime() *wrapperspb.StringValue { + if m != nil { + return m.Ctime } return nil } -func (x *Namespace) GetMtime() *wrapperspb.StringValue { - if x != nil { - return x.Mtime +func (m *Namespace) GetMtime() *wrapperspb.StringValue { + if m != nil { + return m.Mtime } return nil } -func (x *Namespace) GetTotalServiceCount() *wrapperspb.UInt32Value { - if x != nil { - return x.TotalServiceCount +func (m *Namespace) GetTotalServiceCount() *wrapperspb.UInt32Value { + if m != nil { + return m.TotalServiceCount } return nil } -func (x *Namespace) GetTotalHealthInstanceCount() *wrapperspb.UInt32Value { - if x != nil { - return x.TotalHealthInstanceCount +func (m *Namespace) GetTotalHealthInstanceCount() *wrapperspb.UInt32Value { + if m != nil { + return m.TotalHealthInstanceCount } return nil } -func (x *Namespace) GetTotalInstanceCount() *wrapperspb.UInt32Value { - if x != nil { - return x.TotalInstanceCount +func (m *Namespace) GetTotalInstanceCount() *wrapperspb.UInt32Value { + if m != nil { + return m.TotalInstanceCount } return nil } -func (x *Namespace) GetUserIds() []*wrapperspb.StringValue { - if x != nil { - return x.UserIds +func (m *Namespace) GetUserIds() []*wrapperspb.StringValue { + if m != nil { + return m.UserIds } return nil } -func (x *Namespace) GetGroupIds() []*wrapperspb.StringValue { - if x != nil { - return x.GroupIds +func (m *Namespace) GetGroupIds() []*wrapperspb.StringValue { + if m != nil { + return m.GroupIds } return nil } -func (x *Namespace) GetRemoveUserIds() []*wrapperspb.StringValue { - if x != nil { - return x.RemoveUserIds +func (m *Namespace) GetRemoveUserIds() []*wrapperspb.StringValue { + if m != nil { + return m.RemoveUserIds } return nil } -func (x *Namespace) GetRemoveGroupIds() []*wrapperspb.StringValue { - if x != nil { - return x.RemoveGroupIds +func (m *Namespace) GetRemoveGroupIds() []*wrapperspb.StringValue { + if m != nil { + return m.RemoveGroupIds } return nil } -func (x *Namespace) GetId() *wrapperspb.StringValue { - if x != nil { - return x.Id +func (m *Namespace) GetId() *wrapperspb.StringValue { + if m != nil { + return m.Id } return nil } -func (x *Namespace) GetEditable() *wrapperspb.BoolValue { - if x != nil { - return x.Editable +func (m *Namespace) GetEditable() *wrapperspb.BoolValue { + if m != nil { + return m.Editable } return nil } -func (x *Namespace) GetServiceExportTo() []*wrapperspb.StringValue { - if x != nil { - return x.ServiceExportTo +func (m *Namespace) GetServiceExportTo() []*wrapperspb.StringValue { + if m != nil { + return m.ServiceExportTo } return nil } -func (x *Namespace) GetMetadata() map[string]string { - if x != nil { - return x.Metadata +func (m *Namespace) GetMetadata() map[string]string { + if m != nil { + return m.Metadata } return nil } -func (x *Namespace) GetDeleteable() *wrapperspb.BoolValue { - if x != nil { - return x.Deleteable +func (m *Namespace) GetDeleteable() *wrapperspb.BoolValue { + if m != nil { + return m.Deleteable } return nil } -var File_namespace_proto protoreflect.FileDescriptor - -var file_namespace_proto_rawDesc = []byte{ - 0x0a, 0x0f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x12, 0x02, 0x76, 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, 0xb5, 0x09, 0x0a, 0x09, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, - 0x61, 0x63, 0x65, 0x12, 0x30, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 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, - 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x36, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, - 0x18, 0x02, 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, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x34, 0x0a, - 0x06, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x73, 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, 0x6f, 0x77, 0x6e, - 0x65, 0x72, 0x73, 0x12, 0x32, 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x04, 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, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x32, 0x0a, 0x05, 0x63, 0x74, 0x69, 0x6d, 0x65, - 0x18, 0x05, 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, 0x05, 0x63, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x32, 0x0a, 0x05, 0x6d, - 0x74, 0x69, 0x6d, 0x65, 0x18, 0x06, 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, 0x05, 0x6d, 0x74, 0x69, 0x6d, 0x65, 0x12, - 0x4e, 0x0a, 0x13, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, - 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, - 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, - 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x13, 0x74, 0x6f, 0x74, 0x61, - 0x6c, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, - 0x5e, 0x0a, 0x1b, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x5f, - 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x08, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, - 0x75, 0x65, 0x52, 0x1b, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, - 0x5f, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, - 0x50, 0x0a, 0x14, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, - 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, - 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, - 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x14, 0x74, 0x6f, 0x74, - 0x61, 0x6c, 0x5f, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, - 0x74, 0x12, 0x38, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x0a, 0x20, - 0x03, 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, 0x08, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x73, 0x12, 0x3a, 0x0a, 0x09, 0x67, - 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x0b, 0x20, 0x03, 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, 0x09, 0x67, 0x72, - 0x6f, 0x75, 0x70, 0x5f, 0x69, 0x64, 0x73, 0x12, 0x46, 0x0a, 0x0f, 0x72, 0x65, 0x6d, 0x6f, 0x76, - 0x65, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x0d, 0x20, 0x03, 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, 0x0f, - 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x73, 0x12, - 0x48, 0x0a, 0x10, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, - 0x69, 0x64, 0x73, 0x18, 0x0e, 0x20, 0x03, 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, 0x10, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x5f, - 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x69, 0x64, 0x73, 0x12, 0x2c, 0x0a, 0x02, 0x69, 0x64, 0x18, - 0x0c, 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, 0x02, 0x69, 0x64, 0x12, 0x36, 0x0a, 0x08, 0x65, 0x64, 0x69, 0x74, 0x61, - 0x62, 0x6c, 0x65, 0x18, 0x0f, 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, 0x08, 0x65, 0x64, 0x69, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x12, - 0x4a, 0x0a, 0x11, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x65, 0x78, 0x70, 0x6f, 0x72, - 0x74, 0x5f, 0x74, 0x6f, 0x18, 0x10, 0x20, 0x03, 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, 0x11, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, - 0x65, 0x5f, 0x65, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x74, 0x6f, 0x12, 0x37, 0x0a, 0x08, 0x6d, - 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x11, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, - 0x76, 0x31, 0x2e, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x2e, 0x4d, 0x65, 0x74, - 0x61, 0x64, 0x61, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, - 0x64, 0x61, 0x74, 0x61, 0x12, 0x3a, 0x0a, 0x0a, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x61, 0x62, - 0x6c, 0x65, 0x18, 0x12, 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, 0x0a, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x61, 0x62, 0x6c, 0x65, - 0x1a, 0x3b, 0x0a, 0x0d, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, - 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, - 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x7d, 0x0a, - 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x74, 0x65, 0x6e, 0x63, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x6f, 0x6c, - 0x61, 0x72, 0x69, 0x73, 0x2e, 0x73, 0x70, 0x65, 0x63, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x42, - 0x0e, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x5a, - 0x3b, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x6f, 0x6c, 0x61, - 0x72, 0x69, 0x73, 0x6d, 0x65, 0x73, 0x68, 0x2f, 0x73, 0x70, 0x65, 0x63, 0x69, 0x66, 0x69, 0x63, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2f, 0x67, 0x6f, 0x2f, - 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x62, 0x06, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_namespace_proto_rawDescOnce sync.Once - file_namespace_proto_rawDescData = file_namespace_proto_rawDesc -) - -func file_namespace_proto_rawDescGZIP() []byte { - file_namespace_proto_rawDescOnce.Do(func() { - file_namespace_proto_rawDescData = protoimpl.X.CompressGZIP(file_namespace_proto_rawDescData) - }) - return file_namespace_proto_rawDescData +func init() { + proto.RegisterType((*Namespace)(nil), "v1.Namespace") + proto.RegisterMapType((map[string]string)(nil), "v1.Namespace.MetadataEntry") } -var file_namespace_proto_msgTypes = make([]protoimpl.MessageInfo, 2) -var file_namespace_proto_goTypes = []interface{}{ - (*Namespace)(nil), // 0: v1.Namespace - nil, // 1: v1.Namespace.MetadataEntry - (*wrapperspb.StringValue)(nil), // 2: google.protobuf.StringValue - (*wrapperspb.UInt32Value)(nil), // 3: google.protobuf.UInt32Value - (*wrapperspb.BoolValue)(nil), // 4: google.protobuf.BoolValue -} -var file_namespace_proto_depIdxs = []int32{ - 2, // 0: v1.Namespace.name:type_name -> google.protobuf.StringValue - 2, // 1: v1.Namespace.comment:type_name -> google.protobuf.StringValue - 2, // 2: v1.Namespace.owners:type_name -> google.protobuf.StringValue - 2, // 3: v1.Namespace.token:type_name -> google.protobuf.StringValue - 2, // 4: v1.Namespace.ctime:type_name -> google.protobuf.StringValue - 2, // 5: v1.Namespace.mtime:type_name -> google.protobuf.StringValue - 3, // 6: v1.Namespace.total_service_count:type_name -> google.protobuf.UInt32Value - 3, // 7: v1.Namespace.total_health_instance_count:type_name -> google.protobuf.UInt32Value - 3, // 8: v1.Namespace.total_instance_count:type_name -> google.protobuf.UInt32Value - 2, // 9: v1.Namespace.user_ids:type_name -> google.protobuf.StringValue - 2, // 10: v1.Namespace.group_ids:type_name -> google.protobuf.StringValue - 2, // 11: v1.Namespace.remove_user_ids:type_name -> google.protobuf.StringValue - 2, // 12: v1.Namespace.remove_group_ids:type_name -> google.protobuf.StringValue - 2, // 13: v1.Namespace.id:type_name -> google.protobuf.StringValue - 4, // 14: v1.Namespace.editable:type_name -> google.protobuf.BoolValue - 2, // 15: v1.Namespace.service_export_to:type_name -> google.protobuf.StringValue - 1, // 16: v1.Namespace.metadata:type_name -> v1.Namespace.MetadataEntry - 4, // 17: v1.Namespace.deleteable:type_name -> google.protobuf.BoolValue - 18, // [18:18] is the sub-list for method output_type - 18, // [18:18] is the sub-list for method input_type - 18, // [18:18] is the sub-list for extension type_name - 18, // [18:18] is the sub-list for extension extendee - 0, // [0:18] is the sub-list for field type_name -} +func init() { proto.RegisterFile("namespace.proto", fileDescriptor_namespace_f3223e82191c5132) } -func init() { file_namespace_proto_init() } -func file_namespace_proto_init() { - if File_namespace_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_namespace_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Namespace); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_namespace_proto_rawDesc, - NumEnums: 0, - NumMessages: 2, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_namespace_proto_goTypes, - DependencyIndexes: file_namespace_proto_depIdxs, - MessageInfos: file_namespace_proto_msgTypes, - }.Build() - File_namespace_proto = out.File - file_namespace_proto_rawDesc = nil - file_namespace_proto_goTypes = nil - file_namespace_proto_depIdxs = nil +var fileDescriptor_namespace_f3223e82191c5132 = []byte{ + // 525 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x94, 0x41, 0x6f, 0xd3, 0x30, + 0x14, 0xc7, 0xd5, 0x76, 0xed, 0x9a, 0x37, 0xb6, 0x76, 0x66, 0x87, 0xa8, 0x43, 0x68, 0xe2, 0xc4, + 0x01, 0x39, 0xb4, 0x43, 0x63, 0xea, 0x6e, 0x95, 0x40, 0x80, 0xc4, 0x34, 0x15, 0xc1, 0x81, 0x03, + 0x91, 0x9b, 0xbc, 0xa5, 0xd6, 0x12, 0x3b, 0xb2, 0x9d, 0x8c, 0x1d, 0xf8, 0x58, 0x7c, 0x3f, 0x14, + 0xa7, 0xcd, 0xd8, 0x3a, 0x98, 0x6f, 0xed, 0xf3, 0xff, 0xf7, 0xcb, 0x7b, 0x96, 0xf5, 0x60, 0x20, + 0x58, 0x86, 0x3a, 0x67, 0x11, 0xd2, 0x5c, 0x49, 0x23, 0x49, 0xbb, 0x1c, 0x8f, 0x9e, 0x27, 0x52, + 0x26, 0x29, 0x06, 0xb6, 0xb2, 0x28, 0x2e, 0x83, 0x6b, 0xc5, 0xf2, 0x1c, 0x95, 0xae, 0x33, 0x2f, + 0x7e, 0x7b, 0xe0, 0x9d, 0xaf, 0x39, 0xf2, 0x1a, 0xb6, 0x2a, 0x89, 0xdf, 0x3a, 0x6a, 0xbd, 0xdc, + 0x99, 0x3c, 0xa3, 0x35, 0x4c, 0xd7, 0x30, 0xfd, 0x62, 0x14, 0x17, 0xc9, 0x37, 0x96, 0x16, 0x38, + 0xb7, 0x49, 0x72, 0x02, 0xdb, 0x91, 0xcc, 0x32, 0x14, 0xc6, 0x6f, 0x3b, 0x40, 0xeb, 0x30, 0x79, + 0x03, 0x3d, 0x79, 0x2d, 0x50, 0x69, 0xbf, 0xe3, 0x80, 0xad, 0xb2, 0x64, 0x02, 0x5d, 0x23, 0xaf, + 0x50, 0xf8, 0x5b, 0x0e, 0x50, 0x1d, 0xad, 0x98, 0xc8, 0xf0, 0x0c, 0xfd, 0xae, 0x0b, 0x63, 0xa3, + 0x15, 0x93, 0x59, 0xa6, 0xe7, 0xc2, 0xd8, 0x28, 0x39, 0x87, 0xa7, 0x46, 0x1a, 0x96, 0x86, 0x1a, + 0x55, 0xc9, 0x23, 0x0c, 0x23, 0x59, 0x08, 0xe3, 0x6f, 0xff, 0xc3, 0xf0, 0xf5, 0xa3, 0x30, 0xc7, + 0x93, 0xda, 0xf0, 0x10, 0x48, 0x7e, 0xc0, 0x61, 0x5d, 0x5e, 0x22, 0x4b, 0xcd, 0x32, 0xe4, 0x42, + 0x1b, 0x26, 0x1a, 0x6f, 0xdf, 0xc1, 0xfb, 0x3f, 0x01, 0xb9, 0x80, 0x83, 0xfa, 0xf8, 0x9e, 0xd8, + 0x73, 0x10, 0x3f, 0x48, 0x92, 0x53, 0xe8, 0x17, 0x1a, 0x55, 0xc8, 0x63, 0xed, 0xc3, 0x51, 0xe7, + 0xd1, 0x8b, 0x6b, 0xd2, 0x64, 0x0a, 0x5e, 0xa2, 0x64, 0x91, 0x5b, 0x74, 0xc7, 0x01, 0xbd, 0x8d, + 0x93, 0xf7, 0x30, 0x50, 0x98, 0xc9, 0x12, 0xc3, 0xe6, 0xe3, 0xbb, 0x0e, 0x86, 0xfb, 0x10, 0xf9, + 0x00, 0xc3, 0x55, 0xe9, 0xb6, 0x95, 0x3d, 0x07, 0xd1, 0x06, 0x45, 0x5e, 0x41, 0x9b, 0xc7, 0xfe, + 0x13, 0x87, 0xa7, 0xd3, 0xe6, 0x31, 0x39, 0x81, 0x3e, 0xc6, 0xdc, 0xb0, 0x45, 0x8a, 0xfe, 0xc0, + 0x32, 0xa3, 0x0d, 0x66, 0x26, 0x65, 0xba, 0xba, 0xb3, 0x75, 0x96, 0x7c, 0x82, 0xfd, 0xf5, 0x83, + 0xc1, 0x9f, 0xb9, 0x54, 0x26, 0x34, 0xd2, 0x1f, 0x3a, 0x34, 0xbc, 0x89, 0x91, 0xb7, 0xd0, 0xcf, + 0xd0, 0xb0, 0x98, 0x19, 0xe6, 0xef, 0x5b, 0xc5, 0x21, 0x2d, 0xc7, 0xb4, 0x59, 0x0c, 0xf4, 0xf3, + 0xea, 0xf4, 0x9d, 0x30, 0xea, 0x66, 0xde, 0x84, 0xc9, 0x14, 0x20, 0xc6, 0x14, 0x0d, 0xda, 0xf6, + 0xc9, 0xa3, 0xed, 0xff, 0x95, 0x1e, 0x9d, 0xc1, 0xee, 0x1d, 0x2d, 0x19, 0x42, 0xe7, 0x0a, 0x6f, + 0xec, 0xf2, 0xf1, 0xe6, 0xd5, 0x4f, 0x72, 0x00, 0xdd, 0xb2, 0xe2, 0xec, 0x6e, 0xf1, 0xe6, 0xf5, + 0x9f, 0x69, 0xfb, 0xb4, 0x35, 0xfb, 0x05, 0x34, 0x92, 0x19, 0x35, 0x28, 0x22, 0x14, 0x86, 0xe6, + 0x32, 0x65, 0x8a, 0x6b, 0xaa, 0x73, 0x8c, 0xf8, 0x25, 0x8f, 0x98, 0xe1, 0x52, 0x50, 0x96, 0xf3, + 0x6a, 0x8c, 0x4c, 0xc6, 0x98, 0xce, 0xf6, 0x9a, 0x69, 0x2e, 0xaa, 0xbe, 0xbe, 0x9f, 0x25, 0xdc, + 0x2c, 0x8b, 0x45, 0xa5, 0x09, 0x56, 0x78, 0x86, 0x7a, 0x19, 0xdc, 0x51, 0x04, 0x5a, 0x16, 0x2a, + 0xc2, 0x20, 0x91, 0x01, 0xcb, 0x79, 0x50, 0x8e, 0x03, 0x2b, 0x5b, 0xf4, 0xec, 0x6c, 0xc7, 0x7f, + 0x02, 0x00, 0x00, 0xff, 0xff, 0x45, 0x3d, 0x77, 0xd7, 0x74, 0x05, 0x00, 0x00, } diff --git a/source/go/api/v1/security/auth.pb.go b/source/go/api/v1/security/auth.pb.go index 4fe9394..97ba36f 100644 --- a/source/go/api/v1/security/auth.pb.go +++ b/source/go/api/v1/security/auth.pb.go @@ -1,25 +1,23 @@ // Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.33.0 -// protoc v5.27.3 // source: auth.proto -package security +package security // import "github.com/polarismesh/specification/source/go/api/v1/security" -import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" - reflect "reflect" - sync "sync" -) +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package type AuthAction int32 @@ -32,47 +30,24 @@ const ( AuthAction_DENY AuthAction = 11 ) -// Enum value maps for AuthAction. -var ( - AuthAction_name = map[int32]string{ - 0: "ONLY_READ", - 1: "READ_WRITE", - 10: "ALLOW", - 11: "DENY", - } - AuthAction_value = map[string]int32{ - "ONLY_READ": 0, - "READ_WRITE": 1, - "ALLOW": 10, - "DENY": 11, - } -) - -func (x AuthAction) Enum() *AuthAction { - p := new(AuthAction) - *p = x - return p -} - -func (x AuthAction) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +var AuthAction_name = map[int32]string{ + 0: "ONLY_READ", + 1: "READ_WRITE", + 10: "ALLOW", + 11: "DENY", } - -func (AuthAction) Descriptor() protoreflect.EnumDescriptor { - return file_auth_proto_enumTypes[0].Descriptor() -} - -func (AuthAction) Type() protoreflect.EnumType { - return &file_auth_proto_enumTypes[0] +var AuthAction_value = map[string]int32{ + "ONLY_READ": 0, + "READ_WRITE": 1, + "ALLOW": 10, + "DENY": 11, } -func (x AuthAction) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) +func (x AuthAction) String() string { + return proto.EnumName(AuthAction_name, int32(x)) } - -// Deprecated: Use AuthAction.Descriptor instead. func (AuthAction) EnumDescriptor() ([]byte, []int) { - return file_auth_proto_rawDescGZIP(), []int{0} + return fileDescriptor_auth_be101a499a5ea7f1, []int{0} } type ResourceType int32 @@ -92,2369 +67,1537 @@ const ( ResourceType_PolicyRules ResourceType = 23 ) -// Enum value maps for ResourceType. -var ( - ResourceType_name = map[int32]string{ - 0: "Namespaces", - 1: "Services", - 2: "ConfigGroups", - 3: "RouteRules", - 4: "RateLimitRules", - 5: "CircuitBreakerRules", - 6: "FaultDetectRules", - 7: "LaneRules", - 20: "Users", - 21: "UserGroups", - 22: "Roles", - 23: "PolicyRules", - } - ResourceType_value = map[string]int32{ - "Namespaces": 0, - "Services": 1, - "ConfigGroups": 2, - "RouteRules": 3, - "RateLimitRules": 4, - "CircuitBreakerRules": 5, - "FaultDetectRules": 6, - "LaneRules": 7, - "Users": 20, - "UserGroups": 21, - "Roles": 22, - "PolicyRules": 23, - } -) - -func (x ResourceType) Enum() *ResourceType { - p := new(ResourceType) - *p = x - return p +var ResourceType_name = map[int32]string{ + 0: "Namespaces", + 1: "Services", + 2: "ConfigGroups", + 3: "RouteRules", + 4: "RateLimitRules", + 5: "CircuitBreakerRules", + 6: "FaultDetectRules", + 7: "LaneRules", + 20: "Users", + 21: "UserGroups", + 22: "Roles", + 23: "PolicyRules", +} +var ResourceType_value = map[string]int32{ + "Namespaces": 0, + "Services": 1, + "ConfigGroups": 2, + "RouteRules": 3, + "RateLimitRules": 4, + "CircuitBreakerRules": 5, + "FaultDetectRules": 6, + "LaneRules": 7, + "Users": 20, + "UserGroups": 21, + "Roles": 22, + "PolicyRules": 23, } func (x ResourceType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (ResourceType) Descriptor() protoreflect.EnumDescriptor { - return file_auth_proto_enumTypes[1].Descriptor() + return proto.EnumName(ResourceType_name, int32(x)) } - -func (ResourceType) Type() protoreflect.EnumType { - return &file_auth_proto_enumTypes[1] -} - -func (x ResourceType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use ResourceType.Descriptor instead. func (ResourceType) EnumDescriptor() ([]byte, []int) { - return file_auth_proto_rawDescGZIP(), []int{1} + return fileDescriptor_auth_be101a499a5ea7f1, []int{1} } type LoginRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Owner *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` - Name *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - Password *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"` - Options map[string]string `protobuf:"bytes,4,rep,name=options,proto3" json:"options,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + Owner *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` + Name *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + Password *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"` + Options map[string]string `protobuf:"bytes,4,rep,name=options,proto3" json:"options,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *LoginRequest) Reset() { *m = LoginRequest{} } +func (m *LoginRequest) String() string { return proto.CompactTextString(m) } +func (*LoginRequest) ProtoMessage() {} +func (*LoginRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_auth_be101a499a5ea7f1, []int{0} } - -func (x *LoginRequest) Reset() { - *x = LoginRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_auth_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *LoginRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_LoginRequest.Unmarshal(m, b) } - -func (x *LoginRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *LoginRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_LoginRequest.Marshal(b, m, deterministic) } - -func (*LoginRequest) ProtoMessage() {} - -func (x *LoginRequest) ProtoReflect() protoreflect.Message { - mi := &file_auth_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (dst *LoginRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_LoginRequest.Merge(dst, src) } - -// Deprecated: Use LoginRequest.ProtoReflect.Descriptor instead. -func (*LoginRequest) Descriptor() ([]byte, []int) { - return file_auth_proto_rawDescGZIP(), []int{0} +func (m *LoginRequest) XXX_Size() int { + return xxx_messageInfo_LoginRequest.Size(m) +} +func (m *LoginRequest) XXX_DiscardUnknown() { + xxx_messageInfo_LoginRequest.DiscardUnknown(m) } -func (x *LoginRequest) GetOwner() *wrapperspb.StringValue { - if x != nil { - return x.Owner +var xxx_messageInfo_LoginRequest proto.InternalMessageInfo + +func (m *LoginRequest) GetOwner() *wrapperspb.StringValue { + if m != nil { + return m.Owner } return nil } -func (x *LoginRequest) GetName() *wrapperspb.StringValue { - if x != nil { - return x.Name +func (m *LoginRequest) GetName() *wrapperspb.StringValue { + if m != nil { + return m.Name } return nil } -func (x *LoginRequest) GetPassword() *wrapperspb.StringValue { - if x != nil { - return x.Password +func (m *LoginRequest) GetPassword() *wrapperspb.StringValue { + if m != nil { + return m.Password } return nil } -func (x *LoginRequest) GetOptions() map[string]string { - if x != nil { - return x.Options +func (m *LoginRequest) GetOptions() map[string]string { + if m != nil { + return m.Options } return nil } type LoginResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - UserId *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=user_id,proto3" json:"user_id,omitempty"` - Name *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - Role *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=role,proto3" json:"role,omitempty"` - OwnerId *wrapperspb.StringValue `protobuf:"bytes,4,opt,name=owner_id,proto3" json:"owner_id,omitempty"` - Token *wrapperspb.StringValue `protobuf:"bytes,5,opt,name=token,proto3" json:"token,omitempty"` - Options map[string]string `protobuf:"bytes,6,rep,name=options,proto3" json:"options,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + UserId *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=user_id,proto3" json:"user_id,omitempty"` + Name *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + Role *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=role,proto3" json:"role,omitempty"` + OwnerId *wrapperspb.StringValue `protobuf:"bytes,4,opt,name=owner_id,proto3" json:"owner_id,omitempty"` + Token *wrapperspb.StringValue `protobuf:"bytes,5,opt,name=token,proto3" json:"token,omitempty"` + Options map[string]string `protobuf:"bytes,6,rep,name=options,proto3" json:"options,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *LoginResponse) Reset() { *m = LoginResponse{} } +func (m *LoginResponse) String() string { return proto.CompactTextString(m) } +func (*LoginResponse) ProtoMessage() {} +func (*LoginResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_auth_be101a499a5ea7f1, []int{1} } - -func (x *LoginResponse) Reset() { - *x = LoginResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_auth_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *LoginResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_LoginResponse.Unmarshal(m, b) } - -func (x *LoginResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *LoginResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_LoginResponse.Marshal(b, m, deterministic) } - -func (*LoginResponse) ProtoMessage() {} - -func (x *LoginResponse) ProtoReflect() protoreflect.Message { - mi := &file_auth_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (dst *LoginResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_LoginResponse.Merge(dst, src) } - -// Deprecated: Use LoginResponse.ProtoReflect.Descriptor instead. -func (*LoginResponse) Descriptor() ([]byte, []int) { - return file_auth_proto_rawDescGZIP(), []int{1} +func (m *LoginResponse) XXX_Size() int { + return xxx_messageInfo_LoginResponse.Size(m) +} +func (m *LoginResponse) XXX_DiscardUnknown() { + xxx_messageInfo_LoginResponse.DiscardUnknown(m) } -func (x *LoginResponse) GetUserId() *wrapperspb.StringValue { - if x != nil { - return x.UserId +var xxx_messageInfo_LoginResponse proto.InternalMessageInfo + +func (m *LoginResponse) GetUserId() *wrapperspb.StringValue { + if m != nil { + return m.UserId } return nil } -func (x *LoginResponse) GetName() *wrapperspb.StringValue { - if x != nil { - return x.Name +func (m *LoginResponse) GetName() *wrapperspb.StringValue { + if m != nil { + return m.Name } return nil } -func (x *LoginResponse) GetRole() *wrapperspb.StringValue { - if x != nil { - return x.Role +func (m *LoginResponse) GetRole() *wrapperspb.StringValue { + if m != nil { + return m.Role } return nil } -func (x *LoginResponse) GetOwnerId() *wrapperspb.StringValue { - if x != nil { - return x.OwnerId +func (m *LoginResponse) GetOwnerId() *wrapperspb.StringValue { + if m != nil { + return m.OwnerId } return nil } -func (x *LoginResponse) GetToken() *wrapperspb.StringValue { - if x != nil { - return x.Token +func (m *LoginResponse) GetToken() *wrapperspb.StringValue { + if m != nil { + return m.Token } return nil } -func (x *LoginResponse) GetOptions() map[string]string { - if x != nil { - return x.Options +func (m *LoginResponse) GetOptions() map[string]string { + if m != nil { + return m.Options } return nil } type User struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - Name *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - Password *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"` - Owner *wrapperspb.StringValue `protobuf:"bytes,4,opt,name=owner,proto3" json:"owner,omitempty"` - Source *wrapperspb.StringValue `protobuf:"bytes,5,opt,name=source,proto3" json:"source,omitempty"` - AuthToken *wrapperspb.StringValue `protobuf:"bytes,6,opt,name=auth_token,proto3" json:"auth_token,omitempty"` - TokenEnable *wrapperspb.BoolValue `protobuf:"bytes,7,opt,name=token_enable,proto3" json:"token_enable,omitempty"` - Comment *wrapperspb.StringValue `protobuf:"bytes,8,opt,name=comment,proto3" json:"comment,omitempty"` - Ctime *wrapperspb.StringValue `protobuf:"bytes,9,opt,name=ctime,proto3" json:"ctime,omitempty"` - Mtime *wrapperspb.StringValue `protobuf:"bytes,10,opt,name=mtime,proto3" json:"mtime,omitempty"` - UserType *wrapperspb.StringValue `protobuf:"bytes,11,opt,name=user_type,proto3" json:"user_type,omitempty"` - Mobile *wrapperspb.StringValue `protobuf:"bytes,12,opt,name=mobile,proto3" json:"mobile,omitempty"` - Email *wrapperspb.StringValue `protobuf:"bytes,13,opt,name=email,proto3" json:"email,omitempty"` - Metadata map[string]string `protobuf:"bytes,14,rep,name=metadata,proto3" json:"metadata,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + Id *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + Name *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + Password *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"` + Owner *wrapperspb.StringValue `protobuf:"bytes,4,opt,name=owner,proto3" json:"owner,omitempty"` + Source *wrapperspb.StringValue `protobuf:"bytes,5,opt,name=source,proto3" json:"source,omitempty"` + AuthToken *wrapperspb.StringValue `protobuf:"bytes,6,opt,name=auth_token,proto3" json:"auth_token,omitempty"` + TokenEnable *wrapperspb.BoolValue `protobuf:"bytes,7,opt,name=token_enable,proto3" json:"token_enable,omitempty"` + Comment *wrapperspb.StringValue `protobuf:"bytes,8,opt,name=comment,proto3" json:"comment,omitempty"` + Ctime *wrapperspb.StringValue `protobuf:"bytes,9,opt,name=ctime,proto3" json:"ctime,omitempty"` + Mtime *wrapperspb.StringValue `protobuf:"bytes,10,opt,name=mtime,proto3" json:"mtime,omitempty"` + UserType *wrapperspb.StringValue `protobuf:"bytes,11,opt,name=user_type,proto3" json:"user_type,omitempty"` + Mobile *wrapperspb.StringValue `protobuf:"bytes,12,opt,name=mobile,proto3" json:"mobile,omitempty"` + Email *wrapperspb.StringValue `protobuf:"bytes,13,opt,name=email,proto3" json:"email,omitempty"` + Metadata map[string]string `protobuf:"bytes,14,rep,name=metadata,proto3" json:"metadata,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *User) Reset() { *m = User{} } +func (m *User) String() string { return proto.CompactTextString(m) } +func (*User) ProtoMessage() {} +func (*User) Descriptor() ([]byte, []int) { + return fileDescriptor_auth_be101a499a5ea7f1, []int{2} } - -func (x *User) Reset() { - *x = User{} - if protoimpl.UnsafeEnabled { - mi := &file_auth_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *User) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_User.Unmarshal(m, b) } - -func (x *User) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *User) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_User.Marshal(b, m, deterministic) } - -func (*User) ProtoMessage() {} - -func (x *User) ProtoReflect() protoreflect.Message { - mi := &file_auth_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) +func (dst *User) XXX_Merge(src proto.Message) { + xxx_messageInfo_User.Merge(dst, src) } - -// Deprecated: Use User.ProtoReflect.Descriptor instead. -func (*User) Descriptor() ([]byte, []int) { - return file_auth_proto_rawDescGZIP(), []int{2} +func (m *User) XXX_Size() int { + return xxx_messageInfo_User.Size(m) } +func (m *User) XXX_DiscardUnknown() { + xxx_messageInfo_User.DiscardUnknown(m) +} + +var xxx_messageInfo_User proto.InternalMessageInfo -func (x *User) GetId() *wrapperspb.StringValue { - if x != nil { - return x.Id +func (m *User) GetId() *wrapperspb.StringValue { + if m != nil { + return m.Id } return nil } -func (x *User) GetName() *wrapperspb.StringValue { - if x != nil { - return x.Name +func (m *User) GetName() *wrapperspb.StringValue { + if m != nil { + return m.Name } return nil } -func (x *User) GetPassword() *wrapperspb.StringValue { - if x != nil { - return x.Password +func (m *User) GetPassword() *wrapperspb.StringValue { + if m != nil { + return m.Password } return nil } -func (x *User) GetOwner() *wrapperspb.StringValue { - if x != nil { - return x.Owner +func (m *User) GetOwner() *wrapperspb.StringValue { + if m != nil { + return m.Owner } return nil } -func (x *User) GetSource() *wrapperspb.StringValue { - if x != nil { - return x.Source +func (m *User) GetSource() *wrapperspb.StringValue { + if m != nil { + return m.Source } return nil } -func (x *User) GetAuthToken() *wrapperspb.StringValue { - if x != nil { - return x.AuthToken +func (m *User) GetAuthToken() *wrapperspb.StringValue { + if m != nil { + return m.AuthToken } return nil } -func (x *User) GetTokenEnable() *wrapperspb.BoolValue { - if x != nil { - return x.TokenEnable +func (m *User) GetTokenEnable() *wrapperspb.BoolValue { + if m != nil { + return m.TokenEnable } return nil } -func (x *User) GetComment() *wrapperspb.StringValue { - if x != nil { - return x.Comment +func (m *User) GetComment() *wrapperspb.StringValue { + if m != nil { + return m.Comment } return nil } -func (x *User) GetCtime() *wrapperspb.StringValue { - if x != nil { - return x.Ctime +func (m *User) GetCtime() *wrapperspb.StringValue { + if m != nil { + return m.Ctime } return nil } -func (x *User) GetMtime() *wrapperspb.StringValue { - if x != nil { - return x.Mtime +func (m *User) GetMtime() *wrapperspb.StringValue { + if m != nil { + return m.Mtime } return nil } -func (x *User) GetUserType() *wrapperspb.StringValue { - if x != nil { - return x.UserType +func (m *User) GetUserType() *wrapperspb.StringValue { + if m != nil { + return m.UserType } return nil } -func (x *User) GetMobile() *wrapperspb.StringValue { - if x != nil { - return x.Mobile +func (m *User) GetMobile() *wrapperspb.StringValue { + if m != nil { + return m.Mobile } return nil } -func (x *User) GetEmail() *wrapperspb.StringValue { - if x != nil { - return x.Email +func (m *User) GetEmail() *wrapperspb.StringValue { + if m != nil { + return m.Email } return nil } -func (x *User) GetMetadata() map[string]string { - if x != nil { - return x.Metadata +func (m *User) GetMetadata() map[string]string { + if m != nil { + return m.Metadata } return nil } type ModifyUserPassword struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - OldPassword *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=old_password,proto3" json:"old_password,omitempty"` - NewPassword *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=new_password,proto3" json:"new_password,omitempty"` + Id *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + OldPassword *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=old_password,proto3" json:"old_password,omitempty"` + NewPassword *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=new_password,proto3" json:"new_password,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *ModifyUserPassword) Reset() { - *x = ModifyUserPassword{} - if protoimpl.UnsafeEnabled { - mi := &file_auth_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *ModifyUserPassword) Reset() { *m = ModifyUserPassword{} } +func (m *ModifyUserPassword) String() string { return proto.CompactTextString(m) } +func (*ModifyUserPassword) ProtoMessage() {} +func (*ModifyUserPassword) Descriptor() ([]byte, []int) { + return fileDescriptor_auth_be101a499a5ea7f1, []int{3} } - -func (x *ModifyUserPassword) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *ModifyUserPassword) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ModifyUserPassword.Unmarshal(m, b) } - -func (*ModifyUserPassword) ProtoMessage() {} - -func (x *ModifyUserPassword) ProtoReflect() protoreflect.Message { - mi := &file_auth_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) +func (m *ModifyUserPassword) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ModifyUserPassword.Marshal(b, m, deterministic) } - -// Deprecated: Use ModifyUserPassword.ProtoReflect.Descriptor instead. -func (*ModifyUserPassword) Descriptor() ([]byte, []int) { - return file_auth_proto_rawDescGZIP(), []int{3} +func (dst *ModifyUserPassword) XXX_Merge(src proto.Message) { + xxx_messageInfo_ModifyUserPassword.Merge(dst, src) +} +func (m *ModifyUserPassword) XXX_Size() int { + return xxx_messageInfo_ModifyUserPassword.Size(m) +} +func (m *ModifyUserPassword) XXX_DiscardUnknown() { + xxx_messageInfo_ModifyUserPassword.DiscardUnknown(m) } -func (x *ModifyUserPassword) GetId() *wrapperspb.StringValue { - if x != nil { - return x.Id +var xxx_messageInfo_ModifyUserPassword proto.InternalMessageInfo + +func (m *ModifyUserPassword) GetId() *wrapperspb.StringValue { + if m != nil { + return m.Id } return nil } -func (x *ModifyUserPassword) GetOldPassword() *wrapperspb.StringValue { - if x != nil { - return x.OldPassword +func (m *ModifyUserPassword) GetOldPassword() *wrapperspb.StringValue { + if m != nil { + return m.OldPassword } return nil } -func (x *ModifyUserPassword) GetNewPassword() *wrapperspb.StringValue { - if x != nil { - return x.NewPassword +func (m *ModifyUserPassword) GetNewPassword() *wrapperspb.StringValue { + if m != nil { + return m.NewPassword } return nil } type UserGroupRelation struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - GroupId *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=group_id,proto3" json:"group_id,omitempty"` - Users []*User `protobuf:"bytes,2,rep,name=users,proto3" json:"users,omitempty"` + GroupId *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=group_id,proto3" json:"group_id,omitempty"` + Users []*User `protobuf:"bytes,2,rep,name=users,proto3" json:"users,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *UserGroupRelation) Reset() { - *x = UserGroupRelation{} - if protoimpl.UnsafeEnabled { - mi := &file_auth_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *UserGroupRelation) Reset() { *m = UserGroupRelation{} } +func (m *UserGroupRelation) String() string { return proto.CompactTextString(m) } +func (*UserGroupRelation) ProtoMessage() {} +func (*UserGroupRelation) Descriptor() ([]byte, []int) { + return fileDescriptor_auth_be101a499a5ea7f1, []int{4} } - -func (x *UserGroupRelation) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *UserGroupRelation) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UserGroupRelation.Unmarshal(m, b) } - -func (*UserGroupRelation) ProtoMessage() {} - -func (x *UserGroupRelation) ProtoReflect() protoreflect.Message { - mi := &file_auth_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) +func (m *UserGroupRelation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UserGroupRelation.Marshal(b, m, deterministic) } - -// Deprecated: Use UserGroupRelation.ProtoReflect.Descriptor instead. -func (*UserGroupRelation) Descriptor() ([]byte, []int) { - return file_auth_proto_rawDescGZIP(), []int{4} +func (dst *UserGroupRelation) XXX_Merge(src proto.Message) { + xxx_messageInfo_UserGroupRelation.Merge(dst, src) } +func (m *UserGroupRelation) XXX_Size() int { + return xxx_messageInfo_UserGroupRelation.Size(m) +} +func (m *UserGroupRelation) XXX_DiscardUnknown() { + xxx_messageInfo_UserGroupRelation.DiscardUnknown(m) +} + +var xxx_messageInfo_UserGroupRelation proto.InternalMessageInfo -func (x *UserGroupRelation) GetGroupId() *wrapperspb.StringValue { - if x != nil { - return x.GroupId +func (m *UserGroupRelation) GetGroupId() *wrapperspb.StringValue { + if m != nil { + return m.GroupId } return nil } -func (x *UserGroupRelation) GetUsers() []*User { - if x != nil { - return x.Users +func (m *UserGroupRelation) GetUsers() []*User { + if m != nil { + return m.Users } return nil } type UserGroup struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - Name *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - Owner *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=owner,proto3" json:"owner,omitempty"` - AuthToken *wrapperspb.StringValue `protobuf:"bytes,4,opt,name=auth_token,proto3" json:"auth_token,omitempty"` - TokenEnable *wrapperspb.BoolValue `protobuf:"bytes,5,opt,name=token_enable,proto3" json:"token_enable,omitempty"` - Comment *wrapperspb.StringValue `protobuf:"bytes,6,opt,name=comment,proto3" json:"comment,omitempty"` - Ctime *wrapperspb.StringValue `protobuf:"bytes,7,opt,name=ctime,proto3" json:"ctime,omitempty"` - Mtime *wrapperspb.StringValue `protobuf:"bytes,8,opt,name=mtime,proto3" json:"mtime,omitempty"` - Relation *UserGroupRelation `protobuf:"bytes,9,opt,name=relation,proto3" json:"relation,omitempty"` - UserCount *wrapperspb.UInt32Value `protobuf:"bytes,10,opt,name=user_count,proto3" json:"user_count,omitempty"` - Source *wrapperspb.StringValue `protobuf:"bytes,11,opt,name=source,proto3" json:"source,omitempty"` - Metadata map[string]string `protobuf:"bytes,12,rep,name=metadata,proto3" json:"metadata,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + Id *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + Name *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + Owner *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=owner,proto3" json:"owner,omitempty"` + AuthToken *wrapperspb.StringValue `protobuf:"bytes,4,opt,name=auth_token,proto3" json:"auth_token,omitempty"` + TokenEnable *wrapperspb.BoolValue `protobuf:"bytes,5,opt,name=token_enable,proto3" json:"token_enable,omitempty"` + Comment *wrapperspb.StringValue `protobuf:"bytes,6,opt,name=comment,proto3" json:"comment,omitempty"` + Ctime *wrapperspb.StringValue `protobuf:"bytes,7,opt,name=ctime,proto3" json:"ctime,omitempty"` + Mtime *wrapperspb.StringValue `protobuf:"bytes,8,opt,name=mtime,proto3" json:"mtime,omitempty"` + Relation *UserGroupRelation `protobuf:"bytes,9,opt,name=relation,proto3" json:"relation,omitempty"` + UserCount *wrapperspb.UInt32Value `protobuf:"bytes,10,opt,name=user_count,proto3" json:"user_count,omitempty"` + Source *wrapperspb.StringValue `protobuf:"bytes,11,opt,name=source,proto3" json:"source,omitempty"` + Metadata map[string]string `protobuf:"bytes,12,rep,name=metadata,proto3" json:"metadata,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *UserGroup) Reset() { *m = UserGroup{} } +func (m *UserGroup) String() string { return proto.CompactTextString(m) } +func (*UserGroup) ProtoMessage() {} +func (*UserGroup) Descriptor() ([]byte, []int) { + return fileDescriptor_auth_be101a499a5ea7f1, []int{5} } - -func (x *UserGroup) Reset() { - *x = UserGroup{} - if protoimpl.UnsafeEnabled { - mi := &file_auth_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *UserGroup) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UserGroup.Unmarshal(m, b) } - -func (x *UserGroup) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *UserGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UserGroup.Marshal(b, m, deterministic) } - -func (*UserGroup) ProtoMessage() {} - -func (x *UserGroup) ProtoReflect() protoreflect.Message { - mi := &file_auth_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) +func (dst *UserGroup) XXX_Merge(src proto.Message) { + xxx_messageInfo_UserGroup.Merge(dst, src) } - -// Deprecated: Use UserGroup.ProtoReflect.Descriptor instead. -func (*UserGroup) Descriptor() ([]byte, []int) { - return file_auth_proto_rawDescGZIP(), []int{5} +func (m *UserGroup) XXX_Size() int { + return xxx_messageInfo_UserGroup.Size(m) } +func (m *UserGroup) XXX_DiscardUnknown() { + xxx_messageInfo_UserGroup.DiscardUnknown(m) +} + +var xxx_messageInfo_UserGroup proto.InternalMessageInfo -func (x *UserGroup) GetId() *wrapperspb.StringValue { - if x != nil { - return x.Id +func (m *UserGroup) GetId() *wrapperspb.StringValue { + if m != nil { + return m.Id } return nil } -func (x *UserGroup) GetName() *wrapperspb.StringValue { - if x != nil { - return x.Name +func (m *UserGroup) GetName() *wrapperspb.StringValue { + if m != nil { + return m.Name } return nil } -func (x *UserGroup) GetOwner() *wrapperspb.StringValue { - if x != nil { - return x.Owner +func (m *UserGroup) GetOwner() *wrapperspb.StringValue { + if m != nil { + return m.Owner } return nil } -func (x *UserGroup) GetAuthToken() *wrapperspb.StringValue { - if x != nil { - return x.AuthToken +func (m *UserGroup) GetAuthToken() *wrapperspb.StringValue { + if m != nil { + return m.AuthToken } return nil } -func (x *UserGroup) GetTokenEnable() *wrapperspb.BoolValue { - if x != nil { - return x.TokenEnable +func (m *UserGroup) GetTokenEnable() *wrapperspb.BoolValue { + if m != nil { + return m.TokenEnable } return nil } -func (x *UserGroup) GetComment() *wrapperspb.StringValue { - if x != nil { - return x.Comment +func (m *UserGroup) GetComment() *wrapperspb.StringValue { + if m != nil { + return m.Comment } return nil } -func (x *UserGroup) GetCtime() *wrapperspb.StringValue { - if x != nil { - return x.Ctime +func (m *UserGroup) GetCtime() *wrapperspb.StringValue { + if m != nil { + return m.Ctime } return nil } -func (x *UserGroup) GetMtime() *wrapperspb.StringValue { - if x != nil { - return x.Mtime +func (m *UserGroup) GetMtime() *wrapperspb.StringValue { + if m != nil { + return m.Mtime } return nil } -func (x *UserGroup) GetRelation() *UserGroupRelation { - if x != nil { - return x.Relation +func (m *UserGroup) GetRelation() *UserGroupRelation { + if m != nil { + return m.Relation } return nil } -func (x *UserGroup) GetUserCount() *wrapperspb.UInt32Value { - if x != nil { - return x.UserCount +func (m *UserGroup) GetUserCount() *wrapperspb.UInt32Value { + if m != nil { + return m.UserCount } return nil } -func (x *UserGroup) GetSource() *wrapperspb.StringValue { - if x != nil { - return x.Source +func (m *UserGroup) GetSource() *wrapperspb.StringValue { + if m != nil { + return m.Source } return nil } -func (x *UserGroup) GetMetadata() map[string]string { - if x != nil { - return x.Metadata +func (m *UserGroup) GetMetadata() map[string]string { + if m != nil { + return m.Metadata } return nil } type ModifyUserGroup struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - Owner *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"` - Name *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` - AuthToken *wrapperspb.StringValue `protobuf:"bytes,4,opt,name=auth_token,proto3" json:"auth_token,omitempty"` - TokenEnable *wrapperspb.BoolValue `protobuf:"bytes,5,opt,name=token_enable,proto3" json:"token_enable,omitempty"` - Comment *wrapperspb.StringValue `protobuf:"bytes,6,opt,name=comment,proto3" json:"comment,omitempty"` - AddRelations *UserGroupRelation `protobuf:"bytes,7,opt,name=add_relations,proto3" json:"add_relations,omitempty"` - RemoveRelations *UserGroupRelation `protobuf:"bytes,8,opt,name=remove_relations,proto3" json:"remove_relations,omitempty"` - Metadata map[string]string `protobuf:"bytes,9,rep,name=metadata,proto3" json:"metadata,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - Source *wrapperspb.StringValue `protobuf:"bytes,10,opt,name=source,proto3" json:"source,omitempty"` + Id *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + Owner *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"` + Name *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` + AuthToken *wrapperspb.StringValue `protobuf:"bytes,4,opt,name=auth_token,proto3" json:"auth_token,omitempty"` + TokenEnable *wrapperspb.BoolValue `protobuf:"bytes,5,opt,name=token_enable,proto3" json:"token_enable,omitempty"` + Comment *wrapperspb.StringValue `protobuf:"bytes,6,opt,name=comment,proto3" json:"comment,omitempty"` + AddRelations *UserGroupRelation `protobuf:"bytes,7,opt,name=add_relations,proto3" json:"add_relations,omitempty"` + RemoveRelations *UserGroupRelation `protobuf:"bytes,8,opt,name=remove_relations,proto3" json:"remove_relations,omitempty"` + Metadata map[string]string `protobuf:"bytes,9,rep,name=metadata,proto3" json:"metadata,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + Source *wrapperspb.StringValue `protobuf:"bytes,10,opt,name=source,proto3" json:"source,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ModifyUserGroup) Reset() { *m = ModifyUserGroup{} } +func (m *ModifyUserGroup) String() string { return proto.CompactTextString(m) } +func (*ModifyUserGroup) ProtoMessage() {} +func (*ModifyUserGroup) Descriptor() ([]byte, []int) { + return fileDescriptor_auth_be101a499a5ea7f1, []int{6} } - -func (x *ModifyUserGroup) Reset() { - *x = ModifyUserGroup{} - if protoimpl.UnsafeEnabled { - mi := &file_auth_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *ModifyUserGroup) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ModifyUserGroup.Unmarshal(m, b) } - -func (x *ModifyUserGroup) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *ModifyUserGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ModifyUserGroup.Marshal(b, m, deterministic) } - -func (*ModifyUserGroup) ProtoMessage() {} - -func (x *ModifyUserGroup) ProtoReflect() protoreflect.Message { - mi := &file_auth_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) +func (dst *ModifyUserGroup) XXX_Merge(src proto.Message) { + xxx_messageInfo_ModifyUserGroup.Merge(dst, src) } - -// Deprecated: Use ModifyUserGroup.ProtoReflect.Descriptor instead. -func (*ModifyUserGroup) Descriptor() ([]byte, []int) { - return file_auth_proto_rawDescGZIP(), []int{6} +func (m *ModifyUserGroup) XXX_Size() int { + return xxx_messageInfo_ModifyUserGroup.Size(m) +} +func (m *ModifyUserGroup) XXX_DiscardUnknown() { + xxx_messageInfo_ModifyUserGroup.DiscardUnknown(m) } -func (x *ModifyUserGroup) GetId() *wrapperspb.StringValue { - if x != nil { - return x.Id +var xxx_messageInfo_ModifyUserGroup proto.InternalMessageInfo + +func (m *ModifyUserGroup) GetId() *wrapperspb.StringValue { + if m != nil { + return m.Id } return nil } -func (x *ModifyUserGroup) GetOwner() *wrapperspb.StringValue { - if x != nil { - return x.Owner +func (m *ModifyUserGroup) GetOwner() *wrapperspb.StringValue { + if m != nil { + return m.Owner } return nil } -func (x *ModifyUserGroup) GetName() *wrapperspb.StringValue { - if x != nil { - return x.Name +func (m *ModifyUserGroup) GetName() *wrapperspb.StringValue { + if m != nil { + return m.Name } return nil } -func (x *ModifyUserGroup) GetAuthToken() *wrapperspb.StringValue { - if x != nil { - return x.AuthToken +func (m *ModifyUserGroup) GetAuthToken() *wrapperspb.StringValue { + if m != nil { + return m.AuthToken } return nil } -func (x *ModifyUserGroup) GetTokenEnable() *wrapperspb.BoolValue { - if x != nil { - return x.TokenEnable +func (m *ModifyUserGroup) GetTokenEnable() *wrapperspb.BoolValue { + if m != nil { + return m.TokenEnable } return nil } -func (x *ModifyUserGroup) GetComment() *wrapperspb.StringValue { - if x != nil { - return x.Comment +func (m *ModifyUserGroup) GetComment() *wrapperspb.StringValue { + if m != nil { + return m.Comment } return nil } -func (x *ModifyUserGroup) GetAddRelations() *UserGroupRelation { - if x != nil { - return x.AddRelations +func (m *ModifyUserGroup) GetAddRelations() *UserGroupRelation { + if m != nil { + return m.AddRelations } return nil } -func (x *ModifyUserGroup) GetRemoveRelations() *UserGroupRelation { - if x != nil { - return x.RemoveRelations +func (m *ModifyUserGroup) GetRemoveRelations() *UserGroupRelation { + if m != nil { + return m.RemoveRelations } return nil } -func (x *ModifyUserGroup) GetMetadata() map[string]string { - if x != nil { - return x.Metadata +func (m *ModifyUserGroup) GetMetadata() map[string]string { + if m != nil { + return m.Metadata } return nil } -func (x *ModifyUserGroup) GetSource() *wrapperspb.StringValue { - if x != nil { - return x.Source +func (m *ModifyUserGroup) GetSource() *wrapperspb.StringValue { + if m != nil { + return m.Source } return nil } type Role struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - Owner string `protobuf:"bytes,4,opt,name=owner,proto3" json:"owner,omitempty"` - Source string `protobuf:"bytes,5,opt,name=source,proto3" json:"source,omitempty"` - DefaultRole bool `protobuf:"varint,6,opt,name=default_role,proto3" json:"default_role,omitempty"` - Metadata map[string]string `protobuf:"bytes,7,rep,name=metadata,proto3" json:"metadata,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - Comment string `protobuf:"bytes,8,opt,name=comment,proto3" json:"comment,omitempty"` - Ctime string `protobuf:"bytes,9,opt,name=ctime,proto3" json:"ctime,omitempty"` - Mtime string `protobuf:"bytes,10,opt,name=mtime,proto3" json:"mtime,omitempty"` - Users []*User `protobuf:"bytes,20,rep,name=users,proto3" json:"users,omitempty"` - UserGroups []*UserGroup `protobuf:"bytes,21,rep,name=user_groups,proto3" json:"user_groups,omitempty"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + Owner string `protobuf:"bytes,4,opt,name=owner,proto3" json:"owner,omitempty"` + Source string `protobuf:"bytes,5,opt,name=source,proto3" json:"source,omitempty"` + DefaultRole bool `protobuf:"varint,6,opt,name=default_role,proto3" json:"default_role,omitempty"` + Metadata map[string]string `protobuf:"bytes,7,rep,name=metadata,proto3" json:"metadata,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + Comment string `protobuf:"bytes,8,opt,name=comment,proto3" json:"comment,omitempty"` + Ctime string `protobuf:"bytes,9,opt,name=ctime,proto3" json:"ctime,omitempty"` + Mtime string `protobuf:"bytes,10,opt,name=mtime,proto3" json:"mtime,omitempty"` + Users []*User `protobuf:"bytes,20,rep,name=users,proto3" json:"users,omitempty"` + UserGroups []*UserGroup `protobuf:"bytes,21,rep,name=user_groups,proto3" json:"user_groups,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Role) Reset() { *m = Role{} } +func (m *Role) String() string { return proto.CompactTextString(m) } +func (*Role) ProtoMessage() {} +func (*Role) Descriptor() ([]byte, []int) { + return fileDescriptor_auth_be101a499a5ea7f1, []int{7} } - -func (x *Role) Reset() { - *x = Role{} - if protoimpl.UnsafeEnabled { - mi := &file_auth_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *Role) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Role.Unmarshal(m, b) } - -func (x *Role) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *Role) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Role.Marshal(b, m, deterministic) } - -func (*Role) ProtoMessage() {} - -func (x *Role) ProtoReflect() protoreflect.Message { - mi := &file_auth_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) +func (dst *Role) XXX_Merge(src proto.Message) { + xxx_messageInfo_Role.Merge(dst, src) } - -// Deprecated: Use Role.ProtoReflect.Descriptor instead. -func (*Role) Descriptor() ([]byte, []int) { - return file_auth_proto_rawDescGZIP(), []int{7} +func (m *Role) XXX_Size() int { + return xxx_messageInfo_Role.Size(m) +} +func (m *Role) XXX_DiscardUnknown() { + xxx_messageInfo_Role.DiscardUnknown(m) } -func (x *Role) GetId() string { - if x != nil { - return x.Id +var xxx_messageInfo_Role proto.InternalMessageInfo + +func (m *Role) GetId() string { + if m != nil { + return m.Id } return "" } -func (x *Role) GetName() string { - if x != nil { - return x.Name +func (m *Role) GetName() string { + if m != nil { + return m.Name } return "" } -func (x *Role) GetOwner() string { - if x != nil { - return x.Owner +func (m *Role) GetOwner() string { + if m != nil { + return m.Owner } return "" } -func (x *Role) GetSource() string { - if x != nil { - return x.Source +func (m *Role) GetSource() string { + if m != nil { + return m.Source } return "" } -func (x *Role) GetDefaultRole() bool { - if x != nil { - return x.DefaultRole +func (m *Role) GetDefaultRole() bool { + if m != nil { + return m.DefaultRole } return false } -func (x *Role) GetMetadata() map[string]string { - if x != nil { - return x.Metadata +func (m *Role) GetMetadata() map[string]string { + if m != nil { + return m.Metadata } return nil } -func (x *Role) GetComment() string { - if x != nil { - return x.Comment +func (m *Role) GetComment() string { + if m != nil { + return m.Comment } return "" } -func (x *Role) GetCtime() string { - if x != nil { - return x.Ctime +func (m *Role) GetCtime() string { + if m != nil { + return m.Ctime } return "" } -func (x *Role) GetMtime() string { - if x != nil { - return x.Mtime +func (m *Role) GetMtime() string { + if m != nil { + return m.Mtime } return "" } -func (x *Role) GetUsers() []*User { - if x != nil { - return x.Users +func (m *Role) GetUsers() []*User { + if m != nil { + return m.Users } return nil } -func (x *Role) GetUserGroups() []*UserGroup { - if x != nil { - return x.UserGroups +func (m *Role) GetUserGroups() []*UserGroup { + if m != nil { + return m.UserGroups } return nil } type Principal struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - Name *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + Id *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + Name *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *Principal) Reset() { - *x = Principal{} - if protoimpl.UnsafeEnabled { - mi := &file_auth_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *Principal) Reset() { *m = Principal{} } +func (m *Principal) String() string { return proto.CompactTextString(m) } +func (*Principal) ProtoMessage() {} +func (*Principal) Descriptor() ([]byte, []int) { + return fileDescriptor_auth_be101a499a5ea7f1, []int{8} } - -func (x *Principal) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *Principal) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Principal.Unmarshal(m, b) } - -func (*Principal) ProtoMessage() {} - -func (x *Principal) ProtoReflect() protoreflect.Message { - mi := &file_auth_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) +func (m *Principal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Principal.Marshal(b, m, deterministic) } - -// Deprecated: Use Principal.ProtoReflect.Descriptor instead. -func (*Principal) Descriptor() ([]byte, []int) { - return file_auth_proto_rawDescGZIP(), []int{8} +func (dst *Principal) XXX_Merge(src proto.Message) { + xxx_messageInfo_Principal.Merge(dst, src) +} +func (m *Principal) XXX_Size() int { + return xxx_messageInfo_Principal.Size(m) } +func (m *Principal) XXX_DiscardUnknown() { + xxx_messageInfo_Principal.DiscardUnknown(m) +} + +var xxx_messageInfo_Principal proto.InternalMessageInfo -func (x *Principal) GetId() *wrapperspb.StringValue { - if x != nil { - return x.Id +func (m *Principal) GetId() *wrapperspb.StringValue { + if m != nil { + return m.Id } return nil } -func (x *Principal) GetName() *wrapperspb.StringValue { - if x != nil { - return x.Name +func (m *Principal) GetName() *wrapperspb.StringValue { + if m != nil { + return m.Name } return nil } type Principals struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Users []*Principal `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"` - Groups []*Principal `protobuf:"bytes,2,rep,name=groups,proto3" json:"groups,omitempty"` - Roles []*Principal `protobuf:"bytes,3,rep,name=roles,proto3" json:"roles,omitempty"` + Users []*Principal `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"` + Groups []*Principal `protobuf:"bytes,2,rep,name=groups,proto3" json:"groups,omitempty"` + Roles []*Principal `protobuf:"bytes,3,rep,name=roles,proto3" json:"roles,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *Principals) Reset() { - *x = Principals{} - if protoimpl.UnsafeEnabled { - mi := &file_auth_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *Principals) Reset() { *m = Principals{} } +func (m *Principals) String() string { return proto.CompactTextString(m) } +func (*Principals) ProtoMessage() {} +func (*Principals) Descriptor() ([]byte, []int) { + return fileDescriptor_auth_be101a499a5ea7f1, []int{9} } - -func (x *Principals) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *Principals) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Principals.Unmarshal(m, b) } - -func (*Principals) ProtoMessage() {} - -func (x *Principals) ProtoReflect() protoreflect.Message { - mi := &file_auth_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *Principals) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Principals.Marshal(b, m, deterministic) } - -// Deprecated: Use Principals.ProtoReflect.Descriptor instead. -func (*Principals) Descriptor() ([]byte, []int) { - return file_auth_proto_rawDescGZIP(), []int{9} +func (dst *Principals) XXX_Merge(src proto.Message) { + xxx_messageInfo_Principals.Merge(dst, src) +} +func (m *Principals) XXX_Size() int { + return xxx_messageInfo_Principals.Size(m) +} +func (m *Principals) XXX_DiscardUnknown() { + xxx_messageInfo_Principals.DiscardUnknown(m) } -func (x *Principals) GetUsers() []*Principal { - if x != nil { - return x.Users +var xxx_messageInfo_Principals proto.InternalMessageInfo + +func (m *Principals) GetUsers() []*Principal { + if m != nil { + return m.Users } return nil } -func (x *Principals) GetGroups() []*Principal { - if x != nil { - return x.Groups +func (m *Principals) GetGroups() []*Principal { + if m != nil { + return m.Groups } return nil } -func (x *Principals) GetRoles() []*Principal { - if x != nil { - return x.Roles +func (m *Principals) GetRoles() []*Principal { + if m != nil { + return m.Roles } return nil } type StrategyResourceEntry struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - Namespace *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"` - Name *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` + Id *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + Namespace *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"` + Name *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *StrategyResourceEntry) Reset() { - *x = StrategyResourceEntry{} - if protoimpl.UnsafeEnabled { - mi := &file_auth_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *StrategyResourceEntry) Reset() { *m = StrategyResourceEntry{} } +func (m *StrategyResourceEntry) String() string { return proto.CompactTextString(m) } +func (*StrategyResourceEntry) ProtoMessage() {} +func (*StrategyResourceEntry) Descriptor() ([]byte, []int) { + return fileDescriptor_auth_be101a499a5ea7f1, []int{10} } - -func (x *StrategyResourceEntry) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *StrategyResourceEntry) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_StrategyResourceEntry.Unmarshal(m, b) } - -func (*StrategyResourceEntry) ProtoMessage() {} - -func (x *StrategyResourceEntry) ProtoReflect() protoreflect.Message { - mi := &file_auth_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *StrategyResourceEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_StrategyResourceEntry.Marshal(b, m, deterministic) } - -// Deprecated: Use StrategyResourceEntry.ProtoReflect.Descriptor instead. -func (*StrategyResourceEntry) Descriptor() ([]byte, []int) { - return file_auth_proto_rawDescGZIP(), []int{10} +func (dst *StrategyResourceEntry) XXX_Merge(src proto.Message) { + xxx_messageInfo_StrategyResourceEntry.Merge(dst, src) } +func (m *StrategyResourceEntry) XXX_Size() int { + return xxx_messageInfo_StrategyResourceEntry.Size(m) +} +func (m *StrategyResourceEntry) XXX_DiscardUnknown() { + xxx_messageInfo_StrategyResourceEntry.DiscardUnknown(m) +} + +var xxx_messageInfo_StrategyResourceEntry proto.InternalMessageInfo -func (x *StrategyResourceEntry) GetId() *wrapperspb.StringValue { - if x != nil { - return x.Id +func (m *StrategyResourceEntry) GetId() *wrapperspb.StringValue { + if m != nil { + return m.Id } return nil } -func (x *StrategyResourceEntry) GetNamespace() *wrapperspb.StringValue { - if x != nil { - return x.Namespace +func (m *StrategyResourceEntry) GetNamespace() *wrapperspb.StringValue { + if m != nil { + return m.Namespace } return nil } -func (x *StrategyResourceEntry) GetName() *wrapperspb.StringValue { - if x != nil { - return x.Name +func (m *StrategyResourceEntry) GetName() *wrapperspb.StringValue { + if m != nil { + return m.Name } return nil } type StrategyResources struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - StrategyId *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=strategy_id,proto3" json:"strategy_id,omitempty"` - Namespaces []*StrategyResourceEntry `protobuf:"bytes,2,rep,name=namespaces,proto3" json:"namespaces,omitempty"` - Services []*StrategyResourceEntry `protobuf:"bytes,3,rep,name=services,proto3" json:"services,omitempty"` - ConfigGroups []*StrategyResourceEntry `protobuf:"bytes,4,rep,name=config_groups,proto3" json:"config_groups,omitempty"` - RouteRules []*StrategyResourceEntry `protobuf:"bytes,5,rep,name=route_rules,proto3" json:"route_rules,omitempty"` - RatelimitRules []*StrategyResourceEntry `protobuf:"bytes,6,rep,name=ratelimit_rules,proto3" json:"ratelimit_rules,omitempty"` - CircuitbreakerRules []*StrategyResourceEntry `protobuf:"bytes,7,rep,name=circuitbreaker_rules,proto3" json:"circuitbreaker_rules,omitempty"` - FaultdetectRules []*StrategyResourceEntry `protobuf:"bytes,8,rep,name=faultdetect_rules,proto3" json:"faultdetect_rules,omitempty"` - LaneRules []*StrategyResourceEntry `protobuf:"bytes,9,rep,name=lane_rules,proto3" json:"lane_rules,omitempty"` - Users []*StrategyResourceEntry `protobuf:"bytes,21,rep,name=users,proto3" json:"users,omitempty"` - UserGroups []*StrategyResourceEntry `protobuf:"bytes,22,rep,name=user_groups,proto3" json:"user_groups,omitempty"` - Roles []*StrategyResourceEntry `protobuf:"bytes,23,rep,name=roles,proto3" json:"roles,omitempty"` - AuthPolicies []*StrategyResourceEntry `protobuf:"bytes,24,rep,name=auth_policies,proto3" json:"auth_policies,omitempty"` + StrategyId *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=strategy_id,proto3" json:"strategy_id,omitempty"` + Namespaces []*StrategyResourceEntry `protobuf:"bytes,2,rep,name=namespaces,proto3" json:"namespaces,omitempty"` + Services []*StrategyResourceEntry `protobuf:"bytes,3,rep,name=services,proto3" json:"services,omitempty"` + ConfigGroups []*StrategyResourceEntry `protobuf:"bytes,4,rep,name=config_groups,proto3" json:"config_groups,omitempty"` + RouteRules []*StrategyResourceEntry `protobuf:"bytes,5,rep,name=route_rules,proto3" json:"route_rules,omitempty"` + RatelimitRules []*StrategyResourceEntry `protobuf:"bytes,6,rep,name=ratelimit_rules,proto3" json:"ratelimit_rules,omitempty"` + CircuitbreakerRules []*StrategyResourceEntry `protobuf:"bytes,7,rep,name=circuitbreaker_rules,proto3" json:"circuitbreaker_rules,omitempty"` + FaultdetectRules []*StrategyResourceEntry `protobuf:"bytes,8,rep,name=faultdetect_rules,proto3" json:"faultdetect_rules,omitempty"` + LaneRules []*StrategyResourceEntry `protobuf:"bytes,9,rep,name=lane_rules,proto3" json:"lane_rules,omitempty"` + Users []*StrategyResourceEntry `protobuf:"bytes,21,rep,name=users,proto3" json:"users,omitempty"` + UserGroups []*StrategyResourceEntry `protobuf:"bytes,22,rep,name=user_groups,proto3" json:"user_groups,omitempty"` + Roles []*StrategyResourceEntry `protobuf:"bytes,23,rep,name=roles,proto3" json:"roles,omitempty"` + AuthPolicies []*StrategyResourceEntry `protobuf:"bytes,24,rep,name=auth_policies,proto3" json:"auth_policies,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *StrategyResources) Reset() { *m = StrategyResources{} } +func (m *StrategyResources) String() string { return proto.CompactTextString(m) } +func (*StrategyResources) ProtoMessage() {} +func (*StrategyResources) Descriptor() ([]byte, []int) { + return fileDescriptor_auth_be101a499a5ea7f1, []int{11} } - -func (x *StrategyResources) Reset() { - *x = StrategyResources{} - if protoimpl.UnsafeEnabled { - mi := &file_auth_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *StrategyResources) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_StrategyResources.Unmarshal(m, b) } - -func (x *StrategyResources) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *StrategyResources) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_StrategyResources.Marshal(b, m, deterministic) } - -func (*StrategyResources) ProtoMessage() {} - -func (x *StrategyResources) ProtoReflect() protoreflect.Message { - mi := &file_auth_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (dst *StrategyResources) XXX_Merge(src proto.Message) { + xxx_messageInfo_StrategyResources.Merge(dst, src) } - -// Deprecated: Use StrategyResources.ProtoReflect.Descriptor instead. -func (*StrategyResources) Descriptor() ([]byte, []int) { - return file_auth_proto_rawDescGZIP(), []int{11} +func (m *StrategyResources) XXX_Size() int { + return xxx_messageInfo_StrategyResources.Size(m) } +func (m *StrategyResources) XXX_DiscardUnknown() { + xxx_messageInfo_StrategyResources.DiscardUnknown(m) +} + +var xxx_messageInfo_StrategyResources proto.InternalMessageInfo -func (x *StrategyResources) GetStrategyId() *wrapperspb.StringValue { - if x != nil { - return x.StrategyId +func (m *StrategyResources) GetStrategyId() *wrapperspb.StringValue { + if m != nil { + return m.StrategyId } return nil } -func (x *StrategyResources) GetNamespaces() []*StrategyResourceEntry { - if x != nil { - return x.Namespaces +func (m *StrategyResources) GetNamespaces() []*StrategyResourceEntry { + if m != nil { + return m.Namespaces } return nil } -func (x *StrategyResources) GetServices() []*StrategyResourceEntry { - if x != nil { - return x.Services +func (m *StrategyResources) GetServices() []*StrategyResourceEntry { + if m != nil { + return m.Services } return nil } -func (x *StrategyResources) GetConfigGroups() []*StrategyResourceEntry { - if x != nil { - return x.ConfigGroups +func (m *StrategyResources) GetConfigGroups() []*StrategyResourceEntry { + if m != nil { + return m.ConfigGroups } return nil } -func (x *StrategyResources) GetRouteRules() []*StrategyResourceEntry { - if x != nil { - return x.RouteRules +func (m *StrategyResources) GetRouteRules() []*StrategyResourceEntry { + if m != nil { + return m.RouteRules } return nil } -func (x *StrategyResources) GetRatelimitRules() []*StrategyResourceEntry { - if x != nil { - return x.RatelimitRules +func (m *StrategyResources) GetRatelimitRules() []*StrategyResourceEntry { + if m != nil { + return m.RatelimitRules } return nil } -func (x *StrategyResources) GetCircuitbreakerRules() []*StrategyResourceEntry { - if x != nil { - return x.CircuitbreakerRules +func (m *StrategyResources) GetCircuitbreakerRules() []*StrategyResourceEntry { + if m != nil { + return m.CircuitbreakerRules } return nil } -func (x *StrategyResources) GetFaultdetectRules() []*StrategyResourceEntry { - if x != nil { - return x.FaultdetectRules +func (m *StrategyResources) GetFaultdetectRules() []*StrategyResourceEntry { + if m != nil { + return m.FaultdetectRules } return nil } -func (x *StrategyResources) GetLaneRules() []*StrategyResourceEntry { - if x != nil { - return x.LaneRules +func (m *StrategyResources) GetLaneRules() []*StrategyResourceEntry { + if m != nil { + return m.LaneRules } return nil } -func (x *StrategyResources) GetUsers() []*StrategyResourceEntry { - if x != nil { - return x.Users +func (m *StrategyResources) GetUsers() []*StrategyResourceEntry { + if m != nil { + return m.Users } return nil } -func (x *StrategyResources) GetUserGroups() []*StrategyResourceEntry { - if x != nil { - return x.UserGroups +func (m *StrategyResources) GetUserGroups() []*StrategyResourceEntry { + if m != nil { + return m.UserGroups } return nil } -func (x *StrategyResources) GetRoles() []*StrategyResourceEntry { - if x != nil { - return x.Roles +func (m *StrategyResources) GetRoles() []*StrategyResourceEntry { + if m != nil { + return m.Roles } return nil } -func (x *StrategyResources) GetAuthPolicies() []*StrategyResourceEntry { - if x != nil { - return x.AuthPolicies +func (m *StrategyResources) GetAuthPolicies() []*StrategyResourceEntry { + if m != nil { + return m.AuthPolicies } return nil } type StrategyResourceLabel struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` - Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` - CompareType string `protobuf:"bytes,3,opt,name=compare_type,proto3" json:"compare_type,omitempty"` + Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` + Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` + CompareType string `protobuf:"bytes,3,opt,name=compare_type,proto3" json:"compare_type,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *StrategyResourceLabel) Reset() { - *x = StrategyResourceLabel{} - if protoimpl.UnsafeEnabled { - mi := &file_auth_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *StrategyResourceLabel) Reset() { *m = StrategyResourceLabel{} } +func (m *StrategyResourceLabel) String() string { return proto.CompactTextString(m) } +func (*StrategyResourceLabel) ProtoMessage() {} +func (*StrategyResourceLabel) Descriptor() ([]byte, []int) { + return fileDescriptor_auth_be101a499a5ea7f1, []int{12} } - -func (x *StrategyResourceLabel) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *StrategyResourceLabel) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_StrategyResourceLabel.Unmarshal(m, b) } - -func (*StrategyResourceLabel) ProtoMessage() {} - -func (x *StrategyResourceLabel) ProtoReflect() protoreflect.Message { - mi := &file_auth_proto_msgTypes[12] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *StrategyResourceLabel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_StrategyResourceLabel.Marshal(b, m, deterministic) } - -// Deprecated: Use StrategyResourceLabel.ProtoReflect.Descriptor instead. -func (*StrategyResourceLabel) Descriptor() ([]byte, []int) { - return file_auth_proto_rawDescGZIP(), []int{12} +func (dst *StrategyResourceLabel) XXX_Merge(src proto.Message) { + xxx_messageInfo_StrategyResourceLabel.Merge(dst, src) +} +func (m *StrategyResourceLabel) XXX_Size() int { + return xxx_messageInfo_StrategyResourceLabel.Size(m) +} +func (m *StrategyResourceLabel) XXX_DiscardUnknown() { + xxx_messageInfo_StrategyResourceLabel.DiscardUnknown(m) } -func (x *StrategyResourceLabel) GetKey() string { - if x != nil { - return x.Key +var xxx_messageInfo_StrategyResourceLabel proto.InternalMessageInfo + +func (m *StrategyResourceLabel) GetKey() string { + if m != nil { + return m.Key } return "" } -func (x *StrategyResourceLabel) GetValue() string { - if x != nil { - return x.Value +func (m *StrategyResourceLabel) GetValue() string { + if m != nil { + return m.Value } return "" } -func (x *StrategyResourceLabel) GetCompareType() string { - if x != nil { - return x.CompareType +func (m *StrategyResourceLabel) GetCompareType() string { + if m != nil { + return m.CompareType } return "" } type AuthStrategy struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - Name *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - Principals *Principals `protobuf:"bytes,3,opt,name=principals,proto3" json:"principals,omitempty"` - Resources *StrategyResources `protobuf:"bytes,4,opt,name=resources,proto3" json:"resources,omitempty"` - Action AuthAction `protobuf:"varint,5,opt,name=action,proto3,enum=v1.AuthAction" json:"action,omitempty"` - Comment *wrapperspb.StringValue `protobuf:"bytes,6,opt,name=comment,proto3" json:"comment,omitempty"` - Owner *wrapperspb.StringValue `protobuf:"bytes,7,opt,name=owner,proto3" json:"owner,omitempty"` - Ctime *wrapperspb.StringValue `protobuf:"bytes,8,opt,name=ctime,proto3" json:"ctime,omitempty"` - Mtime *wrapperspb.StringValue `protobuf:"bytes,9,opt,name=mtime,proto3" json:"mtime,omitempty"` - AuthToken *wrapperspb.StringValue `protobuf:"bytes,10,opt,name=auth_token,proto3" json:"auth_token,omitempty"` - DefaultStrategy *wrapperspb.BoolValue `protobuf:"bytes,11,opt,name=default_strategy,proto3" json:"default_strategy,omitempty"` - Metadata map[string]string `protobuf:"bytes,12,rep,name=metadata,proto3" json:"metadata,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - Source *wrapperspb.StringValue `protobuf:"bytes,13,opt,name=source,proto3" json:"source,omitempty"` - Functions []string `protobuf:"bytes,14,rep,name=functions,proto3" json:"functions,omitempty"` - ResourceLabels []*StrategyResourceLabel `protobuf:"bytes,15,rep,name=resource_labels,proto3" json:"resource_labels,omitempty"` + Id *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + Name *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + Principals *Principals `protobuf:"bytes,3,opt,name=principals,proto3" json:"principals,omitempty"` + Resources *StrategyResources `protobuf:"bytes,4,opt,name=resources,proto3" json:"resources,omitempty"` + Action AuthAction `protobuf:"varint,5,opt,name=action,proto3,enum=v1.AuthAction" json:"action,omitempty"` + Comment *wrapperspb.StringValue `protobuf:"bytes,6,opt,name=comment,proto3" json:"comment,omitempty"` + Owner *wrapperspb.StringValue `protobuf:"bytes,7,opt,name=owner,proto3" json:"owner,omitempty"` + Ctime *wrapperspb.StringValue `protobuf:"bytes,8,opt,name=ctime,proto3" json:"ctime,omitempty"` + Mtime *wrapperspb.StringValue `protobuf:"bytes,9,opt,name=mtime,proto3" json:"mtime,omitempty"` + AuthToken *wrapperspb.StringValue `protobuf:"bytes,10,opt,name=auth_token,proto3" json:"auth_token,omitempty"` + DefaultStrategy *wrapperspb.BoolValue `protobuf:"bytes,11,opt,name=default_strategy,proto3" json:"default_strategy,omitempty"` + Metadata map[string]string `protobuf:"bytes,12,rep,name=metadata,proto3" json:"metadata,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + Source *wrapperspb.StringValue `protobuf:"bytes,13,opt,name=source,proto3" json:"source,omitempty"` + Functions []string `protobuf:"bytes,14,rep,name=functions,proto3" json:"functions,omitempty"` + ResourceLabels []*StrategyResourceLabel `protobuf:"bytes,15,rep,name=resource_labels,proto3" json:"resource_labels,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *AuthStrategy) Reset() { *m = AuthStrategy{} } +func (m *AuthStrategy) String() string { return proto.CompactTextString(m) } +func (*AuthStrategy) ProtoMessage() {} +func (*AuthStrategy) Descriptor() ([]byte, []int) { + return fileDescriptor_auth_be101a499a5ea7f1, []int{13} } - -func (x *AuthStrategy) Reset() { - *x = AuthStrategy{} - if protoimpl.UnsafeEnabled { - mi := &file_auth_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *AuthStrategy) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AuthStrategy.Unmarshal(m, b) } - -func (x *AuthStrategy) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *AuthStrategy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AuthStrategy.Marshal(b, m, deterministic) } - -func (*AuthStrategy) ProtoMessage() {} - -func (x *AuthStrategy) ProtoReflect() protoreflect.Message { - mi := &file_auth_proto_msgTypes[13] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (dst *AuthStrategy) XXX_Merge(src proto.Message) { + xxx_messageInfo_AuthStrategy.Merge(dst, src) } - -// Deprecated: Use AuthStrategy.ProtoReflect.Descriptor instead. -func (*AuthStrategy) Descriptor() ([]byte, []int) { - return file_auth_proto_rawDescGZIP(), []int{13} +func (m *AuthStrategy) XXX_Size() int { + return xxx_messageInfo_AuthStrategy.Size(m) +} +func (m *AuthStrategy) XXX_DiscardUnknown() { + xxx_messageInfo_AuthStrategy.DiscardUnknown(m) } -func (x *AuthStrategy) GetId() *wrapperspb.StringValue { - if x != nil { - return x.Id +var xxx_messageInfo_AuthStrategy proto.InternalMessageInfo + +func (m *AuthStrategy) GetId() *wrapperspb.StringValue { + if m != nil { + return m.Id } return nil } -func (x *AuthStrategy) GetName() *wrapperspb.StringValue { - if x != nil { - return x.Name +func (m *AuthStrategy) GetName() *wrapperspb.StringValue { + if m != nil { + return m.Name } return nil } -func (x *AuthStrategy) GetPrincipals() *Principals { - if x != nil { - return x.Principals +func (m *AuthStrategy) GetPrincipals() *Principals { + if m != nil { + return m.Principals } return nil } -func (x *AuthStrategy) GetResources() *StrategyResources { - if x != nil { - return x.Resources +func (m *AuthStrategy) GetResources() *StrategyResources { + if m != nil { + return m.Resources } return nil } -func (x *AuthStrategy) GetAction() AuthAction { - if x != nil { - return x.Action +func (m *AuthStrategy) GetAction() AuthAction { + if m != nil { + return m.Action } return AuthAction_ONLY_READ } -func (x *AuthStrategy) GetComment() *wrapperspb.StringValue { - if x != nil { - return x.Comment +func (m *AuthStrategy) GetComment() *wrapperspb.StringValue { + if m != nil { + return m.Comment } return nil } -func (x *AuthStrategy) GetOwner() *wrapperspb.StringValue { - if x != nil { - return x.Owner +func (m *AuthStrategy) GetOwner() *wrapperspb.StringValue { + if m != nil { + return m.Owner } return nil } -func (x *AuthStrategy) GetCtime() *wrapperspb.StringValue { - if x != nil { - return x.Ctime +func (m *AuthStrategy) GetCtime() *wrapperspb.StringValue { + if m != nil { + return m.Ctime } return nil } -func (x *AuthStrategy) GetMtime() *wrapperspb.StringValue { - if x != nil { - return x.Mtime +func (m *AuthStrategy) GetMtime() *wrapperspb.StringValue { + if m != nil { + return m.Mtime } return nil } -func (x *AuthStrategy) GetAuthToken() *wrapperspb.StringValue { - if x != nil { - return x.AuthToken +func (m *AuthStrategy) GetAuthToken() *wrapperspb.StringValue { + if m != nil { + return m.AuthToken } return nil } -func (x *AuthStrategy) GetDefaultStrategy() *wrapperspb.BoolValue { - if x != nil { - return x.DefaultStrategy +func (m *AuthStrategy) GetDefaultStrategy() *wrapperspb.BoolValue { + if m != nil { + return m.DefaultStrategy } return nil } -func (x *AuthStrategy) GetMetadata() map[string]string { - if x != nil { - return x.Metadata +func (m *AuthStrategy) GetMetadata() map[string]string { + if m != nil { + return m.Metadata } return nil } -func (x *AuthStrategy) GetSource() *wrapperspb.StringValue { - if x != nil { - return x.Source +func (m *AuthStrategy) GetSource() *wrapperspb.StringValue { + if m != nil { + return m.Source } return nil } -func (x *AuthStrategy) GetFunctions() []string { - if x != nil { - return x.Functions +func (m *AuthStrategy) GetFunctions() []string { + if m != nil { + return m.Functions } return nil } -func (x *AuthStrategy) GetResourceLabels() []*StrategyResourceLabel { - if x != nil { - return x.ResourceLabels +func (m *AuthStrategy) GetResourceLabels() []*StrategyResourceLabel { + if m != nil { + return m.ResourceLabels } return nil } type ModifyAuthStrategy struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - Name *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - AddPrincipals *Principals `protobuf:"bytes,3,opt,name=add_principals,proto3" json:"add_principals,omitempty"` - RemovePrincipals *Principals `protobuf:"bytes,4,opt,name=remove_principals,proto3" json:"remove_principals,omitempty"` - AddResources *StrategyResources `protobuf:"bytes,5,opt,name=add_resources,proto3" json:"add_resources,omitempty"` - RemoveResources *StrategyResources `protobuf:"bytes,6,opt,name=remove_resources,proto3" json:"remove_resources,omitempty"` - Action AuthAction `protobuf:"varint,7,opt,name=action,proto3,enum=v1.AuthAction" json:"action,omitempty"` - Comment *wrapperspb.StringValue `protobuf:"bytes,8,opt,name=comment,proto3" json:"comment,omitempty"` - Owner *wrapperspb.StringValue `protobuf:"bytes,9,opt,name=owner,proto3" json:"owner,omitempty"` - Metadata map[string]string `protobuf:"bytes,12,rep,name=metadata,proto3" json:"metadata,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - Source *wrapperspb.StringValue `protobuf:"bytes,13,opt,name=source,proto3" json:"source,omitempty"` - Functions []string `protobuf:"bytes,14,rep,name=functions,proto3" json:"functions,omitempty"` - ResourceLabels []*StrategyResourceLabel `protobuf:"bytes,15,rep,name=resource_labels,proto3" json:"resource_labels,omitempty"` + Id *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + Name *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + AddPrincipals *Principals `protobuf:"bytes,3,opt,name=add_principals,proto3" json:"add_principals,omitempty"` + RemovePrincipals *Principals `protobuf:"bytes,4,opt,name=remove_principals,proto3" json:"remove_principals,omitempty"` + AddResources *StrategyResources `protobuf:"bytes,5,opt,name=add_resources,proto3" json:"add_resources,omitempty"` + RemoveResources *StrategyResources `protobuf:"bytes,6,opt,name=remove_resources,proto3" json:"remove_resources,omitempty"` + Action AuthAction `protobuf:"varint,7,opt,name=action,proto3,enum=v1.AuthAction" json:"action,omitempty"` + Comment *wrapperspb.StringValue `protobuf:"bytes,8,opt,name=comment,proto3" json:"comment,omitempty"` + Owner *wrapperspb.StringValue `protobuf:"bytes,9,opt,name=owner,proto3" json:"owner,omitempty"` + Metadata map[string]string `protobuf:"bytes,12,rep,name=metadata,proto3" json:"metadata,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + Source *wrapperspb.StringValue `protobuf:"bytes,13,opt,name=source,proto3" json:"source,omitempty"` + Functions []string `protobuf:"bytes,14,rep,name=functions,proto3" json:"functions,omitempty"` + ResourceLabels []*StrategyResourceLabel `protobuf:"bytes,15,rep,name=resource_labels,proto3" json:"resource_labels,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ModifyAuthStrategy) Reset() { *m = ModifyAuthStrategy{} } +func (m *ModifyAuthStrategy) String() string { return proto.CompactTextString(m) } +func (*ModifyAuthStrategy) ProtoMessage() {} +func (*ModifyAuthStrategy) Descriptor() ([]byte, []int) { + return fileDescriptor_auth_be101a499a5ea7f1, []int{14} } - -func (x *ModifyAuthStrategy) Reset() { - *x = ModifyAuthStrategy{} - if protoimpl.UnsafeEnabled { - mi := &file_auth_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *ModifyAuthStrategy) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ModifyAuthStrategy.Unmarshal(m, b) } - -func (x *ModifyAuthStrategy) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *ModifyAuthStrategy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ModifyAuthStrategy.Marshal(b, m, deterministic) } - -func (*ModifyAuthStrategy) ProtoMessage() {} - -func (x *ModifyAuthStrategy) ProtoReflect() protoreflect.Message { - mi := &file_auth_proto_msgTypes[14] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (dst *ModifyAuthStrategy) XXX_Merge(src proto.Message) { + xxx_messageInfo_ModifyAuthStrategy.Merge(dst, src) } - -// Deprecated: Use ModifyAuthStrategy.ProtoReflect.Descriptor instead. -func (*ModifyAuthStrategy) Descriptor() ([]byte, []int) { - return file_auth_proto_rawDescGZIP(), []int{14} +func (m *ModifyAuthStrategy) XXX_Size() int { + return xxx_messageInfo_ModifyAuthStrategy.Size(m) } +func (m *ModifyAuthStrategy) XXX_DiscardUnknown() { + xxx_messageInfo_ModifyAuthStrategy.DiscardUnknown(m) +} + +var xxx_messageInfo_ModifyAuthStrategy proto.InternalMessageInfo -func (x *ModifyAuthStrategy) GetId() *wrapperspb.StringValue { - if x != nil { - return x.Id +func (m *ModifyAuthStrategy) GetId() *wrapperspb.StringValue { + if m != nil { + return m.Id } return nil } -func (x *ModifyAuthStrategy) GetName() *wrapperspb.StringValue { - if x != nil { - return x.Name +func (m *ModifyAuthStrategy) GetName() *wrapperspb.StringValue { + if m != nil { + return m.Name } return nil } -func (x *ModifyAuthStrategy) GetAddPrincipals() *Principals { - if x != nil { - return x.AddPrincipals +func (m *ModifyAuthStrategy) GetAddPrincipals() *Principals { + if m != nil { + return m.AddPrincipals } return nil } -func (x *ModifyAuthStrategy) GetRemovePrincipals() *Principals { - if x != nil { - return x.RemovePrincipals +func (m *ModifyAuthStrategy) GetRemovePrincipals() *Principals { + if m != nil { + return m.RemovePrincipals } return nil } -func (x *ModifyAuthStrategy) GetAddResources() *StrategyResources { - if x != nil { - return x.AddResources +func (m *ModifyAuthStrategy) GetAddResources() *StrategyResources { + if m != nil { + return m.AddResources } return nil } -func (x *ModifyAuthStrategy) GetRemoveResources() *StrategyResources { - if x != nil { - return x.RemoveResources +func (m *ModifyAuthStrategy) GetRemoveResources() *StrategyResources { + if m != nil { + return m.RemoveResources } return nil } -func (x *ModifyAuthStrategy) GetAction() AuthAction { - if x != nil { - return x.Action +func (m *ModifyAuthStrategy) GetAction() AuthAction { + if m != nil { + return m.Action } return AuthAction_ONLY_READ } -func (x *ModifyAuthStrategy) GetComment() *wrapperspb.StringValue { - if x != nil { - return x.Comment +func (m *ModifyAuthStrategy) GetComment() *wrapperspb.StringValue { + if m != nil { + return m.Comment } return nil } -func (x *ModifyAuthStrategy) GetOwner() *wrapperspb.StringValue { - if x != nil { - return x.Owner - } - return nil -} - -func (x *ModifyAuthStrategy) GetMetadata() map[string]string { - if x != nil { - return x.Metadata - } - return nil -} - -func (x *ModifyAuthStrategy) GetSource() *wrapperspb.StringValue { - if x != nil { - return x.Source - } - return nil -} - -func (x *ModifyAuthStrategy) GetFunctions() []string { - if x != nil { - return x.Functions - } - return nil -} - -func (x *ModifyAuthStrategy) GetResourceLabels() []*StrategyResourceLabel { - if x != nil { - return x.ResourceLabels - } - return nil -} - -var File_auth_proto protoreflect.FileDescriptor - -var file_auth_proto_rawDesc = []byte{ - 0x0a, 0x0a, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x76, 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, 0xa3, 0x02, 0x0a, 0x0c, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x12, 0x32, 0x0a, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x18, 0x01, 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, 0x05, - 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x12, 0x30, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 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, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x38, 0x0a, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, - 0x6f, 0x72, 0x64, 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, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, - 0x64, 0x12, 0x37, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x04, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x2e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, - 0x79, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0x3a, 0x0a, 0x0c, 0x4f, 0x70, - 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, - 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, - 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, - 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x8f, 0x03, 0x0a, 0x0d, 0x4c, 0x6f, 0x67, 0x69, 0x6e, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x36, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, - 0x5f, 0x69, 0x64, 0x18, 0x01, 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, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, - 0x12, 0x30, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 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, 0x04, 0x6e, 0x61, - 0x6d, 0x65, 0x12, 0x30, 0x0a, 0x04, 0x72, 0x6f, 0x6c, 0x65, 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, 0x04, - 0x72, 0x6f, 0x6c, 0x65, 0x12, 0x38, 0x0a, 0x08, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x69, 0x64, - 0x18, 0x04, 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, 0x08, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x12, 0x32, - 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x05, 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, 0x05, 0x74, 0x6f, 0x6b, - 0x65, 0x6e, 0x12, 0x38, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x06, 0x20, - 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, - 0x74, 0x72, 0x79, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0x3a, 0x0a, 0x0c, - 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, - 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, - 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, - 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xbf, 0x06, 0x0a, 0x04, 0x55, 0x73, 0x65, - 0x72, 0x12, 0x2c, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 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, 0x02, 0x69, 0x64, 0x12, - 0x30, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 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, 0x04, 0x6e, 0x61, 0x6d, - 0x65, 0x12, 0x38, 0x0a, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 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, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x12, 0x32, 0x0a, 0x05, 0x6f, - 0x77, 0x6e, 0x65, 0x72, 0x18, 0x04, 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, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x12, - 0x34, 0x0a, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x05, 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, - 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x3c, 0x0a, 0x0a, 0x61, 0x75, 0x74, 0x68, 0x5f, 0x74, 0x6f, - 0x6b, 0x65, 0x6e, 0x18, 0x06, 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, 0x0a, 0x61, 0x75, 0x74, 0x68, 0x5f, 0x74, 0x6f, - 0x6b, 0x65, 0x6e, 0x12, 0x3e, 0x0a, 0x0c, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x65, 0x6e, 0x61, - 0x62, 0x6c, 0x65, 0x18, 0x07, 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, 0x0c, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x65, 0x6e, 0x61, - 0x62, 0x6c, 0x65, 0x12, 0x36, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x08, - 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, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x32, 0x0a, 0x05, 0x63, - 0x74, 0x69, 0x6d, 0x65, 0x18, 0x09, 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, 0x05, 0x63, 0x74, 0x69, 0x6d, 0x65, 0x12, - 0x32, 0x0a, 0x05, 0x6d, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0a, 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, 0x05, 0x6d, 0x74, - 0x69, 0x6d, 0x65, 0x12, 0x3a, 0x0a, 0x09, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x74, 0x79, 0x70, 0x65, - 0x18, 0x0b, 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, 0x09, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x12, - 0x34, 0x0a, 0x06, 0x6d, 0x6f, 0x62, 0x69, 0x6c, 0x65, 0x18, 0x0c, 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, 0x6d, - 0x6f, 0x62, 0x69, 0x6c, 0x65, 0x12, 0x32, 0x0a, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x0d, - 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, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x32, 0x0a, 0x08, 0x6d, 0x65, 0x74, - 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x0e, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x76, 0x31, - 0x2e, 0x55, 0x73, 0x65, 0x72, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x45, 0x6e, - 0x74, 0x72, 0x79, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x1a, 0x3b, 0x0a, - 0x0d, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, - 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, - 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xc6, 0x01, 0x0a, 0x12, 0x4d, - 0x6f, 0x64, 0x69, 0x66, 0x79, 0x55, 0x73, 0x65, 0x72, 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, - 0x64, 0x12, 0x2c, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 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, 0x02, 0x69, 0x64, 0x12, - 0x40, 0x0a, 0x0c, 0x6f, 0x6c, 0x64, 0x5f, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, - 0x02, 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, 0x0c, 0x6f, 0x6c, 0x64, 0x5f, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, - 0x64, 0x12, 0x40, 0x0a, 0x0c, 0x6e, 0x65, 0x77, 0x5f, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, - 0x64, 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, 0x0c, 0x6e, 0x65, 0x77, 0x5f, 0x70, 0x61, 0x73, 0x73, 0x77, - 0x6f, 0x72, 0x64, 0x22, 0x6d, 0x0a, 0x11, 0x55, 0x73, 0x65, 0x72, 0x47, 0x72, 0x6f, 0x75, 0x70, - 0x52, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x38, 0x0a, 0x08, 0x67, 0x72, 0x6f, 0x75, - 0x70, 0x5f, 0x69, 0x64, 0x18, 0x01, 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, 0x08, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, - 0x69, 0x64, 0x12, 0x1e, 0x0a, 0x05, 0x75, 0x73, 0x65, 0x72, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x08, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x05, 0x75, 0x73, 0x65, - 0x72, 0x73, 0x22, 0xda, 0x05, 0x0a, 0x09, 0x55, 0x73, 0x65, 0x72, 0x47, 0x72, 0x6f, 0x75, 0x70, - 0x12, 0x2c, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 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, 0x02, 0x69, 0x64, 0x12, 0x30, - 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 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, 0x04, 0x6e, 0x61, 0x6d, 0x65, - 0x12, 0x32, 0x0a, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 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, 0x05, 0x6f, - 0x77, 0x6e, 0x65, 0x72, 0x12, 0x3c, 0x0a, 0x0a, 0x61, 0x75, 0x74, 0x68, 0x5f, 0x74, 0x6f, 0x6b, - 0x65, 0x6e, 0x18, 0x04, 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, 0x0a, 0x61, 0x75, 0x74, 0x68, 0x5f, 0x74, 0x6f, 0x6b, - 0x65, 0x6e, 0x12, 0x3e, 0x0a, 0x0c, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x65, 0x6e, 0x61, 0x62, - 0x6c, 0x65, 0x18, 0x05, 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, 0x0c, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x65, 0x6e, 0x61, 0x62, - 0x6c, 0x65, 0x12, 0x36, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x06, 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, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x32, 0x0a, 0x05, 0x63, 0x74, - 0x69, 0x6d, 0x65, 0x18, 0x07, 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, 0x05, 0x63, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x32, - 0x0a, 0x05, 0x6d, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x08, 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, 0x05, 0x6d, 0x74, 0x69, - 0x6d, 0x65, 0x12, 0x31, 0x0a, 0x08, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x09, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x47, 0x72, - 0x6f, 0x75, 0x70, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x08, 0x72, 0x65, 0x6c, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x3c, 0x0a, 0x0a, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x63, 0x6f, - 0x75, 0x6e, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, - 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x49, 0x6e, 0x74, - 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0a, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x63, 0x6f, - 0x75, 0x6e, 0x74, 0x12, 0x34, 0x0a, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x0b, 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, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x37, 0x0a, 0x08, 0x6d, 0x65, 0x74, - 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x0c, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x76, 0x31, - 0x2e, 0x55, 0x73, 0x65, 0x72, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x64, - 0x61, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, - 0x74, 0x61, 0x1a, 0x3b, 0x0a, 0x0d, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x45, 0x6e, - 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, - 0x8d, 0x05, 0x0a, 0x0f, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x79, 0x55, 0x73, 0x65, 0x72, 0x47, 0x72, - 0x6f, 0x75, 0x70, 0x12, 0x2c, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 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, 0x02, 0x69, - 0x64, 0x12, 0x32, 0x0a, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x18, 0x02, 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, 0x05, - 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x12, 0x30, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 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, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x3c, 0x0a, 0x0a, 0x61, 0x75, 0x74, 0x68, 0x5f, - 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x04, 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, 0x0a, 0x61, 0x75, 0x74, 0x68, 0x5f, - 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x3e, 0x0a, 0x0c, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x65, - 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x05, 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, 0x0c, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x65, - 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x36, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, - 0x18, 0x06, 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, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x3b, 0x0a, - 0x0d, 0x61, 0x64, 0x64, 0x5f, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x07, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x47, 0x72, - 0x6f, 0x75, 0x70, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0d, 0x61, 0x64, 0x64, - 0x5f, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x41, 0x0a, 0x10, 0x72, 0x65, - 0x6d, 0x6f, 0x76, 0x65, 0x5f, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x08, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x47, 0x72, - 0x6f, 0x75, 0x70, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x10, 0x72, 0x65, 0x6d, - 0x6f, 0x76, 0x65, 0x5f, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x3d, 0x0a, - 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, - 0x21, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x79, 0x55, 0x73, 0x65, 0x72, 0x47, - 0x72, 0x6f, 0x75, 0x70, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x45, 0x6e, 0x74, - 0x72, 0x79, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x34, 0x0a, 0x06, - 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x0a, 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, 0x6f, 0x75, 0x72, - 0x63, 0x65, 0x1a, 0x3b, 0x0a, 0x0d, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x45, 0x6e, - 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, - 0x84, 0x03, 0x0a, 0x04, 0x52, 0x6f, 0x6c, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 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, 0x14, 0x0a, 0x05, - 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6f, 0x77, 0x6e, - 0x65, 0x72, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x05, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x22, 0x0a, 0x0c, 0x64, 0x65, - 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x72, 0x6f, 0x6c, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, - 0x52, 0x0c, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x72, 0x6f, 0x6c, 0x65, 0x12, 0x32, - 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, - 0x32, 0x16, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x6f, 0x6c, 0x65, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x64, - 0x61, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, - 0x74, 0x61, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x08, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x14, 0x0a, 0x05, - 0x63, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x63, 0x74, 0x69, - 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x6d, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x05, 0x6d, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x1e, 0x0a, 0x05, 0x75, 0x73, 0x65, 0x72, - 0x73, 0x18, 0x14, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x08, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x73, 0x65, - 0x72, 0x52, 0x05, 0x75, 0x73, 0x65, 0x72, 0x73, 0x12, 0x2f, 0x0a, 0x0b, 0x75, 0x73, 0x65, 0x72, - 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x18, 0x15, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0d, 0x2e, - 0x76, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x0b, 0x75, 0x73, - 0x65, 0x72, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x1a, 0x3b, 0x0a, 0x0d, 0x4d, 0x65, 0x74, - 0x61, 0x64, 0x61, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, - 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, - 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, - 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x6b, 0x0a, 0x09, 0x50, 0x72, 0x69, 0x6e, 0x63, 0x69, - 0x70, 0x61, 0x6c, 0x12, 0x2c, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 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, 0x02, 0x69, - 0x64, 0x12, 0x30, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 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, 0x04, 0x6e, - 0x61, 0x6d, 0x65, 0x22, 0x7d, 0x0a, 0x0a, 0x50, 0x72, 0x69, 0x6e, 0x63, 0x69, 0x70, 0x61, 0x6c, - 0x73, 0x12, 0x23, 0x0a, 0x05, 0x75, 0x73, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, - 0x32, 0x0d, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x69, 0x6e, 0x63, 0x69, 0x70, 0x61, 0x6c, 0x52, - 0x05, 0x75, 0x73, 0x65, 0x72, 0x73, 0x12, 0x25, 0x0a, 0x06, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, - 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x69, 0x6e, - 0x63, 0x69, 0x70, 0x61, 0x6c, 0x52, 0x06, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x12, 0x23, 0x0a, - 0x05, 0x72, 0x6f, 0x6c, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x76, - 0x31, 0x2e, 0x50, 0x72, 0x69, 0x6e, 0x63, 0x69, 0x70, 0x61, 0x6c, 0x52, 0x05, 0x72, 0x6f, 0x6c, - 0x65, 0x73, 0x22, 0xb3, 0x01, 0x0a, 0x15, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x52, - 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x2c, 0x0a, 0x02, - 0x69, 0x64, 0x18, 0x01, 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, 0x02, 0x69, 0x64, 0x12, 0x3a, 0x0a, 0x09, 0x6e, 0x61, - 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x02, 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, 0x09, 0x6e, 0x61, 0x6d, - 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x30, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 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, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0xbb, 0x06, 0x0a, 0x11, 0x53, 0x74, 0x72, - 0x61, 0x74, 0x65, 0x67, 0x79, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x12, 0x3e, - 0x0a, 0x0b, 0x73, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x01, 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, 0x0b, 0x73, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x5f, 0x69, 0x64, 0x12, 0x39, - 0x0a, 0x0a, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, - 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x6e, - 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x12, 0x35, 0x0a, 0x08, 0x73, 0x65, 0x72, - 0x76, 0x69, 0x63, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x76, 0x31, - 0x2e, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, - 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x08, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, - 0x12, 0x3f, 0x0a, 0x0d, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, - 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x72, - 0x61, 0x74, 0x65, 0x67, 0x79, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x45, 0x6e, 0x74, - 0x72, 0x79, 0x52, 0x0d, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, - 0x73, 0x12, 0x3b, 0x0a, 0x0b, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x73, - 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x72, 0x61, - 0x74, 0x65, 0x67, 0x79, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x45, 0x6e, 0x74, 0x72, - 0x79, 0x52, 0x0b, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x12, 0x43, - 0x0a, 0x0f, 0x72, 0x61, 0x74, 0x65, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x5f, 0x72, 0x75, 0x6c, 0x65, - 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x72, - 0x61, 0x74, 0x65, 0x67, 0x79, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x45, 0x6e, 0x74, - 0x72, 0x79, 0x52, 0x0f, 0x72, 0x61, 0x74, 0x65, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x5f, 0x72, 0x75, - 0x6c, 0x65, 0x73, 0x12, 0x4d, 0x0a, 0x14, 0x63, 0x69, 0x72, 0x63, 0x75, 0x69, 0x74, 0x62, 0x72, - 0x65, 0x61, 0x6b, 0x65, 0x72, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x19, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x52, - 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x14, 0x63, 0x69, - 0x72, 0x63, 0x75, 0x69, 0x74, 0x62, 0x72, 0x65, 0x61, 0x6b, 0x65, 0x72, 0x5f, 0x72, 0x75, 0x6c, - 0x65, 0x73, 0x12, 0x47, 0x0a, 0x11, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x64, 0x65, 0x74, 0x65, 0x63, - 0x74, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, - 0x76, 0x31, 0x2e, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x52, 0x65, 0x73, 0x6f, 0x75, - 0x72, 0x63, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x11, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x64, - 0x65, 0x74, 0x65, 0x63, 0x74, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x12, 0x39, 0x0a, 0x0a, 0x6c, - 0x61, 0x6e, 0x65, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, - 0x19, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x52, 0x65, 0x73, - 0x6f, 0x75, 0x72, 0x63, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x6c, 0x61, 0x6e, 0x65, - 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x12, 0x2f, 0x0a, 0x05, 0x75, 0x73, 0x65, 0x72, 0x73, 0x18, - 0x15, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x72, 0x61, 0x74, - 0x65, 0x67, 0x79, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, - 0x52, 0x05, 0x75, 0x73, 0x65, 0x72, 0x73, 0x12, 0x3b, 0x0a, 0x0b, 0x75, 0x73, 0x65, 0x72, 0x5f, - 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x18, 0x16, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x76, - 0x31, 0x2e, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, - 0x63, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0b, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x67, 0x72, - 0x6f, 0x75, 0x70, 0x73, 0x12, 0x2f, 0x0a, 0x05, 0x72, 0x6f, 0x6c, 0x65, 0x73, 0x18, 0x17, 0x20, - 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, - 0x79, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x05, - 0x72, 0x6f, 0x6c, 0x65, 0x73, 0x12, 0x3f, 0x0a, 0x0d, 0x61, 0x75, 0x74, 0x68, 0x5f, 0x70, 0x6f, - 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x18, 0x18, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x76, - 0x31, 0x2e, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, - 0x63, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0d, 0x61, 0x75, 0x74, 0x68, 0x5f, 0x70, 0x6f, - 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x22, 0x63, 0x0a, 0x15, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, - 0x67, 0x79, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x12, - 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, - 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x22, 0x0a, 0x0c, 0x63, 0x6f, 0x6d, 0x70, 0x61, - 0x72, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x63, - 0x6f, 0x6d, 0x70, 0x61, 0x72, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x22, 0xe7, 0x06, 0x0a, 0x0c, - 0x41, 0x75, 0x74, 0x68, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x12, 0x2c, 0x0a, 0x02, - 0x69, 0x64, 0x18, 0x01, 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, 0x02, 0x69, 0x64, 0x12, 0x30, 0x0a, 0x04, 0x6e, 0x61, - 0x6d, 0x65, 0x18, 0x02, 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, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x2e, 0x0a, 0x0a, - 0x70, 0x72, 0x69, 0x6e, 0x63, 0x69, 0x70, 0x61, 0x6c, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x0e, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x69, 0x6e, 0x63, 0x69, 0x70, 0x61, 0x6c, 0x73, - 0x52, 0x0a, 0x70, 0x72, 0x69, 0x6e, 0x63, 0x69, 0x70, 0x61, 0x6c, 0x73, 0x12, 0x33, 0x0a, 0x09, - 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x15, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x52, 0x65, 0x73, - 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x52, 0x09, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, - 0x73, 0x12, 0x26, 0x0a, 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, - 0x0e, 0x32, 0x0e, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x75, 0x74, 0x68, 0x41, 0x63, 0x74, 0x69, 0x6f, - 0x6e, 0x52, 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x36, 0x0a, 0x07, 0x63, 0x6f, 0x6d, - 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x06, 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, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, - 0x74, 0x12, 0x32, 0x0a, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x18, 0x07, 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, 0x05, - 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x12, 0x32, 0x0a, 0x05, 0x63, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x08, - 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, 0x05, 0x63, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x32, 0x0a, 0x05, 0x6d, 0x74, 0x69, - 0x6d, 0x65, 0x18, 0x09, 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, 0x05, 0x6d, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x3c, 0x0a, - 0x0a, 0x61, 0x75, 0x74, 0x68, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x0a, 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, - 0x0a, 0x61, 0x75, 0x74, 0x68, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x46, 0x0a, 0x10, 0x64, - 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x18, - 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75, - 0x65, 0x52, 0x10, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x61, 0x74, - 0x65, 0x67, 0x79, 0x12, 0x3a, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, - 0x0c, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x75, 0x74, 0x68, 0x53, - 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, - 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, - 0x34, 0x0a, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x0d, 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, - 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, - 0x6e, 0x73, 0x18, 0x0e, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, - 0x6f, 0x6e, 0x73, 0x12, 0x43, 0x0a, 0x0f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, - 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 0x0f, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x76, - 0x31, 0x2e, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, - 0x63, 0x65, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x52, 0x0f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, - 0x65, 0x5f, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x1a, 0x3b, 0x0a, 0x0d, 0x4d, 0x65, 0x74, 0x61, - 0x64, 0x61, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, - 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, - 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x96, 0x06, 0x0a, 0x12, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x79, - 0x41, 0x75, 0x74, 0x68, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x12, 0x2c, 0x0a, 0x02, - 0x69, 0x64, 0x18, 0x01, 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, 0x02, 0x69, 0x64, 0x12, 0x30, 0x0a, 0x04, 0x6e, 0x61, - 0x6d, 0x65, 0x18, 0x02, 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, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x36, 0x0a, 0x0e, - 0x61, 0x64, 0x64, 0x5f, 0x70, 0x72, 0x69, 0x6e, 0x63, 0x69, 0x70, 0x61, 0x6c, 0x73, 0x18, 0x03, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x69, 0x6e, 0x63, 0x69, - 0x70, 0x61, 0x6c, 0x73, 0x52, 0x0e, 0x61, 0x64, 0x64, 0x5f, 0x70, 0x72, 0x69, 0x6e, 0x63, 0x69, - 0x70, 0x61, 0x6c, 0x73, 0x12, 0x3c, 0x0a, 0x11, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x5f, 0x70, - 0x72, 0x69, 0x6e, 0x63, 0x69, 0x70, 0x61, 0x6c, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x0e, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x69, 0x6e, 0x63, 0x69, 0x70, 0x61, 0x6c, 0x73, 0x52, - 0x11, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x5f, 0x70, 0x72, 0x69, 0x6e, 0x63, 0x69, 0x70, 0x61, - 0x6c, 0x73, 0x12, 0x3b, 0x0a, 0x0d, 0x61, 0x64, 0x64, 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, - 0x63, 0x65, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x76, 0x31, 0x2e, 0x53, - 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, - 0x52, 0x0d, 0x61, 0x64, 0x64, 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x12, - 0x41, 0x0a, 0x10, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, - 0x63, 0x65, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x76, 0x31, 0x2e, 0x53, - 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, - 0x52, 0x10, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, - 0x65, 0x73, 0x12, 0x26, 0x0a, 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x07, 0x20, 0x01, - 0x28, 0x0e, 0x32, 0x0e, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x75, 0x74, 0x68, 0x41, 0x63, 0x74, 0x69, - 0x6f, 0x6e, 0x52, 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x36, 0x0a, 0x07, 0x63, 0x6f, - 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x08, 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, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, - 0x6e, 0x74, 0x12, 0x32, 0x0a, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x18, 0x09, 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, - 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x12, 0x40, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, - 0x74, 0x61, 0x18, 0x0c, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x6f, - 0x64, 0x69, 0x66, 0x79, 0x41, 0x75, 0x74, 0x68, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, - 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x08, - 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x34, 0x0a, 0x06, 0x73, 0x6f, 0x75, 0x72, - 0x63, 0x65, 0x18, 0x0d, 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, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x1c, - 0x0a, 0x09, 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x0e, 0x20, 0x03, 0x28, - 0x09, 0x52, 0x09, 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x43, 0x0a, 0x0f, - 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, - 0x0f, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x72, 0x61, 0x74, - 0x65, 0x67, 0x79, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4c, 0x61, 0x62, 0x65, 0x6c, - 0x52, 0x0f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x6c, 0x61, 0x62, 0x65, 0x6c, - 0x73, 0x1a, 0x3b, 0x0a, 0x0d, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x45, 0x6e, 0x74, - 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x2a, 0x40, - 0x0a, 0x0a, 0x41, 0x75, 0x74, 0x68, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x0d, 0x0a, 0x09, - 0x4f, 0x4e, 0x4c, 0x59, 0x5f, 0x52, 0x45, 0x41, 0x44, 0x10, 0x00, 0x12, 0x0e, 0x0a, 0x0a, 0x52, - 0x45, 0x41, 0x44, 0x5f, 0x57, 0x52, 0x49, 0x54, 0x45, 0x10, 0x01, 0x12, 0x09, 0x0a, 0x05, 0x41, - 0x4c, 0x4c, 0x4f, 0x57, 0x10, 0x0a, 0x12, 0x08, 0x0a, 0x04, 0x44, 0x45, 0x4e, 0x59, 0x10, 0x0b, - 0x2a, 0xd7, 0x01, 0x0a, 0x0c, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x79, 0x70, - 0x65, 0x12, 0x0e, 0x0a, 0x0a, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x10, - 0x00, 0x12, 0x0c, 0x0a, 0x08, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x10, 0x01, 0x12, - 0x10, 0x0a, 0x0c, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x10, - 0x02, 0x12, 0x0e, 0x0a, 0x0a, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x10, - 0x03, 0x12, 0x12, 0x0a, 0x0e, 0x52, 0x61, 0x74, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x52, 0x75, - 0x6c, 0x65, 0x73, 0x10, 0x04, 0x12, 0x17, 0x0a, 0x13, 0x43, 0x69, 0x72, 0x63, 0x75, 0x69, 0x74, - 0x42, 0x72, 0x65, 0x61, 0x6b, 0x65, 0x72, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x10, 0x05, 0x12, 0x14, - 0x0a, 0x10, 0x46, 0x61, 0x75, 0x6c, 0x74, 0x44, 0x65, 0x74, 0x65, 0x63, 0x74, 0x52, 0x75, 0x6c, - 0x65, 0x73, 0x10, 0x06, 0x12, 0x0d, 0x0a, 0x09, 0x4c, 0x61, 0x6e, 0x65, 0x52, 0x75, 0x6c, 0x65, - 0x73, 0x10, 0x07, 0x12, 0x09, 0x0a, 0x05, 0x55, 0x73, 0x65, 0x72, 0x73, 0x10, 0x14, 0x12, 0x0e, - 0x0a, 0x0a, 0x55, 0x73, 0x65, 0x72, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x10, 0x15, 0x12, 0x09, - 0x0a, 0x05, 0x52, 0x6f, 0x6c, 0x65, 0x73, 0x10, 0x16, 0x12, 0x0f, 0x0a, 0x0b, 0x50, 0x6f, 0x6c, - 0x69, 0x63, 0x79, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x10, 0x17, 0x42, 0x82, 0x01, 0x0a, 0x31, 0x63, - 0x6f, 0x6d, 0x2e, 0x74, 0x65, 0x6e, 0x63, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x6f, 0x6c, 0x61, 0x72, - 0x69, 0x73, 0x2e, 0x73, 0x70, 0x65, 0x63, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, - 0x42, 0x0d, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x5a, - 0x3e, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x6f, 0x6c, 0x61, - 0x72, 0x69, 0x73, 0x6d, 0x65, 0x73, 0x68, 0x2f, 0x73, 0x70, 0x65, 0x63, 0x69, 0x66, 0x69, 0x63, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2f, 0x67, 0x6f, 0x2f, - 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x62, - 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_auth_proto_rawDescOnce sync.Once - file_auth_proto_rawDescData = file_auth_proto_rawDesc -) +func (m *ModifyAuthStrategy) GetOwner() *wrapperspb.StringValue { + if m != nil { + return m.Owner + } + return nil +} -func file_auth_proto_rawDescGZIP() []byte { - file_auth_proto_rawDescOnce.Do(func() { - file_auth_proto_rawDescData = protoimpl.X.CompressGZIP(file_auth_proto_rawDescData) - }) - return file_auth_proto_rawDescData -} - -var file_auth_proto_enumTypes = make([]protoimpl.EnumInfo, 2) -var file_auth_proto_msgTypes = make([]protoimpl.MessageInfo, 23) -var file_auth_proto_goTypes = []interface{}{ - (AuthAction)(0), // 0: v1.AuthAction - (ResourceType)(0), // 1: v1.ResourceType - (*LoginRequest)(nil), // 2: v1.LoginRequest - (*LoginResponse)(nil), // 3: v1.LoginResponse - (*User)(nil), // 4: v1.User - (*ModifyUserPassword)(nil), // 5: v1.ModifyUserPassword - (*UserGroupRelation)(nil), // 6: v1.UserGroupRelation - (*UserGroup)(nil), // 7: v1.UserGroup - (*ModifyUserGroup)(nil), // 8: v1.ModifyUserGroup - (*Role)(nil), // 9: v1.Role - (*Principal)(nil), // 10: v1.Principal - (*Principals)(nil), // 11: v1.Principals - (*StrategyResourceEntry)(nil), // 12: v1.StrategyResourceEntry - (*StrategyResources)(nil), // 13: v1.StrategyResources - (*StrategyResourceLabel)(nil), // 14: v1.StrategyResourceLabel - (*AuthStrategy)(nil), // 15: v1.AuthStrategy - (*ModifyAuthStrategy)(nil), // 16: v1.ModifyAuthStrategy - nil, // 17: v1.LoginRequest.OptionsEntry - nil, // 18: v1.LoginResponse.OptionsEntry - nil, // 19: v1.User.MetadataEntry - nil, // 20: v1.UserGroup.MetadataEntry - nil, // 21: v1.ModifyUserGroup.MetadataEntry - nil, // 22: v1.Role.MetadataEntry - nil, // 23: v1.AuthStrategy.MetadataEntry - nil, // 24: v1.ModifyAuthStrategy.MetadataEntry - (*wrapperspb.StringValue)(nil), // 25: google.protobuf.StringValue - (*wrapperspb.BoolValue)(nil), // 26: google.protobuf.BoolValue - (*wrapperspb.UInt32Value)(nil), // 27: google.protobuf.UInt32Value -} -var file_auth_proto_depIdxs = []int32{ - 25, // 0: v1.LoginRequest.owner:type_name -> google.protobuf.StringValue - 25, // 1: v1.LoginRequest.name:type_name -> google.protobuf.StringValue - 25, // 2: v1.LoginRequest.password:type_name -> google.protobuf.StringValue - 17, // 3: v1.LoginRequest.options:type_name -> v1.LoginRequest.OptionsEntry - 25, // 4: v1.LoginResponse.user_id:type_name -> google.protobuf.StringValue - 25, // 5: v1.LoginResponse.name:type_name -> google.protobuf.StringValue - 25, // 6: v1.LoginResponse.role:type_name -> google.protobuf.StringValue - 25, // 7: v1.LoginResponse.owner_id:type_name -> google.protobuf.StringValue - 25, // 8: v1.LoginResponse.token:type_name -> google.protobuf.StringValue - 18, // 9: v1.LoginResponse.options:type_name -> v1.LoginResponse.OptionsEntry - 25, // 10: v1.User.id:type_name -> google.protobuf.StringValue - 25, // 11: v1.User.name:type_name -> google.protobuf.StringValue - 25, // 12: v1.User.password:type_name -> google.protobuf.StringValue - 25, // 13: v1.User.owner:type_name -> google.protobuf.StringValue - 25, // 14: v1.User.source:type_name -> google.protobuf.StringValue - 25, // 15: v1.User.auth_token:type_name -> google.protobuf.StringValue - 26, // 16: v1.User.token_enable:type_name -> google.protobuf.BoolValue - 25, // 17: v1.User.comment:type_name -> google.protobuf.StringValue - 25, // 18: v1.User.ctime:type_name -> google.protobuf.StringValue - 25, // 19: v1.User.mtime:type_name -> google.protobuf.StringValue - 25, // 20: v1.User.user_type:type_name -> google.protobuf.StringValue - 25, // 21: v1.User.mobile:type_name -> google.protobuf.StringValue - 25, // 22: v1.User.email:type_name -> google.protobuf.StringValue - 19, // 23: v1.User.metadata:type_name -> v1.User.MetadataEntry - 25, // 24: v1.ModifyUserPassword.id:type_name -> google.protobuf.StringValue - 25, // 25: v1.ModifyUserPassword.old_password:type_name -> google.protobuf.StringValue - 25, // 26: v1.ModifyUserPassword.new_password:type_name -> google.protobuf.StringValue - 25, // 27: v1.UserGroupRelation.group_id:type_name -> google.protobuf.StringValue - 4, // 28: v1.UserGroupRelation.users:type_name -> v1.User - 25, // 29: v1.UserGroup.id:type_name -> google.protobuf.StringValue - 25, // 30: v1.UserGroup.name:type_name -> google.protobuf.StringValue - 25, // 31: v1.UserGroup.owner:type_name -> google.protobuf.StringValue - 25, // 32: v1.UserGroup.auth_token:type_name -> google.protobuf.StringValue - 26, // 33: v1.UserGroup.token_enable:type_name -> google.protobuf.BoolValue - 25, // 34: v1.UserGroup.comment:type_name -> google.protobuf.StringValue - 25, // 35: v1.UserGroup.ctime:type_name -> google.protobuf.StringValue - 25, // 36: v1.UserGroup.mtime:type_name -> google.protobuf.StringValue - 6, // 37: v1.UserGroup.relation:type_name -> v1.UserGroupRelation - 27, // 38: v1.UserGroup.user_count:type_name -> google.protobuf.UInt32Value - 25, // 39: v1.UserGroup.source:type_name -> google.protobuf.StringValue - 20, // 40: v1.UserGroup.metadata:type_name -> v1.UserGroup.MetadataEntry - 25, // 41: v1.ModifyUserGroup.id:type_name -> google.protobuf.StringValue - 25, // 42: v1.ModifyUserGroup.owner:type_name -> google.protobuf.StringValue - 25, // 43: v1.ModifyUserGroup.name:type_name -> google.protobuf.StringValue - 25, // 44: v1.ModifyUserGroup.auth_token:type_name -> google.protobuf.StringValue - 26, // 45: v1.ModifyUserGroup.token_enable:type_name -> google.protobuf.BoolValue - 25, // 46: v1.ModifyUserGroup.comment:type_name -> google.protobuf.StringValue - 6, // 47: v1.ModifyUserGroup.add_relations:type_name -> v1.UserGroupRelation - 6, // 48: v1.ModifyUserGroup.remove_relations:type_name -> v1.UserGroupRelation - 21, // 49: v1.ModifyUserGroup.metadata:type_name -> v1.ModifyUserGroup.MetadataEntry - 25, // 50: v1.ModifyUserGroup.source:type_name -> google.protobuf.StringValue - 22, // 51: v1.Role.metadata:type_name -> v1.Role.MetadataEntry - 4, // 52: v1.Role.users:type_name -> v1.User - 7, // 53: v1.Role.user_groups:type_name -> v1.UserGroup - 25, // 54: v1.Principal.id:type_name -> google.protobuf.StringValue - 25, // 55: v1.Principal.name:type_name -> google.protobuf.StringValue - 10, // 56: v1.Principals.users:type_name -> v1.Principal - 10, // 57: v1.Principals.groups:type_name -> v1.Principal - 10, // 58: v1.Principals.roles:type_name -> v1.Principal - 25, // 59: v1.StrategyResourceEntry.id:type_name -> google.protobuf.StringValue - 25, // 60: v1.StrategyResourceEntry.namespace:type_name -> google.protobuf.StringValue - 25, // 61: v1.StrategyResourceEntry.name:type_name -> google.protobuf.StringValue - 25, // 62: v1.StrategyResources.strategy_id:type_name -> google.protobuf.StringValue - 12, // 63: v1.StrategyResources.namespaces:type_name -> v1.StrategyResourceEntry - 12, // 64: v1.StrategyResources.services:type_name -> v1.StrategyResourceEntry - 12, // 65: v1.StrategyResources.config_groups:type_name -> v1.StrategyResourceEntry - 12, // 66: v1.StrategyResources.route_rules:type_name -> v1.StrategyResourceEntry - 12, // 67: v1.StrategyResources.ratelimit_rules:type_name -> v1.StrategyResourceEntry - 12, // 68: v1.StrategyResources.circuitbreaker_rules:type_name -> v1.StrategyResourceEntry - 12, // 69: v1.StrategyResources.faultdetect_rules:type_name -> v1.StrategyResourceEntry - 12, // 70: v1.StrategyResources.lane_rules:type_name -> v1.StrategyResourceEntry - 12, // 71: v1.StrategyResources.users:type_name -> v1.StrategyResourceEntry - 12, // 72: v1.StrategyResources.user_groups:type_name -> v1.StrategyResourceEntry - 12, // 73: v1.StrategyResources.roles:type_name -> v1.StrategyResourceEntry - 12, // 74: v1.StrategyResources.auth_policies:type_name -> v1.StrategyResourceEntry - 25, // 75: v1.AuthStrategy.id:type_name -> google.protobuf.StringValue - 25, // 76: v1.AuthStrategy.name:type_name -> google.protobuf.StringValue - 11, // 77: v1.AuthStrategy.principals:type_name -> v1.Principals - 13, // 78: v1.AuthStrategy.resources:type_name -> v1.StrategyResources - 0, // 79: v1.AuthStrategy.action:type_name -> v1.AuthAction - 25, // 80: v1.AuthStrategy.comment:type_name -> google.protobuf.StringValue - 25, // 81: v1.AuthStrategy.owner:type_name -> google.protobuf.StringValue - 25, // 82: v1.AuthStrategy.ctime:type_name -> google.protobuf.StringValue - 25, // 83: v1.AuthStrategy.mtime:type_name -> google.protobuf.StringValue - 25, // 84: v1.AuthStrategy.auth_token:type_name -> google.protobuf.StringValue - 26, // 85: v1.AuthStrategy.default_strategy:type_name -> google.protobuf.BoolValue - 23, // 86: v1.AuthStrategy.metadata:type_name -> v1.AuthStrategy.MetadataEntry - 25, // 87: v1.AuthStrategy.source:type_name -> google.protobuf.StringValue - 14, // 88: v1.AuthStrategy.resource_labels:type_name -> v1.StrategyResourceLabel - 25, // 89: v1.ModifyAuthStrategy.id:type_name -> google.protobuf.StringValue - 25, // 90: v1.ModifyAuthStrategy.name:type_name -> google.protobuf.StringValue - 11, // 91: v1.ModifyAuthStrategy.add_principals:type_name -> v1.Principals - 11, // 92: v1.ModifyAuthStrategy.remove_principals:type_name -> v1.Principals - 13, // 93: v1.ModifyAuthStrategy.add_resources:type_name -> v1.StrategyResources - 13, // 94: v1.ModifyAuthStrategy.remove_resources:type_name -> v1.StrategyResources - 0, // 95: v1.ModifyAuthStrategy.action:type_name -> v1.AuthAction - 25, // 96: v1.ModifyAuthStrategy.comment:type_name -> google.protobuf.StringValue - 25, // 97: v1.ModifyAuthStrategy.owner:type_name -> google.protobuf.StringValue - 24, // 98: v1.ModifyAuthStrategy.metadata:type_name -> v1.ModifyAuthStrategy.MetadataEntry - 25, // 99: v1.ModifyAuthStrategy.source:type_name -> google.protobuf.StringValue - 14, // 100: v1.ModifyAuthStrategy.resource_labels:type_name -> v1.StrategyResourceLabel - 101, // [101:101] is the sub-list for method output_type - 101, // [101:101] is the sub-list for method input_type - 101, // [101:101] is the sub-list for extension type_name - 101, // [101:101] is the sub-list for extension extendee - 0, // [0:101] is the sub-list for field type_name -} - -func init() { file_auth_proto_init() } -func file_auth_proto_init() { - if File_auth_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_auth_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*LoginRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_auth_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*LoginResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_auth_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*User); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_auth_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ModifyUserPassword); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_auth_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UserGroupRelation); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_auth_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UserGroup); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_auth_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ModifyUserGroup); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_auth_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Role); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_auth_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Principal); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_auth_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Principals); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_auth_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StrategyResourceEntry); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_auth_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StrategyResources); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_auth_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StrategyResourceLabel); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_auth_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AuthStrategy); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_auth_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ModifyAuthStrategy); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_auth_proto_rawDesc, - NumEnums: 2, - NumMessages: 23, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_auth_proto_goTypes, - DependencyIndexes: file_auth_proto_depIdxs, - EnumInfos: file_auth_proto_enumTypes, - MessageInfos: file_auth_proto_msgTypes, - }.Build() - File_auth_proto = out.File - file_auth_proto_rawDesc = nil - file_auth_proto_goTypes = nil - file_auth_proto_depIdxs = nil +func (m *ModifyAuthStrategy) GetMetadata() map[string]string { + if m != nil { + return m.Metadata + } + return nil +} + +func (m *ModifyAuthStrategy) GetSource() *wrapperspb.StringValue { + if m != nil { + return m.Source + } + return nil +} + +func (m *ModifyAuthStrategy) GetFunctions() []string { + if m != nil { + return m.Functions + } + return nil +} + +func (m *ModifyAuthStrategy) GetResourceLabels() []*StrategyResourceLabel { + if m != nil { + return m.ResourceLabels + } + return nil +} + +func init() { + proto.RegisterType((*LoginRequest)(nil), "v1.LoginRequest") + proto.RegisterMapType((map[string]string)(nil), "v1.LoginRequest.OptionsEntry") + proto.RegisterType((*LoginResponse)(nil), "v1.LoginResponse") + proto.RegisterMapType((map[string]string)(nil), "v1.LoginResponse.OptionsEntry") + proto.RegisterType((*User)(nil), "v1.User") + proto.RegisterMapType((map[string]string)(nil), "v1.User.MetadataEntry") + proto.RegisterType((*ModifyUserPassword)(nil), "v1.ModifyUserPassword") + proto.RegisterType((*UserGroupRelation)(nil), "v1.UserGroupRelation") + proto.RegisterType((*UserGroup)(nil), "v1.UserGroup") + proto.RegisterMapType((map[string]string)(nil), "v1.UserGroup.MetadataEntry") + proto.RegisterType((*ModifyUserGroup)(nil), "v1.ModifyUserGroup") + proto.RegisterMapType((map[string]string)(nil), "v1.ModifyUserGroup.MetadataEntry") + proto.RegisterType((*Role)(nil), "v1.Role") + proto.RegisterMapType((map[string]string)(nil), "v1.Role.MetadataEntry") + proto.RegisterType((*Principal)(nil), "v1.Principal") + proto.RegisterType((*Principals)(nil), "v1.Principals") + proto.RegisterType((*StrategyResourceEntry)(nil), "v1.StrategyResourceEntry") + proto.RegisterType((*StrategyResources)(nil), "v1.StrategyResources") + proto.RegisterType((*StrategyResourceLabel)(nil), "v1.StrategyResourceLabel") + proto.RegisterType((*AuthStrategy)(nil), "v1.AuthStrategy") + proto.RegisterMapType((map[string]string)(nil), "v1.AuthStrategy.MetadataEntry") + proto.RegisterType((*ModifyAuthStrategy)(nil), "v1.ModifyAuthStrategy") + proto.RegisterMapType((map[string]string)(nil), "v1.ModifyAuthStrategy.MetadataEntry") + proto.RegisterEnum("v1.AuthAction", AuthAction_name, AuthAction_value) + proto.RegisterEnum("v1.ResourceType", ResourceType_name, ResourceType_value) +} + +func init() { proto.RegisterFile("auth.proto", fileDescriptor_auth_be101a499a5ea7f1) } + +var fileDescriptor_auth_be101a499a5ea7f1 = []byte{ + // 1639 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe4, 0x58, 0xcb, 0x6e, 0xdb, 0x46, + 0x14, 0x8d, 0xde, 0xe2, 0xd5, 0xc3, 0xf4, 0x54, 0x76, 0x58, 0x37, 0x35, 0x52, 0xf5, 0x81, 0x20, + 0x28, 0xa4, 0xd8, 0x69, 0x93, 0xd4, 0x4e, 0xd3, 0xd8, 0x89, 0x13, 0x04, 0x70, 0x12, 0x83, 0x4e, + 0x1a, 0xa4, 0x1b, 0x81, 0xa6, 0xc6, 0x32, 0x61, 0x92, 0xc3, 0x72, 0x48, 0x1b, 0x5a, 0x74, 0x53, + 0x74, 0x5b, 0x74, 0xd7, 0x1f, 0xe8, 0x27, 0x74, 0xd9, 0x45, 0x77, 0xfd, 0x85, 0x02, 0xfd, 0x81, + 0xfe, 0x46, 0x31, 0x43, 0x0e, 0x45, 0x5a, 0xb6, 0x35, 0x92, 0xe1, 0x02, 0x45, 0x77, 0xd4, 0xcc, + 0xb9, 0xf3, 0xb8, 0x8f, 0x33, 0xe7, 0x0a, 0xc0, 0x08, 0x83, 0x83, 0x8e, 0xe7, 0x93, 0x80, 0xa0, + 0xfc, 0xd1, 0xca, 0xd2, 0xf2, 0x80, 0x90, 0x81, 0x8d, 0xbb, 0x7c, 0x64, 0x2f, 0xdc, 0xef, 0x1e, + 0xfb, 0x86, 0xe7, 0x61, 0x9f, 0x46, 0x98, 0xf6, 0x2f, 0x79, 0xa8, 0x6f, 0x93, 0x81, 0xe5, 0xea, + 0xf8, 0xdb, 0x10, 0xd3, 0x00, 0xad, 0x42, 0x89, 0x1c, 0xbb, 0xd8, 0xd7, 0x72, 0xd7, 0x73, 0x37, + 0x6a, 0xab, 0xd7, 0x3a, 0xd1, 0x02, 0x1d, 0xb1, 0x40, 0x67, 0x37, 0xf0, 0x2d, 0x77, 0xf0, 0xb5, + 0x61, 0x87, 0x58, 0x8f, 0xa0, 0xe8, 0x16, 0x14, 0x5d, 0xc3, 0xc1, 0x5a, 0x5e, 0xc2, 0x84, 0x23, + 0xd1, 0x3d, 0xa8, 0x7a, 0x06, 0xa5, 0xc7, 0xc4, 0xef, 0x6b, 0x05, 0x09, 0xab, 0x04, 0x8d, 0xee, + 0x42, 0x85, 0x78, 0x81, 0x45, 0x5c, 0xaa, 0x15, 0xaf, 0x17, 0x6e, 0xd4, 0x56, 0xdf, 0xef, 0x1c, + 0xad, 0x74, 0xd2, 0x57, 0xe8, 0xbc, 0x8c, 0xe6, 0xb7, 0xdc, 0xc0, 0x1f, 0xea, 0x02, 0xbd, 0xb4, + 0x06, 0xf5, 0xf4, 0x04, 0x52, 0xa1, 0x70, 0x88, 0x87, 0xfc, 0x9a, 0x8a, 0xce, 0x3e, 0x51, 0x0b, + 0x4a, 0x47, 0x6c, 0x37, 0x7e, 0x0f, 0x45, 0x8f, 0x7e, 0xac, 0xe5, 0xef, 0xe5, 0xda, 0x3f, 0x15, + 0xa0, 0x11, 0x6f, 0x41, 0x3d, 0xe2, 0x52, 0x8c, 0xee, 0x40, 0x25, 0xa4, 0xd8, 0xef, 0x59, 0x7d, + 0x29, 0x47, 0x09, 0xf0, 0x0c, 0xae, 0xba, 0x05, 0x45, 0x9f, 0xd8, 0x58, 0xca, 0x4d, 0x1c, 0xc9, + 0x9c, 0xcb, 0xe3, 0xc2, 0x0e, 0x57, 0x94, 0x71, 0xae, 0x40, 0xb3, 0xe0, 0x07, 0xe4, 0x10, 0xbb, + 0x5a, 0x49, 0x26, 0xf8, 0x1c, 0x8a, 0xee, 0x8d, 0x02, 0x52, 0xe6, 0x01, 0x59, 0x4e, 0x05, 0x24, + 0xf2, 0xd6, 0x25, 0x44, 0xe4, 0xf7, 0x32, 0x14, 0x5f, 0x53, 0xec, 0xa3, 0x4f, 0x21, 0x2f, 0x19, + 0x83, 0xfc, 0x4c, 0xee, 0x9f, 0x3d, 0x53, 0x93, 0x4a, 0x2a, 0xca, 0x57, 0xd2, 0x67, 0x50, 0xa6, + 0x24, 0xf4, 0x4d, 0x2c, 0x15, 0x81, 0x18, 0x8b, 0xee, 0x47, 0x65, 0xdf, 0x8b, 0x62, 0x57, 0x96, + 0xb0, 0x4c, 0xe1, 0xd1, 0x03, 0xa8, 0xf3, 0x8f, 0x1e, 0x76, 0x8d, 0x3d, 0x1b, 0x6b, 0x15, 0x6e, + 0xbf, 0x34, 0x66, 0xbf, 0x49, 0x88, 0x1d, 0x59, 0x67, 0xf0, 0xac, 0x14, 0x4c, 0xe2, 0x38, 0xd8, + 0x0d, 0xb4, 0xaa, 0x4c, 0x29, 0xc4, 0x60, 0xe6, 0x1f, 0x33, 0xb0, 0x1c, 0xac, 0x29, 0x32, 0xfe, + 0xe1, 0x50, 0x66, 0xe3, 0x70, 0x1b, 0x90, 0xb1, 0xe1, 0x50, 0xb4, 0x06, 0x0a, 0xaf, 0xbe, 0x60, + 0xe8, 0x61, 0xad, 0x26, 0x61, 0x37, 0x82, 0xb3, 0x78, 0x38, 0x64, 0xcf, 0xb2, 0xb1, 0x56, 0x97, + 0x89, 0x47, 0x84, 0x65, 0xa7, 0xc4, 0x8e, 0x61, 0xd9, 0x5a, 0x43, 0xe6, 0x94, 0x1c, 0x8a, 0x56, + 0xa1, 0xea, 0xe0, 0xc0, 0xe8, 0x1b, 0x81, 0xa1, 0x35, 0x79, 0x1d, 0x2d, 0xb2, 0x3a, 0x62, 0x39, + 0xde, 0x79, 0x1e, 0x4f, 0x44, 0xf5, 0x93, 0xe0, 0x96, 0xd6, 0xa1, 0x91, 0x99, 0x9a, 0xaa, 0x82, + 0xfe, 0xc8, 0x01, 0x7a, 0x4e, 0xfa, 0xd6, 0xfe, 0x90, 0xed, 0xb1, 0x23, 0xb2, 0x76, 0xba, 0x7a, + 0x7a, 0x08, 0x75, 0x62, 0xf7, 0x7b, 0x49, 0x85, 0xc8, 0xd4, 0x55, 0xc6, 0x82, 0xad, 0xe0, 0xe2, + 0xe3, 0xde, 0x54, 0x35, 0x96, 0xb1, 0x68, 0x3b, 0x30, 0xcf, 0x6e, 0xf0, 0xd4, 0x27, 0xa1, 0xa7, + 0x63, 0xdb, 0x60, 0x8c, 0xc2, 0xca, 0x76, 0xc0, 0x06, 0x64, 0x09, 0x3a, 0x41, 0xa3, 0x65, 0x28, + 0xb1, 0xf8, 0x53, 0x2d, 0xcf, 0xa3, 0x50, 0x15, 0x51, 0xd0, 0xa3, 0xe1, 0xf6, 0x5f, 0x25, 0x50, + 0x92, 0xfd, 0x2e, 0x9d, 0x7e, 0x12, 0x12, 0x29, 0xc8, 0x93, 0x48, 0x96, 0x0e, 0x8a, 0x17, 0xa4, + 0x83, 0xd2, 0xec, 0x74, 0x50, 0x9e, 0x89, 0x0e, 0x2a, 0x33, 0xd0, 0x41, 0x55, 0x9e, 0x0e, 0x56, + 0xa0, 0xea, 0xc7, 0x59, 0x12, 0x33, 0xcf, 0x82, 0x08, 0x71, 0x26, 0x85, 0xf4, 0x04, 0xc6, 0x1c, + 0xca, 0x29, 0xc1, 0x24, 0xa1, 0x1b, 0x9c, 0x49, 0x3d, 0xaf, 0x9f, 0xb9, 0xc1, 0xed, 0xd5, 0xd8, + 0xa1, 0x23, 0x7c, 0x8a, 0xd3, 0x6b, 0x53, 0x70, 0xfa, 0xdd, 0x14, 0x1f, 0xd4, 0x79, 0x26, 0xbe, + 0x97, 0x39, 0xe6, 0xe5, 0x90, 0xc2, 0x8f, 0x25, 0x98, 0x1b, 0x91, 0xc2, 0x2c, 0x29, 0x9e, 0x24, + 0x6c, 0x7e, 0x7a, 0xfd, 0x58, 0x90, 0x2e, 0x8b, 0xff, 0x66, 0x8a, 0xaf, 0x43, 0xc3, 0xe8, 0xf7, + 0x7b, 0x22, 0xaf, 0x68, 0x9c, 0xea, 0x67, 0xe4, 0x5f, 0x16, 0x8b, 0x36, 0x40, 0xf5, 0xb1, 0x43, + 0x8e, 0x70, 0xca, 0xbe, 0x7a, 0x9e, 0xfd, 0x18, 0x1c, 0x7d, 0x99, 0xca, 0x29, 0x85, 0xe7, 0xd4, + 0x07, 0xcc, 0xf4, 0x44, 0xc0, 0xcf, 0xca, 0xac, 0x54, 0x22, 0x83, 0x7c, 0x22, 0x5f, 0x2c, 0x1f, + 0x7f, 0x28, 0x40, 0x51, 0x67, 0x9a, 0xb6, 0x99, 0x24, 0xa1, 0xc2, 0xd3, 0x0c, 0xa5, 0x98, 0x54, + 0x89, 0x93, 0xa2, 0x95, 0x16, 0x5c, 0x8a, 0x48, 0xae, 0xc5, 0x8c, 0xa4, 0x52, 0x92, 0x02, 0x6b, + 0x43, 0xbd, 0x8f, 0xf7, 0x8d, 0xd0, 0x0e, 0x7a, 0x5c, 0x5f, 0xb3, 0x48, 0x56, 0xf5, 0xcc, 0x58, + 0xe6, 0x51, 0xae, 0x8c, 0x1e, 0x65, 0x76, 0xa2, 0x33, 0xbd, 0xa4, 0x65, 0xe5, 0x90, 0x32, 0x0a, + 0x7f, 0x2b, 0x2d, 0x78, 0x14, 0xc1, 0x61, 0xad, 0xb4, 0xa4, 0x51, 0x04, 0x4b, 0x25, 0xaf, 0x50, + 0xeb, 0xd4, 0x57, 0x08, 0x75, 0xa1, 0xc6, 0x29, 0x86, 0x3f, 0x5b, 0x54, 0x5b, 0xe0, 0xa8, 0x46, + 0x36, 0x11, 0xd2, 0x88, 0x8b, 0x85, 0xe1, 0x10, 0x94, 0x1d, 0xdf, 0x72, 0x4d, 0xcb, 0x33, 0xec, + 0xcb, 0x7e, 0xf2, 0xda, 0xdf, 0x01, 0x24, 0x9b, 0x51, 0xf4, 0xa1, 0x70, 0x44, 0x6e, 0x74, 0xc5, + 0x64, 0x5a, 0x78, 0xe3, 0x63, 0x28, 0xc7, 0x8e, 0xc8, 0x9f, 0x86, 0x8a, 0x27, 0xd9, 0x5a, 0x2c, + 0xac, 0x54, 0x2b, 0x9c, 0xba, 0x16, 0x9f, 0x6b, 0xff, 0x9a, 0x83, 0x85, 0xdd, 0xc0, 0x37, 0x02, + 0x3c, 0x18, 0xea, 0x38, 0x4a, 0x96, 0xc8, 0x63, 0xd3, 0x5d, 0x7c, 0x0d, 0x14, 0x76, 0x1d, 0xea, + 0x19, 0xa6, 0xdc, 0xed, 0x47, 0xf0, 0xe9, 0x09, 0xb1, 0xfd, 0x5b, 0x19, 0xe6, 0x4f, 0x9e, 0x9a, + 0xa2, 0x07, 0x50, 0xa3, 0xf1, 0xa0, 0xac, 0x10, 0x4a, 0x1b, 0xa0, 0x2f, 0x00, 0x92, 0x43, 0x09, + 0xdf, 0xbe, 0xcb, 0xbc, 0x76, 0xaa, 0x83, 0xf4, 0x14, 0x18, 0x7d, 0x0e, 0x55, 0x8a, 0xfd, 0x23, + 0xcb, 0x4c, 0xdc, 0x7d, 0x8e, 0x61, 0x02, 0x45, 0x5f, 0x41, 0xc3, 0x24, 0xee, 0xbe, 0x35, 0x10, + 0x99, 0x5d, 0x9c, 0x64, 0x9b, 0xc5, 0xa3, 0x75, 0xa8, 0xf9, 0x24, 0x0c, 0x70, 0xcf, 0x0f, 0x59, + 0xa4, 0x4b, 0x93, 0xcc, 0xd3, 0x68, 0xf4, 0x08, 0xe6, 0x18, 0xc6, 0xb6, 0x1c, 0x2b, 0x88, 0x17, + 0x28, 0x4f, 0x5a, 0xe0, 0xa4, 0x05, 0x7a, 0x0e, 0x2d, 0xd3, 0xf2, 0xcd, 0xd0, 0x0a, 0xf6, 0x7c, + 0x6c, 0x1c, 0x62, 0x3f, 0x5e, 0xa9, 0x32, 0x69, 0xa5, 0x53, 0xcd, 0xd0, 0x53, 0x98, 0xe7, 0x8c, + 0xd4, 0xc7, 0x01, 0x36, 0xc5, 0xa9, 0xaa, 0x93, 0xd6, 0x1a, 0xb7, 0x61, 0xc1, 0xb4, 0x0d, 0x57, + 0x38, 0x46, 0x99, 0x18, 0xcc, 0x11, 0x18, 0x75, 0x45, 0x11, 0x2e, 0x4c, 0xb2, 0x8a, 0x0b, 0x72, + 0x3d, 0x4b, 0x4f, 0x8b, 0x13, 0xa3, 0x90, 0x42, 0xb3, 0xdd, 0xa2, 0x32, 0xbd, 0x3a, 0x71, 0x37, + 0x8e, 0x63, 0x49, 0xc3, 0x5f, 0x77, 0x8f, 0xd8, 0x96, 0x69, 0x61, 0xaa, 0x69, 0x13, 0x93, 0x26, + 0x83, 0x6f, 0x9b, 0xe3, 0x25, 0xbf, 0x6d, 0xec, 0x61, 0x5b, 0x96, 0x24, 0xd9, 0x63, 0x62, 0x12, + 0xc7, 0x33, 0x7c, 0x1c, 0xb5, 0x99, 0x05, 0x3e, 0x99, 0x19, 0x6b, 0xff, 0x5d, 0x86, 0xfa, 0x46, + 0x18, 0x1c, 0x88, 0x9d, 0x2e, 0xbd, 0x77, 0xe8, 0x00, 0x78, 0x09, 0x91, 0xc6, 0x5c, 0xd2, 0xcc, + 0x70, 0x1e, 0xd5, 0x53, 0x08, 0x74, 0x1b, 0x14, 0x5f, 0x50, 0x47, 0xac, 0xa9, 0x16, 0x4e, 0x73, + 0x21, 0xd5, 0x47, 0x38, 0xf4, 0x09, 0x94, 0x0d, 0x93, 0x8b, 0x69, 0xf6, 0xbc, 0x36, 0xa3, 0x0d, + 0xd8, 0x35, 0x37, 0xf8, 0xa8, 0x1e, 0xcf, 0x5e, 0xa4, 0x2d, 0x88, 0x1e, 0xf5, 0x8a, 0xbc, 0x9e, + 0x4c, 0x5a, 0x89, 0xea, 0x0c, 0xad, 0x84, 0x22, 0xdf, 0x4a, 0x64, 0x55, 0x28, 0x4c, 0xa9, 0x42, + 0x9f, 0x80, 0x2a, 0xc4, 0x86, 0xe0, 0xdc, 0xb8, 0x43, 0x38, 0x4f, 0x89, 0x8e, 0xd9, 0xa0, 0xb5, + 0xb1, 0x4e, 0x61, 0x59, 0xc4, 0x40, 0x44, 0x4e, 0x42, 0xd2, 0x35, 0xa6, 0xe8, 0x4d, 0xae, 0x81, + 0xb2, 0x1f, 0xba, 0x66, 0xa4, 0x41, 0x9b, 0xd7, 0x0b, 0x37, 0x14, 0x7d, 0x34, 0xc0, 0x49, 0x34, + 0x4e, 0x8f, 0x9e, 0xcd, 0xaa, 0x88, 0x6a, 0x73, 0x67, 0xd7, 0x23, 0xaf, 0x33, 0xfd, 0xa4, 0xc5, + 0xc5, 0xe4, 0xca, 0xcf, 0x65, 0xf1, 0xd7, 0xc6, 0xbf, 0x5a, 0x6f, 0x77, 0xa0, 0xc9, 0x24, 0xfb, + 0xc4, 0x9a, 0x3b, 0x81, 0x42, 0xf7, 0x61, 0x3e, 0x96, 0xea, 0x29, 0xd3, 0xe2, 0xa9, 0xa6, 0xe3, + 0xc0, 0x51, 0x53, 0x21, 0x2a, 0xb7, 0x74, 0x5e, 0xe5, 0x66, 0xb1, 0x99, 0xa6, 0x42, 0xd8, 0x97, + 0xcf, 0xb3, 0x1f, 0x83, 0xa7, 0x08, 0xa0, 0x22, 0x4b, 0x00, 0xd5, 0x99, 0x08, 0x40, 0x91, 0x27, + 0x80, 0x87, 0x63, 0x25, 0xf1, 0xd1, 0xa8, 0xd1, 0xf9, 0xff, 0x16, 0xc6, 0xcd, 0x87, 0x00, 0xa3, + 0xc8, 0xa0, 0x06, 0x28, 0x2f, 0x5f, 0x6c, 0xbf, 0xed, 0xe9, 0x5b, 0x1b, 0x8f, 0xd5, 0x2b, 0xa8, + 0x09, 0xc0, 0xbe, 0x7a, 0x6f, 0xf4, 0x67, 0xaf, 0xb6, 0xd4, 0x1c, 0x52, 0xa0, 0xb4, 0xb1, 0xbd, + 0xfd, 0xf2, 0x8d, 0x0a, 0xa8, 0x0a, 0xc5, 0xc7, 0x5b, 0x2f, 0xde, 0xaa, 0xb5, 0x9b, 0x7f, 0xe6, + 0xa0, 0x2e, 0x4e, 0xf8, 0x6a, 0xe8, 0xb1, 0xc6, 0x0c, 0x5e, 0x24, 0xaa, 0x4f, 0xbd, 0x82, 0xea, + 0x50, 0xdd, 0x8d, 0xc5, 0x9c, 0x9a, 0x43, 0x2a, 0xd4, 0x1f, 0x71, 0x79, 0xc6, 0x3b, 0x12, 0xaa, + 0xe6, 0xf9, 0x2e, 0x4c, 0x71, 0xe9, 0x4c, 0x58, 0xa8, 0x05, 0x84, 0xa0, 0xa9, 0x1b, 0x01, 0xde, + 0x66, 0x02, 0x2a, 0x1a, 0x2b, 0xa2, 0xab, 0xf0, 0xce, 0xa3, 0x48, 0x0a, 0x6d, 0x46, 0x52, 0x28, + 0x9a, 0x28, 0xa1, 0x16, 0xa8, 0x4f, 0x18, 0xf9, 0x3d, 0xe6, 0xba, 0x26, 0x1a, 0x2d, 0xb3, 0x7b, + 0x6c, 0x1b, 0x6e, 0xbc, 0x62, 0x85, 0x9d, 0x9b, 0xf5, 0x40, 0x54, 0x6d, 0xb1, 0xcd, 0x92, 0x76, + 0x88, 0xaa, 0x0b, 0x6c, 0x8a, 0xf5, 0x6e, 0x54, 0x5d, 0x44, 0x73, 0x50, 0xdb, 0x61, 0xcf, 0xff, + 0x30, 0x32, 0xbb, 0xba, 0xf9, 0x7d, 0x0e, 0x56, 0x4c, 0xe2, 0x74, 0x02, 0xec, 0x9a, 0xd8, 0x0d, + 0x3a, 0x1e, 0xb1, 0x0d, 0xdf, 0xa2, 0x1d, 0xea, 0x61, 0xd3, 0xda, 0xb7, 0x4c, 0xde, 0x43, 0x77, + 0x0c, 0xcf, 0x62, 0xc1, 0xa2, 0xd8, 0x0c, 0x7d, 0x2b, 0x18, 0x6e, 0x36, 0x76, 0xe3, 0xaf, 0x1d, + 0x96, 0x17, 0xdf, 0x3c, 0x18, 0x58, 0xc1, 0x41, 0xb8, 0xd7, 0x31, 0x89, 0xd3, 0x8d, 0x17, 0x70, + 0x30, 0x3d, 0xe8, 0x66, 0x16, 0xe9, 0x46, 0xee, 0xeb, 0x0e, 0x48, 0xd7, 0xf0, 0xac, 0xee, 0xd1, + 0x4a, 0x57, 0x2c, 0xb7, 0x57, 0xe6, 0xe9, 0x75, 0xfb, 0x9f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x5b, + 0x9d, 0xbb, 0x0c, 0xc7, 0x1b, 0x00, 0x00, } diff --git a/source/go/api/v1/service_manage/client.pb.go b/source/go/api/v1/service_manage/client.pb.go index 9e9afa1..10e4017 100644 --- a/source/go/api/v1/service_manage/client.pb.go +++ b/source/go/api/v1/service_manage/client.pb.go @@ -1,26 +1,24 @@ // Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.33.0 -// protoc v5.27.3 // source: client.proto -package service_manage +package service_manage // import "github.com/polarismesh/specification/source/go/api/v1/service_manage" -import ( - model "github.com/polarismesh/specification/source/go/api/v1/model" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" - reflect "reflect" - sync "sync" -) +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import model "github.com/polarismesh/specification/source/go/api/v1/model" +import wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package type Client_ClientType int32 @@ -30,371 +28,216 @@ const ( Client_AGENT Client_ClientType = 2 ) -// Enum value maps for Client_ClientType. -var ( - Client_ClientType_name = map[int32]string{ - 0: "UNKNOWN", - 1: "SDK", - 2: "AGENT", - } - Client_ClientType_value = map[string]int32{ - "UNKNOWN": 0, - "SDK": 1, - "AGENT": 2, - } -) - -func (x Client_ClientType) Enum() *Client_ClientType { - p := new(Client_ClientType) - *p = x - return p -} - -func (x Client_ClientType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (Client_ClientType) Descriptor() protoreflect.EnumDescriptor { - return file_client_proto_enumTypes[0].Descriptor() +var Client_ClientType_name = map[int32]string{ + 0: "UNKNOWN", + 1: "SDK", + 2: "AGENT", } - -func (Client_ClientType) Type() protoreflect.EnumType { - return &file_client_proto_enumTypes[0] +var Client_ClientType_value = map[string]int32{ + "UNKNOWN": 0, + "SDK": 1, + "AGENT": 2, } -func (x Client_ClientType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) +func (x Client_ClientType) String() string { + return proto.EnumName(Client_ClientType_name, int32(x)) } - -// Deprecated: Use Client_ClientType.Descriptor instead. func (Client_ClientType) EnumDescriptor() ([]byte, []int) { - return file_client_proto_rawDescGZIP(), []int{0, 0} + return fileDescriptor_client_8c42d25563430f24, []int{0, 0} } type Client struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Host *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"` - Type Client_ClientType `protobuf:"varint,2,opt,name=type,proto3,enum=v1.Client_ClientType" json:"type,omitempty"` - Version *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"` - Location *model.Location `protobuf:"bytes,4,opt,name=location,proto3" json:"location,omitempty"` - Id *wrapperspb.StringValue `protobuf:"bytes,5,opt,name=id,proto3" json:"id,omitempty"` - Stat []*StatInfo `protobuf:"bytes,6,rep,name=stat,proto3" json:"stat,omitempty"` - Ctime *wrapperspb.StringValue `protobuf:"bytes,7,opt,name=ctime,proto3" json:"ctime,omitempty"` - Mtime *wrapperspb.StringValue `protobuf:"bytes,8,opt,name=mtime,proto3" json:"mtime,omitempty"` + Host *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"` + Type Client_ClientType `protobuf:"varint,2,opt,name=type,proto3,enum=v1.Client_ClientType" json:"type,omitempty"` + Version *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"` + Location *model.Location `protobuf:"bytes,4,opt,name=location,proto3" json:"location,omitempty"` + Id *wrapperspb.StringValue `protobuf:"bytes,5,opt,name=id,proto3" json:"id,omitempty"` + Stat []*StatInfo `protobuf:"bytes,6,rep,name=stat,proto3" json:"stat,omitempty"` + Ctime *wrapperspb.StringValue `protobuf:"bytes,7,opt,name=ctime,proto3" json:"ctime,omitempty"` + Mtime *wrapperspb.StringValue `protobuf:"bytes,8,opt,name=mtime,proto3" json:"mtime,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Client) Reset() { *m = Client{} } +func (m *Client) String() string { return proto.CompactTextString(m) } +func (*Client) ProtoMessage() {} +func (*Client) Descriptor() ([]byte, []int) { + return fileDescriptor_client_8c42d25563430f24, []int{0} } - -func (x *Client) Reset() { - *x = Client{} - if protoimpl.UnsafeEnabled { - mi := &file_client_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *Client) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Client.Unmarshal(m, b) } - -func (x *Client) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *Client) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Client.Marshal(b, m, deterministic) } - -func (*Client) ProtoMessage() {} - -func (x *Client) ProtoReflect() protoreflect.Message { - mi := &file_client_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (dst *Client) XXX_Merge(src proto.Message) { + xxx_messageInfo_Client.Merge(dst, src) } - -// Deprecated: Use Client.ProtoReflect.Descriptor instead. -func (*Client) Descriptor() ([]byte, []int) { - return file_client_proto_rawDescGZIP(), []int{0} +func (m *Client) XXX_Size() int { + return xxx_messageInfo_Client.Size(m) } +func (m *Client) XXX_DiscardUnknown() { + xxx_messageInfo_Client.DiscardUnknown(m) +} + +var xxx_messageInfo_Client proto.InternalMessageInfo -func (x *Client) GetHost() *wrapperspb.StringValue { - if x != nil { - return x.Host +func (m *Client) GetHost() *wrapperspb.StringValue { + if m != nil { + return m.Host } return nil } -func (x *Client) GetType() Client_ClientType { - if x != nil { - return x.Type +func (m *Client) GetType() Client_ClientType { + if m != nil { + return m.Type } return Client_UNKNOWN } -func (x *Client) GetVersion() *wrapperspb.StringValue { - if x != nil { - return x.Version +func (m *Client) GetVersion() *wrapperspb.StringValue { + if m != nil { + return m.Version } return nil } -func (x *Client) GetLocation() *model.Location { - if x != nil { - return x.Location +func (m *Client) GetLocation() *model.Location { + if m != nil { + return m.Location } return nil } -func (x *Client) GetId() *wrapperspb.StringValue { - if x != nil { - return x.Id +func (m *Client) GetId() *wrapperspb.StringValue { + if m != nil { + return m.Id } return nil } -func (x *Client) GetStat() []*StatInfo { - if x != nil { - return x.Stat +func (m *Client) GetStat() []*StatInfo { + if m != nil { + return m.Stat } return nil } -func (x *Client) GetCtime() *wrapperspb.StringValue { - if x != nil { - return x.Ctime +func (m *Client) GetCtime() *wrapperspb.StringValue { + if m != nil { + return m.Ctime } return nil } -func (x *Client) GetMtime() *wrapperspb.StringValue { - if x != nil { - return x.Mtime +func (m *Client) GetMtime() *wrapperspb.StringValue { + if m != nil { + return m.Mtime } return nil } type StatInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Target *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=target,proto3" json:"target,omitempty"` - Port *wrapperspb.UInt32Value `protobuf:"bytes,2,opt,name=port,proto3" json:"port,omitempty"` - Path *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"` - Protocol *wrapperspb.StringValue `protobuf:"bytes,4,opt,name=protocol,proto3" json:"protocol,omitempty"` + Target *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=target,proto3" json:"target,omitempty"` + Port *wrapperspb.UInt32Value `protobuf:"bytes,2,opt,name=port,proto3" json:"port,omitempty"` + Path *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"` + Protocol *wrapperspb.StringValue `protobuf:"bytes,4,opt,name=protocol,proto3" json:"protocol,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *StatInfo) Reset() { *m = StatInfo{} } +func (m *StatInfo) String() string { return proto.CompactTextString(m) } +func (*StatInfo) ProtoMessage() {} +func (*StatInfo) Descriptor() ([]byte, []int) { + return fileDescriptor_client_8c42d25563430f24, []int{1} } - -func (x *StatInfo) Reset() { - *x = StatInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_client_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *StatInfo) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_StatInfo.Unmarshal(m, b) } - -func (x *StatInfo) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *StatInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_StatInfo.Marshal(b, m, deterministic) } - -func (*StatInfo) ProtoMessage() {} - -func (x *StatInfo) ProtoReflect() protoreflect.Message { - mi := &file_client_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (dst *StatInfo) XXX_Merge(src proto.Message) { + xxx_messageInfo_StatInfo.Merge(dst, src) } - -// Deprecated: Use StatInfo.ProtoReflect.Descriptor instead. -func (*StatInfo) Descriptor() ([]byte, []int) { - return file_client_proto_rawDescGZIP(), []int{1} +func (m *StatInfo) XXX_Size() int { + return xxx_messageInfo_StatInfo.Size(m) +} +func (m *StatInfo) XXX_DiscardUnknown() { + xxx_messageInfo_StatInfo.DiscardUnknown(m) } -func (x *StatInfo) GetTarget() *wrapperspb.StringValue { - if x != nil { - return x.Target +var xxx_messageInfo_StatInfo proto.InternalMessageInfo + +func (m *StatInfo) GetTarget() *wrapperspb.StringValue { + if m != nil { + return m.Target } return nil } -func (x *StatInfo) GetPort() *wrapperspb.UInt32Value { - if x != nil { - return x.Port +func (m *StatInfo) GetPort() *wrapperspb.UInt32Value { + if m != nil { + return m.Port } return nil } -func (x *StatInfo) GetPath() *wrapperspb.StringValue { - if x != nil { - return x.Path +func (m *StatInfo) GetPath() *wrapperspb.StringValue { + if m != nil { + return m.Path } return nil } -func (x *StatInfo) GetProtocol() *wrapperspb.StringValue { - if x != nil { - return x.Protocol +func (m *StatInfo) GetProtocol() *wrapperspb.StringValue { + if m != nil { + return m.Protocol } return nil } -var File_client_proto protoreflect.FileDescriptor - -var file_client_proto_rawDesc = []byte{ - 0x0a, 0x0c, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, - 0x76, 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, 0x1a, 0x0b, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, - 0xae, 0x03, 0x0a, 0x06, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x12, 0x30, 0x0a, 0x04, 0x68, 0x6f, - 0x73, 0x74, 0x18, 0x01, 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, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x12, 0x29, 0x0a, 0x04, - 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x76, 0x31, 0x2e, - 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, - 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x36, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, - 0x6f, 0x6e, 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, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, - 0x28, 0x0a, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x0c, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, - 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2c, 0x0a, 0x02, 0x69, 0x64, 0x18, - 0x05, 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, 0x02, 0x69, 0x64, 0x12, 0x20, 0x0a, 0x04, 0x73, 0x74, 0x61, 0x74, 0x18, - 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x49, - 0x6e, 0x66, 0x6f, 0x52, 0x04, 0x73, 0x74, 0x61, 0x74, 0x12, 0x32, 0x0a, 0x05, 0x63, 0x74, 0x69, - 0x6d, 0x65, 0x18, 0x07, 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, 0x05, 0x63, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x32, 0x0a, - 0x05, 0x6d, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x08, 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, 0x05, 0x6d, 0x74, 0x69, 0x6d, - 0x65, 0x22, 0x2d, 0x0a, 0x0a, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, - 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03, - 0x53, 0x44, 0x4b, 0x10, 0x01, 0x12, 0x09, 0x0a, 0x05, 0x41, 0x47, 0x45, 0x4e, 0x54, 0x10, 0x02, - 0x22, 0xde, 0x01, 0x0a, 0x08, 0x53, 0x74, 0x61, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x34, 0x0a, - 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x01, 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, 0x74, 0x61, 0x72, - 0x67, 0x65, 0x74, 0x12, 0x30, 0x0a, 0x04, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x62, 0x75, 0x66, 0x2e, 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, - 0x04, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x30, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 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, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x38, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x63, 0x6f, 0x6c, 0x18, 0x04, 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, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, - 0x6c, 0x42, 0x8c, 0x01, 0x0a, 0x37, 0x63, 0x6f, 0x6d, 0x2e, 0x74, 0x65, 0x6e, 0x63, 0x65, 0x6e, - 0x74, 0x2e, 0x70, 0x6f, 0x6c, 0x61, 0x72, 0x69, 0x73, 0x2e, 0x73, 0x70, 0x65, 0x63, 0x69, 0x66, - 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x73, - 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x42, 0x0b, 0x43, - 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x5a, 0x44, 0x67, 0x69, 0x74, 0x68, - 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x6f, 0x6c, 0x61, 0x72, 0x69, 0x73, 0x6d, 0x65, - 0x73, 0x68, 0x2f, 0x73, 0x70, 0x65, 0x63, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x2f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2f, 0x67, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, - 0x31, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, - 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_client_proto_rawDescOnce sync.Once - file_client_proto_rawDescData = file_client_proto_rawDesc -) - -func file_client_proto_rawDescGZIP() []byte { - file_client_proto_rawDescOnce.Do(func() { - file_client_proto_rawDescData = protoimpl.X.CompressGZIP(file_client_proto_rawDescData) - }) - return file_client_proto_rawDescData -} - -var file_client_proto_enumTypes = make([]protoimpl.EnumInfo, 1) -var file_client_proto_msgTypes = make([]protoimpl.MessageInfo, 2) -var file_client_proto_goTypes = []interface{}{ - (Client_ClientType)(0), // 0: v1.Client.ClientType - (*Client)(nil), // 1: v1.Client - (*StatInfo)(nil), // 2: v1.StatInfo - (*wrapperspb.StringValue)(nil), // 3: google.protobuf.StringValue - (*model.Location)(nil), // 4: v1.Location - (*wrapperspb.UInt32Value)(nil), // 5: google.protobuf.UInt32Value -} -var file_client_proto_depIdxs = []int32{ - 3, // 0: v1.Client.host:type_name -> google.protobuf.StringValue - 0, // 1: v1.Client.type:type_name -> v1.Client.ClientType - 3, // 2: v1.Client.version:type_name -> google.protobuf.StringValue - 4, // 3: v1.Client.location:type_name -> v1.Location - 3, // 4: v1.Client.id:type_name -> google.protobuf.StringValue - 2, // 5: v1.Client.stat:type_name -> v1.StatInfo - 3, // 6: v1.Client.ctime:type_name -> google.protobuf.StringValue - 3, // 7: v1.Client.mtime:type_name -> google.protobuf.StringValue - 3, // 8: v1.StatInfo.target:type_name -> google.protobuf.StringValue - 5, // 9: v1.StatInfo.port:type_name -> google.protobuf.UInt32Value - 3, // 10: v1.StatInfo.path:type_name -> google.protobuf.StringValue - 3, // 11: v1.StatInfo.protocol:type_name -> google.protobuf.StringValue - 12, // [12:12] is the sub-list for method output_type - 12, // [12:12] is the sub-list for method input_type - 12, // [12:12] is the sub-list for extension type_name - 12, // [12:12] is the sub-list for extension extendee - 0, // [0:12] is the sub-list for field type_name -} - -func init() { file_client_proto_init() } -func file_client_proto_init() { - if File_client_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_client_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Client); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_client_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StatInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_client_proto_rawDesc, - NumEnums: 1, - NumMessages: 2, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_client_proto_goTypes, - DependencyIndexes: file_client_proto_depIdxs, - EnumInfos: file_client_proto_enumTypes, - MessageInfos: file_client_proto_msgTypes, - }.Build() - File_client_proto = out.File - file_client_proto_rawDesc = nil - file_client_proto_goTypes = nil - file_client_proto_depIdxs = nil +func init() { + proto.RegisterType((*Client)(nil), "v1.Client") + proto.RegisterType((*StatInfo)(nil), "v1.StatInfo") + proto.RegisterEnum("v1.Client_ClientType", Client_ClientType_name, Client_ClientType_value) +} + +func init() { proto.RegisterFile("client.proto", fileDescriptor_client_8c42d25563430f24) } + +var fileDescriptor_client_8c42d25563430f24 = []byte{ + // 437 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x92, 0xdf, 0x8a, 0xd3, 0x40, + 0x14, 0xc6, 0x4d, 0xfa, 0xd7, 0xd3, 0x45, 0xca, 0x80, 0x10, 0x16, 0x91, 0xd2, 0xab, 0x0a, 0x3a, + 0x63, 0xbb, 0xa2, 0xde, 0xba, 0xae, 0xc8, 0xb2, 0x52, 0xa5, 0xdd, 0x55, 0xf0, 0x46, 0xa6, 0xd3, + 0xd3, 0x74, 0x20, 0xc9, 0x0c, 0x33, 0xa7, 0x91, 0x7d, 0x07, 0x9f, 0xc5, 0x47, 0xf2, 0x59, 0x24, + 0x93, 0x74, 0x45, 0x10, 0xc9, 0x55, 0xc8, 0x9c, 0xdf, 0xf7, 0xcb, 0x70, 0xbe, 0xc0, 0x89, 0xca, + 0x34, 0x16, 0xc4, 0xad, 0x33, 0x64, 0x58, 0x5c, 0xce, 0x4f, 0x1f, 0xa7, 0xc6, 0xa4, 0x19, 0x8a, + 0x70, 0xb2, 0x39, 0xec, 0xc4, 0x77, 0x27, 0xad, 0x45, 0xe7, 0x6b, 0xe6, 0x74, 0x94, 0x9b, 0x2d, + 0x66, 0xf5, 0xcb, 0xf4, 0x67, 0x07, 0xfa, 0x6f, 0x83, 0x81, 0x3d, 0x87, 0xee, 0xde, 0x78, 0x4a, + 0xa2, 0x49, 0x34, 0x1b, 0x2d, 0x1e, 0xf1, 0x5a, 0xc3, 0x8f, 0x1a, 0xbe, 0x26, 0xa7, 0x8b, 0xf4, + 0xb3, 0xcc, 0x0e, 0xb8, 0x0a, 0x24, 0x7b, 0x02, 0x5d, 0xba, 0xb5, 0x98, 0xc4, 0x93, 0x68, 0xf6, + 0x60, 0xf1, 0x90, 0x97, 0x73, 0x5e, 0xbb, 0x9a, 0xc7, 0xf5, 0xad, 0xc5, 0x55, 0x40, 0xd8, 0x4b, + 0x18, 0x94, 0xe8, 0xbc, 0x36, 0x45, 0xd2, 0x69, 0xe1, 0x3f, 0xc2, 0x6c, 0x06, 0xc3, 0xcc, 0x28, + 0x49, 0x55, 0xb0, 0x1b, 0x82, 0x27, 0xd5, 0x67, 0x3e, 0x34, 0x67, 0xab, 0xbb, 0x29, 0x7b, 0x0a, + 0xb1, 0xde, 0x26, 0xbd, 0x16, 0xf2, 0x58, 0x6f, 0xd9, 0x04, 0xba, 0x9e, 0x24, 0x25, 0xfd, 0x49, + 0xe7, 0xe8, 0x5c, 0x93, 0xa4, 0xcb, 0x62, 0x67, 0x56, 0x61, 0xc2, 0x16, 0xd0, 0x53, 0xa4, 0x73, + 0x4c, 0x06, 0x2d, 0x94, 0x35, 0x5a, 0x65, 0xf2, 0x90, 0x19, 0xb6, 0xc9, 0x04, 0x74, 0xfa, 0x0c, + 0xe0, 0xcf, 0xb6, 0xd8, 0x08, 0x06, 0x37, 0xcb, 0xab, 0xe5, 0xc7, 0x2f, 0xcb, 0xf1, 0x3d, 0x36, + 0x80, 0xce, 0xfa, 0xe2, 0x6a, 0x1c, 0xb1, 0xfb, 0xd0, 0x7b, 0xf3, 0xfe, 0xdd, 0xf2, 0x7a, 0x1c, + 0x4f, 0x7f, 0x45, 0x30, 0x3c, 0xde, 0x94, 0xbd, 0x80, 0x3e, 0x49, 0x97, 0x62, 0xbb, 0xd2, 0x1a, + 0xb6, 0x2a, 0xda, 0x1a, 0x47, 0xa1, 0xb6, 0x7f, 0x65, 0x6e, 0x2e, 0x0b, 0x3a, 0x5b, 0x34, 0x45, + 0x57, 0x64, 0x48, 0x48, 0xda, 0xb7, 0xaa, 0x2e, 0x90, 0xec, 0x35, 0x0c, 0xc3, 0x54, 0x99, 0xac, + 0xe9, 0xed, 0xff, 0xa9, 0x3b, 0xfa, 0xfc, 0x47, 0x04, 0xaf, 0x94, 0xc9, 0x39, 0x61, 0xa1, 0xc2, + 0x8f, 0x6d, 0x32, 0xe9, 0xb4, 0xe7, 0xde, 0xa2, 0xd2, 0x3b, 0x5d, 0xb7, 0xcd, 0xa5, 0xd5, 0x55, + 0x67, 0x1e, 0x5d, 0xa9, 0x15, 0xf2, 0x5c, 0x16, 0x32, 0xc5, 0xf3, 0x51, 0xbd, 0xc9, 0x4f, 0x95, + 0xeb, 0xeb, 0x45, 0xaa, 0x69, 0x7f, 0xd8, 0x70, 0x65, 0x72, 0xd1, 0x48, 0x72, 0xf4, 0x7b, 0xf1, + 0x97, 0x48, 0x78, 0x73, 0x70, 0x0a, 0x45, 0x6a, 0x84, 0xb4, 0x5a, 0x94, 0x73, 0xd1, 0x28, 0xbf, + 0xd5, 0xca, 0x4d, 0x3f, 0x5c, 0xec, 0xec, 0x77, 0x00, 0x00, 0x00, 0xff, 0xff, 0x08, 0xf4, 0x49, + 0x5d, 0x68, 0x03, 0x00, 0x00, } diff --git a/source/go/api/v1/service_manage/configrelease.pb.go b/source/go/api/v1/service_manage/configrelease.pb.go index cdaa19e..9cf9ccf 100644 --- a/source/go/api/v1/service_manage/configrelease.pb.go +++ b/source/go/api/v1/service_manage/configrelease.pb.go @@ -1,278 +1,161 @@ // Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.33.0 -// protoc v5.27.3 // source: configrelease.proto -package service_manage +package service_manage // import "github.com/polarismesh/specification/source/go/api/v1/service_manage" -import ( - fault_tolerance "github.com/polarismesh/specification/source/go/api/v1/fault_tolerance" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" - reflect "reflect" - sync "sync" -) +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import fault_tolerance "github.com/polarismesh/specification/source/go/api/v1/fault_tolerance" +import wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf -type ConfigRelease struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package - Service *Service `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"` - Ctime *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=ctime,proto3" json:"ctime,omitempty"` - Mtime *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=mtime,proto3" json:"mtime,omitempty"` - CircuitBreaker *fault_tolerance.CircuitBreaker `protobuf:"bytes,4,opt,name=circuitBreaker,proto3" json:"circuitBreaker,omitempty"` +type ConfigRelease struct { + Service *Service `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"` + Ctime *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=ctime,proto3" json:"ctime,omitempty"` + Mtime *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=mtime,proto3" json:"mtime,omitempty"` + CircuitBreaker *fault_tolerance.CircuitBreaker `protobuf:"bytes,4,opt,name=circuitBreaker,proto3" json:"circuitBreaker,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ConfigRelease) Reset() { *m = ConfigRelease{} } +func (m *ConfigRelease) String() string { return proto.CompactTextString(m) } +func (*ConfigRelease) ProtoMessage() {} +func (*ConfigRelease) Descriptor() ([]byte, []int) { + return fileDescriptor_configrelease_bc898875b762a95a, []int{0} } - -func (x *ConfigRelease) Reset() { - *x = ConfigRelease{} - if protoimpl.UnsafeEnabled { - mi := &file_configrelease_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *ConfigRelease) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ConfigRelease.Unmarshal(m, b) } - -func (x *ConfigRelease) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *ConfigRelease) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ConfigRelease.Marshal(b, m, deterministic) } - -func (*ConfigRelease) ProtoMessage() {} - -func (x *ConfigRelease) ProtoReflect() protoreflect.Message { - mi := &file_configrelease_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (dst *ConfigRelease) XXX_Merge(src proto.Message) { + xxx_messageInfo_ConfigRelease.Merge(dst, src) } - -// Deprecated: Use ConfigRelease.ProtoReflect.Descriptor instead. -func (*ConfigRelease) Descriptor() ([]byte, []int) { - return file_configrelease_proto_rawDescGZIP(), []int{0} +func (m *ConfigRelease) XXX_Size() int { + return xxx_messageInfo_ConfigRelease.Size(m) +} +func (m *ConfigRelease) XXX_DiscardUnknown() { + xxx_messageInfo_ConfigRelease.DiscardUnknown(m) } -func (x *ConfigRelease) GetService() *Service { - if x != nil { - return x.Service +var xxx_messageInfo_ConfigRelease proto.InternalMessageInfo + +func (m *ConfigRelease) GetService() *Service { + if m != nil { + return m.Service } return nil } -func (x *ConfigRelease) GetCtime() *wrapperspb.StringValue { - if x != nil { - return x.Ctime +func (m *ConfigRelease) GetCtime() *wrapperspb.StringValue { + if m != nil { + return m.Ctime } return nil } -func (x *ConfigRelease) GetMtime() *wrapperspb.StringValue { - if x != nil { - return x.Mtime +func (m *ConfigRelease) GetMtime() *wrapperspb.StringValue { + if m != nil { + return m.Mtime } return nil } -func (x *ConfigRelease) GetCircuitBreaker() *fault_tolerance.CircuitBreaker { - if x != nil { - return x.CircuitBreaker +func (m *ConfigRelease) GetCircuitBreaker() *fault_tolerance.CircuitBreaker { + if m != nil { + return m.CircuitBreaker } return nil } type ConfigWithService struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Services []*Service `protobuf:"bytes,1,rep,name=services,proto3" json:"services,omitempty"` - CircuitBreaker *fault_tolerance.CircuitBreaker `protobuf:"bytes,2,opt,name=circuitBreaker,proto3" json:"circuitBreaker,omitempty"` + Services []*Service `protobuf:"bytes,1,rep,name=services,proto3" json:"services,omitempty"` + CircuitBreaker *fault_tolerance.CircuitBreaker `protobuf:"bytes,2,opt,name=circuitBreaker,proto3" json:"circuitBreaker,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *ConfigWithService) Reset() { - *x = ConfigWithService{} - if protoimpl.UnsafeEnabled { - mi := &file_configrelease_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *ConfigWithService) Reset() { *m = ConfigWithService{} } +func (m *ConfigWithService) String() string { return proto.CompactTextString(m) } +func (*ConfigWithService) ProtoMessage() {} +func (*ConfigWithService) Descriptor() ([]byte, []int) { + return fileDescriptor_configrelease_bc898875b762a95a, []int{1} } - -func (x *ConfigWithService) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *ConfigWithService) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ConfigWithService.Unmarshal(m, b) } - -func (*ConfigWithService) ProtoMessage() {} - -func (x *ConfigWithService) ProtoReflect() protoreflect.Message { - mi := &file_configrelease_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *ConfigWithService) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ConfigWithService.Marshal(b, m, deterministic) } - -// Deprecated: Use ConfigWithService.ProtoReflect.Descriptor instead. -func (*ConfigWithService) Descriptor() ([]byte, []int) { - return file_configrelease_proto_rawDescGZIP(), []int{1} +func (dst *ConfigWithService) XXX_Merge(src proto.Message) { + xxx_messageInfo_ConfigWithService.Merge(dst, src) +} +func (m *ConfigWithService) XXX_Size() int { + return xxx_messageInfo_ConfigWithService.Size(m) } +func (m *ConfigWithService) XXX_DiscardUnknown() { + xxx_messageInfo_ConfigWithService.DiscardUnknown(m) +} + +var xxx_messageInfo_ConfigWithService proto.InternalMessageInfo -func (x *ConfigWithService) GetServices() []*Service { - if x != nil { - return x.Services +func (m *ConfigWithService) GetServices() []*Service { + if m != nil { + return m.Services } return nil } -func (x *ConfigWithService) GetCircuitBreaker() *fault_tolerance.CircuitBreaker { - if x != nil { - return x.CircuitBreaker +func (m *ConfigWithService) GetCircuitBreaker() *fault_tolerance.CircuitBreaker { + if m != nil { + return m.CircuitBreaker } return nil } -var File_configrelease_proto protoreflect.FileDescriptor - -var file_configrelease_proto_rawDesc = []byte{ - 0x0a, 0x13, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x76, 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, 0x1a, 0x0d, 0x73, 0x65, 0x72, 0x76, 0x69, - 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x14, 0x63, 0x69, 0x72, 0x63, 0x75, 0x69, - 0x74, 0x62, 0x72, 0x65, 0x61, 0x6b, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xda, - 0x01, 0x0a, 0x0d, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, - 0x12, 0x25, 0x0a, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x0b, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x07, - 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x32, 0x0a, 0x05, 0x63, 0x74, 0x69, 0x6d, 0x65, - 0x18, 0x02, 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, 0x05, 0x63, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x32, 0x0a, 0x05, 0x6d, - 0x74, 0x69, 0x6d, 0x65, 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, 0x05, 0x6d, 0x74, 0x69, 0x6d, 0x65, 0x12, - 0x3a, 0x0a, 0x0e, 0x63, 0x69, 0x72, 0x63, 0x75, 0x69, 0x74, 0x42, 0x72, 0x65, 0x61, 0x6b, 0x65, - 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x69, 0x72, - 0x63, 0x75, 0x69, 0x74, 0x42, 0x72, 0x65, 0x61, 0x6b, 0x65, 0x72, 0x52, 0x0e, 0x63, 0x69, 0x72, - 0x63, 0x75, 0x69, 0x74, 0x42, 0x72, 0x65, 0x61, 0x6b, 0x65, 0x72, 0x22, 0x78, 0x0a, 0x11, 0x43, - 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x57, 0x69, 0x74, 0x68, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, - 0x12, 0x27, 0x0a, 0x08, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, - 0x08, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x12, 0x3a, 0x0a, 0x0e, 0x63, 0x69, 0x72, - 0x63, 0x75, 0x69, 0x74, 0x42, 0x72, 0x65, 0x61, 0x6b, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x12, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x69, 0x72, 0x63, 0x75, 0x69, 0x74, 0x42, 0x72, - 0x65, 0x61, 0x6b, 0x65, 0x72, 0x52, 0x0e, 0x63, 0x69, 0x72, 0x63, 0x75, 0x69, 0x74, 0x42, 0x72, - 0x65, 0x61, 0x6b, 0x65, 0x72, 0x42, 0x93, 0x01, 0x0a, 0x37, 0x63, 0x6f, 0x6d, 0x2e, 0x74, 0x65, - 0x6e, 0x63, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x6f, 0x6c, 0x61, 0x72, 0x69, 0x73, 0x2e, 0x73, 0x70, - 0x65, 0x63, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x61, 0x70, 0x69, 0x2e, - 0x76, 0x31, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x6d, 0x61, 0x6e, 0x61, 0x67, - 0x65, 0x42, 0x12, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, - 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x5a, 0x44, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, - 0x6d, 0x2f, 0x70, 0x6f, 0x6c, 0x61, 0x72, 0x69, 0x73, 0x6d, 0x65, 0x73, 0x68, 0x2f, 0x73, 0x70, - 0x65, 0x63, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x73, 0x6f, 0x75, 0x72, - 0x63, 0x65, 0x2f, 0x67, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x65, 0x72, - 0x76, 0x69, 0x63, 0x65, 0x5f, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x33, -} - -var ( - file_configrelease_proto_rawDescOnce sync.Once - file_configrelease_proto_rawDescData = file_configrelease_proto_rawDesc -) - -func file_configrelease_proto_rawDescGZIP() []byte { - file_configrelease_proto_rawDescOnce.Do(func() { - file_configrelease_proto_rawDescData = protoimpl.X.CompressGZIP(file_configrelease_proto_rawDescData) - }) - return file_configrelease_proto_rawDescData -} - -var file_configrelease_proto_msgTypes = make([]protoimpl.MessageInfo, 2) -var file_configrelease_proto_goTypes = []interface{}{ - (*ConfigRelease)(nil), // 0: v1.ConfigRelease - (*ConfigWithService)(nil), // 1: v1.ConfigWithService - (*Service)(nil), // 2: v1.Service - (*wrapperspb.StringValue)(nil), // 3: google.protobuf.StringValue - (*fault_tolerance.CircuitBreaker)(nil), // 4: v1.CircuitBreaker -} -var file_configrelease_proto_depIdxs = []int32{ - 2, // 0: v1.ConfigRelease.service:type_name -> v1.Service - 3, // 1: v1.ConfigRelease.ctime:type_name -> google.protobuf.StringValue - 3, // 2: v1.ConfigRelease.mtime:type_name -> google.protobuf.StringValue - 4, // 3: v1.ConfigRelease.circuitBreaker:type_name -> v1.CircuitBreaker - 2, // 4: v1.ConfigWithService.services:type_name -> v1.Service - 4, // 5: v1.ConfigWithService.circuitBreaker:type_name -> v1.CircuitBreaker - 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_configrelease_proto_init() } -func file_configrelease_proto_init() { - if File_configrelease_proto != nil { - return - } - file_service_proto_init() - if !protoimpl.UnsafeEnabled { - file_configrelease_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ConfigRelease); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_configrelease_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ConfigWithService); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_configrelease_proto_rawDesc, - NumEnums: 0, - NumMessages: 2, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_configrelease_proto_goTypes, - DependencyIndexes: file_configrelease_proto_depIdxs, - MessageInfos: file_configrelease_proto_msgTypes, - }.Build() - File_configrelease_proto = out.File - file_configrelease_proto_rawDesc = nil - file_configrelease_proto_goTypes = nil - file_configrelease_proto_depIdxs = nil +func init() { + proto.RegisterType((*ConfigRelease)(nil), "v1.ConfigRelease") + proto.RegisterType((*ConfigWithService)(nil), "v1.ConfigWithService") +} + +func init() { proto.RegisterFile("configrelease.proto", fileDescriptor_configrelease_bc898875b762a95a) } + +var fileDescriptor_configrelease_bc898875b762a95a = []byte{ + // 324 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x51, 0xcd, 0x4a, 0x3b, 0x31, + 0x10, 0x67, 0xdb, 0xff, 0x17, 0x29, 0xfd, 0x83, 0xd1, 0xc3, 0x52, 0x44, 0x4a, 0x41, 0xf4, 0x94, + 0xd0, 0x7a, 0x10, 0x3c, 0xb6, 0x3e, 0x80, 0x6c, 0x41, 0xc1, 0x8b, 0x64, 0xc3, 0x34, 0x1d, 0xdc, + 0xdd, 0x84, 0x24, 0xbb, 0xfa, 0x1e, 0xbe, 0x9d, 0x4f, 0x23, 0x9b, 0xa4, 0x42, 0x8b, 0x87, 0x5e, + 0x67, 0x7e, 0x9f, 0x33, 0xe4, 0x54, 0xea, 0x66, 0x83, 0xca, 0x42, 0x05, 0xc2, 0x01, 0x33, 0x56, + 0x7b, 0x4d, 0x07, 0xdd, 0x7c, 0x72, 0xa1, 0xb4, 0x56, 0x15, 0xf0, 0x30, 0x29, 0xdb, 0x0d, 0x7f, + 0xb3, 0xc2, 0x18, 0xb0, 0x2e, 0x62, 0x26, 0x63, 0x07, 0xb6, 0x43, 0x99, 0x28, 0x93, 0x33, 0x89, + 0x56, 0xb6, 0xe8, 0x4b, 0x0b, 0xe2, 0x15, 0x6c, 0x9c, 0xce, 0x3e, 0x33, 0x32, 0x5e, 0x05, 0x83, + 0x22, 0x1a, 0xd0, 0x4b, 0xf2, 0x37, 0x11, 0xf3, 0x6c, 0x9a, 0x5d, 0x8f, 0x16, 0x23, 0xd6, 0xcd, + 0xd9, 0x3a, 0x8e, 0x8a, 0xdd, 0x8e, 0x2e, 0xc8, 0x6f, 0xe9, 0xb1, 0x86, 0x7c, 0x10, 0x40, 0xe7, + 0x2c, 0xa6, 0x61, 0xbb, 0x34, 0x6c, 0xed, 0x2d, 0x36, 0xea, 0x51, 0x54, 0x2d, 0x14, 0x11, 0xda, + 0x73, 0xea, 0xc0, 0x19, 0x1e, 0xc3, 0x09, 0x50, 0x7a, 0x47, 0xfe, 0xa7, 0xe0, 0xcb, 0x18, 0x3c, + 0xff, 0x15, 0xc8, 0xb4, 0x4f, 0xb5, 0xda, 0xdb, 0x14, 0x07, 0xc8, 0xd9, 0x3b, 0x39, 0x89, 0xdd, + 0x9e, 0xd0, 0x6f, 0x53, 0x03, 0x7a, 0x45, 0xfe, 0xa5, 0x0e, 0x2e, 0xcf, 0xa6, 0xc3, 0xc3, 0x82, + 0xdf, 0xcb, 0x1f, 0x9c, 0x07, 0xc7, 0x3a, 0x2f, 0x3f, 0x32, 0x72, 0x2b, 0x75, 0xcd, 0x3c, 0x34, + 0x12, 0x1a, 0xcf, 0x8c, 0xae, 0x84, 0x45, 0xc7, 0x9c, 0x01, 0x89, 0x1b, 0x94, 0xc2, 0xa3, 0x6e, + 0x98, 0x30, 0xd8, 0x6b, 0xed, 0xfe, 0x54, 0x8b, 0x46, 0x28, 0x58, 0xd2, 0xbd, 0x7f, 0x3c, 0xf4, + 0xb7, 0x79, 0xbe, 0x57, 0xe8, 0xb7, 0x6d, 0xc9, 0xa4, 0xae, 0x79, 0xd2, 0xaa, 0xc1, 0x6d, 0xf9, + 0x9e, 0x1e, 0x77, 0xba, 0xb5, 0x12, 0xb8, 0xd2, 0x5c, 0x18, 0xe4, 0xdd, 0x9c, 0x27, 0xe5, 0x97, + 0xa8, 0x5c, 0xfe, 0x09, 0x87, 0xbe, 0xf9, 0x0a, 0x00, 0x00, 0xff, 0xff, 0x2e, 0x7c, 0x63, 0xf5, + 0x53, 0x02, 0x00, 0x00, } diff --git a/source/go/api/v1/service_manage/contract.pb.go b/source/go/api/v1/service_manage/contract.pb.go index b6cd402..60c0b58 100644 --- a/source/go/api/v1/service_manage/contract.pb.go +++ b/source/go/api/v1/service_manage/contract.pb.go @@ -1,24 +1,22 @@ // Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.33.0 -// protoc v5.27.3 // source: contract.proto -package service_manage +package service_manage // import "github.com/polarismesh/specification/source/go/api/v1/service_manage" -import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" -) +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package type InterfaceDescriptor_Source int32 @@ -28,52 +26,25 @@ const ( InterfaceDescriptor_Client InterfaceDescriptor_Source = 2 ) -// Enum value maps for InterfaceDescriptor_Source. -var ( - InterfaceDescriptor_Source_name = map[int32]string{ - 0: "UNKNOWN", - 1: "Manual", - 2: "Client", - } - InterfaceDescriptor_Source_value = map[string]int32{ - "UNKNOWN": 0, - "Manual": 1, - "Client": 2, - } -) - -func (x InterfaceDescriptor_Source) Enum() *InterfaceDescriptor_Source { - p := new(InterfaceDescriptor_Source) - *p = x - return p -} - -func (x InterfaceDescriptor_Source) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +var InterfaceDescriptor_Source_name = map[int32]string{ + 0: "UNKNOWN", + 1: "Manual", + 2: "Client", } - -func (InterfaceDescriptor_Source) Descriptor() protoreflect.EnumDescriptor { - return file_contract_proto_enumTypes[0].Descriptor() +var InterfaceDescriptor_Source_value = map[string]int32{ + "UNKNOWN": 0, + "Manual": 1, + "Client": 2, } -func (InterfaceDescriptor_Source) Type() protoreflect.EnumType { - return &file_contract_proto_enumTypes[0] -} - -func (x InterfaceDescriptor_Source) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) +func (x InterfaceDescriptor_Source) String() string { + return proto.EnumName(InterfaceDescriptor_Source_name, int32(x)) } - -// Deprecated: Use InterfaceDescriptor_Source.Descriptor instead. func (InterfaceDescriptor_Source) EnumDescriptor() ([]byte, []int) { - return file_contract_proto_rawDescGZIP(), []int{1, 0} + return fileDescriptor_contract_53d3e1a9219698ba, []int{1, 0} } type ServiceContract struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // 契约ID Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // 契约名称 @@ -103,143 +74,143 @@ type ServiceContract struct { Type string `protobuf:"bytes,14,opt,name=type,proto3" json:"type,omitempty"` // 标签 Metadata map[string]string `protobuf:"bytes,15,rep,name=metadata,proto3" json:"metadata,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + // 内容摘要 + ContentDigest string `protobuf:"bytes,16,opt,name=content_digest,proto3" json:"content_digest,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *ServiceContract) Reset() { - *x = ServiceContract{} - if protoimpl.UnsafeEnabled { - mi := &file_contract_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *ServiceContract) Reset() { *m = ServiceContract{} } +func (m *ServiceContract) String() string { return proto.CompactTextString(m) } +func (*ServiceContract) ProtoMessage() {} +func (*ServiceContract) Descriptor() ([]byte, []int) { + return fileDescriptor_contract_53d3e1a9219698ba, []int{0} } - -func (x *ServiceContract) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *ServiceContract) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ServiceContract.Unmarshal(m, b) } - -func (*ServiceContract) ProtoMessage() {} - -func (x *ServiceContract) ProtoReflect() protoreflect.Message { - mi := &file_contract_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *ServiceContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ServiceContract.Marshal(b, m, deterministic) } - -// Deprecated: Use ServiceContract.ProtoReflect.Descriptor instead. -func (*ServiceContract) Descriptor() ([]byte, []int) { - return file_contract_proto_rawDescGZIP(), []int{0} +func (dst *ServiceContract) XXX_Merge(src proto.Message) { + xxx_messageInfo_ServiceContract.Merge(dst, src) +} +func (m *ServiceContract) XXX_Size() int { + return xxx_messageInfo_ServiceContract.Size(m) +} +func (m *ServiceContract) XXX_DiscardUnknown() { + xxx_messageInfo_ServiceContract.DiscardUnknown(m) } -func (x *ServiceContract) GetId() string { - if x != nil { - return x.Id +var xxx_messageInfo_ServiceContract proto.InternalMessageInfo + +func (m *ServiceContract) GetId() string { + if m != nil { + return m.Id } return "" } -func (x *ServiceContract) GetName() string { - if x != nil { - return x.Name +func (m *ServiceContract) GetName() string { + if m != nil { + return m.Name } return "" } -func (x *ServiceContract) GetNamespace() string { - if x != nil { - return x.Namespace +func (m *ServiceContract) GetNamespace() string { + if m != nil { + return m.Namespace } return "" } -func (x *ServiceContract) GetService() string { - if x != nil { - return x.Service +func (m *ServiceContract) GetService() string { + if m != nil { + return m.Service } return "" } -func (x *ServiceContract) GetProtocol() string { - if x != nil { - return x.Protocol +func (m *ServiceContract) GetProtocol() string { + if m != nil { + return m.Protocol } return "" } -func (x *ServiceContract) GetVersion() string { - if x != nil { - return x.Version +func (m *ServiceContract) GetVersion() string { + if m != nil { + return m.Version } return "" } -func (x *ServiceContract) GetRevision() string { - if x != nil { - return x.Revision +func (m *ServiceContract) GetRevision() string { + if m != nil { + return m.Revision } return "" } -func (x *ServiceContract) GetContent() string { - if x != nil { - return x.Content +func (m *ServiceContract) GetContent() string { + if m != nil { + return m.Content } return "" } -func (x *ServiceContract) GetInterfaces() []*InterfaceDescriptor { - if x != nil { - return x.Interfaces +func (m *ServiceContract) GetInterfaces() []*InterfaceDescriptor { + if m != nil { + return m.Interfaces } return nil } -func (x *ServiceContract) GetCtime() string { - if x != nil { - return x.Ctime +func (m *ServiceContract) GetCtime() string { + if m != nil { + return m.Ctime } return "" } -func (x *ServiceContract) GetMtime() string { - if x != nil { - return x.Mtime +func (m *ServiceContract) GetMtime() string { + if m != nil { + return m.Mtime } return "" } -func (x *ServiceContract) GetStatus() string { - if x != nil { - return x.Status +func (m *ServiceContract) GetStatus() string { + if m != nil { + return m.Status } return "" } -func (x *ServiceContract) GetType() string { - if x != nil { - return x.Type +func (m *ServiceContract) GetType() string { + if m != nil { + return m.Type } return "" } -func (x *ServiceContract) GetMetadata() map[string]string { - if x != nil { - return x.Metadata +func (m *ServiceContract) GetMetadata() map[string]string { + if m != nil { + return m.Metadata } return nil } -type InterfaceDescriptor struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields +func (m *ServiceContract) GetContentDigest() string { + if m != nil { + return m.ContentDigest + } + return "" +} +type InterfaceDescriptor struct { // 接口ID Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // 方法名称,对应 http method/ dubbo interface func/grpc service func @@ -269,291 +240,186 @@ type InterfaceDescriptor struct { Version string `protobuf:"bytes,13,opt,name=version,proto3" json:"version,omitempty"` // 类型 Type string `protobuf:"bytes,14,opt,name=type,proto3" json:"type,omitempty"` + // 内容摘要 + ContentDigest string `protobuf:"bytes,15,opt,name=content_digest,proto3" json:"content_digest,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *InterfaceDescriptor) Reset() { - *x = InterfaceDescriptor{} - if protoimpl.UnsafeEnabled { - mi := &file_contract_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *InterfaceDescriptor) Reset() { *m = InterfaceDescriptor{} } +func (m *InterfaceDescriptor) String() string { return proto.CompactTextString(m) } +func (*InterfaceDescriptor) ProtoMessage() {} +func (*InterfaceDescriptor) Descriptor() ([]byte, []int) { + return fileDescriptor_contract_53d3e1a9219698ba, []int{1} } - -func (x *InterfaceDescriptor) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *InterfaceDescriptor) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_InterfaceDescriptor.Unmarshal(m, b) } - -func (*InterfaceDescriptor) ProtoMessage() {} - -func (x *InterfaceDescriptor) ProtoReflect() protoreflect.Message { - mi := &file_contract_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *InterfaceDescriptor) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_InterfaceDescriptor.Marshal(b, m, deterministic) } - -// Deprecated: Use InterfaceDescriptor.ProtoReflect.Descriptor instead. -func (*InterfaceDescriptor) Descriptor() ([]byte, []int) { - return file_contract_proto_rawDescGZIP(), []int{1} +func (dst *InterfaceDescriptor) XXX_Merge(src proto.Message) { + xxx_messageInfo_InterfaceDescriptor.Merge(dst, src) } +func (m *InterfaceDescriptor) XXX_Size() int { + return xxx_messageInfo_InterfaceDescriptor.Size(m) +} +func (m *InterfaceDescriptor) XXX_DiscardUnknown() { + xxx_messageInfo_InterfaceDescriptor.DiscardUnknown(m) +} + +var xxx_messageInfo_InterfaceDescriptor proto.InternalMessageInfo -func (x *InterfaceDescriptor) GetId() string { - if x != nil { - return x.Id +func (m *InterfaceDescriptor) GetId() string { + if m != nil { + return m.Id } return "" } -func (x *InterfaceDescriptor) GetMethod() string { - if x != nil { - return x.Method +func (m *InterfaceDescriptor) GetMethod() string { + if m != nil { + return m.Method } return "" } -func (x *InterfaceDescriptor) GetPath() string { - if x != nil { - return x.Path +func (m *InterfaceDescriptor) GetPath() string { + if m != nil { + return m.Path } return "" } -func (x *InterfaceDescriptor) GetContent() string { - if x != nil { - return x.Content +func (m *InterfaceDescriptor) GetContent() string { + if m != nil { + return m.Content } return "" } -func (x *InterfaceDescriptor) GetSource() InterfaceDescriptor_Source { - if x != nil { - return x.Source +func (m *InterfaceDescriptor) GetSource() InterfaceDescriptor_Source { + if m != nil { + return m.Source } return InterfaceDescriptor_UNKNOWN } -func (x *InterfaceDescriptor) GetRevision() string { - if x != nil { - return x.Revision +func (m *InterfaceDescriptor) GetRevision() string { + if m != nil { + return m.Revision } return "" } -func (x *InterfaceDescriptor) GetCtime() string { - if x != nil { - return x.Ctime +func (m *InterfaceDescriptor) GetCtime() string { + if m != nil { + return m.Ctime } return "" } -func (x *InterfaceDescriptor) GetMtime() string { - if x != nil { - return x.Mtime +func (m *InterfaceDescriptor) GetMtime() string { + if m != nil { + return m.Mtime } return "" } -func (x *InterfaceDescriptor) GetName() string { - if x != nil { - return x.Name +func (m *InterfaceDescriptor) GetName() string { + if m != nil { + return m.Name } return "" } -func (x *InterfaceDescriptor) GetNamespace() string { - if x != nil { - return x.Namespace +func (m *InterfaceDescriptor) GetNamespace() string { + if m != nil { + return m.Namespace } return "" } -func (x *InterfaceDescriptor) GetService() string { - if x != nil { - return x.Service +func (m *InterfaceDescriptor) GetService() string { + if m != nil { + return m.Service } return "" } -func (x *InterfaceDescriptor) GetProtocol() string { - if x != nil { - return x.Protocol +func (m *InterfaceDescriptor) GetProtocol() string { + if m != nil { + return m.Protocol } return "" } -func (x *InterfaceDescriptor) GetVersion() string { - if x != nil { - return x.Version +func (m *InterfaceDescriptor) GetVersion() string { + if m != nil { + return m.Version } return "" } -func (x *InterfaceDescriptor) GetType() string { - if x != nil { - return x.Type +func (m *InterfaceDescriptor) GetType() string { + if m != nil { + return m.Type } return "" } -var File_contract_proto protoreflect.FileDescriptor - -var file_contract_proto_rawDesc = []byte{ - 0x0a, 0x0e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x12, 0x02, 0x76, 0x31, 0x22, 0xe6, 0x03, 0x0a, 0x0f, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, - 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 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, 0x1c, 0x0a, 0x09, - 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x65, - 0x72, 0x76, 0x69, 0x63, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x73, 0x65, 0x72, - 0x76, 0x69, 0x63, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, - 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, - 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, - 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x72, 0x65, - 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, - 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, - 0x12, 0x37, 0x0a, 0x0a, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x73, 0x18, 0x09, - 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x66, - 0x61, 0x63, 0x65, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x52, 0x0a, 0x69, - 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x74, 0x69, - 0x6d, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x63, 0x74, 0x69, 0x6d, 0x65, 0x12, - 0x14, 0x0a, 0x05, 0x6d, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, - 0x6d, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, - 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x12, 0x0a, - 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, - 0x65, 0x12, 0x3d, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x0f, 0x20, - 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, - 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, - 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, - 0x1a, 0x3b, 0x0a, 0x0d, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, - 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, - 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xb0, 0x03, - 0x0a, 0x13, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x44, 0x65, 0x73, 0x63, 0x72, - 0x69, 0x70, 0x74, 0x6f, 0x72, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x12, 0x12, 0x0a, - 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, - 0x68, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x36, 0x0a, 0x06, 0x73, - 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x76, 0x31, - 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, - 0x70, 0x74, 0x6f, 0x72, 0x2e, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x06, 0x73, 0x6f, 0x75, - 0x72, 0x63, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x18, - 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x12, - 0x14, 0x0a, 0x05, 0x63, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, - 0x63, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x6d, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x08, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6d, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, - 0x61, 0x6d, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, - 0x1c, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x0a, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x18, 0x0a, - 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, - 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x63, 0x6f, 0x6c, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x63, 0x6f, 0x6c, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x0d, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, - 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, - 0x65, 0x22, 0x2d, 0x0a, 0x06, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x55, - 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x4d, 0x61, 0x6e, 0x75, - 0x61, 0x6c, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x10, 0x02, - 0x42, 0x95, 0x01, 0x0a, 0x37, 0x63, 0x6f, 0x6d, 0x2e, 0x74, 0x65, 0x6e, 0x63, 0x65, 0x6e, 0x74, - 0x2e, 0x70, 0x6f, 0x6c, 0x61, 0x72, 0x69, 0x73, 0x2e, 0x73, 0x70, 0x65, 0x63, 0x69, 0x66, 0x69, - 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x65, - 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x42, 0x14, 0x53, 0x65, - 0x72, 0x76, 0x69, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x50, 0x72, 0x6f, - 0x74, 0x6f, 0x5a, 0x44, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, - 0x6f, 0x6c, 0x61, 0x72, 0x69, 0x73, 0x6d, 0x65, 0x73, 0x68, 0x2f, 0x73, 0x70, 0x65, 0x63, 0x69, - 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2f, - 0x67, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, - 0x65, 0x5f, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_contract_proto_rawDescOnce sync.Once - file_contract_proto_rawDescData = file_contract_proto_rawDesc -) - -func file_contract_proto_rawDescGZIP() []byte { - file_contract_proto_rawDescOnce.Do(func() { - file_contract_proto_rawDescData = protoimpl.X.CompressGZIP(file_contract_proto_rawDescData) - }) - return file_contract_proto_rawDescData -} - -var file_contract_proto_enumTypes = make([]protoimpl.EnumInfo, 1) -var file_contract_proto_msgTypes = make([]protoimpl.MessageInfo, 3) -var file_contract_proto_goTypes = []interface{}{ - (InterfaceDescriptor_Source)(0), // 0: v1.InterfaceDescriptor.Source - (*ServiceContract)(nil), // 1: v1.ServiceContract - (*InterfaceDescriptor)(nil), // 2: v1.InterfaceDescriptor - nil, // 3: v1.ServiceContract.MetadataEntry -} -var file_contract_proto_depIdxs = []int32{ - 2, // 0: v1.ServiceContract.interfaces:type_name -> v1.InterfaceDescriptor - 3, // 1: v1.ServiceContract.metadata:type_name -> v1.ServiceContract.MetadataEntry - 0, // 2: v1.InterfaceDescriptor.source:type_name -> v1.InterfaceDescriptor.Source - 3, // [3:3] is the sub-list for method output_type - 3, // [3:3] is the sub-list for method input_type - 3, // [3:3] is the sub-list for extension type_name - 3, // [3:3] is the sub-list for extension extendee - 0, // [0:3] is the sub-list for field type_name -} - -func init() { file_contract_proto_init() } -func file_contract_proto_init() { - if File_contract_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_contract_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ServiceContract); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_contract_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*InterfaceDescriptor); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } +func (m *InterfaceDescriptor) GetContentDigest() string { + if m != nil { + return m.ContentDigest } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_contract_proto_rawDesc, - NumEnums: 1, - NumMessages: 3, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_contract_proto_goTypes, - DependencyIndexes: file_contract_proto_depIdxs, - EnumInfos: file_contract_proto_enumTypes, - MessageInfos: file_contract_proto_msgTypes, - }.Build() - File_contract_proto = out.File - file_contract_proto_rawDesc = nil - file_contract_proto_goTypes = nil - file_contract_proto_depIdxs = nil + return "" +} + +func init() { + proto.RegisterType((*ServiceContract)(nil), "v1.ServiceContract") + proto.RegisterMapType((map[string]string)(nil), "v1.ServiceContract.MetadataEntry") + proto.RegisterType((*InterfaceDescriptor)(nil), "v1.InterfaceDescriptor") + proto.RegisterEnum("v1.InterfaceDescriptor_Source", InterfaceDescriptor_Source_name, InterfaceDescriptor_Source_value) +} + +func init() { proto.RegisterFile("contract.proto", fileDescriptor_contract_53d3e1a9219698ba) } + +var fileDescriptor_contract_53d3e1a9219698ba = []byte{ + // 553 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x52, 0x5d, 0x6f, 0x12, 0x41, + 0x14, 0x95, 0x85, 0x2e, 0x70, 0x69, 0x81, 0x8c, 0x4d, 0x9d, 0x34, 0xc6, 0x54, 0x1e, 0x4c, 0x5f, + 0xdc, 0x0d, 0x35, 0xb1, 0x46, 0xe3, 0x4b, 0x5b, 0x1f, 0x8c, 0x29, 0x1a, 0x1a, 0x63, 0xe2, 0x4b, + 0x33, 0x1d, 0x6e, 0x61, 0x22, 0x3b, 0xb3, 0xd9, 0x19, 0x36, 0xe1, 0x4f, 0xf8, 0xe6, 0x7f, 0xf3, + 0xe7, 0x98, 0xf9, 0x00, 0x81, 0x42, 0x9f, 0xb8, 0xe7, 0xdc, 0xb9, 0x87, 0xbd, 0xf7, 0x1c, 0x68, + 0x73, 0x25, 0x4d, 0xc1, 0xb8, 0x49, 0xf2, 0x42, 0x19, 0x45, 0xa2, 0xb2, 0xdf, 0xfb, 0x5d, 0x83, + 0xce, 0x0d, 0x16, 0xa5, 0xe0, 0x78, 0x19, 0xba, 0xa4, 0x0d, 0x91, 0x18, 0xd1, 0xca, 0x49, 0xe5, + 0xb4, 0x39, 0x8c, 0xc4, 0x88, 0x10, 0xa8, 0x49, 0x96, 0x21, 0x8d, 0x1c, 0xe3, 0x6a, 0xf2, 0x1c, + 0x9a, 0xf6, 0x57, 0xe7, 0x8c, 0x23, 0xad, 0xba, 0xc6, 0x7f, 0x82, 0x50, 0xa8, 0x6b, 0x2f, 0x4a, + 0x6b, 0xae, 0xb7, 0x80, 0xe4, 0x18, 0x1a, 0xee, 0xcf, 0xb9, 0x9a, 0xd2, 0x3d, 0xd7, 0x5a, 0x62, + 0x3b, 0x55, 0x62, 0xa1, 0x85, 0x92, 0x34, 0xf6, 0x53, 0x01, 0xda, 0xa9, 0x02, 0x4b, 0xe1, 0x5a, + 0x75, 0x3f, 0xb5, 0xc0, 0x76, 0xca, 0xee, 0x85, 0xd2, 0xd0, 0x86, 0x9f, 0x0a, 0x90, 0x9c, 0x03, + 0x08, 0x69, 0xb0, 0xb8, 0x67, 0x1c, 0x35, 0x6d, 0x9e, 0x54, 0x4f, 0x5b, 0x67, 0xcf, 0x92, 0xb2, + 0x9f, 0x7c, 0x5e, 0xb0, 0x57, 0xa8, 0x79, 0x21, 0x72, 0xa3, 0x8a, 0xe1, 0xca, 0x53, 0x72, 0x08, + 0x7b, 0xdc, 0x88, 0x0c, 0x29, 0x38, 0x41, 0x0f, 0x2c, 0x9b, 0x39, 0xb6, 0xe5, 0x59, 0x07, 0xc8, + 0x11, 0xc4, 0xda, 0x30, 0x33, 0xd3, 0x74, 0xdf, 0xd1, 0x01, 0xd9, 0xa3, 0x99, 0x79, 0x8e, 0xb4, + 0xed, 0x8f, 0x66, 0x6b, 0xf2, 0x11, 0x1a, 0x19, 0x1a, 0x36, 0x62, 0x86, 0xd1, 0x8e, 0xfb, 0x9c, + 0x97, 0xf6, 0x73, 0x36, 0xee, 0x9f, 0x5c, 0x87, 0x37, 0x9f, 0xa4, 0x29, 0xe6, 0xc3, 0xe5, 0x08, + 0x79, 0xe5, 0x1d, 0x44, 0x69, 0x6e, 0x47, 0x62, 0x8c, 0xda, 0xd0, 0xae, 0x13, 0xdf, 0x60, 0x8f, + 0x3f, 0xc0, 0xc1, 0x9a, 0x04, 0xe9, 0x42, 0xf5, 0x17, 0xce, 0x83, 0xa3, 0xb6, 0xb4, 0xbb, 0x94, + 0x6c, 0x3a, 0x5b, 0x78, 0xea, 0xc1, 0xfb, 0xe8, 0x5d, 0xa5, 0xf7, 0xb7, 0x0a, 0x4f, 0xb7, 0xdc, + 0xe7, 0x41, 0x28, 0x8e, 0x20, 0xce, 0xd0, 0x4c, 0xd4, 0x28, 0x48, 0x04, 0x64, 0xf7, 0xce, 0x99, + 0x99, 0x84, 0x4c, 0xb8, 0x7a, 0xd5, 0xa2, 0xda, 0xba, 0x45, 0x6f, 0x21, 0xd6, 0x6a, 0x56, 0x70, + 0x74, 0x61, 0x68, 0x9f, 0xbd, 0xd8, 0x61, 0x4f, 0x72, 0xe3, 0x5e, 0x0d, 0xc3, 0xeb, 0xb5, 0x40, + 0xc4, 0x1b, 0x81, 0x58, 0xba, 0x57, 0xdf, 0xea, 0x5e, 0x63, 0xd5, 0xbd, 0x45, 0xb4, 0x9b, 0xbb, + 0xa2, 0x0d, 0x8f, 0x44, 0xbb, 0xb5, 0x3b, 0xda, 0xfb, 0xbb, 0xa3, 0x7d, 0xb0, 0x1e, 0xed, 0x6d, + 0x39, 0x79, 0x68, 0x74, 0x67, 0x9b, 0xd1, 0xbd, 0xd7, 0x10, 0xfb, 0xbb, 0x90, 0x16, 0xd4, 0xbf, + 0x0f, 0xbe, 0x0c, 0xbe, 0xfe, 0x18, 0x74, 0x9f, 0x10, 0x80, 0xf8, 0x9a, 0xc9, 0x19, 0x9b, 0x76, + 0x2b, 0xb6, 0xbe, 0x9c, 0x0a, 0x94, 0xa6, 0x1b, 0x5d, 0xfc, 0xa9, 0xc0, 0x39, 0x57, 0x59, 0x62, + 0x50, 0x72, 0x94, 0x26, 0xc9, 0xd5, 0x94, 0x15, 0x42, 0x27, 0x3a, 0x47, 0x2e, 0xee, 0x05, 0x67, + 0x46, 0x28, 0x99, 0xb0, 0x5c, 0x58, 0x13, 0xc2, 0x56, 0x49, 0xc6, 0x24, 0x1b, 0xe3, 0xc5, 0xe1, + 0x46, 0x48, 0xbf, 0xd9, 0xcd, 0x7e, 0x5e, 0x8d, 0x85, 0x99, 0xcc, 0xee, 0x12, 0xae, 0xb2, 0x34, + 0xa8, 0x65, 0xa8, 0x27, 0xe9, 0x9a, 0x62, 0xea, 0x3d, 0x4b, 0xc7, 0x2a, 0x65, 0xb9, 0x48, 0xcb, + 0x7e, 0x1a, 0xb4, 0x6f, 0xbd, 0xf6, 0x5d, 0xec, 0xce, 0xf4, 0xe6, 0x5f, 0x00, 0x00, 0x00, 0xff, + 0xff, 0x0e, 0xee, 0x16, 0x11, 0xa0, 0x04, 0x00, 0x00, } diff --git a/source/go/api/v1/service_manage/grpcapi.pb.go b/source/go/api/v1/service_manage/grpcapi.pb.go index ae2c859..915fade 100644 --- a/source/go/api/v1/service_manage/grpcapi.pb.go +++ b/source/go/api/v1/service_manage/grpcapi.pb.go @@ -1,171 +1,35 @@ // Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.33.0 -// protoc v5.27.3 // source: grpcapi.proto -package service_manage +package service_manage // import "github.com/polarismesh/specification/source/go/api/v1/service_manage" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" import ( - context "context" + context "golang.org/x/net/context" grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/status" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" ) -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf -var File_grpcapi_proto protoreflect.FileDescriptor - -var file_grpcapi_proto_rawDesc = []byte{ - 0x0a, 0x0d, 0x67, 0x72, 0x70, 0x63, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, - 0x02, 0x76, 0x31, 0x1a, 0x0c, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x1a, 0x0d, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x1a, 0x0d, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, - 0x0e, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, - 0x0f, 0x68, 0x65, 0x61, 0x72, 0x74, 0x62, 0x65, 0x61, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x1a, 0x0e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x32, 0x87, 0x02, 0x0a, 0x0b, 0x50, 0x6f, 0x6c, 0x61, 0x72, 0x69, 0x73, 0x47, 0x52, 0x50, 0x43, - 0x12, 0x2a, 0x0a, 0x0c, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, - 0x12, 0x0a, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x1a, 0x0c, 0x2e, 0x76, - 0x31, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x30, 0x0a, 0x10, - 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, - 0x12, 0x0c, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x1a, 0x0c, - 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x32, - 0x0a, 0x12, 0x44, 0x65, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x49, 0x6e, 0x73, 0x74, - 0x61, 0x6e, 0x63, 0x65, 0x12, 0x0c, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, - 0x63, 0x65, 0x1a, 0x0c, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x22, 0x00, 0x12, 0x3b, 0x0a, 0x08, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x12, 0x13, - 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, - 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x28, 0x01, 0x30, 0x01, 0x12, - 0x29, 0x0a, 0x09, 0x48, 0x65, 0x61, 0x72, 0x74, 0x62, 0x65, 0x61, 0x74, 0x12, 0x0c, 0x2e, 0x76, - 0x31, 0x2e, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x1a, 0x0c, 0x2e, 0x76, 0x31, 0x2e, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x32, 0xf5, 0x01, 0x0a, 0x14, 0x50, - 0x6f, 0x6c, 0x61, 0x72, 0x69, 0x73, 0x48, 0x65, 0x61, 0x72, 0x74, 0x62, 0x65, 0x61, 0x74, 0x47, - 0x52, 0x50, 0x43, 0x12, 0x45, 0x0a, 0x0e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x48, 0x65, 0x61, 0x72, - 0x74, 0x62, 0x65, 0x61, 0x74, 0x12, 0x15, 0x2e, 0x76, 0x31, 0x2e, 0x48, 0x65, 0x61, 0x72, 0x74, - 0x62, 0x65, 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x76, - 0x31, 0x2e, 0x48, 0x65, 0x61, 0x72, 0x74, 0x62, 0x65, 0x61, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x28, 0x01, 0x30, 0x01, 0x12, 0x4a, 0x0a, 0x11, 0x42, 0x61, - 0x74, 0x63, 0x68, 0x47, 0x65, 0x74, 0x48, 0x65, 0x61, 0x72, 0x74, 0x62, 0x65, 0x61, 0x74, 0x12, - 0x18, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x48, 0x65, 0x61, 0x72, 0x74, 0x62, 0x65, 0x61, - 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x76, 0x31, 0x2e, 0x47, - 0x65, 0x74, 0x48, 0x65, 0x61, 0x72, 0x74, 0x62, 0x65, 0x61, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x4a, 0x0a, 0x11, 0x42, 0x61, 0x74, 0x63, 0x68, 0x44, - 0x65, 0x6c, 0x48, 0x65, 0x61, 0x72, 0x74, 0x62, 0x65, 0x61, 0x74, 0x12, 0x18, 0x2e, 0x76, 0x31, - 0x2e, 0x44, 0x65, 0x6c, 0x48, 0x65, 0x61, 0x72, 0x74, 0x62, 0x65, 0x61, 0x74, 0x73, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x48, 0x65, - 0x61, 0x72, 0x74, 0x62, 0x65, 0x61, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x22, 0x00, 0x32, 0x95, 0x01, 0x0a, 0x1a, 0x50, 0x6f, 0x6c, 0x61, 0x72, 0x69, 0x73, 0x53, 0x65, - 0x72, 0x76, 0x69, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x47, 0x52, 0x50, - 0x43, 0x12, 0x3c, 0x0a, 0x15, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, - 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x13, 0x2e, 0x76, 0x31, 0x2e, - 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, - 0x0c, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, - 0x39, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x43, 0x6f, 0x6e, - 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x13, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, - 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x0c, 0x2e, 0x76, 0x31, 0x2e, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x93, 0x01, 0x0a, 0x37, 0x63, - 0x6f, 0x6d, 0x2e, 0x74, 0x65, 0x6e, 0x63, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x6f, 0x6c, 0x61, 0x72, - 0x69, 0x73, 0x2e, 0x73, 0x70, 0x65, 0x63, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, - 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x42, 0x12, 0x50, 0x6f, 0x6c, 0x61, 0x72, 0x69, 0x73, 0x47, - 0x52, 0x50, 0x43, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5a, 0x44, 0x67, 0x69, 0x74, 0x68, - 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x6f, 0x6c, 0x61, 0x72, 0x69, 0x73, 0x6d, 0x65, - 0x73, 0x68, 0x2f, 0x73, 0x70, 0x65, 0x63, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x2f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2f, 0x67, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, - 0x31, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, - 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var file_grpcapi_proto_goTypes = []interface{}{ - (*Client)(nil), // 0: v1.Client - (*Instance)(nil), // 1: v1.Instance - (*DiscoverRequest)(nil), // 2: v1.DiscoverRequest - (*HeartbeatsRequest)(nil), // 3: v1.HeartbeatsRequest - (*GetHeartbeatsRequest)(nil), // 4: v1.GetHeartbeatsRequest - (*DelHeartbeatsRequest)(nil), // 5: v1.DelHeartbeatsRequest - (*ServiceContract)(nil), // 6: v1.ServiceContract - (*Response)(nil), // 7: v1.Response - (*DiscoverResponse)(nil), // 8: v1.DiscoverResponse - (*HeartbeatsResponse)(nil), // 9: v1.HeartbeatsResponse - (*GetHeartbeatsResponse)(nil), // 10: v1.GetHeartbeatsResponse - (*DelHeartbeatsResponse)(nil), // 11: v1.DelHeartbeatsResponse -} -var file_grpcapi_proto_depIdxs = []int32{ - 0, // 0: v1.PolarisGRPC.ReportClient:input_type -> v1.Client - 1, // 1: v1.PolarisGRPC.RegisterInstance:input_type -> v1.Instance - 1, // 2: v1.PolarisGRPC.DeregisterInstance:input_type -> v1.Instance - 2, // 3: v1.PolarisGRPC.Discover:input_type -> v1.DiscoverRequest - 1, // 4: v1.PolarisGRPC.Heartbeat:input_type -> v1.Instance - 3, // 5: v1.PolarisHeartbeatGRPC.BatchHeartbeat:input_type -> v1.HeartbeatsRequest - 4, // 6: v1.PolarisHeartbeatGRPC.BatchGetHeartbeat:input_type -> v1.GetHeartbeatsRequest - 5, // 7: v1.PolarisHeartbeatGRPC.BatchDelHeartbeat:input_type -> v1.DelHeartbeatsRequest - 6, // 8: v1.PolarisServiceContractGRPC.ReportServiceContract:input_type -> v1.ServiceContract - 6, // 9: v1.PolarisServiceContractGRPC.GetServiceContract:input_type -> v1.ServiceContract - 7, // 10: v1.PolarisGRPC.ReportClient:output_type -> v1.Response - 7, // 11: v1.PolarisGRPC.RegisterInstance:output_type -> v1.Response - 7, // 12: v1.PolarisGRPC.DeregisterInstance:output_type -> v1.Response - 8, // 13: v1.PolarisGRPC.Discover:output_type -> v1.DiscoverResponse - 7, // 14: v1.PolarisGRPC.Heartbeat:output_type -> v1.Response - 9, // 15: v1.PolarisHeartbeatGRPC.BatchHeartbeat:output_type -> v1.HeartbeatsResponse - 10, // 16: v1.PolarisHeartbeatGRPC.BatchGetHeartbeat:output_type -> v1.GetHeartbeatsResponse - 11, // 17: v1.PolarisHeartbeatGRPC.BatchDelHeartbeat:output_type -> v1.DelHeartbeatsResponse - 7, // 18: v1.PolarisServiceContractGRPC.ReportServiceContract:output_type -> v1.Response - 7, // 19: v1.PolarisServiceContractGRPC.GetServiceContract:output_type -> v1.Response - 10, // [10:20] is the sub-list for method output_type - 0, // [0:10] is the sub-list for method input_type - 0, // [0:0] is the sub-list for extension type_name - 0, // [0:0] is the sub-list for extension extendee - 0, // [0:0] is the sub-list for field type_name -} - -func init() { file_grpcapi_proto_init() } -func file_grpcapi_proto_init() { - if File_grpcapi_proto != nil { - return - } - file_client_proto_init() - file_service_proto_init() - file_request_proto_init() - file_response_proto_init() - file_heartbeat_proto_init() - file_contract_proto_init() - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_grpcapi_proto_rawDesc, - NumEnums: 0, - NumMessages: 0, - NumExtensions: 0, - NumServices: 3, - }, - GoTypes: file_grpcapi_proto_goTypes, - DependencyIndexes: file_grpcapi_proto_depIdxs, - }.Build() - File_grpcapi_proto = out.File - file_grpcapi_proto_rawDesc = nil - file_grpcapi_proto_goTypes = nil - file_grpcapi_proto_depIdxs = nil -} +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package // Reference imports to suppress errors if they are not otherwise used. var _ context.Context -var _ grpc.ClientConnInterface +var _ grpc.ClientConn // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package it is being compiled against. -const _ = grpc.SupportPackageIsVersion6 +const _ = grpc.SupportPackageIsVersion4 // PolarisGRPCClient is the client API for PolarisGRPC service. // @@ -184,10 +48,10 @@ type PolarisGRPCClient interface { } type polarisGRPCClient struct { - cc grpc.ClientConnInterface + cc *grpc.ClientConn } -func NewPolarisGRPCClient(cc grpc.ClientConnInterface) PolarisGRPCClient { +func NewPolarisGRPCClient(cc *grpc.ClientConn) PolarisGRPCClient { return &polarisGRPCClient{cc} } @@ -272,26 +136,6 @@ type PolarisGRPCServer interface { Heartbeat(context.Context, *Instance) (*Response, error) } -// UnimplementedPolarisGRPCServer can be embedded to have forward compatible implementations. -type UnimplementedPolarisGRPCServer struct { -} - -func (*UnimplementedPolarisGRPCServer) ReportClient(context.Context, *Client) (*Response, error) { - return nil, status.Errorf(codes.Unimplemented, "method ReportClient not implemented") -} -func (*UnimplementedPolarisGRPCServer) RegisterInstance(context.Context, *Instance) (*Response, error) { - return nil, status.Errorf(codes.Unimplemented, "method RegisterInstance not implemented") -} -func (*UnimplementedPolarisGRPCServer) DeregisterInstance(context.Context, *Instance) (*Response, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeregisterInstance not implemented") -} -func (*UnimplementedPolarisGRPCServer) Discover(PolarisGRPC_DiscoverServer) error { - return status.Errorf(codes.Unimplemented, "method Discover not implemented") -} -func (*UnimplementedPolarisGRPCServer) Heartbeat(context.Context, *Instance) (*Response, error) { - return nil, status.Errorf(codes.Unimplemented, "method Heartbeat not implemented") -} - func RegisterPolarisGRPCServer(s *grpc.Server, srv PolarisGRPCServer) { s.RegisterService(&_PolarisGRPC_serviceDesc, srv) } @@ -439,10 +283,10 @@ type PolarisHeartbeatGRPCClient interface { } type polarisHeartbeatGRPCClient struct { - cc grpc.ClientConnInterface + cc *grpc.ClientConn } -func NewPolarisHeartbeatGRPCClient(cc grpc.ClientConnInterface) PolarisHeartbeatGRPCClient { +func NewPolarisHeartbeatGRPCClient(cc *grpc.ClientConn) PolarisHeartbeatGRPCClient { return &polarisHeartbeatGRPCClient{cc} } @@ -505,20 +349,6 @@ type PolarisHeartbeatGRPCServer interface { BatchDelHeartbeat(context.Context, *DelHeartbeatsRequest) (*DelHeartbeatsResponse, error) } -// UnimplementedPolarisHeartbeatGRPCServer can be embedded to have forward compatible implementations. -type UnimplementedPolarisHeartbeatGRPCServer struct { -} - -func (*UnimplementedPolarisHeartbeatGRPCServer) BatchHeartbeat(PolarisHeartbeatGRPC_BatchHeartbeatServer) error { - return status.Errorf(codes.Unimplemented, "method BatchHeartbeat not implemented") -} -func (*UnimplementedPolarisHeartbeatGRPCServer) BatchGetHeartbeat(context.Context, *GetHeartbeatsRequest) (*GetHeartbeatsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method BatchGetHeartbeat not implemented") -} -func (*UnimplementedPolarisHeartbeatGRPCServer) BatchDelHeartbeat(context.Context, *DelHeartbeatsRequest) (*DelHeartbeatsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method BatchDelHeartbeat not implemented") -} - func RegisterPolarisHeartbeatGRPCServer(s *grpc.Server, srv PolarisHeartbeatGRPCServer) { s.RegisterService(&_PolarisHeartbeatGRPC_serviceDesc, srv) } @@ -620,10 +450,10 @@ type PolarisServiceContractGRPCClient interface { } type polarisServiceContractGRPCClient struct { - cc grpc.ClientConnInterface + cc *grpc.ClientConn } -func NewPolarisServiceContractGRPCClient(cc grpc.ClientConnInterface) PolarisServiceContractGRPCClient { +func NewPolarisServiceContractGRPCClient(cc *grpc.ClientConn) PolarisServiceContractGRPCClient { return &polarisServiceContractGRPCClient{cc} } @@ -653,17 +483,6 @@ type PolarisServiceContractGRPCServer interface { GetServiceContract(context.Context, *ServiceContract) (*Response, error) } -// UnimplementedPolarisServiceContractGRPCServer can be embedded to have forward compatible implementations. -type UnimplementedPolarisServiceContractGRPCServer struct { -} - -func (*UnimplementedPolarisServiceContractGRPCServer) ReportServiceContract(context.Context, *ServiceContract) (*Response, error) { - return nil, status.Errorf(codes.Unimplemented, "method ReportServiceContract not implemented") -} -func (*UnimplementedPolarisServiceContractGRPCServer) GetServiceContract(context.Context, *ServiceContract) (*Response, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetServiceContract not implemented") -} - func RegisterPolarisServiceContractGRPCServer(s *grpc.Server, srv PolarisServiceContractGRPCServer) { s.RegisterService(&_PolarisServiceContractGRPC_serviceDesc, srv) } @@ -720,3 +539,35 @@ var _PolarisServiceContractGRPC_serviceDesc = grpc.ServiceDesc{ Streams: []grpc.StreamDesc{}, Metadata: "grpcapi.proto", } + +func init() { proto.RegisterFile("grpcapi.proto", fileDescriptor_grpcapi_aeb5af8ee2ed8b84) } + +var fileDescriptor_grpcapi_aeb5af8ee2ed8b84 = []byte{ + // 409 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x53, 0xb1, 0x6e, 0xdb, 0x30, + 0x10, 0xad, 0x3c, 0x14, 0x2d, 0x6b, 0xbb, 0x2d, 0x6b, 0x17, 0xad, 0xc6, 0x4e, 0x6d, 0x07, 0xca, + 0x72, 0x87, 0xa2, 0x68, 0x27, 0x5b, 0x85, 0x93, 0x4c, 0x86, 0xb2, 0x65, 0x09, 0x68, 0xe2, 0x22, + 0x11, 0xb0, 0x48, 0x85, 0xa4, 0xf5, 0x0b, 0xf9, 0x80, 0x20, 0x9f, 0x9a, 0x3d, 0x90, 0x48, 0xca, + 0x96, 0x1c, 0x04, 0x48, 0x36, 0xde, 0x7b, 0x7c, 0xef, 0x78, 0xc7, 0x3b, 0x34, 0xca, 0x54, 0xc9, + 0x68, 0xc9, 0x49, 0xa9, 0xa4, 0x91, 0x78, 0x50, 0xc5, 0xe1, 0x90, 0x6d, 0x39, 0x08, 0x63, 0x91, + 0x70, 0xa4, 0x41, 0x55, 0x9c, 0x81, 0x0f, 0x15, 0x5c, 0xef, 0x40, 0x7b, 0x76, 0xac, 0x40, 0x97, + 0x52, 0x68, 0x4f, 0xbf, 0xcf, 0x81, 0x2a, 0xb3, 0x01, 0xda, 0x5e, 0x60, 0x52, 0x18, 0x45, 0x99, + 0x8b, 0xe7, 0x37, 0x03, 0xf4, 0x6e, 0x2d, 0xb7, 0x54, 0x71, 0xbd, 0x4a, 0xd7, 0x4b, 0xfc, 0x13, + 0x0d, 0x53, 0x28, 0xa5, 0x32, 0xcb, 0x26, 0x29, 0x46, 0xa4, 0x8a, 0x89, 0x3d, 0x87, 0xc3, 0xfa, + 0x9c, 0xba, 0x04, 0xdf, 0x5e, 0xe1, 0x19, 0xfa, 0x90, 0x42, 0xc6, 0xb5, 0x01, 0x75, 0x2a, 0xb4, + 0xa1, 0x82, 0x01, 0x6e, 0xee, 0xf8, 0xe8, 0x48, 0x31, 0x47, 0x38, 0x01, 0xf5, 0x3c, 0xcd, 0x5f, + 0xf4, 0x26, 0xe1, 0x9a, 0xc9, 0x0a, 0x14, 0xfe, 0x54, 0x73, 0x3e, 0x4a, 0x6d, 0xe5, 0xe1, 0xa4, + 0x0b, 0x7a, 0xe1, 0xf7, 0x60, 0x16, 0xe0, 0x1f, 0xe8, 0xed, 0x89, 0xef, 0xc0, 0xd3, 0x79, 0xe6, + 0xf7, 0x01, 0x9a, 0xb8, 0x4e, 0xb4, 0x92, 0xa6, 0x25, 0xff, 0xd1, 0x78, 0x41, 0x0d, 0xcb, 0xf7, + 0x46, 0xd3, 0x5a, 0xda, 0x86, 0xda, 0x3f, 0xe4, 0x73, 0x1f, 0xee, 0x3c, 0xe5, 0x0c, 0x7d, 0x6c, + 0x6c, 0x56, 0x60, 0xf6, 0x4e, 0x5f, 0x6a, 0xc9, 0x21, 0xd2, 0x9a, 0x7d, 0x7d, 0x84, 0x69, 0x7b, + 0xe2, 0xbd, 0x12, 0xd8, 0xf6, 0xbc, 0x0e, 0x91, 0xae, 0x57, 0x8f, 0x69, 0xeb, 0xbe, 0x0b, 0x50, + 0xe8, 0xea, 0x3e, 0xb7, 0xa3, 0xb5, 0x74, 0x23, 0xd2, 0x54, 0xff, 0x0f, 0x4d, 0xed, 0x40, 0xf4, + 0x48, 0xfb, 0x17, 0x3d, 0xf0, 0xe8, 0xf3, 0xfe, 0x20, 0xbc, 0x82, 0x17, 0x49, 0x17, 0xb7, 0x01, + 0xfa, 0xcd, 0x64, 0x41, 0x0c, 0x08, 0xd6, 0x8c, 0xbf, 0x7d, 0x23, 0xd1, 0x25, 0x30, 0x7e, 0xc5, + 0x19, 0x35, 0x5c, 0x0a, 0x52, 0xaf, 0x4a, 0x15, 0x13, 0xbf, 0x14, 0x05, 0x15, 0x34, 0x83, 0x05, + 0x3e, 0x18, 0x69, 0x97, 0xe7, 0x22, 0xc9, 0xb8, 0xc9, 0x77, 0x1b, 0xc2, 0x64, 0x11, 0x39, 0xaf, + 0x02, 0x74, 0x1e, 0x75, 0xfc, 0x22, 0x2d, 0x77, 0x8a, 0x41, 0x94, 0xc9, 0x88, 0x96, 0x3c, 0xaa, + 0xe2, 0xc8, 0x39, 0x5f, 0x5a, 0xe7, 0xcd, 0xeb, 0x66, 0x6d, 0x7e, 0x3d, 0x04, 0x00, 0x00, 0xff, + 0xff, 0x47, 0xcd, 0xe1, 0x6d, 0xa8, 0x03, 0x00, 0x00, +} diff --git a/source/go/api/v1/service_manage/heartbeat.pb.go b/source/go/api/v1/service_manage/heartbeat.pb.go index e2daa28..10a6c2e 100644 --- a/source/go/api/v1/service_manage/heartbeat.pb.go +++ b/source/go/api/v1/service_manage/heartbeat.pb.go @@ -1,657 +1,415 @@ // Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.33.0 -// protoc v5.27.3 // source: heartbeat.proto -package service_manage +package service_manage // import "github.com/polarismesh/specification/source/go/api/v1/service_manage" -import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" -) +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf -type HeartbeatRecord struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package - InstanceId string `protobuf:"bytes,1,opt,name=instanceId,json=instance_id,proto3" json:"instanceId,omitempty"` - LastHeartbeatSec int64 `protobuf:"varint,6,opt,name=lastHeartbeatSec,json=last_heartbeat_sec,proto3" json:"lastHeartbeatSec,omitempty"` - Exist bool `protobuf:"varint,7,opt,name=exist,proto3" json:"exist,omitempty"` +type HeartbeatRecord struct { + InstanceId string `protobuf:"bytes,1,opt,name=instanceId,json=instance_id,proto3" json:"instanceId,omitempty"` + LastHeartbeatSec int64 `protobuf:"varint,6,opt,name=lastHeartbeatSec,json=last_heartbeat_sec,proto3" json:"lastHeartbeatSec,omitempty"` + Exist bool `protobuf:"varint,7,opt,name=exist,proto3" json:"exist,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *HeartbeatRecord) Reset() { - *x = HeartbeatRecord{} - if protoimpl.UnsafeEnabled { - mi := &file_heartbeat_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *HeartbeatRecord) Reset() { *m = HeartbeatRecord{} } +func (m *HeartbeatRecord) String() string { return proto.CompactTextString(m) } +func (*HeartbeatRecord) ProtoMessage() {} +func (*HeartbeatRecord) Descriptor() ([]byte, []int) { + return fileDescriptor_heartbeat_444c95e923f2483e, []int{0} } - -func (x *HeartbeatRecord) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *HeartbeatRecord) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_HeartbeatRecord.Unmarshal(m, b) } - -func (*HeartbeatRecord) ProtoMessage() {} - -func (x *HeartbeatRecord) ProtoReflect() protoreflect.Message { - mi := &file_heartbeat_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *HeartbeatRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_HeartbeatRecord.Marshal(b, m, deterministic) } - -// Deprecated: Use HeartbeatRecord.ProtoReflect.Descriptor instead. -func (*HeartbeatRecord) Descriptor() ([]byte, []int) { - return file_heartbeat_proto_rawDescGZIP(), []int{0} +func (dst *HeartbeatRecord) XXX_Merge(src proto.Message) { + xxx_messageInfo_HeartbeatRecord.Merge(dst, src) } +func (m *HeartbeatRecord) XXX_Size() int { + return xxx_messageInfo_HeartbeatRecord.Size(m) +} +func (m *HeartbeatRecord) XXX_DiscardUnknown() { + xxx_messageInfo_HeartbeatRecord.DiscardUnknown(m) +} + +var xxx_messageInfo_HeartbeatRecord proto.InternalMessageInfo -func (x *HeartbeatRecord) GetInstanceId() string { - if x != nil { - return x.InstanceId +func (m *HeartbeatRecord) GetInstanceId() string { + if m != nil { + return m.InstanceId } return "" } -func (x *HeartbeatRecord) GetLastHeartbeatSec() int64 { - if x != nil { - return x.LastHeartbeatSec +func (m *HeartbeatRecord) GetLastHeartbeatSec() int64 { + if m != nil { + return m.LastHeartbeatSec } return 0 } -func (x *HeartbeatRecord) GetExist() bool { - if x != nil { - return x.Exist +func (m *HeartbeatRecord) GetExist() bool { + if m != nil { + return m.Exist } return false } type InstanceHeartbeat struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - InstanceId string `protobuf:"bytes,1,opt,name=instanceId,json=instance_id,proto3" json:"instanceId,omitempty"` - Service string `protobuf:"bytes,2,opt,name=service,proto3" json:"service,omitempty"` - Namespace string `protobuf:"bytes,3,opt,name=namespace,proto3" json:"namespace,omitempty"` - Host string `protobuf:"bytes,4,opt,name=host,proto3" json:"host,omitempty"` - Port uint32 `protobuf:"varint,5,opt,name=port,proto3" json:"port,omitempty"` -} - -func (x *InstanceHeartbeat) Reset() { - *x = InstanceHeartbeat{} - if protoimpl.UnsafeEnabled { - mi := &file_heartbeat_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + InstanceId string `protobuf:"bytes,1,opt,name=instanceId,json=instance_id,proto3" json:"instanceId,omitempty"` + Service string `protobuf:"bytes,2,opt,name=service,proto3" json:"service,omitempty"` + Namespace string `protobuf:"bytes,3,opt,name=namespace,proto3" json:"namespace,omitempty"` + Host string `protobuf:"bytes,4,opt,name=host,proto3" json:"host,omitempty"` + Port uint32 `protobuf:"varint,5,opt,name=port,proto3" json:"port,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *InstanceHeartbeat) Reset() { *m = InstanceHeartbeat{} } +func (m *InstanceHeartbeat) String() string { return proto.CompactTextString(m) } +func (*InstanceHeartbeat) ProtoMessage() {} +func (*InstanceHeartbeat) Descriptor() ([]byte, []int) { + return fileDescriptor_heartbeat_444c95e923f2483e, []int{1} } - -func (x *InstanceHeartbeat) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *InstanceHeartbeat) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_InstanceHeartbeat.Unmarshal(m, b) } - -func (*InstanceHeartbeat) ProtoMessage() {} - -func (x *InstanceHeartbeat) ProtoReflect() protoreflect.Message { - mi := &file_heartbeat_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *InstanceHeartbeat) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_InstanceHeartbeat.Marshal(b, m, deterministic) } - -// Deprecated: Use InstanceHeartbeat.ProtoReflect.Descriptor instead. -func (*InstanceHeartbeat) Descriptor() ([]byte, []int) { - return file_heartbeat_proto_rawDescGZIP(), []int{1} +func (dst *InstanceHeartbeat) XXX_Merge(src proto.Message) { + xxx_messageInfo_InstanceHeartbeat.Merge(dst, src) +} +func (m *InstanceHeartbeat) XXX_Size() int { + return xxx_messageInfo_InstanceHeartbeat.Size(m) } +func (m *InstanceHeartbeat) XXX_DiscardUnknown() { + xxx_messageInfo_InstanceHeartbeat.DiscardUnknown(m) +} + +var xxx_messageInfo_InstanceHeartbeat proto.InternalMessageInfo -func (x *InstanceHeartbeat) GetInstanceId() string { - if x != nil { - return x.InstanceId +func (m *InstanceHeartbeat) GetInstanceId() string { + if m != nil { + return m.InstanceId } return "" } -func (x *InstanceHeartbeat) GetService() string { - if x != nil { - return x.Service +func (m *InstanceHeartbeat) GetService() string { + if m != nil { + return m.Service } return "" } -func (x *InstanceHeartbeat) GetNamespace() string { - if x != nil { - return x.Namespace +func (m *InstanceHeartbeat) GetNamespace() string { + if m != nil { + return m.Namespace } return "" } -func (x *InstanceHeartbeat) GetHost() string { - if x != nil { - return x.Host +func (m *InstanceHeartbeat) GetHost() string { + if m != nil { + return m.Host } return "" } -func (x *InstanceHeartbeat) GetPort() uint32 { - if x != nil { - return x.Port +func (m *InstanceHeartbeat) GetPort() uint32 { + if m != nil { + return m.Port } return 0 } type HeartbeatsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Heartbeats []*InstanceHeartbeat `protobuf:"bytes,1,rep,name=heartbeats,proto3" json:"heartbeats,omitempty"` + Heartbeats []*InstanceHeartbeat `protobuf:"bytes,1,rep,name=heartbeats,proto3" json:"heartbeats,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *HeartbeatsRequest) Reset() { - *x = HeartbeatsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_heartbeat_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *HeartbeatsRequest) Reset() { *m = HeartbeatsRequest{} } +func (m *HeartbeatsRequest) String() string { return proto.CompactTextString(m) } +func (*HeartbeatsRequest) ProtoMessage() {} +func (*HeartbeatsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_heartbeat_444c95e923f2483e, []int{2} } - -func (x *HeartbeatsRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *HeartbeatsRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_HeartbeatsRequest.Unmarshal(m, b) } - -func (*HeartbeatsRequest) ProtoMessage() {} - -func (x *HeartbeatsRequest) ProtoReflect() protoreflect.Message { - mi := &file_heartbeat_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) +func (m *HeartbeatsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_HeartbeatsRequest.Marshal(b, m, deterministic) } - -// Deprecated: Use HeartbeatsRequest.ProtoReflect.Descriptor instead. -func (*HeartbeatsRequest) Descriptor() ([]byte, []int) { - return file_heartbeat_proto_rawDescGZIP(), []int{2} +func (dst *HeartbeatsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_HeartbeatsRequest.Merge(dst, src) +} +func (m *HeartbeatsRequest) XXX_Size() int { + return xxx_messageInfo_HeartbeatsRequest.Size(m) } +func (m *HeartbeatsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_HeartbeatsRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_HeartbeatsRequest proto.InternalMessageInfo -func (x *HeartbeatsRequest) GetHeartbeats() []*InstanceHeartbeat { - if x != nil { - return x.Heartbeats +func (m *HeartbeatsRequest) GetHeartbeats() []*InstanceHeartbeat { + if m != nil { + return m.Heartbeats } return nil } type HeartbeatsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *HeartbeatsResponse) Reset() { - *x = HeartbeatsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_heartbeat_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *HeartbeatsResponse) Reset() { *m = HeartbeatsResponse{} } +func (m *HeartbeatsResponse) String() string { return proto.CompactTextString(m) } +func (*HeartbeatsResponse) ProtoMessage() {} +func (*HeartbeatsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_heartbeat_444c95e923f2483e, []int{3} } - -func (x *HeartbeatsResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *HeartbeatsResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_HeartbeatsResponse.Unmarshal(m, b) } - -func (*HeartbeatsResponse) ProtoMessage() {} - -func (x *HeartbeatsResponse) ProtoReflect() protoreflect.Message { - mi := &file_heartbeat_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) +func (m *HeartbeatsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_HeartbeatsResponse.Marshal(b, m, deterministic) } - -// Deprecated: Use HeartbeatsResponse.ProtoReflect.Descriptor instead. -func (*HeartbeatsResponse) Descriptor() ([]byte, []int) { - return file_heartbeat_proto_rawDescGZIP(), []int{3} +func (dst *HeartbeatsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_HeartbeatsResponse.Merge(dst, src) } - -type GetHeartbeatsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - InstanceIds []string `protobuf:"bytes,1,rep,name=instanceIds,json=instance_ids,proto3" json:"instanceIds,omitempty"` +func (m *HeartbeatsResponse) XXX_Size() int { + return xxx_messageInfo_HeartbeatsResponse.Size(m) } - -func (x *GetHeartbeatsRequest) Reset() { - *x = GetHeartbeatsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_heartbeat_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *HeartbeatsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_HeartbeatsResponse.DiscardUnknown(m) } -func (x *GetHeartbeatsRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetHeartbeatsRequest) ProtoMessage() {} +var xxx_messageInfo_HeartbeatsResponse proto.InternalMessageInfo -func (x *GetHeartbeatsRequest) ProtoReflect() protoreflect.Message { - mi := &file_heartbeat_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) +type GetHeartbeatsRequest struct { + InstanceIds []string `protobuf:"bytes,1,rep,name=instanceIds,json=instance_ids,proto3" json:"instanceIds,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -// Deprecated: Use GetHeartbeatsRequest.ProtoReflect.Descriptor instead. +func (m *GetHeartbeatsRequest) Reset() { *m = GetHeartbeatsRequest{} } +func (m *GetHeartbeatsRequest) String() string { return proto.CompactTextString(m) } +func (*GetHeartbeatsRequest) ProtoMessage() {} func (*GetHeartbeatsRequest) Descriptor() ([]byte, []int) { - return file_heartbeat_proto_rawDescGZIP(), []int{4} + return fileDescriptor_heartbeat_444c95e923f2483e, []int{4} +} +func (m *GetHeartbeatsRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetHeartbeatsRequest.Unmarshal(m, b) +} +func (m *GetHeartbeatsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetHeartbeatsRequest.Marshal(b, m, deterministic) +} +func (dst *GetHeartbeatsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetHeartbeatsRequest.Merge(dst, src) +} +func (m *GetHeartbeatsRequest) XXX_Size() int { + return xxx_messageInfo_GetHeartbeatsRequest.Size(m) +} +func (m *GetHeartbeatsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetHeartbeatsRequest.DiscardUnknown(m) } -func (x *GetHeartbeatsRequest) GetInstanceIds() []string { - if x != nil { - return x.InstanceIds +var xxx_messageInfo_GetHeartbeatsRequest proto.InternalMessageInfo + +func (m *GetHeartbeatsRequest) GetInstanceIds() []string { + if m != nil { + return m.InstanceIds } return nil } type GetHeartbeatsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Records []*HeartbeatRecord `protobuf:"bytes,1,rep,name=records,proto3" json:"records,omitempty"` + Records []*HeartbeatRecord `protobuf:"bytes,1,rep,name=records,proto3" json:"records,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *GetHeartbeatsResponse) Reset() { - *x = GetHeartbeatsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_heartbeat_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *GetHeartbeatsResponse) Reset() { *m = GetHeartbeatsResponse{} } +func (m *GetHeartbeatsResponse) String() string { return proto.CompactTextString(m) } +func (*GetHeartbeatsResponse) ProtoMessage() {} +func (*GetHeartbeatsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_heartbeat_444c95e923f2483e, []int{5} } - -func (x *GetHeartbeatsResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *GetHeartbeatsResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetHeartbeatsResponse.Unmarshal(m, b) } - -func (*GetHeartbeatsResponse) ProtoMessage() {} - -func (x *GetHeartbeatsResponse) ProtoReflect() protoreflect.Message { - mi := &file_heartbeat_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) +func (m *GetHeartbeatsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetHeartbeatsResponse.Marshal(b, m, deterministic) } - -// Deprecated: Use GetHeartbeatsResponse.ProtoReflect.Descriptor instead. -func (*GetHeartbeatsResponse) Descriptor() ([]byte, []int) { - return file_heartbeat_proto_rawDescGZIP(), []int{5} +func (dst *GetHeartbeatsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetHeartbeatsResponse.Merge(dst, src) +} +func (m *GetHeartbeatsResponse) XXX_Size() int { + return xxx_messageInfo_GetHeartbeatsResponse.Size(m) +} +func (m *GetHeartbeatsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_GetHeartbeatsResponse.DiscardUnknown(m) } -func (x *GetHeartbeatsResponse) GetRecords() []*HeartbeatRecord { - if x != nil { - return x.Records +var xxx_messageInfo_GetHeartbeatsResponse proto.InternalMessageInfo + +func (m *GetHeartbeatsResponse) GetRecords() []*HeartbeatRecord { + if m != nil { + return m.Records } return nil } type DelHeartbeatsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - InstanceIds []string `protobuf:"bytes,1,rep,name=instanceIds,json=instance_ids,proto3" json:"instanceIds,omitempty"` + InstanceIds []string `protobuf:"bytes,1,rep,name=instanceIds,json=instance_ids,proto3" json:"instanceIds,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *DelHeartbeatsRequest) Reset() { - *x = DelHeartbeatsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_heartbeat_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *DelHeartbeatsRequest) Reset() { *m = DelHeartbeatsRequest{} } +func (m *DelHeartbeatsRequest) String() string { return proto.CompactTextString(m) } +func (*DelHeartbeatsRequest) ProtoMessage() {} +func (*DelHeartbeatsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_heartbeat_444c95e923f2483e, []int{6} } - -func (x *DelHeartbeatsRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *DelHeartbeatsRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DelHeartbeatsRequest.Unmarshal(m, b) } - -func (*DelHeartbeatsRequest) ProtoMessage() {} - -func (x *DelHeartbeatsRequest) ProtoReflect() protoreflect.Message { - mi := &file_heartbeat_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) +func (m *DelHeartbeatsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DelHeartbeatsRequest.Marshal(b, m, deterministic) } - -// Deprecated: Use DelHeartbeatsRequest.ProtoReflect.Descriptor instead. -func (*DelHeartbeatsRequest) Descriptor() ([]byte, []int) { - return file_heartbeat_proto_rawDescGZIP(), []int{6} +func (dst *DelHeartbeatsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_DelHeartbeatsRequest.Merge(dst, src) +} +func (m *DelHeartbeatsRequest) XXX_Size() int { + return xxx_messageInfo_DelHeartbeatsRequest.Size(m) +} +func (m *DelHeartbeatsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_DelHeartbeatsRequest.DiscardUnknown(m) } -func (x *DelHeartbeatsRequest) GetInstanceIds() []string { - if x != nil { - return x.InstanceIds +var xxx_messageInfo_DelHeartbeatsRequest proto.InternalMessageInfo + +func (m *DelHeartbeatsRequest) GetInstanceIds() []string { + if m != nil { + return m.InstanceIds } return nil } type DelHeartbeatsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Code uint32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` - Info string `protobuf:"bytes,2,opt,name=info,proto3" json:"info,omitempty"` + Code uint32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` + Info string `protobuf:"bytes,2,opt,name=info,proto3" json:"info,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *DelHeartbeatsResponse) Reset() { - *x = DelHeartbeatsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_heartbeat_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *DelHeartbeatsResponse) Reset() { *m = DelHeartbeatsResponse{} } +func (m *DelHeartbeatsResponse) String() string { return proto.CompactTextString(m) } +func (*DelHeartbeatsResponse) ProtoMessage() {} +func (*DelHeartbeatsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_heartbeat_444c95e923f2483e, []int{7} } - -func (x *DelHeartbeatsResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *DelHeartbeatsResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DelHeartbeatsResponse.Unmarshal(m, b) } - -func (*DelHeartbeatsResponse) ProtoMessage() {} - -func (x *DelHeartbeatsResponse) ProtoReflect() protoreflect.Message { - mi := &file_heartbeat_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) +func (m *DelHeartbeatsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DelHeartbeatsResponse.Marshal(b, m, deterministic) } - -// Deprecated: Use DelHeartbeatsResponse.ProtoReflect.Descriptor instead. -func (*DelHeartbeatsResponse) Descriptor() ([]byte, []int) { - return file_heartbeat_proto_rawDescGZIP(), []int{7} +func (dst *DelHeartbeatsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_DelHeartbeatsResponse.Merge(dst, src) +} +func (m *DelHeartbeatsResponse) XXX_Size() int { + return xxx_messageInfo_DelHeartbeatsResponse.Size(m) +} +func (m *DelHeartbeatsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_DelHeartbeatsResponse.DiscardUnknown(m) } -func (x *DelHeartbeatsResponse) GetCode() uint32 { - if x != nil { - return x.Code +var xxx_messageInfo_DelHeartbeatsResponse proto.InternalMessageInfo + +func (m *DelHeartbeatsResponse) GetCode() uint32 { + if m != nil { + return m.Code } return 0 } -func (x *DelHeartbeatsResponse) GetInfo() string { - if x != nil { - return x.Info +func (m *DelHeartbeatsResponse) GetInfo() string { + if m != nil { + return m.Info } return "" } -var File_heartbeat_proto protoreflect.FileDescriptor - -var file_heartbeat_proto_rawDesc = []byte{ - 0x0a, 0x0f, 0x68, 0x65, 0x61, 0x72, 0x74, 0x62, 0x65, 0x61, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x12, 0x02, 0x76, 0x31, 0x1a, 0x0d, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x7c, 0x0a, 0x0f, 0x48, 0x65, 0x61, 0x72, 0x74, 0x62, 0x65, 0x61, - 0x74, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x12, 0x1f, 0x0a, 0x0a, 0x69, 0x6e, 0x73, 0x74, 0x61, - 0x6e, 0x63, 0x65, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x69, 0x6e, 0x73, - 0x74, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x12, 0x2c, 0x0a, 0x10, 0x6c, 0x61, 0x73, 0x74, - 0x48, 0x65, 0x61, 0x72, 0x74, 0x62, 0x65, 0x61, 0x74, 0x53, 0x65, 0x63, 0x18, 0x06, 0x20, 0x01, - 0x28, 0x03, 0x52, 0x12, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x68, 0x65, 0x61, 0x72, 0x74, 0x62, 0x65, - 0x61, 0x74, 0x5f, 0x73, 0x65, 0x63, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x78, 0x69, 0x73, 0x74, 0x18, - 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x65, 0x78, 0x69, 0x73, 0x74, 0x4a, 0x04, 0x08, 0x02, - 0x10, 0x06, 0x22, 0x94, 0x01, 0x0a, 0x11, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x48, - 0x65, 0x61, 0x72, 0x74, 0x62, 0x65, 0x61, 0x74, 0x12, 0x1f, 0x0a, 0x0a, 0x69, 0x6e, 0x73, 0x74, - 0x61, 0x6e, 0x63, 0x65, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x69, 0x6e, - 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x65, 0x72, - 0x76, 0x69, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x73, 0x65, 0x72, 0x76, - 0x69, 0x63, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, - 0x65, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x04, 0x68, 0x6f, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x05, 0x20, - 0x01, 0x28, 0x0d, 0x52, 0x04, 0x70, 0x6f, 0x72, 0x74, 0x22, 0x4a, 0x0a, 0x11, 0x48, 0x65, 0x61, - 0x72, 0x74, 0x62, 0x65, 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x35, - 0x0a, 0x0a, 0x68, 0x65, 0x61, 0x72, 0x74, 0x62, 0x65, 0x61, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, - 0x48, 0x65, 0x61, 0x72, 0x74, 0x62, 0x65, 0x61, 0x74, 0x52, 0x0a, 0x68, 0x65, 0x61, 0x72, 0x74, - 0x62, 0x65, 0x61, 0x74, 0x73, 0x22, 0x14, 0x0a, 0x12, 0x48, 0x65, 0x61, 0x72, 0x74, 0x62, 0x65, - 0x61, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x39, 0x0a, 0x14, 0x47, - 0x65, 0x74, 0x48, 0x65, 0x61, 0x72, 0x74, 0x62, 0x65, 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x12, 0x21, 0x0a, 0x0b, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x49, - 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0c, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, - 0x63, 0x65, 0x5f, 0x69, 0x64, 0x73, 0x22, 0x46, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x48, 0x65, 0x61, - 0x72, 0x74, 0x62, 0x65, 0x61, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, - 0x2d, 0x0a, 0x07, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, - 0x32, 0x13, 0x2e, 0x76, 0x31, 0x2e, 0x48, 0x65, 0x61, 0x72, 0x74, 0x62, 0x65, 0x61, 0x74, 0x52, - 0x65, 0x63, 0x6f, 0x72, 0x64, 0x52, 0x07, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x22, 0x39, - 0x0a, 0x14, 0x44, 0x65, 0x6c, 0x48, 0x65, 0x61, 0x72, 0x74, 0x62, 0x65, 0x61, 0x74, 0x73, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x21, 0x0a, 0x0b, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, - 0x63, 0x65, 0x49, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0c, 0x69, 0x6e, 0x73, - 0x74, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x73, 0x22, 0x3f, 0x0a, 0x15, 0x44, 0x65, 0x6c, - 0x48, 0x65, 0x61, 0x72, 0x74, 0x62, 0x65, 0x61, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, - 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x42, 0x7f, 0x0a, 0x37, 0x63, 0x6f, - 0x6d, 0x2e, 0x74, 0x65, 0x6e, 0x63, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x6f, 0x6c, 0x61, 0x72, 0x69, - 0x73, 0x2e, 0x73, 0x70, 0x65, 0x63, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, - 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x6d, - 0x61, 0x6e, 0x61, 0x67, 0x65, 0x5a, 0x44, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, - 0x6d, 0x2f, 0x70, 0x6f, 0x6c, 0x61, 0x72, 0x69, 0x73, 0x6d, 0x65, 0x73, 0x68, 0x2f, 0x73, 0x70, - 0x65, 0x63, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x73, 0x6f, 0x75, 0x72, - 0x63, 0x65, 0x2f, 0x67, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x65, 0x72, - 0x76, 0x69, 0x63, 0x65, 0x5f, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x33, -} - -var ( - file_heartbeat_proto_rawDescOnce sync.Once - file_heartbeat_proto_rawDescData = file_heartbeat_proto_rawDesc -) - -func file_heartbeat_proto_rawDescGZIP() []byte { - file_heartbeat_proto_rawDescOnce.Do(func() { - file_heartbeat_proto_rawDescData = protoimpl.X.CompressGZIP(file_heartbeat_proto_rawDescData) - }) - return file_heartbeat_proto_rawDescData -} - -var file_heartbeat_proto_msgTypes = make([]protoimpl.MessageInfo, 8) -var file_heartbeat_proto_goTypes = []interface{}{ - (*HeartbeatRecord)(nil), // 0: v1.HeartbeatRecord - (*InstanceHeartbeat)(nil), // 1: v1.InstanceHeartbeat - (*HeartbeatsRequest)(nil), // 2: v1.HeartbeatsRequest - (*HeartbeatsResponse)(nil), // 3: v1.HeartbeatsResponse - (*GetHeartbeatsRequest)(nil), // 4: v1.GetHeartbeatsRequest - (*GetHeartbeatsResponse)(nil), // 5: v1.GetHeartbeatsResponse - (*DelHeartbeatsRequest)(nil), // 6: v1.DelHeartbeatsRequest - (*DelHeartbeatsResponse)(nil), // 7: v1.DelHeartbeatsResponse -} -var file_heartbeat_proto_depIdxs = []int32{ - 1, // 0: v1.HeartbeatsRequest.heartbeats:type_name -> v1.InstanceHeartbeat - 0, // 1: v1.GetHeartbeatsResponse.records:type_name -> v1.HeartbeatRecord - 2, // [2:2] is the sub-list for method output_type - 2, // [2:2] is the sub-list for method input_type - 2, // [2:2] is the sub-list for extension type_name - 2, // [2:2] is the sub-list for extension extendee - 0, // [0:2] is the sub-list for field type_name -} - -func init() { file_heartbeat_proto_init() } -func file_heartbeat_proto_init() { - if File_heartbeat_proto != nil { - return - } - file_service_proto_init() - if !protoimpl.UnsafeEnabled { - file_heartbeat_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*HeartbeatRecord); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_heartbeat_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*InstanceHeartbeat); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_heartbeat_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*HeartbeatsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_heartbeat_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*HeartbeatsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_heartbeat_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetHeartbeatsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_heartbeat_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetHeartbeatsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_heartbeat_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DelHeartbeatsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_heartbeat_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DelHeartbeatsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_heartbeat_proto_rawDesc, - NumEnums: 0, - NumMessages: 8, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_heartbeat_proto_goTypes, - DependencyIndexes: file_heartbeat_proto_depIdxs, - MessageInfos: file_heartbeat_proto_msgTypes, - }.Build() - File_heartbeat_proto = out.File - file_heartbeat_proto_rawDesc = nil - file_heartbeat_proto_goTypes = nil - file_heartbeat_proto_depIdxs = nil +func init() { + proto.RegisterType((*HeartbeatRecord)(nil), "v1.HeartbeatRecord") + proto.RegisterType((*InstanceHeartbeat)(nil), "v1.InstanceHeartbeat") + proto.RegisterType((*HeartbeatsRequest)(nil), "v1.HeartbeatsRequest") + proto.RegisterType((*HeartbeatsResponse)(nil), "v1.HeartbeatsResponse") + proto.RegisterType((*GetHeartbeatsRequest)(nil), "v1.GetHeartbeatsRequest") + proto.RegisterType((*GetHeartbeatsResponse)(nil), "v1.GetHeartbeatsResponse") + proto.RegisterType((*DelHeartbeatsRequest)(nil), "v1.DelHeartbeatsRequest") + proto.RegisterType((*DelHeartbeatsResponse)(nil), "v1.DelHeartbeatsResponse") +} + +func init() { proto.RegisterFile("heartbeat.proto", fileDescriptor_heartbeat_444c95e923f2483e) } + +var fileDescriptor_heartbeat_444c95e923f2483e = []byte{ + // 423 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x52, 0x4d, 0x8b, 0x13, 0x41, + 0x10, 0x65, 0x92, 0x6c, 0xb2, 0xa9, 0x18, 0x76, 0xb7, 0x4d, 0xa0, 0x11, 0xc1, 0x71, 0x4e, 0x73, + 0xd0, 0x19, 0xa2, 0x88, 0x78, 0x12, 0x64, 0x51, 0x77, 0x8f, 0xed, 0xcd, 0x4b, 0xe8, 0x74, 0x6a, + 0x93, 0x86, 0x4c, 0xf7, 0xd8, 0xd5, 0x09, 0x1e, 0x04, 0xff, 0x84, 0x3f, 0x58, 0xa6, 0xe7, 0x63, + 0x63, 0xf6, 0x20, 0xec, 0xad, 0xfa, 0x55, 0xbd, 0x57, 0xef, 0x51, 0x0d, 0x17, 0x5b, 0x94, 0xce, + 0xaf, 0x50, 0xfa, 0xac, 0x74, 0xd6, 0x5b, 0xd6, 0x3b, 0x2c, 0x9e, 0x4d, 0x09, 0xdd, 0x41, 0x2b, + 0xac, 0xa1, 0xe4, 0x17, 0x5c, 0x7c, 0x6d, 0xa7, 0x04, 0x2a, 0xeb, 0xd6, 0xec, 0x05, 0x80, 0x36, + 0xe4, 0xa5, 0x51, 0x78, 0xb3, 0xe6, 0x51, 0x1c, 0xa5, 0x63, 0x31, 0x69, 0x91, 0xa5, 0x5e, 0xb3, + 0x57, 0x70, 0xb9, 0x93, 0xe4, 0x3b, 0xde, 0x37, 0x54, 0x7c, 0x18, 0x47, 0x69, 0x5f, 0xb0, 0x0a, + 0x5f, 0x76, 0x6b, 0x97, 0x84, 0x8a, 0xcd, 0xe0, 0x0c, 0x7f, 0x6a, 0xf2, 0x7c, 0x14, 0x47, 0xe9, + 0xb9, 0xa8, 0x1f, 0xb7, 0x83, 0xf3, 0xde, 0xe5, 0x30, 0xf9, 0x13, 0xc1, 0xd5, 0x4d, 0xa3, 0xdc, + 0xc9, 0xfd, 0xdf, 0x00, 0x87, 0x51, 0x93, 0x82, 0xf7, 0x42, 0xb7, 0x7d, 0xb2, 0xe7, 0x30, 0x36, + 0xb2, 0x40, 0x2a, 0xa5, 0x42, 0xde, 0x0f, 0xbd, 0x7b, 0x80, 0x31, 0x18, 0x6c, 0x2d, 0x79, 0x3e, + 0x08, 0x8d, 0x50, 0x57, 0x58, 0x69, 0x9d, 0xe7, 0x67, 0x71, 0x94, 0x4e, 0x45, 0xa8, 0x93, 0x5b, + 0xb8, 0xea, 0xdc, 0x90, 0xc0, 0x1f, 0x7b, 0x24, 0xcf, 0xde, 0x01, 0x74, 0xc1, 0x88, 0x47, 0x71, + 0x3f, 0x9d, 0xbc, 0x99, 0x67, 0x87, 0x45, 0xf6, 0x20, 0x80, 0x38, 0x1a, 0x4c, 0x66, 0xc0, 0x8e, + 0xb5, 0xa8, 0xb4, 0x86, 0x30, 0xf9, 0x00, 0xb3, 0x2f, 0xe8, 0x1f, 0x2e, 0x79, 0x09, 0x93, 0xfb, + 0xe8, 0xf5, 0x96, 0xb1, 0x78, 0x72, 0x94, 0x9d, 0x92, 0xcf, 0x30, 0x3f, 0xa1, 0xd6, 0x9a, 0xec, + 0x35, 0x8c, 0x5c, 0xb8, 0x60, 0xeb, 0xee, 0x69, 0xe5, 0xee, 0xe4, 0xba, 0xa2, 0x9d, 0xa9, 0x2c, + 0x5c, 0xe3, 0xee, 0x51, 0x16, 0x3e, 0xc2, 0xfc, 0x84, 0xda, 0x58, 0x60, 0x30, 0x50, 0x76, 0x8d, + 0xe1, 0x66, 0x53, 0x11, 0xea, 0x0a, 0xd3, 0xe6, 0xce, 0x36, 0x97, 0x0a, 0xf5, 0xa7, 0xdf, 0xf0, + 0x5e, 0xd9, 0x22, 0xf3, 0x68, 0x14, 0x1a, 0x9f, 0x95, 0x76, 0x27, 0x9d, 0xa6, 0x8c, 0x4a, 0x54, + 0xfa, 0x4e, 0x2b, 0xe9, 0xb5, 0x35, 0x99, 0x2c, 0x75, 0x15, 0xa0, 0xfd, 0xaf, 0x85, 0x34, 0x72, + 0x83, 0xdf, 0xaf, 0x37, 0xda, 0x6f, 0xf7, 0xab, 0x4c, 0xd9, 0x22, 0x6f, 0x78, 0x05, 0xd2, 0x36, + 0xff, 0x87, 0x9b, 0x93, 0xdd, 0x3b, 0x85, 0xf9, 0xc6, 0xe6, 0xb2, 0xd4, 0xf9, 0x61, 0x91, 0x37, + 0x2a, 0xcb, 0x5a, 0x65, 0x35, 0x0c, 0xbf, 0xff, 0xed, 0xdf, 0x00, 0x00, 0x00, 0xff, 0xff, 0x83, + 0x12, 0x25, 0xbc, 0x23, 0x03, 0x00, 0x00, } diff --git a/source/go/api/v1/service_manage/request.pb.go b/source/go/api/v1/service_manage/request.pb.go index 68a7f3a..2fb2a17 100644 --- a/source/go/api/v1/service_manage/request.pb.go +++ b/source/go/api/v1/service_manage/request.pb.go @@ -1,24 +1,22 @@ // Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.33.0 -// protoc v5.27.3 // source: request.proto -package service_manage +package service_manage // import "github.com/polarismesh/specification/source/go/api/v1/service_manage" -import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" -) +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package type DiscoverRequest_DiscoverRequestType int32 @@ -39,308 +37,180 @@ const ( DiscoverRequest_NEARBY_ROUTE_RULE DiscoverRequest_DiscoverRequestType = 102 // 无损上下线规则 DiscoverRequest_LOSSLESS DiscoverRequest_DiscoverRequestType = 103 + // 服务黑白名单规则 + DiscoverRequest_BLOCK_ALLOW_RULE DiscoverRequest_DiscoverRequestType = 104 ) -// Enum value maps for DiscoverRequest_DiscoverRequestType. -var ( - DiscoverRequest_DiscoverRequestType_name = map[int32]string{ - 0: "UNKNOWN", - 1: "INSTANCE", - 2: "CLUSTER", - 3: "ROUTING", - 4: "RATE_LIMIT", - 5: "CIRCUIT_BREAKER", - 6: "SERVICES", - 12: "NAMESPACES", - 13: "FAULT_DETECTOR", - 100: "LANE", - 101: "CUSTOM_ROUTE_RULE", - 102: "NEARBY_ROUTE_RULE", - 103: "LOSSLESS", - } - DiscoverRequest_DiscoverRequestType_value = map[string]int32{ - "UNKNOWN": 0, - "INSTANCE": 1, - "CLUSTER": 2, - "ROUTING": 3, - "RATE_LIMIT": 4, - "CIRCUIT_BREAKER": 5, - "SERVICES": 6, - "NAMESPACES": 12, - "FAULT_DETECTOR": 13, - "LANE": 100, - "CUSTOM_ROUTE_RULE": 101, - "NEARBY_ROUTE_RULE": 102, - "LOSSLESS": 103, - } -) - -func (x DiscoverRequest_DiscoverRequestType) Enum() *DiscoverRequest_DiscoverRequestType { - p := new(DiscoverRequest_DiscoverRequestType) - *p = x - return p +var DiscoverRequest_DiscoverRequestType_name = map[int32]string{ + 0: "UNKNOWN", + 1: "INSTANCE", + 2: "CLUSTER", + 3: "ROUTING", + 4: "RATE_LIMIT", + 5: "CIRCUIT_BREAKER", + 6: "SERVICES", + 12: "NAMESPACES", + 13: "FAULT_DETECTOR", + 100: "LANE", + 101: "CUSTOM_ROUTE_RULE", + 102: "NEARBY_ROUTE_RULE", + 103: "LOSSLESS", + 104: "BLOCK_ALLOW_RULE", +} +var DiscoverRequest_DiscoverRequestType_value = map[string]int32{ + "UNKNOWN": 0, + "INSTANCE": 1, + "CLUSTER": 2, + "ROUTING": 3, + "RATE_LIMIT": 4, + "CIRCUIT_BREAKER": 5, + "SERVICES": 6, + "NAMESPACES": 12, + "FAULT_DETECTOR": 13, + "LANE": 100, + "CUSTOM_ROUTE_RULE": 101, + "NEARBY_ROUTE_RULE": 102, + "LOSSLESS": 103, + "BLOCK_ALLOW_RULE": 104, } func (x DiscoverRequest_DiscoverRequestType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) + return proto.EnumName(DiscoverRequest_DiscoverRequestType_name, int32(x)) } - -func (DiscoverRequest_DiscoverRequestType) Descriptor() protoreflect.EnumDescriptor { - return file_request_proto_enumTypes[0].Descriptor() +func (DiscoverRequest_DiscoverRequestType) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_request_290a05d3b6f37256, []int{1, 0} } -func (DiscoverRequest_DiscoverRequestType) Type() protoreflect.EnumType { - return &file_request_proto_enumTypes[0] +type DiscoverFilter struct { + OnlyHealthyInstance bool `protobuf:"varint,1,opt,name=OnlyHealthyInstance,proto3" json:"OnlyHealthyInstance,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x DiscoverRequest_DiscoverRequestType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) +func (m *DiscoverFilter) Reset() { *m = DiscoverFilter{} } +func (m *DiscoverFilter) String() string { return proto.CompactTextString(m) } +func (*DiscoverFilter) ProtoMessage() {} +func (*DiscoverFilter) Descriptor() ([]byte, []int) { + return fileDescriptor_request_290a05d3b6f37256, []int{0} } - -// Deprecated: Use DiscoverRequest_DiscoverRequestType.Descriptor instead. -func (DiscoverRequest_DiscoverRequestType) EnumDescriptor() ([]byte, []int) { - return file_request_proto_rawDescGZIP(), []int{1, 0} +func (m *DiscoverFilter) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DiscoverFilter.Unmarshal(m, b) } - -type DiscoverFilter struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - OnlyHealthyInstance bool `protobuf:"varint,1,opt,name=OnlyHealthyInstance,proto3" json:"OnlyHealthyInstance,omitempty"` +func (m *DiscoverFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DiscoverFilter.Marshal(b, m, deterministic) } - -func (x *DiscoverFilter) Reset() { - *x = DiscoverFilter{} - if protoimpl.UnsafeEnabled { - mi := &file_request_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (dst *DiscoverFilter) XXX_Merge(src proto.Message) { + xxx_messageInfo_DiscoverFilter.Merge(dst, src) } - -func (x *DiscoverFilter) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *DiscoverFilter) XXX_Size() int { + return xxx_messageInfo_DiscoverFilter.Size(m) } - -func (*DiscoverFilter) ProtoMessage() {} - -func (x *DiscoverFilter) ProtoReflect() protoreflect.Message { - mi := &file_request_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *DiscoverFilter) XXX_DiscardUnknown() { + xxx_messageInfo_DiscoverFilter.DiscardUnknown(m) } -// Deprecated: Use DiscoverFilter.ProtoReflect.Descriptor instead. -func (*DiscoverFilter) Descriptor() ([]byte, []int) { - return file_request_proto_rawDescGZIP(), []int{0} -} +var xxx_messageInfo_DiscoverFilter proto.InternalMessageInfo -func (x *DiscoverFilter) GetOnlyHealthyInstance() bool { - if x != nil { - return x.OnlyHealthyInstance +func (m *DiscoverFilter) GetOnlyHealthyInstance() bool { + if m != nil { + return m.OnlyHealthyInstance } return false } type DiscoverRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Type DiscoverRequest_DiscoverRequestType `protobuf:"varint,1,opt,name=type,proto3,enum=v1.DiscoverRequest_DiscoverRequestType" json:"type,omitempty"` - Service *Service `protobuf:"bytes,2,opt,name=service,proto3" json:"service,omitempty"` - Filter *DiscoverFilter `protobuf:"bytes,30,opt,name=Filter,proto3" json:"Filter,omitempty"` + Type DiscoverRequest_DiscoverRequestType `protobuf:"varint,1,opt,name=type,proto3,enum=v1.DiscoverRequest_DiscoverRequestType" json:"type,omitempty"` + Service *Service `protobuf:"bytes,2,opt,name=service,proto3" json:"service,omitempty"` + Filter *DiscoverFilter `protobuf:"bytes,30,opt,name=Filter,proto3" json:"Filter,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *DiscoverRequest) Reset() { - *x = DiscoverRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_request_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *DiscoverRequest) Reset() { *m = DiscoverRequest{} } +func (m *DiscoverRequest) String() string { return proto.CompactTextString(m) } +func (*DiscoverRequest) ProtoMessage() {} +func (*DiscoverRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_request_290a05d3b6f37256, []int{1} } - -func (x *DiscoverRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *DiscoverRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DiscoverRequest.Unmarshal(m, b) } - -func (*DiscoverRequest) ProtoMessage() {} - -func (x *DiscoverRequest) ProtoReflect() protoreflect.Message { - mi := &file_request_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *DiscoverRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DiscoverRequest.Marshal(b, m, deterministic) } - -// Deprecated: Use DiscoverRequest.ProtoReflect.Descriptor instead. -func (*DiscoverRequest) Descriptor() ([]byte, []int) { - return file_request_proto_rawDescGZIP(), []int{1} +func (dst *DiscoverRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_DiscoverRequest.Merge(dst, src) } +func (m *DiscoverRequest) XXX_Size() int { + return xxx_messageInfo_DiscoverRequest.Size(m) +} +func (m *DiscoverRequest) XXX_DiscardUnknown() { + xxx_messageInfo_DiscoverRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_DiscoverRequest proto.InternalMessageInfo -func (x *DiscoverRequest) GetType() DiscoverRequest_DiscoverRequestType { - if x != nil { - return x.Type +func (m *DiscoverRequest) GetType() DiscoverRequest_DiscoverRequestType { + if m != nil { + return m.Type } return DiscoverRequest_UNKNOWN } -func (x *DiscoverRequest) GetService() *Service { - if x != nil { - return x.Service +func (m *DiscoverRequest) GetService() *Service { + if m != nil { + return m.Service } return nil } -func (x *DiscoverRequest) GetFilter() *DiscoverFilter { - if x != nil { - return x.Filter +func (m *DiscoverRequest) GetFilter() *DiscoverFilter { + if m != nil { + return m.Filter } return nil } -var File_request_proto protoreflect.FileDescriptor - -var file_request_proto_rawDesc = []byte{ - 0x0a, 0x0d, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, - 0x02, 0x76, 0x31, 0x1a, 0x0d, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x1a, 0x0e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x22, 0x42, 0x0a, 0x0e, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x46, 0x69, - 0x6c, 0x74, 0x65, 0x72, 0x12, 0x30, 0x0a, 0x13, 0x4f, 0x6e, 0x6c, 0x79, 0x48, 0x65, 0x61, 0x6c, - 0x74, 0x68, 0x79, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x08, 0x52, 0x13, 0x4f, 0x6e, 0x6c, 0x79, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x79, 0x49, 0x6e, - 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x22, 0x9d, 0x03, 0x0a, 0x0f, 0x44, 0x69, 0x73, 0x63, 0x6f, - 0x76, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3b, 0x0a, 0x04, 0x74, 0x79, - 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x69, - 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x44, 0x69, - 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x54, 0x79, 0x70, - 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x25, 0x0a, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, - 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, - 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x2a, - 0x0a, 0x06, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x1e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, - 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x46, 0x69, 0x6c, 0x74, - 0x65, 0x72, 0x52, 0x06, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x22, 0xf3, 0x01, 0x0a, 0x13, 0x44, - 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x54, 0x79, - 0x70, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, - 0x0c, 0x0a, 0x08, 0x49, 0x4e, 0x53, 0x54, 0x41, 0x4e, 0x43, 0x45, 0x10, 0x01, 0x12, 0x0b, 0x0a, - 0x07, 0x43, 0x4c, 0x55, 0x53, 0x54, 0x45, 0x52, 0x10, 0x02, 0x12, 0x0b, 0x0a, 0x07, 0x52, 0x4f, - 0x55, 0x54, 0x49, 0x4e, 0x47, 0x10, 0x03, 0x12, 0x0e, 0x0a, 0x0a, 0x52, 0x41, 0x54, 0x45, 0x5f, - 0x4c, 0x49, 0x4d, 0x49, 0x54, 0x10, 0x04, 0x12, 0x13, 0x0a, 0x0f, 0x43, 0x49, 0x52, 0x43, 0x55, - 0x49, 0x54, 0x5f, 0x42, 0x52, 0x45, 0x41, 0x4b, 0x45, 0x52, 0x10, 0x05, 0x12, 0x0c, 0x0a, 0x08, - 0x53, 0x45, 0x52, 0x56, 0x49, 0x43, 0x45, 0x53, 0x10, 0x06, 0x12, 0x0e, 0x0a, 0x0a, 0x4e, 0x41, - 0x4d, 0x45, 0x53, 0x50, 0x41, 0x43, 0x45, 0x53, 0x10, 0x0c, 0x12, 0x12, 0x0a, 0x0e, 0x46, 0x41, - 0x55, 0x4c, 0x54, 0x5f, 0x44, 0x45, 0x54, 0x45, 0x43, 0x54, 0x4f, 0x52, 0x10, 0x0d, 0x12, 0x08, - 0x0a, 0x04, 0x4c, 0x41, 0x4e, 0x45, 0x10, 0x64, 0x12, 0x15, 0x0a, 0x11, 0x43, 0x55, 0x53, 0x54, - 0x4f, 0x4d, 0x5f, 0x52, 0x4f, 0x55, 0x54, 0x45, 0x5f, 0x52, 0x55, 0x4c, 0x45, 0x10, 0x65, 0x12, - 0x15, 0x0a, 0x11, 0x4e, 0x45, 0x41, 0x52, 0x42, 0x59, 0x5f, 0x52, 0x4f, 0x55, 0x54, 0x45, 0x5f, - 0x52, 0x55, 0x4c, 0x45, 0x10, 0x66, 0x12, 0x0c, 0x0a, 0x08, 0x4c, 0x4f, 0x53, 0x53, 0x4c, 0x45, - 0x53, 0x53, 0x10, 0x67, 0x22, 0x04, 0x08, 0x07, 0x10, 0x0b, 0x22, 0x04, 0x08, 0x0e, 0x10, 0x63, - 0x4a, 0x04, 0x08, 0x03, 0x10, 0x05, 0x42, 0x8d, 0x01, 0x0a, 0x37, 0x63, 0x6f, 0x6d, 0x2e, 0x74, - 0x65, 0x6e, 0x63, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x6f, 0x6c, 0x61, 0x72, 0x69, 0x73, 0x2e, 0x73, - 0x70, 0x65, 0x63, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x61, 0x70, 0x69, - 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x6d, 0x61, 0x6e, 0x61, - 0x67, 0x65, 0x42, 0x0c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, - 0x5a, 0x44, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x6f, 0x6c, - 0x61, 0x72, 0x69, 0x73, 0x6d, 0x65, 0x73, 0x68, 0x2f, 0x73, 0x70, 0x65, 0x63, 0x69, 0x66, 0x69, - 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2f, 0x67, 0x6f, - 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, - 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_request_proto_rawDescOnce sync.Once - file_request_proto_rawDescData = file_request_proto_rawDesc -) - -func file_request_proto_rawDescGZIP() []byte { - file_request_proto_rawDescOnce.Do(func() { - file_request_proto_rawDescData = protoimpl.X.CompressGZIP(file_request_proto_rawDescData) - }) - return file_request_proto_rawDescData -} - -var file_request_proto_enumTypes = make([]protoimpl.EnumInfo, 1) -var file_request_proto_msgTypes = make([]protoimpl.MessageInfo, 2) -var file_request_proto_goTypes = []interface{}{ - (DiscoverRequest_DiscoverRequestType)(0), // 0: v1.DiscoverRequest.DiscoverRequestType - (*DiscoverFilter)(nil), // 1: v1.DiscoverFilter - (*DiscoverRequest)(nil), // 2: v1.DiscoverRequest - (*Service)(nil), // 3: v1.Service -} -var file_request_proto_depIdxs = []int32{ - 0, // 0: v1.DiscoverRequest.type:type_name -> v1.DiscoverRequest.DiscoverRequestType - 3, // 1: v1.DiscoverRequest.service:type_name -> v1.Service - 1, // 2: v1.DiscoverRequest.Filter:type_name -> v1.DiscoverFilter - 3, // [3:3] is the sub-list for method output_type - 3, // [3:3] is the sub-list for method input_type - 3, // [3:3] is the sub-list for extension type_name - 3, // [3:3] is the sub-list for extension extendee - 0, // [0:3] is the sub-list for field type_name -} - -func init() { file_request_proto_init() } -func file_request_proto_init() { - if File_request_proto != nil { - return - } - file_service_proto_init() - file_contract_proto_init() - if !protoimpl.UnsafeEnabled { - file_request_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DiscoverFilter); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_request_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DiscoverRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_request_proto_rawDesc, - NumEnums: 1, - NumMessages: 2, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_request_proto_goTypes, - DependencyIndexes: file_request_proto_depIdxs, - EnumInfos: file_request_proto_enumTypes, - MessageInfos: file_request_proto_msgTypes, - }.Build() - File_request_proto = out.File - file_request_proto_rawDesc = nil - file_request_proto_goTypes = nil - file_request_proto_depIdxs = nil +func init() { + proto.RegisterType((*DiscoverFilter)(nil), "v1.DiscoverFilter") + proto.RegisterType((*DiscoverRequest)(nil), "v1.DiscoverRequest") + proto.RegisterEnum("v1.DiscoverRequest_DiscoverRequestType", DiscoverRequest_DiscoverRequestType_name, DiscoverRequest_DiscoverRequestType_value) +} + +func init() { proto.RegisterFile("request.proto", fileDescriptor_request_290a05d3b6f37256) } + +var fileDescriptor_request_290a05d3b6f37256 = []byte{ + // 476 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x52, 0x4f, 0x6f, 0xd3, 0x30, + 0x14, 0xa7, 0x6d, 0xd6, 0x46, 0xee, 0x9f, 0x19, 0x17, 0xa4, 0x8a, 0x03, 0x9a, 0x2a, 0x21, 0x26, + 0x0e, 0x09, 0x1d, 0x07, 0x0e, 0x9c, 0x92, 0xd4, 0x83, 0xd0, 0x34, 0x99, 0x6c, 0x87, 0x09, 0x2e, + 0x51, 0x66, 0xbc, 0xd6, 0x52, 0x9b, 0x84, 0xc4, 0xad, 0xd4, 0x8f, 0xc0, 0x81, 0x4f, 0xc3, 0x17, + 0x44, 0x6e, 0x52, 0x69, 0x4c, 0x3b, 0xbe, 0xdf, 0xdf, 0xa7, 0xa7, 0x07, 0x86, 0xa5, 0xf8, 0xb5, + 0x13, 0x95, 0xb2, 0x8a, 0x32, 0x57, 0x39, 0x6a, 0xef, 0x67, 0xaf, 0x86, 0x95, 0x28, 0xf7, 0x92, + 0x8b, 0x1a, 0x9a, 0xba, 0x60, 0x34, 0x97, 0x15, 0xcf, 0xf7, 0xa2, 0xbc, 0x96, 0x1b, 0x25, 0x4a, + 0xf4, 0x1e, 0x8c, 0xa3, 0x6c, 0x73, 0xf8, 0x22, 0xd2, 0x8d, 0x5a, 0x1f, 0xfc, 0xac, 0x52, 0x69, + 0xc6, 0xc5, 0xa4, 0x75, 0xd1, 0xba, 0x34, 0xc9, 0x53, 0xd4, 0xf4, 0x6f, 0x07, 0x9c, 0x9f, 0x42, + 0x48, 0x5d, 0x88, 0x3e, 0x01, 0x43, 0x1d, 0x8a, 0xda, 0x36, 0xba, 0x7a, 0x6b, 0xed, 0x67, 0xd6, + 0x23, 0xc9, 0xe3, 0x99, 0x1d, 0x0a, 0x41, 0x8e, 0x26, 0xf4, 0x06, 0xf4, 0x9a, 0x2d, 0x27, 0xed, + 0x8b, 0xd6, 0x65, 0xff, 0xaa, 0xaf, 0xfd, 0xb4, 0x86, 0xc8, 0x89, 0x43, 0xef, 0x40, 0xb7, 0xde, + 0x79, 0xf2, 0xfa, 0xa8, 0x42, 0x0f, 0x5b, 0x6a, 0x86, 0x34, 0x8a, 0xe9, 0xef, 0x36, 0x18, 0x3f, + 0x51, 0x88, 0xfa, 0xa0, 0x17, 0x87, 0x8b, 0x30, 0xba, 0x0d, 0xe1, 0x33, 0x34, 0x00, 0xa6, 0x1f, + 0x52, 0xe6, 0x84, 0x1e, 0x86, 0x2d, 0x4d, 0x79, 0x41, 0x4c, 0x19, 0x26, 0xb0, 0xad, 0x07, 0x12, + 0xc5, 0xcc, 0x0f, 0x3f, 0xc3, 0x0e, 0x1a, 0x01, 0x40, 0x1c, 0x86, 0x93, 0xc0, 0x5f, 0xfa, 0x0c, + 0x1a, 0x68, 0x0c, 0xce, 0x3d, 0x9f, 0x78, 0xb1, 0xcf, 0x12, 0x97, 0x60, 0x67, 0x81, 0x09, 0x3c, + 0xd3, 0x61, 0x14, 0x93, 0x6f, 0xbe, 0x87, 0x29, 0xec, 0x6a, 0x4b, 0xe8, 0x2c, 0x31, 0xbd, 0x71, + 0xf4, 0x3c, 0x40, 0x08, 0x8c, 0xae, 0x9d, 0x38, 0x60, 0xc9, 0x1c, 0x33, 0xec, 0xb1, 0x88, 0xc0, + 0x21, 0x32, 0x81, 0x11, 0x38, 0x21, 0x86, 0x3f, 0xd1, 0x4b, 0xf0, 0xdc, 0x8b, 0x29, 0x8b, 0x96, + 0x89, 0x2e, 0xc5, 0x09, 0x89, 0x03, 0x0c, 0x85, 0x86, 0x43, 0xec, 0x10, 0xf7, 0xfb, 0x43, 0xf8, + 0x5e, 0x37, 0x05, 0x11, 0xa5, 0x01, 0xa6, 0x14, 0xae, 0xd0, 0x0b, 0x00, 0xdd, 0x20, 0xf2, 0x16, + 0x89, 0x13, 0x04, 0xd1, 0x6d, 0xad, 0x59, 0x4f, 0x0d, 0xb3, 0x07, 0xfb, 0x53, 0xc3, 0x1c, 0x41, + 0xfe, 0xd5, 0x30, 0x3b, 0xf0, 0xcc, 0xfd, 0xd3, 0x02, 0x1f, 0x79, 0xbe, 0xb5, 0x94, 0xc8, 0xb8, + 0xc8, 0x94, 0x55, 0xe4, 0x9b, 0xb4, 0x94, 0x95, 0x55, 0x15, 0x82, 0xcb, 0x7b, 0xc9, 0x53, 0x25, + 0xf3, 0xcc, 0x4a, 0x0b, 0xa9, 0xaf, 0x7a, 0x7a, 0x9a, 0x6d, 0x9a, 0xa5, 0x2b, 0xe1, 0x0e, 0x9a, + 0x13, 0xde, 0xe8, 0x1f, 0xfa, 0x31, 0x5f, 0x49, 0xb5, 0xde, 0xdd, 0x59, 0x3c, 0xdf, 0xda, 0x4d, + 0xca, 0x56, 0x54, 0x6b, 0xfb, 0xbf, 0x24, 0xbb, 0xca, 0x77, 0x25, 0x17, 0xf6, 0x2a, 0xb7, 0xd3, + 0x42, 0xda, 0xfb, 0x99, 0xdd, 0x64, 0x26, 0x75, 0xe6, 0x5d, 0xf7, 0xf8, 0x90, 0x1f, 0xfe, 0x05, + 0x00, 0x00, 0xff, 0xff, 0xae, 0x0d, 0x76, 0x20, 0xb4, 0x02, 0x00, 0x00, } diff --git a/source/go/api/v1/service_manage/response.pb.go b/source/go/api/v1/service_manage/response.pb.go index 757b565..a444acd 100644 --- a/source/go/api/v1/service_manage/response.pb.go +++ b/source/go/api/v1/service_manage/response.pb.go @@ -1,30 +1,28 @@ // Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.33.0 -// protoc v5.27.3 // source: response.proto -package service_manage - -import ( - fault_tolerance "github.com/polarismesh/specification/source/go/api/v1/fault_tolerance" - model "github.com/polarismesh/specification/source/go/api/v1/model" - security "github.com/polarismesh/specification/source/go/api/v1/security" - traffic_manage "github.com/polarismesh/specification/source/go/api/v1/traffic_manage" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - anypb "google.golang.org/protobuf/types/known/anypb" - wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" - reflect "reflect" - sync "sync" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) +package service_manage // import "github.com/polarismesh/specification/source/go/api/v1/service_manage" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import fault_tolerance "github.com/polarismesh/specification/source/go/api/v1/fault_tolerance" +import model "github.com/polarismesh/specification/source/go/api/v1/model" +import security "github.com/polarismesh/specification/source/go/api/v1/security" +import traffic_manage "github.com/polarismesh/specification/source/go/api/v1/traffic_manage" +import anypb "google.golang.org/protobuf/types/known/anypb" +import wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package type DiscoverResponse_DiscoverResponseType int32 @@ -45,543 +43,493 @@ const ( DiscoverResponse_NEARBY_ROUTE_RULE DiscoverResponse_DiscoverResponseType = 102 // 无损上下线规则 DiscoverResponse_LOSSLESS DiscoverResponse_DiscoverResponseType = 103 + // 服务黑白名单规则 + DiscoverResponse_BLOCK_ALLOW_RULE DiscoverResponse_DiscoverResponseType = 104 ) -// Enum value maps for DiscoverResponse_DiscoverResponseType. -var ( - DiscoverResponse_DiscoverResponseType_name = map[int32]string{ - 0: "UNKNOWN", - 1: "INSTANCE", - 2: "CLUSTER", - 3: "ROUTING", - 4: "RATE_LIMIT", - 5: "CIRCUIT_BREAKER", - 6: "SERVICES", - 12: "NAMESPACES", - 13: "FAULT_DETECTOR", - 100: "LANE", - 101: "CUSTOM_ROUTE_RULE", - 102: "NEARBY_ROUTE_RULE", - 103: "LOSSLESS", - } - DiscoverResponse_DiscoverResponseType_value = map[string]int32{ - "UNKNOWN": 0, - "INSTANCE": 1, - "CLUSTER": 2, - "ROUTING": 3, - "RATE_LIMIT": 4, - "CIRCUIT_BREAKER": 5, - "SERVICES": 6, - "NAMESPACES": 12, - "FAULT_DETECTOR": 13, - "LANE": 100, - "CUSTOM_ROUTE_RULE": 101, - "NEARBY_ROUTE_RULE": 102, - "LOSSLESS": 103, - } -) - -func (x DiscoverResponse_DiscoverResponseType) Enum() *DiscoverResponse_DiscoverResponseType { - p := new(DiscoverResponse_DiscoverResponseType) - *p = x - return p +var DiscoverResponse_DiscoverResponseType_name = map[int32]string{ + 0: "UNKNOWN", + 1: "INSTANCE", + 2: "CLUSTER", + 3: "ROUTING", + 4: "RATE_LIMIT", + 5: "CIRCUIT_BREAKER", + 6: "SERVICES", + 12: "NAMESPACES", + 13: "FAULT_DETECTOR", + 100: "LANE", + 101: "CUSTOM_ROUTE_RULE", + 102: "NEARBY_ROUTE_RULE", + 103: "LOSSLESS", + 104: "BLOCK_ALLOW_RULE", +} +var DiscoverResponse_DiscoverResponseType_value = map[string]int32{ + "UNKNOWN": 0, + "INSTANCE": 1, + "CLUSTER": 2, + "ROUTING": 3, + "RATE_LIMIT": 4, + "CIRCUIT_BREAKER": 5, + "SERVICES": 6, + "NAMESPACES": 12, + "FAULT_DETECTOR": 13, + "LANE": 100, + "CUSTOM_ROUTE_RULE": 101, + "NEARBY_ROUTE_RULE": 102, + "LOSSLESS": 103, + "BLOCK_ALLOW_RULE": 104, } func (x DiscoverResponse_DiscoverResponseType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (DiscoverResponse_DiscoverResponseType) Descriptor() protoreflect.EnumDescriptor { - return file_response_proto_enumTypes[0].Descriptor() -} - -func (DiscoverResponse_DiscoverResponseType) Type() protoreflect.EnumType { - return &file_response_proto_enumTypes[0] + return proto.EnumName(DiscoverResponse_DiscoverResponseType_name, int32(x)) } - -func (x DiscoverResponse_DiscoverResponseType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use DiscoverResponse_DiscoverResponseType.Descriptor instead. func (DiscoverResponse_DiscoverResponseType) EnumDescriptor() ([]byte, []int) { - return file_response_proto_rawDescGZIP(), []int{3, 0} + return fileDescriptor_response_4837835cb74bd46a, []int{3, 0} } type Response struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Code *wrapperspb.UInt32Value `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"` - Info *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=info,proto3" json:"info,omitempty"` - Client *Client `protobuf:"bytes,3,opt,name=client,proto3" json:"client,omitempty"` - Namespace *model.Namespace `protobuf:"bytes,4,opt,name=namespace,proto3" json:"namespace,omitempty"` - Service *Service `protobuf:"bytes,5,opt,name=service,proto3" json:"service,omitempty"` - Instance *Instance `protobuf:"bytes,6,opt,name=instance,proto3" json:"instance,omitempty"` - Routing *traffic_manage.Routing `protobuf:"bytes,7,opt,name=routing,proto3" json:"routing,omitempty"` - Alias *ServiceAlias `protobuf:"bytes,8,opt,name=alias,proto3" json:"alias,omitempty"` - RateLimit *traffic_manage.Rule `protobuf:"bytes,9,opt,name=rateLimit,proto3" json:"rateLimit,omitempty"` - CircuitBreaker *fault_tolerance.CircuitBreaker `protobuf:"bytes,10,opt,name=circuitBreaker,proto3" json:"circuitBreaker,omitempty"` - ConfigRelease *ConfigRelease `protobuf:"bytes,11,opt,name=configRelease,proto3" json:"configRelease,omitempty"` - User *security.User `protobuf:"bytes,19,opt,name=user,proto3" json:"user,omitempty"` - UserGroup *security.UserGroup `protobuf:"bytes,20,opt,name=userGroup,proto3" json:"userGroup,omitempty"` - AuthStrategy *security.AuthStrategy `protobuf:"bytes,21,opt,name=authStrategy,proto3" json:"authStrategy,omitempty"` - Relation *security.UserGroupRelation `protobuf:"bytes,22,opt,name=relation,proto3" json:"relation,omitempty"` - LoginResponse *security.LoginResponse `protobuf:"bytes,23,opt,name=loginResponse,proto3" json:"loginResponse,omitempty"` - ModifyAuthStrategy *security.ModifyAuthStrategy `protobuf:"bytes,24,opt,name=modifyAuthStrategy,proto3" json:"modifyAuthStrategy,omitempty"` - ModifyUserGroup *security.ModifyUserGroup `protobuf:"bytes,25,opt,name=modifyUserGroup,proto3" json:"modifyUserGroup,omitempty"` - Resources *security.StrategyResources `protobuf:"bytes,26,opt,name=resources,proto3" json:"resources,omitempty"` - OptionSwitch *OptionSwitch `protobuf:"bytes,27,opt,name=optionSwitch,proto3" json:"optionSwitch,omitempty"` - InstanceLabels *InstanceLabels `protobuf:"bytes,28,opt,name=instanceLabels,proto3" json:"instanceLabels,omitempty"` - Data *anypb.Any `protobuf:"bytes,29,opt,name=data,proto3" json:"data,omitempty"` - ServiceContract *ServiceContract `protobuf:"bytes,30,opt,name=serviceContract,proto3" json:"serviceContract,omitempty"` -} - -func (x *Response) Reset() { - *x = Response{} - if protoimpl.UnsafeEnabled { - mi := &file_response_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Response) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Response) ProtoMessage() {} - -func (x *Response) ProtoReflect() protoreflect.Message { - mi := &file_response_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Response.ProtoReflect.Descriptor instead. + Code *wrapperspb.UInt32Value `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"` + Info *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=info,proto3" json:"info,omitempty"` + Client *Client `protobuf:"bytes,3,opt,name=client,proto3" json:"client,omitempty"` + Namespace *model.Namespace `protobuf:"bytes,4,opt,name=namespace,proto3" json:"namespace,omitempty"` + Service *Service `protobuf:"bytes,5,opt,name=service,proto3" json:"service,omitempty"` + Instance *Instance `protobuf:"bytes,6,opt,name=instance,proto3" json:"instance,omitempty"` + Routing *traffic_manage.Routing `protobuf:"bytes,7,opt,name=routing,proto3" json:"routing,omitempty"` + Alias *ServiceAlias `protobuf:"bytes,8,opt,name=alias,proto3" json:"alias,omitempty"` + RateLimit *traffic_manage.Rule `protobuf:"bytes,9,opt,name=rateLimit,proto3" json:"rateLimit,omitempty"` + CircuitBreaker *fault_tolerance.CircuitBreaker `protobuf:"bytes,10,opt,name=circuitBreaker,proto3" json:"circuitBreaker,omitempty"` + ConfigRelease *ConfigRelease `protobuf:"bytes,11,opt,name=configRelease,proto3" json:"configRelease,omitempty"` + User *security.User `protobuf:"bytes,19,opt,name=user,proto3" json:"user,omitempty"` + UserGroup *security.UserGroup `protobuf:"bytes,20,opt,name=userGroup,proto3" json:"userGroup,omitempty"` + AuthStrategy *security.AuthStrategy `protobuf:"bytes,21,opt,name=authStrategy,proto3" json:"authStrategy,omitempty"` + Relation *security.UserGroupRelation `protobuf:"bytes,22,opt,name=relation,proto3" json:"relation,omitempty"` + LoginResponse *security.LoginResponse `protobuf:"bytes,23,opt,name=loginResponse,proto3" json:"loginResponse,omitempty"` + ModifyAuthStrategy *security.ModifyAuthStrategy `protobuf:"bytes,24,opt,name=modifyAuthStrategy,proto3" json:"modifyAuthStrategy,omitempty"` + ModifyUserGroup *security.ModifyUserGroup `protobuf:"bytes,25,opt,name=modifyUserGroup,proto3" json:"modifyUserGroup,omitempty"` + Resources *security.StrategyResources `protobuf:"bytes,26,opt,name=resources,proto3" json:"resources,omitempty"` + OptionSwitch *OptionSwitch `protobuf:"bytes,27,opt,name=optionSwitch,proto3" json:"optionSwitch,omitempty"` + InstanceLabels *InstanceLabels `protobuf:"bytes,28,opt,name=instanceLabels,proto3" json:"instanceLabels,omitempty"` + Data *anypb.Any `protobuf:"bytes,29,opt,name=data,proto3" json:"data,omitempty"` + ServiceContract *ServiceContract `protobuf:"bytes,30,opt,name=serviceContract,proto3" json:"serviceContract,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Response) Reset() { *m = Response{} } +func (m *Response) String() string { return proto.CompactTextString(m) } +func (*Response) ProtoMessage() {} func (*Response) Descriptor() ([]byte, []int) { - return file_response_proto_rawDescGZIP(), []int{0} + return fileDescriptor_response_4837835cb74bd46a, []int{0} +} +func (m *Response) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Response.Unmarshal(m, b) +} +func (m *Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Response.Marshal(b, m, deterministic) +} +func (dst *Response) XXX_Merge(src proto.Message) { + xxx_messageInfo_Response.Merge(dst, src) } +func (m *Response) XXX_Size() int { + return xxx_messageInfo_Response.Size(m) +} +func (m *Response) XXX_DiscardUnknown() { + xxx_messageInfo_Response.DiscardUnknown(m) +} + +var xxx_messageInfo_Response proto.InternalMessageInfo -func (x *Response) GetCode() *wrapperspb.UInt32Value { - if x != nil { - return x.Code +func (m *Response) GetCode() *wrapperspb.UInt32Value { + if m != nil { + return m.Code } return nil } -func (x *Response) GetInfo() *wrapperspb.StringValue { - if x != nil { - return x.Info +func (m *Response) GetInfo() *wrapperspb.StringValue { + if m != nil { + return m.Info } return nil } -func (x *Response) GetClient() *Client { - if x != nil { - return x.Client +func (m *Response) GetClient() *Client { + if m != nil { + return m.Client } return nil } -func (x *Response) GetNamespace() *model.Namespace { - if x != nil { - return x.Namespace +func (m *Response) GetNamespace() *model.Namespace { + if m != nil { + return m.Namespace } return nil } -func (x *Response) GetService() *Service { - if x != nil { - return x.Service +func (m *Response) GetService() *Service { + if m != nil { + return m.Service } return nil } -func (x *Response) GetInstance() *Instance { - if x != nil { - return x.Instance +func (m *Response) GetInstance() *Instance { + if m != nil { + return m.Instance } return nil } -func (x *Response) GetRouting() *traffic_manage.Routing { - if x != nil { - return x.Routing +func (m *Response) GetRouting() *traffic_manage.Routing { + if m != nil { + return m.Routing } return nil } -func (x *Response) GetAlias() *ServiceAlias { - if x != nil { - return x.Alias +func (m *Response) GetAlias() *ServiceAlias { + if m != nil { + return m.Alias } return nil } -func (x *Response) GetRateLimit() *traffic_manage.Rule { - if x != nil { - return x.RateLimit +func (m *Response) GetRateLimit() *traffic_manage.Rule { + if m != nil { + return m.RateLimit } return nil } -func (x *Response) GetCircuitBreaker() *fault_tolerance.CircuitBreaker { - if x != nil { - return x.CircuitBreaker +func (m *Response) GetCircuitBreaker() *fault_tolerance.CircuitBreaker { + if m != nil { + return m.CircuitBreaker } return nil } -func (x *Response) GetConfigRelease() *ConfigRelease { - if x != nil { - return x.ConfigRelease +func (m *Response) GetConfigRelease() *ConfigRelease { + if m != nil { + return m.ConfigRelease } return nil } -func (x *Response) GetUser() *security.User { - if x != nil { - return x.User +func (m *Response) GetUser() *security.User { + if m != nil { + return m.User } return nil } -func (x *Response) GetUserGroup() *security.UserGroup { - if x != nil { - return x.UserGroup +func (m *Response) GetUserGroup() *security.UserGroup { + if m != nil { + return m.UserGroup } return nil } -func (x *Response) GetAuthStrategy() *security.AuthStrategy { - if x != nil { - return x.AuthStrategy +func (m *Response) GetAuthStrategy() *security.AuthStrategy { + if m != nil { + return m.AuthStrategy } return nil } -func (x *Response) GetRelation() *security.UserGroupRelation { - if x != nil { - return x.Relation +func (m *Response) GetRelation() *security.UserGroupRelation { + if m != nil { + return m.Relation } return nil } -func (x *Response) GetLoginResponse() *security.LoginResponse { - if x != nil { - return x.LoginResponse +func (m *Response) GetLoginResponse() *security.LoginResponse { + if m != nil { + return m.LoginResponse } return nil } -func (x *Response) GetModifyAuthStrategy() *security.ModifyAuthStrategy { - if x != nil { - return x.ModifyAuthStrategy +func (m *Response) GetModifyAuthStrategy() *security.ModifyAuthStrategy { + if m != nil { + return m.ModifyAuthStrategy } return nil } -func (x *Response) GetModifyUserGroup() *security.ModifyUserGroup { - if x != nil { - return x.ModifyUserGroup +func (m *Response) GetModifyUserGroup() *security.ModifyUserGroup { + if m != nil { + return m.ModifyUserGroup } return nil } -func (x *Response) GetResources() *security.StrategyResources { - if x != nil { - return x.Resources +func (m *Response) GetResources() *security.StrategyResources { + if m != nil { + return m.Resources } return nil } -func (x *Response) GetOptionSwitch() *OptionSwitch { - if x != nil { - return x.OptionSwitch +func (m *Response) GetOptionSwitch() *OptionSwitch { + if m != nil { + return m.OptionSwitch } return nil } -func (x *Response) GetInstanceLabels() *InstanceLabels { - if x != nil { - return x.InstanceLabels +func (m *Response) GetInstanceLabels() *InstanceLabels { + if m != nil { + return m.InstanceLabels } return nil } -func (x *Response) GetData() *anypb.Any { - if x != nil { - return x.Data +func (m *Response) GetData() *anypb.Any { + if m != nil { + return m.Data } return nil } -func (x *Response) GetServiceContract() *ServiceContract { - if x != nil { - return x.ServiceContract +func (m *Response) GetServiceContract() *ServiceContract { + if m != nil { + return m.ServiceContract } return nil } type BatchWriteResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Code *wrapperspb.UInt32Value `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"` - Info *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=info,proto3" json:"info,omitempty"` - Size *wrapperspb.UInt32Value `protobuf:"bytes,3,opt,name=size,proto3" json:"size,omitempty"` - Responses []*Response `protobuf:"bytes,4,rep,name=responses,proto3" json:"responses,omitempty"` + Code *wrapperspb.UInt32Value `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"` + Info *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=info,proto3" json:"info,omitempty"` + Size *wrapperspb.UInt32Value `protobuf:"bytes,3,opt,name=size,proto3" json:"size,omitempty"` + Responses []*Response `protobuf:"bytes,4,rep,name=responses,proto3" json:"responses,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *BatchWriteResponse) Reset() { *m = BatchWriteResponse{} } +func (m *BatchWriteResponse) String() string { return proto.CompactTextString(m) } +func (*BatchWriteResponse) ProtoMessage() {} +func (*BatchWriteResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_response_4837835cb74bd46a, []int{1} } - -func (x *BatchWriteResponse) Reset() { - *x = BatchWriteResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_response_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *BatchWriteResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_BatchWriteResponse.Unmarshal(m, b) } - -func (x *BatchWriteResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *BatchWriteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_BatchWriteResponse.Marshal(b, m, deterministic) } - -func (*BatchWriteResponse) ProtoMessage() {} - -func (x *BatchWriteResponse) ProtoReflect() protoreflect.Message { - mi := &file_response_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (dst *BatchWriteResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_BatchWriteResponse.Merge(dst, src) } - -// Deprecated: Use BatchWriteResponse.ProtoReflect.Descriptor instead. -func (*BatchWriteResponse) Descriptor() ([]byte, []int) { - return file_response_proto_rawDescGZIP(), []int{1} +func (m *BatchWriteResponse) XXX_Size() int { + return xxx_messageInfo_BatchWriteResponse.Size(m) +} +func (m *BatchWriteResponse) XXX_DiscardUnknown() { + xxx_messageInfo_BatchWriteResponse.DiscardUnknown(m) } -func (x *BatchWriteResponse) GetCode() *wrapperspb.UInt32Value { - if x != nil { - return x.Code +var xxx_messageInfo_BatchWriteResponse proto.InternalMessageInfo + +func (m *BatchWriteResponse) GetCode() *wrapperspb.UInt32Value { + if m != nil { + return m.Code } return nil } -func (x *BatchWriteResponse) GetInfo() *wrapperspb.StringValue { - if x != nil { - return x.Info +func (m *BatchWriteResponse) GetInfo() *wrapperspb.StringValue { + if m != nil { + return m.Info } return nil } -func (x *BatchWriteResponse) GetSize() *wrapperspb.UInt32Value { - if x != nil { - return x.Size +func (m *BatchWriteResponse) GetSize() *wrapperspb.UInt32Value { + if m != nil { + return m.Size } return nil } -func (x *BatchWriteResponse) GetResponses() []*Response { - if x != nil { - return x.Responses +func (m *BatchWriteResponse) GetResponses() []*Response { + if m != nil { + return m.Responses } return nil } type BatchQueryResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Code *wrapperspb.UInt32Value `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"` - Info *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=info,proto3" json:"info,omitempty"` - Amount *wrapperspb.UInt32Value `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount,omitempty"` - Size *wrapperspb.UInt32Value `protobuf:"bytes,4,opt,name=size,proto3" json:"size,omitempty"` - Namespaces []*model.Namespace `protobuf:"bytes,5,rep,name=namespaces,proto3" json:"namespaces,omitempty"` - Services []*Service `protobuf:"bytes,6,rep,name=services,proto3" json:"services,omitempty"` - Instances []*Instance `protobuf:"bytes,7,rep,name=instances,proto3" json:"instances,omitempty"` - Routings []*traffic_manage.Routing `protobuf:"bytes,8,rep,name=routings,proto3" json:"routings,omitempty"` - Aliases []*ServiceAlias `protobuf:"bytes,9,rep,name=aliases,proto3" json:"aliases,omitempty"` - RateLimits []*traffic_manage.Rule `protobuf:"bytes,10,rep,name=rateLimits,proto3" json:"rateLimits,omitempty"` - ConfigWithServices []*ConfigWithService `protobuf:"bytes,11,rep,name=configWithServices,proto3" json:"configWithServices,omitempty"` - Users []*security.User `protobuf:"bytes,18,rep,name=users,proto3" json:"users,omitempty"` - UserGroups []*security.UserGroup `protobuf:"bytes,19,rep,name=userGroups,proto3" json:"userGroups,omitempty"` - AuthStrategies []*security.AuthStrategy `protobuf:"bytes,20,rep,name=authStrategies,proto3" json:"authStrategies,omitempty"` - Clients []*Client `protobuf:"bytes,21,rep,name=clients,proto3" json:"clients,omitempty"` - Data []*anypb.Any `protobuf:"bytes,22,rep,name=data,proto3" json:"data,omitempty"` - Summary *model.Summary `protobuf:"bytes,23,opt,name=summary,proto3" json:"summary,omitempty"` + Code *wrapperspb.UInt32Value `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"` + Info *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=info,proto3" json:"info,omitempty"` + Amount *wrapperspb.UInt32Value `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount,omitempty"` + Size *wrapperspb.UInt32Value `protobuf:"bytes,4,opt,name=size,proto3" json:"size,omitempty"` + Namespaces []*model.Namespace `protobuf:"bytes,5,rep,name=namespaces,proto3" json:"namespaces,omitempty"` + Services []*Service `protobuf:"bytes,6,rep,name=services,proto3" json:"services,omitempty"` + Instances []*Instance `protobuf:"bytes,7,rep,name=instances,proto3" json:"instances,omitempty"` + Routings []*traffic_manage.Routing `protobuf:"bytes,8,rep,name=routings,proto3" json:"routings,omitempty"` + Aliases []*ServiceAlias `protobuf:"bytes,9,rep,name=aliases,proto3" json:"aliases,omitempty"` + RateLimits []*traffic_manage.Rule `protobuf:"bytes,10,rep,name=rateLimits,proto3" json:"rateLimits,omitempty"` + ConfigWithServices []*ConfigWithService `protobuf:"bytes,11,rep,name=configWithServices,proto3" json:"configWithServices,omitempty"` + Users []*security.User `protobuf:"bytes,18,rep,name=users,proto3" json:"users,omitempty"` + UserGroups []*security.UserGroup `protobuf:"bytes,19,rep,name=userGroups,proto3" json:"userGroups,omitempty"` + AuthStrategies []*security.AuthStrategy `protobuf:"bytes,20,rep,name=authStrategies,proto3" json:"authStrategies,omitempty"` + Clients []*Client `protobuf:"bytes,21,rep,name=clients,proto3" json:"clients,omitempty"` + Data []*anypb.Any `protobuf:"bytes,22,rep,name=data,proto3" json:"data,omitempty"` + Summary *model.Summary `protobuf:"bytes,23,opt,name=summary,proto3" json:"summary,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *BatchQueryResponse) Reset() { *m = BatchQueryResponse{} } +func (m *BatchQueryResponse) String() string { return proto.CompactTextString(m) } +func (*BatchQueryResponse) ProtoMessage() {} +func (*BatchQueryResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_response_4837835cb74bd46a, []int{2} } - -func (x *BatchQueryResponse) Reset() { - *x = BatchQueryResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_response_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *BatchQueryResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_BatchQueryResponse.Unmarshal(m, b) } - -func (x *BatchQueryResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *BatchQueryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_BatchQueryResponse.Marshal(b, m, deterministic) } - -func (*BatchQueryResponse) ProtoMessage() {} - -func (x *BatchQueryResponse) ProtoReflect() protoreflect.Message { - mi := &file_response_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) +func (dst *BatchQueryResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_BatchQueryResponse.Merge(dst, src) } - -// Deprecated: Use BatchQueryResponse.ProtoReflect.Descriptor instead. -func (*BatchQueryResponse) Descriptor() ([]byte, []int) { - return file_response_proto_rawDescGZIP(), []int{2} +func (m *BatchQueryResponse) XXX_Size() int { + return xxx_messageInfo_BatchQueryResponse.Size(m) +} +func (m *BatchQueryResponse) XXX_DiscardUnknown() { + xxx_messageInfo_BatchQueryResponse.DiscardUnknown(m) } -func (x *BatchQueryResponse) GetCode() *wrapperspb.UInt32Value { - if x != nil { - return x.Code +var xxx_messageInfo_BatchQueryResponse proto.InternalMessageInfo + +func (m *BatchQueryResponse) GetCode() *wrapperspb.UInt32Value { + if m != nil { + return m.Code } return nil } -func (x *BatchQueryResponse) GetInfo() *wrapperspb.StringValue { - if x != nil { - return x.Info +func (m *BatchQueryResponse) GetInfo() *wrapperspb.StringValue { + if m != nil { + return m.Info } return nil } -func (x *BatchQueryResponse) GetAmount() *wrapperspb.UInt32Value { - if x != nil { - return x.Amount +func (m *BatchQueryResponse) GetAmount() *wrapperspb.UInt32Value { + if m != nil { + return m.Amount } return nil } -func (x *BatchQueryResponse) GetSize() *wrapperspb.UInt32Value { - if x != nil { - return x.Size +func (m *BatchQueryResponse) GetSize() *wrapperspb.UInt32Value { + if m != nil { + return m.Size } return nil } -func (x *BatchQueryResponse) GetNamespaces() []*model.Namespace { - if x != nil { - return x.Namespaces +func (m *BatchQueryResponse) GetNamespaces() []*model.Namespace { + if m != nil { + return m.Namespaces } return nil } -func (x *BatchQueryResponse) GetServices() []*Service { - if x != nil { - return x.Services +func (m *BatchQueryResponse) GetServices() []*Service { + if m != nil { + return m.Services } return nil } -func (x *BatchQueryResponse) GetInstances() []*Instance { - if x != nil { - return x.Instances +func (m *BatchQueryResponse) GetInstances() []*Instance { + if m != nil { + return m.Instances } return nil } -func (x *BatchQueryResponse) GetRoutings() []*traffic_manage.Routing { - if x != nil { - return x.Routings +func (m *BatchQueryResponse) GetRoutings() []*traffic_manage.Routing { + if m != nil { + return m.Routings } return nil } -func (x *BatchQueryResponse) GetAliases() []*ServiceAlias { - if x != nil { - return x.Aliases +func (m *BatchQueryResponse) GetAliases() []*ServiceAlias { + if m != nil { + return m.Aliases } return nil } -func (x *BatchQueryResponse) GetRateLimits() []*traffic_manage.Rule { - if x != nil { - return x.RateLimits +func (m *BatchQueryResponse) GetRateLimits() []*traffic_manage.Rule { + if m != nil { + return m.RateLimits } return nil } -func (x *BatchQueryResponse) GetConfigWithServices() []*ConfigWithService { - if x != nil { - return x.ConfigWithServices +func (m *BatchQueryResponse) GetConfigWithServices() []*ConfigWithService { + if m != nil { + return m.ConfigWithServices } return nil } -func (x *BatchQueryResponse) GetUsers() []*security.User { - if x != nil { - return x.Users +func (m *BatchQueryResponse) GetUsers() []*security.User { + if m != nil { + return m.Users } return nil } -func (x *BatchQueryResponse) GetUserGroups() []*security.UserGroup { - if x != nil { - return x.UserGroups +func (m *BatchQueryResponse) GetUserGroups() []*security.UserGroup { + if m != nil { + return m.UserGroups } return nil } -func (x *BatchQueryResponse) GetAuthStrategies() []*security.AuthStrategy { - if x != nil { - return x.AuthStrategies +func (m *BatchQueryResponse) GetAuthStrategies() []*security.AuthStrategy { + if m != nil { + return m.AuthStrategies } return nil } -func (x *BatchQueryResponse) GetClients() []*Client { - if x != nil { - return x.Clients +func (m *BatchQueryResponse) GetClients() []*Client { + if m != nil { + return m.Clients } return nil } -func (x *BatchQueryResponse) GetData() []*anypb.Any { - if x != nil { - return x.Data +func (m *BatchQueryResponse) GetData() []*anypb.Any { + if m != nil { + return m.Data } return nil } -func (x *BatchQueryResponse) GetSummary() *model.Summary { - if x != nil { - return x.Summary +func (m *BatchQueryResponse) GetSummary() *model.Summary { + if m != nil { + return m.Summary } return nil } type DiscoverResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - Code *wrapperspb.UInt32Value `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"` Info *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=info,proto3" json:"info,omitempty"` Type DiscoverResponse_DiscoverResponseType `protobuf:"varint,3,opt,name=type,proto3,enum=v1.DiscoverResponse_DiscoverResponseType" json:"type,omitempty"` @@ -601,759 +549,371 @@ type DiscoverResponse struct { NearbyRouteRules []*traffic_manage.RouteRule `protobuf:"bytes,24,rep,name=nearbyRouteRules,proto3" json:"nearbyRouteRules,omitempty"` // 无损上下线规则内容 LosslessRules []*traffic_manage.LosslessRule `protobuf:"bytes,25,rep,name=losslessRules,proto3" json:"losslessRules,omitempty"` + // 服务黑白名单鉴权规则 + BlockAllowListRule []*security.BlockAllowListRule `protobuf:"bytes,26,rep,name=blockAllowListRule,proto3" json:"blockAllowListRule,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *DiscoverResponse) Reset() { - *x = DiscoverResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_response_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *DiscoverResponse) Reset() { *m = DiscoverResponse{} } +func (m *DiscoverResponse) String() string { return proto.CompactTextString(m) } +func (*DiscoverResponse) ProtoMessage() {} +func (*DiscoverResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_response_4837835cb74bd46a, []int{3} } - -func (x *DiscoverResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *DiscoverResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DiscoverResponse.Unmarshal(m, b) } - -func (*DiscoverResponse) ProtoMessage() {} - -func (x *DiscoverResponse) ProtoReflect() protoreflect.Message { - mi := &file_response_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) +func (m *DiscoverResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DiscoverResponse.Marshal(b, m, deterministic) } - -// Deprecated: Use DiscoverResponse.ProtoReflect.Descriptor instead. -func (*DiscoverResponse) Descriptor() ([]byte, []int) { - return file_response_proto_rawDescGZIP(), []int{3} +func (dst *DiscoverResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_DiscoverResponse.Merge(dst, src) +} +func (m *DiscoverResponse) XXX_Size() int { + return xxx_messageInfo_DiscoverResponse.Size(m) } +func (m *DiscoverResponse) XXX_DiscardUnknown() { + xxx_messageInfo_DiscoverResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_DiscoverResponse proto.InternalMessageInfo -func (x *DiscoverResponse) GetCode() *wrapperspb.UInt32Value { - if x != nil { - return x.Code +func (m *DiscoverResponse) GetCode() *wrapperspb.UInt32Value { + if m != nil { + return m.Code } return nil } -func (x *DiscoverResponse) GetInfo() *wrapperspb.StringValue { - if x != nil { - return x.Info +func (m *DiscoverResponse) GetInfo() *wrapperspb.StringValue { + if m != nil { + return m.Info } return nil } -func (x *DiscoverResponse) GetType() DiscoverResponse_DiscoverResponseType { - if x != nil { - return x.Type +func (m *DiscoverResponse) GetType() DiscoverResponse_DiscoverResponseType { + if m != nil { + return m.Type } return DiscoverResponse_UNKNOWN } -func (x *DiscoverResponse) GetService() *Service { - if x != nil { - return x.Service +func (m *DiscoverResponse) GetService() *Service { + if m != nil { + return m.Service } return nil } -func (x *DiscoverResponse) GetInstances() []*Instance { - if x != nil { - return x.Instances +func (m *DiscoverResponse) GetInstances() []*Instance { + if m != nil { + return m.Instances } return nil } -func (x *DiscoverResponse) GetRouting() *traffic_manage.Routing { - if x != nil { - return x.Routing +func (m *DiscoverResponse) GetRouting() *traffic_manage.Routing { + if m != nil { + return m.Routing } return nil } -func (x *DiscoverResponse) GetRateLimit() *traffic_manage.RateLimit { - if x != nil { - return x.RateLimit +func (m *DiscoverResponse) GetRateLimit() *traffic_manage.RateLimit { + if m != nil { + return m.RateLimit } return nil } -func (x *DiscoverResponse) GetCircuitBreaker() *fault_tolerance.CircuitBreaker { - if x != nil { - return x.CircuitBreaker +func (m *DiscoverResponse) GetCircuitBreaker() *fault_tolerance.CircuitBreaker { + if m != nil { + return m.CircuitBreaker } return nil } -func (x *DiscoverResponse) GetServices() []*Service { - if x != nil { - return x.Services +func (m *DiscoverResponse) GetServices() []*Service { + if m != nil { + return m.Services } return nil } -func (x *DiscoverResponse) GetNamespaces() []*model.Namespace { - if x != nil { - return x.Namespaces +func (m *DiscoverResponse) GetNamespaces() []*model.Namespace { + if m != nil { + return m.Namespaces } return nil } -func (x *DiscoverResponse) GetFaultDetector() *fault_tolerance.FaultDetector { - if x != nil { - return x.FaultDetector +func (m *DiscoverResponse) GetFaultDetector() *fault_tolerance.FaultDetector { + if m != nil { + return m.FaultDetector } return nil } -func (x *DiscoverResponse) GetAliasFor() *Service { - if x != nil { - return x.AliasFor +func (m *DiscoverResponse) GetAliasFor() *Service { + if m != nil { + return m.AliasFor } return nil } -func (x *DiscoverResponse) GetLanes() []*traffic_manage.LaneGroup { - if x != nil { - return x.Lanes +func (m *DiscoverResponse) GetLanes() []*traffic_manage.LaneGroup { + if m != nil { + return m.Lanes } return nil } -func (x *DiscoverResponse) GetCustomRouteRules() []*traffic_manage.RouteRule { - if x != nil { - return x.CustomRouteRules +func (m *DiscoverResponse) GetCustomRouteRules() []*traffic_manage.RouteRule { + if m != nil { + return m.CustomRouteRules } return nil } -func (x *DiscoverResponse) GetNearbyRouteRules() []*traffic_manage.RouteRule { - if x != nil { - return x.NearbyRouteRules +func (m *DiscoverResponse) GetNearbyRouteRules() []*traffic_manage.RouteRule { + if m != nil { + return m.NearbyRouteRules } return nil } -func (x *DiscoverResponse) GetLosslessRules() []*traffic_manage.LosslessRule { - if x != nil { - return x.LosslessRules +func (m *DiscoverResponse) GetLosslessRules() []*traffic_manage.LosslessRule { + if m != nil { + return m.LosslessRules } return nil } -type OptionSwitch struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Options map[string]string `protobuf:"bytes,1,rep,name=options,proto3" json:"options,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` -} - -func (x *OptionSwitch) Reset() { - *x = OptionSwitch{} - if protoimpl.UnsafeEnabled { - mi := &file_response_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) +func (m *DiscoverResponse) GetBlockAllowListRule() []*security.BlockAllowListRule { + if m != nil { + return m.BlockAllowListRule } + return nil } -func (x *OptionSwitch) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*OptionSwitch) ProtoMessage() {} - -func (x *OptionSwitch) ProtoReflect() protoreflect.Message { - mi := &file_response_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) +type OptionSwitch struct { + Options map[string]string `protobuf:"bytes,1,rep,name=options,proto3" json:"options,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -// Deprecated: Use OptionSwitch.ProtoReflect.Descriptor instead. +func (m *OptionSwitch) Reset() { *m = OptionSwitch{} } +func (m *OptionSwitch) String() string { return proto.CompactTextString(m) } +func (*OptionSwitch) ProtoMessage() {} func (*OptionSwitch) Descriptor() ([]byte, []int) { - return file_response_proto_rawDescGZIP(), []int{4} + return fileDescriptor_response_4837835cb74bd46a, []int{4} } - -func (x *OptionSwitch) GetOptions() map[string]string { - if x != nil { - return x.Options - } - return nil +func (m *OptionSwitch) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_OptionSwitch.Unmarshal(m, b) } - -type InstanceLabels struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Labels map[string]*model.StringList `protobuf:"bytes,1,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"` - Service string `protobuf:"bytes,3,opt,name=service,proto3" json:"service,omitempty"` - ServiceId string `protobuf:"bytes,4,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"` +func (m *OptionSwitch) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_OptionSwitch.Marshal(b, m, deterministic) } - -func (x *InstanceLabels) Reset() { - *x = InstanceLabels{} - if protoimpl.UnsafeEnabled { - mi := &file_response_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (dst *OptionSwitch) XXX_Merge(src proto.Message) { + xxx_messageInfo_OptionSwitch.Merge(dst, src) } - -func (x *InstanceLabels) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *OptionSwitch) XXX_Size() int { + return xxx_messageInfo_OptionSwitch.Size(m) +} +func (m *OptionSwitch) XXX_DiscardUnknown() { + xxx_messageInfo_OptionSwitch.DiscardUnknown(m) } -func (*InstanceLabels) ProtoMessage() {} +var xxx_messageInfo_OptionSwitch proto.InternalMessageInfo -func (x *InstanceLabels) ProtoReflect() protoreflect.Message { - mi := &file_response_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms +func (m *OptionSwitch) GetOptions() map[string]string { + if m != nil { + return m.Options } - return mi.MessageOf(x) + return nil } -// Deprecated: Use InstanceLabels.ProtoReflect.Descriptor instead. +type InstanceLabels struct { + Labels map[string]*model.StringList `protobuf:"bytes,1,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"` + Service string `protobuf:"bytes,3,opt,name=service,proto3" json:"service,omitempty"` + ServiceId string `protobuf:"bytes,4,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *InstanceLabels) Reset() { *m = InstanceLabels{} } +func (m *InstanceLabels) String() string { return proto.CompactTextString(m) } +func (*InstanceLabels) ProtoMessage() {} func (*InstanceLabels) Descriptor() ([]byte, []int) { - return file_response_proto_rawDescGZIP(), []int{5} + return fileDescriptor_response_4837835cb74bd46a, []int{5} +} +func (m *InstanceLabels) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_InstanceLabels.Unmarshal(m, b) +} +func (m *InstanceLabels) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_InstanceLabels.Marshal(b, m, deterministic) +} +func (dst *InstanceLabels) XXX_Merge(src proto.Message) { + xxx_messageInfo_InstanceLabels.Merge(dst, src) } +func (m *InstanceLabels) XXX_Size() int { + return xxx_messageInfo_InstanceLabels.Size(m) +} +func (m *InstanceLabels) XXX_DiscardUnknown() { + xxx_messageInfo_InstanceLabels.DiscardUnknown(m) +} + +var xxx_messageInfo_InstanceLabels proto.InternalMessageInfo -func (x *InstanceLabels) GetLabels() map[string]*model.StringList { - if x != nil { - return x.Labels +func (m *InstanceLabels) GetLabels() map[string]*model.StringList { + if m != nil { + return m.Labels } return nil } -func (x *InstanceLabels) GetNamespace() string { - if x != nil { - return x.Namespace +func (m *InstanceLabels) GetNamespace() string { + if m != nil { + return m.Namespace } return "" } -func (x *InstanceLabels) GetService() string { - if x != nil { - return x.Service +func (m *InstanceLabels) GetService() string { + if m != nil { + return m.Service } return "" } -func (x *InstanceLabels) GetServiceId() string { - if x != nil { - return x.ServiceId +func (m *InstanceLabels) GetServiceId() string { + if m != nil { + return m.ServiceId } return "" } -var File_response_proto protoreflect.FileDescriptor - -var file_response_proto_rawDesc = []byte{ - 0x0a, 0x0e, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x12, 0x02, 0x76, 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, 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, - 0x0f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x1a, 0x0d, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, - 0x0d, 0x72, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0f, - 0x72, 0x61, 0x74, 0x65, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, - 0x14, 0x63, 0x69, 0x72, 0x63, 0x75, 0x69, 0x74, 0x62, 0x72, 0x65, 0x61, 0x6b, 0x65, 0x72, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0b, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x1a, 0x0c, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x1a, 0x13, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x14, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x64, 0x65, 0x74, - 0x65, 0x63, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0a, 0x61, 0x75, 0x74, - 0x68, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, - 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0a, 0x6c, 0x61, 0x6e, 0x65, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x1a, 0x0e, 0x6c, 0x6f, 0x73, 0x73, 0x6c, 0x65, 0x73, 0x73, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x22, 0x86, 0x09, 0x0a, 0x08, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x12, 0x30, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, - 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, - 0x2e, 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x04, 0x63, 0x6f, - 0x64, 0x65, 0x12, 0x30, 0x0a, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x02, 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, 0x04, - 0x69, 0x6e, 0x66, 0x6f, 0x12, 0x22, 0x0a, 0x06, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x18, 0x03, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, - 0x52, 0x06, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x12, 0x2b, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, - 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x76, 0x31, - 0x2e, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x09, 0x6e, 0x61, 0x6d, 0x65, - 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x25, 0x0a, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, - 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x72, 0x76, - 0x69, 0x63, 0x65, 0x52, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x28, 0x0a, 0x08, - 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, - 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x08, 0x69, 0x6e, - 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x25, 0x0a, 0x07, 0x72, 0x6f, 0x75, 0x74, 0x69, 0x6e, - 0x67, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x6f, 0x75, - 0x74, 0x69, 0x6e, 0x67, 0x52, 0x07, 0x72, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x12, 0x26, 0x0a, - 0x05, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x76, - 0x31, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x52, 0x05, - 0x61, 0x6c, 0x69, 0x61, 0x73, 0x12, 0x26, 0x0a, 0x09, 0x72, 0x61, 0x74, 0x65, 0x4c, 0x69, 0x6d, - 0x69, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x08, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x75, - 0x6c, 0x65, 0x52, 0x09, 0x72, 0x61, 0x74, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x3a, 0x0a, - 0x0e, 0x63, 0x69, 0x72, 0x63, 0x75, 0x69, 0x74, 0x42, 0x72, 0x65, 0x61, 0x6b, 0x65, 0x72, 0x18, - 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x69, 0x72, 0x63, 0x75, - 0x69, 0x74, 0x42, 0x72, 0x65, 0x61, 0x6b, 0x65, 0x72, 0x52, 0x0e, 0x63, 0x69, 0x72, 0x63, 0x75, - 0x69, 0x74, 0x42, 0x72, 0x65, 0x61, 0x6b, 0x65, 0x72, 0x12, 0x37, 0x0a, 0x0d, 0x63, 0x6f, 0x6e, - 0x66, 0x69, 0x67, 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x11, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x6c, 0x65, - 0x61, 0x73, 0x65, 0x52, 0x0d, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x6c, 0x65, 0x61, - 0x73, 0x65, 0x12, 0x1c, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x13, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x08, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, - 0x12, 0x2b, 0x0a, 0x09, 0x75, 0x73, 0x65, 0x72, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x14, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x47, 0x72, 0x6f, - 0x75, 0x70, 0x52, 0x09, 0x75, 0x73, 0x65, 0x72, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x34, 0x0a, - 0x0c, 0x61, 0x75, 0x74, 0x68, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x18, 0x15, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x75, 0x74, 0x68, 0x53, 0x74, 0x72, - 0x61, 0x74, 0x65, 0x67, 0x79, 0x52, 0x0c, 0x61, 0x75, 0x74, 0x68, 0x53, 0x74, 0x72, 0x61, 0x74, - 0x65, 0x67, 0x79, 0x12, 0x31, 0x0a, 0x08, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, - 0x16, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x47, - 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x08, 0x72, 0x65, - 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x37, 0x0a, 0x0d, 0x6c, 0x6f, 0x67, 0x69, 0x6e, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x18, 0x17, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, - 0x76, 0x31, 0x2e, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x52, 0x0d, 0x6c, 0x6f, 0x67, 0x69, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, - 0x46, 0x0a, 0x12, 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x79, 0x41, 0x75, 0x74, 0x68, 0x53, 0x74, 0x72, - 0x61, 0x74, 0x65, 0x67, 0x79, 0x18, 0x18, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x76, 0x31, - 0x2e, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x79, 0x41, 0x75, 0x74, 0x68, 0x53, 0x74, 0x72, 0x61, 0x74, - 0x65, 0x67, 0x79, 0x52, 0x12, 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x79, 0x41, 0x75, 0x74, 0x68, 0x53, - 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x12, 0x3d, 0x0a, 0x0f, 0x6d, 0x6f, 0x64, 0x69, 0x66, - 0x79, 0x55, 0x73, 0x65, 0x72, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x19, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x13, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x79, 0x55, 0x73, 0x65, 0x72, - 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x0f, 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x79, 0x55, 0x73, 0x65, - 0x72, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x33, 0x0a, 0x09, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, - 0x63, 0x65, 0x73, 0x18, 0x1a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x76, 0x31, 0x2e, 0x53, - 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, - 0x52, 0x09, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x12, 0x34, 0x0a, 0x0c, 0x6f, - 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, 0x18, 0x1b, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x10, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x77, 0x69, - 0x74, 0x63, 0x68, 0x52, 0x0c, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x77, 0x69, 0x74, 0x63, - 0x68, 0x12, 0x3a, 0x0a, 0x0e, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x4c, 0x61, 0x62, - 0x65, 0x6c, 0x73, 0x18, 0x1c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x76, 0x31, 0x2e, 0x49, - 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x52, 0x0e, 0x69, - 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x12, 0x28, 0x0a, - 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x1d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x6f, - 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x41, 0x6e, - 0x79, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x3d, 0x0a, 0x0f, 0x73, 0x65, 0x72, 0x76, 0x69, - 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x18, 0x1e, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x13, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x43, 0x6f, 0x6e, - 0x74, 0x72, 0x61, 0x63, 0x74, 0x52, 0x0f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x43, 0x6f, - 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x4a, 0x04, 0x08, 0x0c, 0x10, 0x13, 0x22, 0xd6, 0x01, 0x0a, - 0x12, 0x42, 0x61, 0x74, 0x63, 0x68, 0x57, 0x72, 0x69, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x12, 0x30, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x62, 0x75, 0x66, 0x2e, 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, - 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x30, 0x0a, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x02, 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, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x12, 0x30, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 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, 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, - 0x6c, 0x75, 0x65, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x12, 0x2a, 0x0a, 0x09, 0x72, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x76, - 0x31, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x09, 0x72, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x73, 0x22, 0xb0, 0x06, 0x0a, 0x12, 0x42, 0x61, 0x74, 0x63, 0x68, 0x51, - 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x30, 0x0a, 0x04, - 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, - 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x49, 0x6e, - 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x30, - 0x0a, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x02, 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, 0x04, 0x69, 0x6e, 0x66, 0x6f, - 0x12, 0x34, 0x0a, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 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, 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x06, - 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x30, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x04, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, - 0x75, 0x65, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x12, 0x2d, 0x0a, 0x0a, 0x6e, 0x61, 0x6d, 0x65, - 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x76, - 0x31, 0x2e, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x0a, 0x6e, 0x61, 0x6d, - 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x12, 0x27, 0x0a, 0x08, 0x73, 0x65, 0x72, 0x76, 0x69, - 0x63, 0x65, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x76, 0x31, 0x2e, 0x53, - 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x08, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, - 0x12, 0x2a, 0x0a, 0x09, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x18, 0x07, 0x20, - 0x03, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, - 0x65, 0x52, 0x09, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x12, 0x27, 0x0a, 0x08, - 0x72, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, - 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x08, 0x72, 0x6f, 0x75, - 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x2a, 0x0a, 0x07, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x65, 0x73, - 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x72, 0x76, - 0x69, 0x63, 0x65, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x52, 0x07, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x65, - 0x73, 0x12, 0x28, 0x0a, 0x0a, 0x72, 0x61, 0x74, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x18, - 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x08, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x75, 0x6c, 0x65, 0x52, - 0x0a, 0x72, 0x61, 0x74, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x12, 0x45, 0x0a, 0x12, 0x63, - 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x57, 0x69, 0x74, 0x68, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, - 0x73, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6e, - 0x66, 0x69, 0x67, 0x57, 0x69, 0x74, 0x68, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x12, - 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x57, 0x69, 0x74, 0x68, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, - 0x65, 0x73, 0x12, 0x1e, 0x0a, 0x05, 0x75, 0x73, 0x65, 0x72, 0x73, 0x18, 0x12, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x08, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x05, 0x75, 0x73, 0x65, - 0x72, 0x73, 0x12, 0x2d, 0x0a, 0x0a, 0x75, 0x73, 0x65, 0x72, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, - 0x18, 0x13, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, - 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x0a, 0x75, 0x73, 0x65, 0x72, 0x47, 0x72, 0x6f, 0x75, 0x70, - 0x73, 0x12, 0x38, 0x0a, 0x0e, 0x61, 0x75, 0x74, 0x68, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, - 0x69, 0x65, 0x73, 0x18, 0x14, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x76, 0x31, 0x2e, 0x41, - 0x75, 0x74, 0x68, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x52, 0x0e, 0x61, 0x75, 0x74, - 0x68, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x69, 0x65, 0x73, 0x12, 0x24, 0x0a, 0x07, 0x63, - 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x15, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x76, - 0x31, 0x2e, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x07, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, - 0x73, 0x12, 0x28, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x16, 0x20, 0x03, 0x28, 0x0b, 0x32, - 0x14, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, - 0x66, 0x2e, 0x41, 0x6e, 0x79, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x25, 0x0a, 0x07, 0x73, - 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x18, 0x17, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x76, - 0x31, 0x2e, 0x53, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x52, 0x07, 0x73, 0x75, 0x6d, 0x6d, 0x61, - 0x72, 0x79, 0x4a, 0x04, 0x08, 0x0c, 0x10, 0x12, 0x22, 0xdc, 0x08, 0x0a, 0x10, 0x44, 0x69, 0x73, - 0x63, 0x6f, 0x76, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x30, 0x0a, - 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, - 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x49, - 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, - 0x30, 0x0a, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x02, 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, 0x04, 0x69, 0x6e, 0x66, - 0x6f, 0x12, 0x3d, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, - 0x29, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, - 0x12, 0x25, 0x0a, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x0b, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x07, - 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x2a, 0x0a, 0x09, 0x69, 0x6e, 0x73, 0x74, 0x61, - 0x6e, 0x63, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x76, 0x31, 0x2e, - 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x09, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, - 0x63, 0x65, 0x73, 0x12, 0x25, 0x0a, 0x07, 0x72, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x18, 0x06, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, - 0x67, 0x52, 0x07, 0x72, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x12, 0x2b, 0x0a, 0x09, 0x72, 0x61, - 0x74, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, - 0x76, 0x31, 0x2e, 0x52, 0x61, 0x74, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x52, 0x09, 0x72, 0x61, - 0x74, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x3a, 0x0a, 0x0e, 0x63, 0x69, 0x72, 0x63, 0x75, - 0x69, 0x74, 0x42, 0x72, 0x65, 0x61, 0x6b, 0x65, 0x72, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x12, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x69, 0x72, 0x63, 0x75, 0x69, 0x74, 0x42, 0x72, 0x65, 0x61, - 0x6b, 0x65, 0x72, 0x52, 0x0e, 0x63, 0x69, 0x72, 0x63, 0x75, 0x69, 0x74, 0x42, 0x72, 0x65, 0x61, - 0x6b, 0x65, 0x72, 0x12, 0x27, 0x0a, 0x08, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x18, - 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, - 0x63, 0x65, 0x52, 0x08, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x12, 0x2d, 0x0a, 0x0a, - 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0b, - 0x32, 0x0d, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, - 0x0a, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x12, 0x37, 0x0a, 0x0d, 0x66, - 0x61, 0x75, 0x6c, 0x74, 0x44, 0x65, 0x74, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x18, 0x0b, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x61, 0x75, 0x6c, 0x74, 0x44, 0x65, 0x74, - 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x0d, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x44, 0x65, 0x74, 0x65, - 0x63, 0x74, 0x6f, 0x72, 0x12, 0x27, 0x0a, 0x08, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x46, 0x6f, 0x72, - 0x18, 0x15, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x72, 0x76, - 0x69, 0x63, 0x65, 0x52, 0x08, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x46, 0x6f, 0x72, 0x12, 0x23, 0x0a, - 0x05, 0x6c, 0x61, 0x6e, 0x65, 0x73, 0x18, 0x16, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x76, - 0x31, 0x2e, 0x4c, 0x61, 0x6e, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x05, 0x6c, 0x61, 0x6e, - 0x65, 0x73, 0x12, 0x39, 0x0a, 0x10, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x52, 0x6f, 0x75, 0x74, - 0x65, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x17, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x76, - 0x31, 0x2e, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x52, 0x75, 0x6c, 0x65, 0x52, 0x10, 0x63, 0x75, 0x73, - 0x74, 0x6f, 0x6d, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x12, 0x39, 0x0a, - 0x10, 0x6e, 0x65, 0x61, 0x72, 0x62, 0x79, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x52, 0x75, 0x6c, 0x65, - 0x73, 0x18, 0x18, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x6f, 0x75, - 0x74, 0x65, 0x52, 0x75, 0x6c, 0x65, 0x52, 0x10, 0x6e, 0x65, 0x61, 0x72, 0x62, 0x79, 0x52, 0x6f, - 0x75, 0x74, 0x65, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x12, 0x36, 0x0a, 0x0d, 0x6c, 0x6f, 0x73, 0x73, - 0x6c, 0x65, 0x73, 0x73, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x19, 0x20, 0x03, 0x28, 0x0b, 0x32, - 0x10, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x6f, 0x73, 0x73, 0x6c, 0x65, 0x73, 0x73, 0x52, 0x75, 0x6c, - 0x65, 0x52, 0x0d, 0x6c, 0x6f, 0x73, 0x73, 0x6c, 0x65, 0x73, 0x73, 0x52, 0x75, 0x6c, 0x65, 0x73, - 0x22, 0xae, 0x02, 0x0a, 0x14, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, - 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x0c, 0x0a, 0x08, 0x49, 0x4e, 0x53, 0x54, 0x41, 0x4e, - 0x43, 0x45, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x43, 0x4c, 0x55, 0x53, 0x54, 0x45, 0x52, 0x10, - 0x02, 0x12, 0x0b, 0x0a, 0x07, 0x52, 0x4f, 0x55, 0x54, 0x49, 0x4e, 0x47, 0x10, 0x03, 0x12, 0x0e, - 0x0a, 0x0a, 0x52, 0x41, 0x54, 0x45, 0x5f, 0x4c, 0x49, 0x4d, 0x49, 0x54, 0x10, 0x04, 0x12, 0x13, - 0x0a, 0x0f, 0x43, 0x49, 0x52, 0x43, 0x55, 0x49, 0x54, 0x5f, 0x42, 0x52, 0x45, 0x41, 0x4b, 0x45, - 0x52, 0x10, 0x05, 0x12, 0x0c, 0x0a, 0x08, 0x53, 0x45, 0x52, 0x56, 0x49, 0x43, 0x45, 0x53, 0x10, - 0x06, 0x12, 0x0e, 0x0a, 0x0a, 0x4e, 0x41, 0x4d, 0x45, 0x53, 0x50, 0x41, 0x43, 0x45, 0x53, 0x10, - 0x0c, 0x12, 0x12, 0x0a, 0x0e, 0x46, 0x41, 0x55, 0x4c, 0x54, 0x5f, 0x44, 0x45, 0x54, 0x45, 0x43, - 0x54, 0x4f, 0x52, 0x10, 0x0d, 0x12, 0x08, 0x0a, 0x04, 0x4c, 0x41, 0x4e, 0x45, 0x10, 0x64, 0x12, - 0x15, 0x0a, 0x11, 0x43, 0x55, 0x53, 0x54, 0x4f, 0x4d, 0x5f, 0x52, 0x4f, 0x55, 0x54, 0x45, 0x5f, - 0x52, 0x55, 0x4c, 0x45, 0x10, 0x65, 0x12, 0x15, 0x0a, 0x11, 0x4e, 0x45, 0x41, 0x52, 0x42, 0x59, - 0x5f, 0x52, 0x4f, 0x55, 0x54, 0x45, 0x5f, 0x52, 0x55, 0x4c, 0x45, 0x10, 0x66, 0x12, 0x0c, 0x0a, - 0x08, 0x4c, 0x4f, 0x53, 0x53, 0x4c, 0x45, 0x53, 0x53, 0x10, 0x67, 0x22, 0x04, 0x08, 0x07, 0x10, - 0x0b, 0x22, 0x04, 0x08, 0x0e, 0x10, 0x63, 0x2a, 0x04, 0x4d, 0x45, 0x53, 0x48, 0x2a, 0x0b, 0x4d, - 0x45, 0x53, 0x48, 0x5f, 0x43, 0x4f, 0x4e, 0x46, 0x49, 0x47, 0x2a, 0x0e, 0x46, 0x4c, 0x55, 0x58, - 0x5f, 0x44, 0x42, 0x52, 0x45, 0x46, 0x52, 0x45, 0x53, 0x48, 0x2a, 0x08, 0x46, 0x4c, 0x55, 0x58, - 0x5f, 0x53, 0x44, 0x4b, 0x2a, 0x0b, 0x46, 0x4c, 0x55, 0x58, 0x5f, 0x53, 0x45, 0x52, 0x56, 0x45, - 0x52, 0x4a, 0x04, 0x08, 0x0c, 0x10, 0x15, 0x22, 0x83, 0x01, 0x0a, 0x0c, 0x4f, 0x70, 0x74, 0x69, - 0x6f, 0x6e, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, 0x12, 0x37, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, - 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x76, 0x31, 0x2e, 0x4f, - 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, 0x2e, 0x4f, 0x70, 0x74, 0x69, - 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, - 0x73, 0x1a, 0x3a, 0x0a, 0x0c, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, - 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, - 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xea, 0x01, - 0x0a, 0x0e, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, - 0x12, 0x36, 0x0a, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, - 0x32, 0x1e, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x4c, 0x61, - 0x62, 0x65, 0x6c, 0x73, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, - 0x52, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, - 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6e, 0x61, 0x6d, - 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, - 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, - 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x04, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x49, 0x64, 0x1a, - 0x49, 0x0a, 0x0b, 0x4c, 0x61, 0x62, 0x65, 0x6c, 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, 0x24, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x0e, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x4c, 0x69, 0x73, 0x74, 0x52, - 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x8e, 0x01, 0x0a, 0x37, 0x63, - 0x6f, 0x6d, 0x2e, 0x74, 0x65, 0x6e, 0x63, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x6f, 0x6c, 0x61, 0x72, - 0x69, 0x73, 0x2e, 0x73, 0x70, 0x65, 0x63, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, - 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x42, 0x0d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x5a, 0x44, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, - 0x6d, 0x2f, 0x70, 0x6f, 0x6c, 0x61, 0x72, 0x69, 0x73, 0x6d, 0x65, 0x73, 0x68, 0x2f, 0x73, 0x70, - 0x65, 0x63, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x73, 0x6f, 0x75, 0x72, - 0x63, 0x65, 0x2f, 0x67, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x65, 0x72, - 0x76, 0x69, 0x63, 0x65, 0x5f, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x33, -} - -var ( - file_response_proto_rawDescOnce sync.Once - file_response_proto_rawDescData = file_response_proto_rawDesc -) - -func file_response_proto_rawDescGZIP() []byte { - file_response_proto_rawDescOnce.Do(func() { - file_response_proto_rawDescData = protoimpl.X.CompressGZIP(file_response_proto_rawDescData) - }) - return file_response_proto_rawDescData -} - -var file_response_proto_enumTypes = make([]protoimpl.EnumInfo, 1) -var file_response_proto_msgTypes = make([]protoimpl.MessageInfo, 8) -var file_response_proto_goTypes = []interface{}{ - (DiscoverResponse_DiscoverResponseType)(0), // 0: v1.DiscoverResponse.DiscoverResponseType - (*Response)(nil), // 1: v1.Response - (*BatchWriteResponse)(nil), // 2: v1.BatchWriteResponse - (*BatchQueryResponse)(nil), // 3: v1.BatchQueryResponse - (*DiscoverResponse)(nil), // 4: v1.DiscoverResponse - (*OptionSwitch)(nil), // 5: v1.OptionSwitch - (*InstanceLabels)(nil), // 6: v1.InstanceLabels - nil, // 7: v1.OptionSwitch.OptionsEntry - nil, // 8: v1.InstanceLabels.LabelsEntry - (*wrapperspb.UInt32Value)(nil), // 9: google.protobuf.UInt32Value - (*wrapperspb.StringValue)(nil), // 10: google.protobuf.StringValue - (*Client)(nil), // 11: v1.Client - (*model.Namespace)(nil), // 12: v1.Namespace - (*Service)(nil), // 13: v1.Service - (*Instance)(nil), // 14: v1.Instance - (*traffic_manage.Routing)(nil), // 15: v1.Routing - (*ServiceAlias)(nil), // 16: v1.ServiceAlias - (*traffic_manage.Rule)(nil), // 17: v1.Rule - (*fault_tolerance.CircuitBreaker)(nil), // 18: v1.CircuitBreaker - (*ConfigRelease)(nil), // 19: v1.ConfigRelease - (*security.User)(nil), // 20: v1.User - (*security.UserGroup)(nil), // 21: v1.UserGroup - (*security.AuthStrategy)(nil), // 22: v1.AuthStrategy - (*security.UserGroupRelation)(nil), // 23: v1.UserGroupRelation - (*security.LoginResponse)(nil), // 24: v1.LoginResponse - (*security.ModifyAuthStrategy)(nil), // 25: v1.ModifyAuthStrategy - (*security.ModifyUserGroup)(nil), // 26: v1.ModifyUserGroup - (*security.StrategyResources)(nil), // 27: v1.StrategyResources - (*anypb.Any)(nil), // 28: google.protobuf.Any - (*ServiceContract)(nil), // 29: v1.ServiceContract - (*ConfigWithService)(nil), // 30: v1.ConfigWithService - (*model.Summary)(nil), // 31: v1.Summary - (*traffic_manage.RateLimit)(nil), // 32: v1.RateLimit - (*fault_tolerance.FaultDetector)(nil), // 33: v1.FaultDetector - (*traffic_manage.LaneGroup)(nil), // 34: v1.LaneGroup - (*traffic_manage.RouteRule)(nil), // 35: v1.RouteRule - (*traffic_manage.LosslessRule)(nil), // 36: v1.LosslessRule - (*model.StringList)(nil), // 37: v1.StringList -} -var file_response_proto_depIdxs = []int32{ - 9, // 0: v1.Response.code:type_name -> google.protobuf.UInt32Value - 10, // 1: v1.Response.info:type_name -> google.protobuf.StringValue - 11, // 2: v1.Response.client:type_name -> v1.Client - 12, // 3: v1.Response.namespace:type_name -> v1.Namespace - 13, // 4: v1.Response.service:type_name -> v1.Service - 14, // 5: v1.Response.instance:type_name -> v1.Instance - 15, // 6: v1.Response.routing:type_name -> v1.Routing - 16, // 7: v1.Response.alias:type_name -> v1.ServiceAlias - 17, // 8: v1.Response.rateLimit:type_name -> v1.Rule - 18, // 9: v1.Response.circuitBreaker:type_name -> v1.CircuitBreaker - 19, // 10: v1.Response.configRelease:type_name -> v1.ConfigRelease - 20, // 11: v1.Response.user:type_name -> v1.User - 21, // 12: v1.Response.userGroup:type_name -> v1.UserGroup - 22, // 13: v1.Response.authStrategy:type_name -> v1.AuthStrategy - 23, // 14: v1.Response.relation:type_name -> v1.UserGroupRelation - 24, // 15: v1.Response.loginResponse:type_name -> v1.LoginResponse - 25, // 16: v1.Response.modifyAuthStrategy:type_name -> v1.ModifyAuthStrategy - 26, // 17: v1.Response.modifyUserGroup:type_name -> v1.ModifyUserGroup - 27, // 18: v1.Response.resources:type_name -> v1.StrategyResources - 5, // 19: v1.Response.optionSwitch:type_name -> v1.OptionSwitch - 6, // 20: v1.Response.instanceLabels:type_name -> v1.InstanceLabels - 28, // 21: v1.Response.data:type_name -> google.protobuf.Any - 29, // 22: v1.Response.serviceContract:type_name -> v1.ServiceContract - 9, // 23: v1.BatchWriteResponse.code:type_name -> google.protobuf.UInt32Value - 10, // 24: v1.BatchWriteResponse.info:type_name -> google.protobuf.StringValue - 9, // 25: v1.BatchWriteResponse.size:type_name -> google.protobuf.UInt32Value - 1, // 26: v1.BatchWriteResponse.responses:type_name -> v1.Response - 9, // 27: v1.BatchQueryResponse.code:type_name -> google.protobuf.UInt32Value - 10, // 28: v1.BatchQueryResponse.info:type_name -> google.protobuf.StringValue - 9, // 29: v1.BatchQueryResponse.amount:type_name -> google.protobuf.UInt32Value - 9, // 30: v1.BatchQueryResponse.size:type_name -> google.protobuf.UInt32Value - 12, // 31: v1.BatchQueryResponse.namespaces:type_name -> v1.Namespace - 13, // 32: v1.BatchQueryResponse.services:type_name -> v1.Service - 14, // 33: v1.BatchQueryResponse.instances:type_name -> v1.Instance - 15, // 34: v1.BatchQueryResponse.routings:type_name -> v1.Routing - 16, // 35: v1.BatchQueryResponse.aliases:type_name -> v1.ServiceAlias - 17, // 36: v1.BatchQueryResponse.rateLimits:type_name -> v1.Rule - 30, // 37: v1.BatchQueryResponse.configWithServices:type_name -> v1.ConfigWithService - 20, // 38: v1.BatchQueryResponse.users:type_name -> v1.User - 21, // 39: v1.BatchQueryResponse.userGroups:type_name -> v1.UserGroup - 22, // 40: v1.BatchQueryResponse.authStrategies:type_name -> v1.AuthStrategy - 11, // 41: v1.BatchQueryResponse.clients:type_name -> v1.Client - 28, // 42: v1.BatchQueryResponse.data:type_name -> google.protobuf.Any - 31, // 43: v1.BatchQueryResponse.summary:type_name -> v1.Summary - 9, // 44: v1.DiscoverResponse.code:type_name -> google.protobuf.UInt32Value - 10, // 45: v1.DiscoverResponse.info:type_name -> google.protobuf.StringValue - 0, // 46: v1.DiscoverResponse.type:type_name -> v1.DiscoverResponse.DiscoverResponseType - 13, // 47: v1.DiscoverResponse.service:type_name -> v1.Service - 14, // 48: v1.DiscoverResponse.instances:type_name -> v1.Instance - 15, // 49: v1.DiscoverResponse.routing:type_name -> v1.Routing - 32, // 50: v1.DiscoverResponse.rateLimit:type_name -> v1.RateLimit - 18, // 51: v1.DiscoverResponse.circuitBreaker:type_name -> v1.CircuitBreaker - 13, // 52: v1.DiscoverResponse.services:type_name -> v1.Service - 12, // 53: v1.DiscoverResponse.namespaces:type_name -> v1.Namespace - 33, // 54: v1.DiscoverResponse.faultDetector:type_name -> v1.FaultDetector - 13, // 55: v1.DiscoverResponse.aliasFor:type_name -> v1.Service - 34, // 56: v1.DiscoverResponse.lanes:type_name -> v1.LaneGroup - 35, // 57: v1.DiscoverResponse.customRouteRules:type_name -> v1.RouteRule - 35, // 58: v1.DiscoverResponse.nearbyRouteRules:type_name -> v1.RouteRule - 36, // 59: v1.DiscoverResponse.losslessRules:type_name -> v1.LosslessRule - 7, // 60: v1.OptionSwitch.options:type_name -> v1.OptionSwitch.OptionsEntry - 8, // 61: v1.InstanceLabels.labels:type_name -> v1.InstanceLabels.LabelsEntry - 37, // 62: v1.InstanceLabels.LabelsEntry.value:type_name -> v1.StringList - 63, // [63:63] is the sub-list for method output_type - 63, // [63:63] is the sub-list for method input_type - 63, // [63:63] is the sub-list for extension type_name - 63, // [63:63] is the sub-list for extension extendee - 0, // [0:63] is the sub-list for field type_name -} - -func init() { file_response_proto_init() } -func file_response_proto_init() { - if File_response_proto != nil { - return - } - file_service_proto_init() - file_client_proto_init() - file_configrelease_proto_init() - file_contract_proto_init() - if !protoimpl.UnsafeEnabled { - file_response_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Response); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_response_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BatchWriteResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_response_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BatchQueryResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_response_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DiscoverResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_response_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*OptionSwitch); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_response_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*InstanceLabels); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_response_proto_rawDesc, - NumEnums: 1, - NumMessages: 8, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_response_proto_goTypes, - DependencyIndexes: file_response_proto_depIdxs, - EnumInfos: file_response_proto_enumTypes, - MessageInfos: file_response_proto_msgTypes, - }.Build() - File_response_proto = out.File - file_response_proto_rawDesc = nil - file_response_proto_goTypes = nil - file_response_proto_depIdxs = nil +func init() { + proto.RegisterType((*Response)(nil), "v1.Response") + proto.RegisterType((*BatchWriteResponse)(nil), "v1.BatchWriteResponse") + proto.RegisterType((*BatchQueryResponse)(nil), "v1.BatchQueryResponse") + proto.RegisterType((*DiscoverResponse)(nil), "v1.DiscoverResponse") + proto.RegisterType((*OptionSwitch)(nil), "v1.OptionSwitch") + proto.RegisterMapType((map[string]string)(nil), "v1.OptionSwitch.OptionsEntry") + proto.RegisterType((*InstanceLabels)(nil), "v1.InstanceLabels") + proto.RegisterMapType((map[string]*model.StringList)(nil), "v1.InstanceLabels.LabelsEntry") + proto.RegisterEnum("v1.DiscoverResponse_DiscoverResponseType", DiscoverResponse_DiscoverResponseType_name, DiscoverResponse_DiscoverResponseType_value) +} + +func init() { proto.RegisterFile("response.proto", fileDescriptor_response_4837835cb74bd46a) } + +var fileDescriptor_response_4837835cb74bd46a = []byte{ + // 1612 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x57, 0x5d, 0x53, 0xdb, 0x46, + 0x17, 0x7e, 0x0d, 0xfe, 0x5c, 0x83, 0xa3, 0x2c, 0x86, 0x6c, 0xfc, 0x12, 0x26, 0xe3, 0xa6, 0x29, + 0x25, 0x53, 0x3b, 0x90, 0x4c, 0x48, 0x33, 0x93, 0x0b, 0xdb, 0x88, 0xd4, 0x45, 0xd8, 0xe9, 0xca, + 0x0e, 0x6d, 0x6f, 0x3c, 0x42, 0x5e, 0xcc, 0x4e, 0x64, 0xc9, 0xa3, 0x95, 0xc9, 0xb8, 0xb7, 0x9d, + 0xe9, 0x65, 0x7f, 0x4b, 0xaf, 0x7b, 0xdd, 0xdf, 0xd0, 0x1f, 0xd1, 0x5f, 0xd1, 0xd9, 0x0f, 0x7d, + 0x19, 0x4a, 0x72, 0x95, 0x1b, 0xb0, 0xce, 0xf3, 0x9c, 0xb3, 0x7b, 0xce, 0x9e, 0x7d, 0x74, 0x04, + 0x2a, 0x3e, 0x61, 0x33, 0xcf, 0x65, 0xa4, 0x31, 0xf3, 0xbd, 0xc0, 0x83, 0x2b, 0x57, 0xfb, 0xb5, + 0x9d, 0x89, 0xe7, 0x4d, 0x1c, 0xd2, 0x14, 0x96, 0xf3, 0xf9, 0x45, 0xf3, 0x83, 0x6f, 0xcd, 0x66, + 0xc4, 0x67, 0x92, 0x53, 0xbb, 0xbf, 0x8c, 0x5b, 0xee, 0x42, 0x41, 0x77, 0x5c, 0x6b, 0x4a, 0xd8, + 0xcc, 0xb2, 0x55, 0xbc, 0xda, 0x3a, 0x23, 0xfe, 0x15, 0x8d, 0x1f, 0x7d, 0x6f, 0x1e, 0x50, 0x77, + 0x12, 0xd2, 0x7d, 0x2b, 0x20, 0x0e, 0x9d, 0xd2, 0x40, 0x19, 0xaa, 0x36, 0xf5, 0xed, 0x39, 0x0d, + 0xce, 0x7d, 0x62, 0xbd, 0x27, 0xbe, 0xb2, 0x96, 0xa7, 0xde, 0x98, 0x38, 0xea, 0x61, 0xcd, 0x76, + 0x28, 0x71, 0x43, 0x87, 0x0d, 0xdb, 0x73, 0x2f, 0xe8, 0xc4, 0x27, 0x0e, 0xb1, 0xc2, 0x24, 0x6a, + 0xd5, 0x0b, 0x6b, 0xee, 0x04, 0xa3, 0x31, 0x09, 0x88, 0x1d, 0x78, 0x61, 0x14, 0x60, 0xcd, 0x83, + 0x4b, 0xf5, 0xbb, 0x62, 0x7b, 0x6e, 0xe0, 0x5b, 0x76, 0x18, 0x06, 0x38, 0x96, 0x1b, 0x7a, 0x57, + 0x1c, 0x8f, 0x31, 0x87, 0xb0, 0x30, 0xdd, 0xad, 0x73, 0xc7, 0xb3, 0xdf, 0x8f, 0x2c, 0xc7, 0xf1, + 0x3e, 0x8c, 0x1c, 0xca, 0x94, 0x4f, 0xfd, 0xb7, 0x12, 0x28, 0x62, 0x55, 0x3d, 0xf8, 0x14, 0x64, + 0x6d, 0x6f, 0x4c, 0x50, 0xe6, 0x61, 0x66, 0xb7, 0x7c, 0xb0, 0xdd, 0x90, 0x25, 0x6a, 0x84, 0x25, + 0x6a, 0x0c, 0xbb, 0x6e, 0xf0, 0xec, 0xe0, 0x9d, 0xe5, 0xcc, 0x09, 0x16, 0x4c, 0xee, 0x41, 0xdd, + 0x0b, 0x0f, 0xad, 0xfc, 0x87, 0x87, 0x19, 0xf8, 0xd4, 0x9d, 0x28, 0x0f, 0xce, 0x84, 0x75, 0x90, + 0x97, 0xb9, 0xa3, 0x55, 0xe1, 0x03, 0x1a, 0x57, 0xfb, 0x8d, 0x8e, 0xb0, 0x60, 0x85, 0xc0, 0x27, + 0xa0, 0x14, 0x1d, 0x01, 0xca, 0x0a, 0xda, 0x3a, 0xa7, 0xf5, 0x42, 0x23, 0x8e, 0x71, 0xf8, 0x25, + 0x28, 0xa8, 0xe3, 0x41, 0x39, 0x41, 0x2d, 0x73, 0xaa, 0x29, 0x4d, 0x38, 0xc4, 0xe0, 0x2e, 0x28, + 0x52, 0x97, 0x05, 0x96, 0x6b, 0x13, 0x94, 0x17, 0xbc, 0x35, 0xce, 0xeb, 0x2a, 0x1b, 0x8e, 0x50, + 0x1e, 0x50, 0x1d, 0x30, 0x2a, 0xc4, 0x01, 0xb1, 0x34, 0xe1, 0x10, 0x83, 0x8f, 0x41, 0xce, 0x72, + 0xa8, 0xc5, 0x50, 0x51, 0x90, 0xb4, 0xc4, 0xaa, 0x2d, 0x6e, 0xc7, 0x12, 0x86, 0x8f, 0x41, 0x89, + 0x37, 0x88, 0xc1, 0x1b, 0x04, 0x95, 0x04, 0xb7, 0x28, 0x02, 0xce, 0x1d, 0x82, 0x63, 0x08, 0xbe, + 0x02, 0x15, 0xd5, 0x37, 0x6d, 0xd9, 0x37, 0x08, 0x08, 0x32, 0x14, 0x05, 0x4a, 0x21, 0x78, 0x89, + 0x09, 0x0f, 0xc1, 0xba, 0x6c, 0x21, 0x2c, 0x5b, 0x08, 0x95, 0x85, 0xeb, 0x5d, 0xe1, 0x9a, 0x04, + 0x70, 0x9a, 0x07, 0xb7, 0x41, 0x76, 0xce, 0x88, 0x8f, 0x36, 0xe2, 0x7d, 0x0d, 0x19, 0xf1, 0xb1, + 0xb0, 0xf2, 0x73, 0xe0, 0xff, 0xdf, 0xf8, 0xde, 0x7c, 0x86, 0xaa, 0xf1, 0x39, 0x0c, 0x43, 0x23, + 0x8e, 0x71, 0xf8, 0x1c, 0xac, 0xf1, 0xde, 0x34, 0x03, 0x9e, 0xd2, 0x64, 0x81, 0x36, 0xe3, 0xb2, + 0xb4, 0x12, 0x76, 0x9c, 0x62, 0xc1, 0x7d, 0x50, 0xf4, 0x89, 0x63, 0x05, 0xd4, 0x73, 0xd1, 0x96, + 0xf0, 0xd8, 0x4c, 0xaf, 0xa0, 0x40, 0x1c, 0xd1, 0x78, 0xb2, 0x8e, 0x37, 0xa1, 0x6e, 0xd8, 0xb6, + 0xe8, 0x5e, 0x9c, 0xac, 0x91, 0x04, 0x70, 0x9a, 0x07, 0x8f, 0x01, 0x9c, 0x7a, 0x63, 0x7a, 0xb1, + 0x48, 0xee, 0x07, 0x21, 0xe1, 0xbd, 0xc5, 0xbd, 0x4f, 0xaf, 0xa1, 0xf8, 0x06, 0x0f, 0xf8, 0x1a, + 0xdc, 0x91, 0xd6, 0x68, 0x97, 0xe8, 0xbe, 0x08, 0xb2, 0x11, 0x07, 0x89, 0x13, 0x58, 0xe6, 0xc2, + 0x67, 0xa0, 0xe4, 0x13, 0xe6, 0xcd, 0x7d, 0x9b, 0x30, 0x54, 0x8b, 0x73, 0x8e, 0xd6, 0x0c, 0x41, + 0x1c, 0xf3, 0x78, 0x75, 0xbd, 0x19, 0x4f, 0xdf, 0xfc, 0x40, 0x03, 0xfb, 0x12, 0xfd, 0x3f, 0xae, + 0x6e, 0x3f, 0x61, 0xc7, 0x29, 0x16, 0xef, 0xa9, 0xb0, 0xad, 0x0d, 0xeb, 0x9c, 0x38, 0x0c, 0x6d, + 0xc7, 0x3d, 0xd5, 0x4d, 0x21, 0x78, 0x89, 0x09, 0x77, 0x41, 0x76, 0x6c, 0x05, 0x16, 0x7a, 0x20, + 0x3c, 0xaa, 0xd7, 0xae, 0x76, 0xcb, 0x5d, 0x60, 0xc1, 0xe0, 0xf5, 0x50, 0xb7, 0xac, 0xa3, 0x04, + 0x09, 0xed, 0xc4, 0xf5, 0x30, 0xd3, 0x10, 0x5e, 0xe6, 0x7e, 0x9f, 0x2d, 0xae, 0x69, 0x1b, 0xf5, + 0xbf, 0x33, 0x00, 0xb6, 0xad, 0xc0, 0xbe, 0x3c, 0xf3, 0x69, 0x40, 0x3e, 0xab, 0x24, 0x3d, 0x05, + 0x59, 0x46, 0x7f, 0x21, 0x4a, 0x90, 0x3e, 0xb2, 0x06, 0x67, 0xc2, 0x3d, 0x71, 0x84, 0x62, 0x87, + 0x0c, 0x65, 0x1f, 0xae, 0x86, 0x6a, 0x12, 0x75, 0x5e, 0x0c, 0xd7, 0xff, 0xc8, 0xab, 0xc4, 0x7e, + 0x98, 0x13, 0x7f, 0xf1, 0x59, 0x13, 0x7b, 0x0e, 0xf2, 0xd6, 0xd4, 0x9b, 0x47, 0x5a, 0x7b, 0xfb, + 0x2a, 0x8a, 0x1b, 0x95, 0x23, 0xfb, 0xc9, 0xe5, 0xf8, 0x06, 0x80, 0x48, 0x8f, 0x19, 0xca, 0x89, + 0x7a, 0x2c, 0x09, 0x76, 0x82, 0x00, 0xbf, 0x02, 0x45, 0xd5, 0x03, 0x0c, 0xe5, 0x05, 0x39, 0x25, + 0xd9, 0x11, 0xc8, 0xcb, 0x1c, 0x36, 0x25, 0x43, 0x85, 0xb8, 0xcc, 0x91, 0x68, 0xc7, 0x30, 0x0f, + 0xaa, 0x94, 0x99, 0x2b, 0xf2, 0xea, 0xb2, 0x6c, 0x47, 0x20, 0xdc, 0x03, 0x05, 0x21, 0xcc, 0x84, + 0xa1, 0x92, 0xe0, 0x5d, 0x57, 0xee, 0x90, 0x00, 0x77, 0x01, 0x88, 0x04, 0x9a, 0x21, 0x20, 0xe8, + 0xb1, 0x78, 0x27, 0x30, 0xa8, 0x03, 0x28, 0x95, 0xf5, 0x8c, 0x06, 0x97, 0x66, 0x98, 0x5d, 0x59, + 0x78, 0x6c, 0xc6, 0x32, 0x9c, 0x40, 0xf1, 0x0d, 0x0e, 0x70, 0x07, 0xe4, 0xb8, 0xa2, 0x32, 0x04, + 0xe3, 0xb5, 0x84, 0x20, 0x4b, 0x33, 0xaf, 0x74, 0xa4, 0xb8, 0x0c, 0x6d, 0xc4, 0x95, 0x8e, 0xf5, + 0x26, 0x41, 0x80, 0x2f, 0x41, 0x25, 0xa1, 0xb6, 0x94, 0x30, 0x54, 0x8d, 0x53, 0x4e, 0xe9, 0xdc, + 0x12, 0x0f, 0x3e, 0x02, 0x05, 0xf9, 0x32, 0x66, 0x68, 0x53, 0xb8, 0x24, 0xdf, 0xd3, 0x21, 0x14, + 0x69, 0xc4, 0x96, 0xa0, 0xdc, 0xa6, 0x11, 0xfc, 0x2d, 0x3d, 0x9f, 0x4e, 0x2d, 0x7f, 0xa1, 0xe4, + 0x5a, 0x1e, 0xb9, 0x34, 0xe1, 0x10, 0x13, 0x5a, 0x00, 0xeb, 0x7f, 0x96, 0x80, 0x76, 0x44, 0x99, + 0xed, 0x5d, 0x11, 0xff, 0xb3, 0x5e, 0x98, 0xd7, 0x20, 0x1b, 0x2c, 0x66, 0x52, 0x09, 0x2a, 0x07, + 0x5f, 0xf3, 0x2d, 0x2e, 0xef, 0xe3, 0x9a, 0x61, 0xb0, 0x98, 0x11, 0x2c, 0xdc, 0x92, 0xa3, 0x48, + 0xf6, 0x96, 0x51, 0x24, 0xd5, 0xd6, 0xb9, 0xdb, 0xdb, 0x3a, 0x31, 0x8c, 0xe4, 0x6f, 0x19, 0x46, + 0x9e, 0x24, 0x87, 0x8c, 0x42, 0xfc, 0xa6, 0xc6, 0xa1, 0xf1, 0xf6, 0x49, 0xa3, 0xf8, 0xc9, 0x93, + 0x46, 0xf2, 0xee, 0x96, 0x6e, 0xbb, 0xbb, 0x69, 0x4d, 0x00, 0x1f, 0xd3, 0x84, 0x43, 0xb0, 0x2e, + 0xe6, 0xdd, 0x23, 0x35, 0xee, 0x26, 0x27, 0x98, 0xe3, 0x24, 0x80, 0xd3, 0x3c, 0xbe, 0x21, 0x71, + 0x5b, 0x8f, 0x3d, 0x5f, 0x8d, 0x1c, 0xe9, 0x0d, 0x85, 0x20, 0xfc, 0x02, 0xe4, 0xf8, 0x7c, 0xcc, + 0x54, 0xb3, 0x8a, 0xbd, 0x18, 0x96, 0x4b, 0xe4, 0xad, 0x91, 0x18, 0xfc, 0x16, 0x68, 0xf6, 0x9c, + 0x05, 0xde, 0x94, 0x57, 0x98, 0xf0, 0x5b, 0xce, 0xd0, 0xbd, 0x98, 0x1f, 0x59, 0xf1, 0x35, 0x1a, + 0x77, 0x75, 0x89, 0xe5, 0x9f, 0x2f, 0x12, 0xae, 0xe8, 0x46, 0xd7, 0x65, 0x1a, 0x7c, 0xc1, 0x27, + 0x1a, 0x39, 0xae, 0x4b, 0xbf, 0xfb, 0xf1, 0x2d, 0x35, 0x12, 0x00, 0x4e, 0xd3, 0xf8, 0x40, 0x23, + 0xc6, 0xfa, 0x16, 0x9f, 0xea, 0x0d, 0xca, 0x02, 0x6e, 0x46, 0x35, 0xe1, 0x2c, 0x06, 0x9a, 0xf6, + 0x35, 0x14, 0xdf, 0xe0, 0x51, 0xff, 0x6b, 0x05, 0x54, 0x6f, 0x6a, 0x6b, 0x58, 0x06, 0x85, 0x61, + 0xef, 0xa4, 0xd7, 0x3f, 0xeb, 0x69, 0xff, 0x83, 0x6b, 0xa0, 0xd8, 0xed, 0x99, 0x83, 0x56, 0xaf, + 0xa3, 0x6b, 0x19, 0x0e, 0x75, 0x8c, 0xa1, 0x39, 0xd0, 0xb1, 0xb6, 0xc2, 0x1f, 0x70, 0x7f, 0x38, + 0xe8, 0xf6, 0xde, 0x68, 0xab, 0xb0, 0x02, 0x00, 0x6e, 0x0d, 0xf4, 0x91, 0xd1, 0x3d, 0xed, 0x0e, + 0xb4, 0x2c, 0xdc, 0x00, 0x77, 0x3a, 0x5d, 0xdc, 0x19, 0x76, 0x07, 0xa3, 0x36, 0xd6, 0x5b, 0x27, + 0x3a, 0xd6, 0x72, 0x3c, 0x98, 0xa9, 0xe3, 0x77, 0xdd, 0x8e, 0x6e, 0x6a, 0x79, 0xee, 0xd2, 0x6b, + 0x9d, 0xea, 0xe6, 0xdb, 0x16, 0x7f, 0x5e, 0x83, 0x10, 0x54, 0x8e, 0x5b, 0x43, 0x63, 0x30, 0x3a, + 0xd2, 0x07, 0x7a, 0x67, 0xd0, 0xc7, 0xda, 0x3a, 0x2c, 0x82, 0xac, 0xd1, 0xea, 0xe9, 0xda, 0x18, + 0x6e, 0x82, 0xbb, 0x9d, 0xa1, 0x39, 0xe8, 0x9f, 0x8e, 0xf8, 0xa2, 0xfa, 0x08, 0x0f, 0x0d, 0x5d, + 0x23, 0xdc, 0xdc, 0xd3, 0x5b, 0xb8, 0xfd, 0x53, 0xd2, 0x7c, 0xc1, 0x57, 0x32, 0xfa, 0xa6, 0x69, + 0xe8, 0xa6, 0xa9, 0x4d, 0x60, 0x15, 0x68, 0x6d, 0xa3, 0xdf, 0x39, 0x19, 0xb5, 0x0c, 0xa3, 0x7f, + 0x26, 0x39, 0x97, 0xf5, 0x6c, 0xb1, 0xa0, 0x95, 0xeb, 0xd9, 0x62, 0x45, 0xb3, 0xf7, 0xb2, 0xa7, + 0xba, 0xf9, 0xdd, 0x5e, 0x99, 0xff, 0x1d, 0x75, 0xfa, 0xbd, 0xe3, 0xee, 0x9b, 0xbd, 0xca, 0xb1, + 0x31, 0xfc, 0x71, 0x74, 0xd4, 0xc6, 0xfa, 0x31, 0xe6, 0x60, 0x51, 0x3c, 0x9b, 0x47, 0x27, 0x7b, + 0x65, 0xf9, 0x4b, 0xc7, 0xef, 0x74, 0x2c, 0xc4, 0x6b, 0xb3, 0xfe, 0x6b, 0x06, 0xac, 0x25, 0x47, + 0x32, 0x78, 0x08, 0x0a, 0x72, 0x28, 0x63, 0x28, 0x23, 0x8e, 0xe6, 0xc1, 0xf2, 0xd4, 0xa6, 0x1e, + 0x98, 0xee, 0x06, 0x5c, 0x0c, 0x15, 0xbb, 0xf6, 0x2a, 0x0c, 0x24, 0x01, 0xa8, 0x81, 0xd5, 0xf7, + 0x64, 0x21, 0x04, 0xb0, 0x84, 0xf9, 0x4f, 0x58, 0x05, 0xb9, 0x2b, 0x2e, 0x5f, 0x42, 0xe2, 0x4a, + 0x58, 0x3e, 0xbc, 0x5a, 0x79, 0x99, 0xa9, 0xff, 0x93, 0x01, 0x95, 0xf4, 0x80, 0x07, 0x5f, 0x80, + 0xbc, 0x23, 0x87, 0x40, 0xb9, 0x8d, 0x9d, 0xeb, 0x43, 0x60, 0x43, 0xfe, 0x93, 0xfb, 0x50, 0x6c, + 0xb8, 0x9d, 0xfc, 0x1a, 0x93, 0x0b, 0x25, 0x3e, 0xbf, 0x50, 0xac, 0x79, 0xab, 0x02, 0x8b, 0x64, + 0xee, 0x01, 0x00, 0xea, 0xe7, 0x88, 0x8e, 0x85, 0x20, 0x96, 0x70, 0x49, 0x59, 0xba, 0xe3, 0x5a, + 0x17, 0x94, 0x13, 0xab, 0xdd, 0x90, 0xdc, 0xa3, 0x64, 0x72, 0xe5, 0x83, 0x8a, 0x9a, 0x91, 0xa9, + 0x3b, 0x11, 0x8d, 0x1b, 0x27, 0xdb, 0xfe, 0x3d, 0x03, 0x0e, 0x6d, 0x6f, 0xda, 0x08, 0x88, 0x6b, + 0x8b, 0xaf, 0x6a, 0xcf, 0xb1, 0x7c, 0xca, 0x1a, 0x6c, 0x46, 0x6c, 0x7a, 0x41, 0x6d, 0xf1, 0xdd, + 0xd0, 0xb0, 0x66, 0x94, 0x87, 0x08, 0xbf, 0xe5, 0xa7, 0x96, 0x6b, 0x4d, 0x48, 0x7b, 0x3d, 0x6c, + 0xf8, 0xb7, 0xfc, 0xb5, 0xf0, 0xf3, 0xd1, 0x84, 0x06, 0x97, 0xf3, 0xf3, 0x86, 0xed, 0x4d, 0x9b, + 0x2a, 0xcc, 0x94, 0xb0, 0xcb, 0x66, 0x2a, 0x54, 0x53, 0x4e, 0xe5, 0xcd, 0x89, 0xd7, 0xb4, 0x66, + 0xb4, 0x79, 0xb5, 0xdf, 0x0c, 0x13, 0x95, 0x41, 0xcf, 0xf3, 0xe2, 0x1d, 0xf3, 0xec, 0xdf, 0x00, + 0x00, 0x00, 0xff, 0xff, 0xa3, 0x37, 0x40, 0x51, 0x99, 0x10, 0x00, 0x00, } diff --git a/source/go/api/v1/service_manage/service.pb.go b/source/go/api/v1/service_manage/service.pb.go index c65cfab..70c7340 100644 --- a/source/go/api/v1/service_manage/service.pb.go +++ b/source/go/api/v1/service_manage/service.pb.go @@ -1,26 +1,24 @@ // Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.33.0 -// protoc v5.27.3 // source: service.proto -package service_manage +package service_manage // import "github.com/polarismesh/specification/source/go/api/v1/service_manage" -import ( - model "github.com/polarismesh/specification/source/go/api/v1/model" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" - reflect "reflect" - sync "sync" -) +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import model "github.com/polarismesh/specification/source/go/api/v1/model" +import wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package type AliasType int32 @@ -29,43 +27,20 @@ const ( AliasType_CL5SID AliasType = 1 ) -// Enum value maps for AliasType. -var ( - AliasType_name = map[int32]string{ - 0: "DEFAULT", - 1: "CL5SID", - } - AliasType_value = map[string]int32{ - "DEFAULT": 0, - "CL5SID": 1, - } -) - -func (x AliasType) Enum() *AliasType { - p := new(AliasType) - *p = x - return p -} - -func (x AliasType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (AliasType) Descriptor() protoreflect.EnumDescriptor { - return file_service_proto_enumTypes[0].Descriptor() +var AliasType_name = map[int32]string{ + 0: "DEFAULT", + 1: "CL5SID", } - -func (AliasType) Type() protoreflect.EnumType { - return &file_service_proto_enumTypes[0] +var AliasType_value = map[string]int32{ + "DEFAULT": 0, + "CL5SID": 1, } -func (x AliasType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) +func (x AliasType) String() string { + return proto.EnumName(AliasType_name, int32(x)) } - -// Deprecated: Use AliasType.Descriptor instead. func (AliasType) EnumDescriptor() ([]byte, []int) { - return file_service_proto_rawDescGZIP(), []int{0} + return fileDescriptor_service_80f9e229016ee93a, []int{0} } type HealthCheck_HealthCheckType int32 @@ -75,50 +50,23 @@ const ( HealthCheck_HEARTBEAT HealthCheck_HealthCheckType = 1 ) -// Enum value maps for HealthCheck_HealthCheckType. -var ( - HealthCheck_HealthCheckType_name = map[int32]string{ - 0: "UNKNOWN", - 1: "HEARTBEAT", - } - HealthCheck_HealthCheckType_value = map[string]int32{ - "UNKNOWN": 0, - "HEARTBEAT": 1, - } -) - -func (x HealthCheck_HealthCheckType) Enum() *HealthCheck_HealthCheckType { - p := new(HealthCheck_HealthCheckType) - *p = x - return p -} - -func (x HealthCheck_HealthCheckType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +var HealthCheck_HealthCheckType_name = map[int32]string{ + 0: "UNKNOWN", + 1: "HEARTBEAT", } - -func (HealthCheck_HealthCheckType) Descriptor() protoreflect.EnumDescriptor { - return file_service_proto_enumTypes[1].Descriptor() +var HealthCheck_HealthCheckType_value = map[string]int32{ + "UNKNOWN": 0, + "HEARTBEAT": 1, } -func (HealthCheck_HealthCheckType) Type() protoreflect.EnumType { - return &file_service_proto_enumTypes[1] -} - -func (x HealthCheck_HealthCheckType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) +func (x HealthCheck_HealthCheckType) String() string { + return proto.EnumName(HealthCheck_HealthCheckType_name, int32(x)) } - -// Deprecated: Use HealthCheck_HealthCheckType.Descriptor instead. func (HealthCheck_HealthCheckType) EnumDescriptor() ([]byte, []int) { - return file_service_proto_rawDescGZIP(), []int{3, 0} + return fileDescriptor_service_80f9e229016ee93a, []int{3, 0} } type Service struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - Name *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Namespace *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"` Metadata map[string]string `protobuf:"bytes,3,rep,name=metadata,proto3" json:"metadata,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` @@ -145,1120 +93,717 @@ type Service struct { Editable *wrapperspb.BoolValue `protobuf:"bytes,24,opt,name=editable,proto3" json:"editable,omitempty"` ExportTo []*wrapperspb.StringValue `protobuf:"bytes,25,rep,name=export_to,proto3" json:"export_to,omitempty"` Deleteable *wrapperspb.BoolValue `protobuf:"bytes,26,opt,name=deleteable,proto3" json:"deleteable,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *Service) Reset() { - *x = Service{} - if protoimpl.UnsafeEnabled { - mi := &file_service_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *Service) Reset() { *m = Service{} } +func (m *Service) String() string { return proto.CompactTextString(m) } +func (*Service) ProtoMessage() {} +func (*Service) Descriptor() ([]byte, []int) { + return fileDescriptor_service_80f9e229016ee93a, []int{0} } - -func (x *Service) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *Service) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Service.Unmarshal(m, b) } - -func (*Service) ProtoMessage() {} - -func (x *Service) ProtoReflect() protoreflect.Message { - mi := &file_service_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *Service) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Service.Marshal(b, m, deterministic) } - -// Deprecated: Use Service.ProtoReflect.Descriptor instead. -func (*Service) Descriptor() ([]byte, []int) { - return file_service_proto_rawDescGZIP(), []int{0} +func (dst *Service) XXX_Merge(src proto.Message) { + xxx_messageInfo_Service.Merge(dst, src) +} +func (m *Service) XXX_Size() int { + return xxx_messageInfo_Service.Size(m) +} +func (m *Service) XXX_DiscardUnknown() { + xxx_messageInfo_Service.DiscardUnknown(m) } -func (x *Service) GetName() *wrapperspb.StringValue { - if x != nil { - return x.Name +var xxx_messageInfo_Service proto.InternalMessageInfo + +func (m *Service) GetName() *wrapperspb.StringValue { + if m != nil { + return m.Name } return nil } -func (x *Service) GetNamespace() *wrapperspb.StringValue { - if x != nil { - return x.Namespace +func (m *Service) GetNamespace() *wrapperspb.StringValue { + if m != nil { + return m.Namespace } return nil } -func (x *Service) GetMetadata() map[string]string { - if x != nil { - return x.Metadata +func (m *Service) GetMetadata() map[string]string { + if m != nil { + return m.Metadata } return nil } -func (x *Service) GetPorts() *wrapperspb.StringValue { - if x != nil { - return x.Ports +func (m *Service) GetPorts() *wrapperspb.StringValue { + if m != nil { + return m.Ports } return nil } -func (x *Service) GetBusiness() *wrapperspb.StringValue { - if x != nil { - return x.Business +func (m *Service) GetBusiness() *wrapperspb.StringValue { + if m != nil { + return m.Business } return nil } -func (x *Service) GetDepartment() *wrapperspb.StringValue { - if x != nil { - return x.Department +func (m *Service) GetDepartment() *wrapperspb.StringValue { + if m != nil { + return m.Department } return nil } -func (x *Service) GetCmdbMod1() *wrapperspb.StringValue { - if x != nil { - return x.CmdbMod1 +func (m *Service) GetCmdbMod1() *wrapperspb.StringValue { + if m != nil { + return m.CmdbMod1 } return nil } -func (x *Service) GetCmdbMod2() *wrapperspb.StringValue { - if x != nil { - return x.CmdbMod2 +func (m *Service) GetCmdbMod2() *wrapperspb.StringValue { + if m != nil { + return m.CmdbMod2 } return nil } -func (x *Service) GetCmdbMod3() *wrapperspb.StringValue { - if x != nil { - return x.CmdbMod3 +func (m *Service) GetCmdbMod3() *wrapperspb.StringValue { + if m != nil { + return m.CmdbMod3 } return nil } -func (x *Service) GetComment() *wrapperspb.StringValue { - if x != nil { - return x.Comment +func (m *Service) GetComment() *wrapperspb.StringValue { + if m != nil { + return m.Comment } return nil } -func (x *Service) GetOwners() *wrapperspb.StringValue { - if x != nil { - return x.Owners +func (m *Service) GetOwners() *wrapperspb.StringValue { + if m != nil { + return m.Owners } return nil } -func (x *Service) GetToken() *wrapperspb.StringValue { - if x != nil { - return x.Token +func (m *Service) GetToken() *wrapperspb.StringValue { + if m != nil { + return m.Token } return nil } -func (x *Service) GetCtime() *wrapperspb.StringValue { - if x != nil { - return x.Ctime +func (m *Service) GetCtime() *wrapperspb.StringValue { + if m != nil { + return m.Ctime } return nil } -func (x *Service) GetMtime() *wrapperspb.StringValue { - if x != nil { - return x.Mtime +func (m *Service) GetMtime() *wrapperspb.StringValue { + if m != nil { + return m.Mtime } return nil } -func (x *Service) GetRevision() *wrapperspb.StringValue { - if x != nil { - return x.Revision +func (m *Service) GetRevision() *wrapperspb.StringValue { + if m != nil { + return m.Revision } return nil } -func (x *Service) GetPlatformId() *wrapperspb.StringValue { - if x != nil { - return x.PlatformId +func (m *Service) GetPlatformId() *wrapperspb.StringValue { + if m != nil { + return m.PlatformId } return nil } -func (x *Service) GetTotalInstanceCount() *wrapperspb.UInt32Value { - if x != nil { - return x.TotalInstanceCount +func (m *Service) GetTotalInstanceCount() *wrapperspb.UInt32Value { + if m != nil { + return m.TotalInstanceCount } return nil } -func (x *Service) GetHealthyInstanceCount() *wrapperspb.UInt32Value { - if x != nil { - return x.HealthyInstanceCount +func (m *Service) GetHealthyInstanceCount() *wrapperspb.UInt32Value { + if m != nil { + return m.HealthyInstanceCount } return nil } -func (x *Service) GetUserIds() []*wrapperspb.StringValue { - if x != nil { - return x.UserIds +func (m *Service) GetUserIds() []*wrapperspb.StringValue { + if m != nil { + return m.UserIds } return nil } -func (x *Service) GetGroupIds() []*wrapperspb.StringValue { - if x != nil { - return x.GroupIds +func (m *Service) GetGroupIds() []*wrapperspb.StringValue { + if m != nil { + return m.GroupIds } return nil } -func (x *Service) GetRemoveUserIds() []*wrapperspb.StringValue { - if x != nil { - return x.RemoveUserIds +func (m *Service) GetRemoveUserIds() []*wrapperspb.StringValue { + if m != nil { + return m.RemoveUserIds } return nil } -func (x *Service) GetRemoveGroupIds() []*wrapperspb.StringValue { - if x != nil { - return x.RemoveGroupIds +func (m *Service) GetRemoveGroupIds() []*wrapperspb.StringValue { + if m != nil { + return m.RemoveGroupIds } return nil } -func (x *Service) GetId() *wrapperspb.StringValue { - if x != nil { - return x.Id +func (m *Service) GetId() *wrapperspb.StringValue { + if m != nil { + return m.Id } return nil } -func (x *Service) GetEditable() *wrapperspb.BoolValue { - if x != nil { - return x.Editable +func (m *Service) GetEditable() *wrapperspb.BoolValue { + if m != nil { + return m.Editable } return nil } -func (x *Service) GetExportTo() []*wrapperspb.StringValue { - if x != nil { - return x.ExportTo +func (m *Service) GetExportTo() []*wrapperspb.StringValue { + if m != nil { + return m.ExportTo } return nil } -func (x *Service) GetDeleteable() *wrapperspb.BoolValue { - if x != nil { - return x.Deleteable +func (m *Service) GetDeleteable() *wrapperspb.BoolValue { + if m != nil { + return m.Deleteable } return nil } type ServiceAlias struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Service *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"` - Namespace *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"` - Alias *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=alias,proto3" json:"alias,omitempty"` - AliasNamespace *wrapperspb.StringValue `protobuf:"bytes,4,opt,name=alias_namespace,proto3" json:"alias_namespace,omitempty"` - Type AliasType `protobuf:"varint,5,opt,name=type,proto3,enum=v1.AliasType" json:"type,omitempty"` - Owners *wrapperspb.StringValue `protobuf:"bytes,6,opt,name=owners,proto3" json:"owners,omitempty"` - Comment *wrapperspb.StringValue `protobuf:"bytes,7,opt,name=comment,proto3" json:"comment,omitempty"` - ServiceToken *wrapperspb.StringValue `protobuf:"bytes,8,opt,name=service_token,proto3" json:"service_token,omitempty"` - Ctime *wrapperspb.StringValue `protobuf:"bytes,9,opt,name=ctime,proto3" json:"ctime,omitempty"` - Mtime *wrapperspb.StringValue `protobuf:"bytes,10,opt,name=mtime,proto3" json:"mtime,omitempty"` - Id *wrapperspb.StringValue `protobuf:"bytes,11,opt,name=id,proto3" json:"id,omitempty"` - Editable *wrapperspb.BoolValue `protobuf:"bytes,12,opt,name=editable,proto3" json:"editable,omitempty"` - Deleteable *wrapperspb.BoolValue `protobuf:"bytes,13,opt,name=deleteable,proto3" json:"deleteable,omitempty"` -} - -func (x *ServiceAlias) Reset() { - *x = ServiceAlias{} - if protoimpl.UnsafeEnabled { - mi := &file_service_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + Service *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"` + Namespace *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"` + Alias *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=alias,proto3" json:"alias,omitempty"` + AliasNamespace *wrapperspb.StringValue `protobuf:"bytes,4,opt,name=alias_namespace,proto3" json:"alias_namespace,omitempty"` + Type AliasType `protobuf:"varint,5,opt,name=type,proto3,enum=v1.AliasType" json:"type,omitempty"` + Owners *wrapperspb.StringValue `protobuf:"bytes,6,opt,name=owners,proto3" json:"owners,omitempty"` + Comment *wrapperspb.StringValue `protobuf:"bytes,7,opt,name=comment,proto3" json:"comment,omitempty"` + ServiceToken *wrapperspb.StringValue `protobuf:"bytes,8,opt,name=service_token,proto3" json:"service_token,omitempty"` + Ctime *wrapperspb.StringValue `protobuf:"bytes,9,opt,name=ctime,proto3" json:"ctime,omitempty"` + Mtime *wrapperspb.StringValue `protobuf:"bytes,10,opt,name=mtime,proto3" json:"mtime,omitempty"` + Id *wrapperspb.StringValue `protobuf:"bytes,11,opt,name=id,proto3" json:"id,omitempty"` + Editable *wrapperspb.BoolValue `protobuf:"bytes,12,opt,name=editable,proto3" json:"editable,omitempty"` + Deleteable *wrapperspb.BoolValue `protobuf:"bytes,13,opt,name=deleteable,proto3" json:"deleteable,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ServiceAlias) Reset() { *m = ServiceAlias{} } +func (m *ServiceAlias) String() string { return proto.CompactTextString(m) } +func (*ServiceAlias) ProtoMessage() {} +func (*ServiceAlias) Descriptor() ([]byte, []int) { + return fileDescriptor_service_80f9e229016ee93a, []int{1} } - -func (x *ServiceAlias) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *ServiceAlias) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ServiceAlias.Unmarshal(m, b) } - -func (*ServiceAlias) ProtoMessage() {} - -func (x *ServiceAlias) ProtoReflect() protoreflect.Message { - mi := &file_service_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *ServiceAlias) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ServiceAlias.Marshal(b, m, deterministic) } - -// Deprecated: Use ServiceAlias.ProtoReflect.Descriptor instead. -func (*ServiceAlias) Descriptor() ([]byte, []int) { - return file_service_proto_rawDescGZIP(), []int{1} +func (dst *ServiceAlias) XXX_Merge(src proto.Message) { + xxx_messageInfo_ServiceAlias.Merge(dst, src) +} +func (m *ServiceAlias) XXX_Size() int { + return xxx_messageInfo_ServiceAlias.Size(m) +} +func (m *ServiceAlias) XXX_DiscardUnknown() { + xxx_messageInfo_ServiceAlias.DiscardUnknown(m) } -func (x *ServiceAlias) GetService() *wrapperspb.StringValue { - if x != nil { - return x.Service +var xxx_messageInfo_ServiceAlias proto.InternalMessageInfo + +func (m *ServiceAlias) GetService() *wrapperspb.StringValue { + if m != nil { + return m.Service } return nil } -func (x *ServiceAlias) GetNamespace() *wrapperspb.StringValue { - if x != nil { - return x.Namespace +func (m *ServiceAlias) GetNamespace() *wrapperspb.StringValue { + if m != nil { + return m.Namespace } return nil } -func (x *ServiceAlias) GetAlias() *wrapperspb.StringValue { - if x != nil { - return x.Alias +func (m *ServiceAlias) GetAlias() *wrapperspb.StringValue { + if m != nil { + return m.Alias } return nil } -func (x *ServiceAlias) GetAliasNamespace() *wrapperspb.StringValue { - if x != nil { - return x.AliasNamespace +func (m *ServiceAlias) GetAliasNamespace() *wrapperspb.StringValue { + if m != nil { + return m.AliasNamespace } return nil } -func (x *ServiceAlias) GetType() AliasType { - if x != nil { - return x.Type +func (m *ServiceAlias) GetType() AliasType { + if m != nil { + return m.Type } return AliasType_DEFAULT } -func (x *ServiceAlias) GetOwners() *wrapperspb.StringValue { - if x != nil { - return x.Owners +func (m *ServiceAlias) GetOwners() *wrapperspb.StringValue { + if m != nil { + return m.Owners } return nil } -func (x *ServiceAlias) GetComment() *wrapperspb.StringValue { - if x != nil { - return x.Comment +func (m *ServiceAlias) GetComment() *wrapperspb.StringValue { + if m != nil { + return m.Comment } return nil } -func (x *ServiceAlias) GetServiceToken() *wrapperspb.StringValue { - if x != nil { - return x.ServiceToken +func (m *ServiceAlias) GetServiceToken() *wrapperspb.StringValue { + if m != nil { + return m.ServiceToken } return nil } -func (x *ServiceAlias) GetCtime() *wrapperspb.StringValue { - if x != nil { - return x.Ctime +func (m *ServiceAlias) GetCtime() *wrapperspb.StringValue { + if m != nil { + return m.Ctime } return nil } -func (x *ServiceAlias) GetMtime() *wrapperspb.StringValue { - if x != nil { - return x.Mtime +func (m *ServiceAlias) GetMtime() *wrapperspb.StringValue { + if m != nil { + return m.Mtime } return nil } -func (x *ServiceAlias) GetId() *wrapperspb.StringValue { - if x != nil { - return x.Id +func (m *ServiceAlias) GetId() *wrapperspb.StringValue { + if m != nil { + return m.Id } return nil } -func (x *ServiceAlias) GetEditable() *wrapperspb.BoolValue { - if x != nil { - return x.Editable +func (m *ServiceAlias) GetEditable() *wrapperspb.BoolValue { + if m != nil { + return m.Editable } return nil } -func (x *ServiceAlias) GetDeleteable() *wrapperspb.BoolValue { - if x != nil { - return x.Deleteable +func (m *ServiceAlias) GetDeleteable() *wrapperspb.BoolValue { + if m != nil { + return m.Deleteable } return nil } type Instance struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - Service *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=service,proto3" json:"service,omitempty"` - Namespace *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=namespace,proto3" json:"namespace,omitempty"` - VpcId *wrapperspb.StringValue `protobuf:"bytes,21,opt,name=vpc_id,proto3" json:"vpc_id,omitempty"` - Host *wrapperspb.StringValue `protobuf:"bytes,4,opt,name=host,proto3" json:"host,omitempty"` - Port *wrapperspb.UInt32Value `protobuf:"bytes,5,opt,name=port,proto3" json:"port,omitempty"` - Protocol *wrapperspb.StringValue `protobuf:"bytes,6,opt,name=protocol,proto3" json:"protocol,omitempty"` - Version *wrapperspb.StringValue `protobuf:"bytes,7,opt,name=version,proto3" json:"version,omitempty"` - Priority *wrapperspb.UInt32Value `protobuf:"bytes,8,opt,name=priority,proto3" json:"priority,omitempty"` - Weight *wrapperspb.UInt32Value `protobuf:"bytes,9,opt,name=weight,proto3" json:"weight,omitempty"` - EnableHealthCheck *wrapperspb.BoolValue `protobuf:"bytes,20,opt,name=enable_health_check,json=enableHealthCheck,proto3" json:"enable_health_check,omitempty"` - HealthCheck *HealthCheck `protobuf:"bytes,10,opt,name=health_check,json=healthCheck,proto3" json:"health_check,omitempty"` - Healthy *wrapperspb.BoolValue `protobuf:"bytes,11,opt,name=healthy,proto3" json:"healthy,omitempty"` - Isolate *wrapperspb.BoolValue `protobuf:"bytes,12,opt,name=isolate,proto3" json:"isolate,omitempty"` - Location *model.Location `protobuf:"bytes,13,opt,name=location,proto3" json:"location,omitempty"` - Metadata map[string]string `protobuf:"bytes,14,rep,name=metadata,proto3" json:"metadata,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - LogicSet *wrapperspb.StringValue `protobuf:"bytes,15,opt,name=logic_set,proto3" json:"logic_set,omitempty"` - Ctime *wrapperspb.StringValue `protobuf:"bytes,16,opt,name=ctime,proto3" json:"ctime,omitempty"` - Mtime *wrapperspb.StringValue `protobuf:"bytes,17,opt,name=mtime,proto3" json:"mtime,omitempty"` - Revision *wrapperspb.StringValue `protobuf:"bytes,18,opt,name=revision,proto3" json:"revision,omitempty"` - ServiceToken *wrapperspb.StringValue `protobuf:"bytes,19,opt,name=service_token,proto3" json:"service_token,omitempty"` -} - -func (x *Instance) Reset() { - *x = Instance{} - if protoimpl.UnsafeEnabled { - mi := &file_service_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + Id *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + Service *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=service,proto3" json:"service,omitempty"` + Namespace *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=namespace,proto3" json:"namespace,omitempty"` + VpcId *wrapperspb.StringValue `protobuf:"bytes,21,opt,name=vpc_id,proto3" json:"vpc_id,omitempty"` + Host *wrapperspb.StringValue `protobuf:"bytes,4,opt,name=host,proto3" json:"host,omitempty"` + Port *wrapperspb.UInt32Value `protobuf:"bytes,5,opt,name=port,proto3" json:"port,omitempty"` + Protocol *wrapperspb.StringValue `protobuf:"bytes,6,opt,name=protocol,proto3" json:"protocol,omitempty"` + Version *wrapperspb.StringValue `protobuf:"bytes,7,opt,name=version,proto3" json:"version,omitempty"` + Priority *wrapperspb.UInt32Value `protobuf:"bytes,8,opt,name=priority,proto3" json:"priority,omitempty"` + Weight *wrapperspb.UInt32Value `protobuf:"bytes,9,opt,name=weight,proto3" json:"weight,omitempty"` + EnableHealthCheck *wrapperspb.BoolValue `protobuf:"bytes,20,opt,name=enable_health_check,json=enableHealthCheck,proto3" json:"enable_health_check,omitempty"` + HealthCheck *HealthCheck `protobuf:"bytes,10,opt,name=health_check,json=healthCheck,proto3" json:"health_check,omitempty"` + Healthy *wrapperspb.BoolValue `protobuf:"bytes,11,opt,name=healthy,proto3" json:"healthy,omitempty"` + Isolate *wrapperspb.BoolValue `protobuf:"bytes,12,opt,name=isolate,proto3" json:"isolate,omitempty"` + Location *model.Location `protobuf:"bytes,13,opt,name=location,proto3" json:"location,omitempty"` + Metadata map[string]string `protobuf:"bytes,14,rep,name=metadata,proto3" json:"metadata,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + LogicSet *wrapperspb.StringValue `protobuf:"bytes,15,opt,name=logic_set,proto3" json:"logic_set,omitempty"` + Ctime *wrapperspb.StringValue `protobuf:"bytes,16,opt,name=ctime,proto3" json:"ctime,omitempty"` + Mtime *wrapperspb.StringValue `protobuf:"bytes,17,opt,name=mtime,proto3" json:"mtime,omitempty"` + Revision *wrapperspb.StringValue `protobuf:"bytes,18,opt,name=revision,proto3" json:"revision,omitempty"` + ServiceToken *wrapperspb.StringValue `protobuf:"bytes,19,opt,name=service_token,proto3" json:"service_token,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Instance) Reset() { *m = Instance{} } +func (m *Instance) String() string { return proto.CompactTextString(m) } +func (*Instance) ProtoMessage() {} +func (*Instance) Descriptor() ([]byte, []int) { + return fileDescriptor_service_80f9e229016ee93a, []int{2} } - -func (x *Instance) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *Instance) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Instance.Unmarshal(m, b) } - -func (*Instance) ProtoMessage() {} - -func (x *Instance) ProtoReflect() protoreflect.Message { - mi := &file_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) +func (m *Instance) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Instance.Marshal(b, m, deterministic) } - -// Deprecated: Use Instance.ProtoReflect.Descriptor instead. -func (*Instance) Descriptor() ([]byte, []int) { - return file_service_proto_rawDescGZIP(), []int{2} +func (dst *Instance) XXX_Merge(src proto.Message) { + xxx_messageInfo_Instance.Merge(dst, src) } +func (m *Instance) XXX_Size() int { + return xxx_messageInfo_Instance.Size(m) +} +func (m *Instance) XXX_DiscardUnknown() { + xxx_messageInfo_Instance.DiscardUnknown(m) +} + +var xxx_messageInfo_Instance proto.InternalMessageInfo -func (x *Instance) GetId() *wrapperspb.StringValue { - if x != nil { - return x.Id +func (m *Instance) GetId() *wrapperspb.StringValue { + if m != nil { + return m.Id } return nil } -func (x *Instance) GetService() *wrapperspb.StringValue { - if x != nil { - return x.Service +func (m *Instance) GetService() *wrapperspb.StringValue { + if m != nil { + return m.Service } return nil } -func (x *Instance) GetNamespace() *wrapperspb.StringValue { - if x != nil { - return x.Namespace +func (m *Instance) GetNamespace() *wrapperspb.StringValue { + if m != nil { + return m.Namespace } return nil } -func (x *Instance) GetVpcId() *wrapperspb.StringValue { - if x != nil { - return x.VpcId +func (m *Instance) GetVpcId() *wrapperspb.StringValue { + if m != nil { + return m.VpcId } return nil } -func (x *Instance) GetHost() *wrapperspb.StringValue { - if x != nil { - return x.Host +func (m *Instance) GetHost() *wrapperspb.StringValue { + if m != nil { + return m.Host } return nil } -func (x *Instance) GetPort() *wrapperspb.UInt32Value { - if x != nil { - return x.Port +func (m *Instance) GetPort() *wrapperspb.UInt32Value { + if m != nil { + return m.Port } return nil } -func (x *Instance) GetProtocol() *wrapperspb.StringValue { - if x != nil { - return x.Protocol +func (m *Instance) GetProtocol() *wrapperspb.StringValue { + if m != nil { + return m.Protocol } return nil } -func (x *Instance) GetVersion() *wrapperspb.StringValue { - if x != nil { - return x.Version +func (m *Instance) GetVersion() *wrapperspb.StringValue { + if m != nil { + return m.Version } return nil } -func (x *Instance) GetPriority() *wrapperspb.UInt32Value { - if x != nil { - return x.Priority +func (m *Instance) GetPriority() *wrapperspb.UInt32Value { + if m != nil { + return m.Priority } return nil } -func (x *Instance) GetWeight() *wrapperspb.UInt32Value { - if x != nil { - return x.Weight +func (m *Instance) GetWeight() *wrapperspb.UInt32Value { + if m != nil { + return m.Weight } return nil } -func (x *Instance) GetEnableHealthCheck() *wrapperspb.BoolValue { - if x != nil { - return x.EnableHealthCheck +func (m *Instance) GetEnableHealthCheck() *wrapperspb.BoolValue { + if m != nil { + return m.EnableHealthCheck } return nil } -func (x *Instance) GetHealthCheck() *HealthCheck { - if x != nil { - return x.HealthCheck +func (m *Instance) GetHealthCheck() *HealthCheck { + if m != nil { + return m.HealthCheck } return nil } -func (x *Instance) GetHealthy() *wrapperspb.BoolValue { - if x != nil { - return x.Healthy +func (m *Instance) GetHealthy() *wrapperspb.BoolValue { + if m != nil { + return m.Healthy } return nil } -func (x *Instance) GetIsolate() *wrapperspb.BoolValue { - if x != nil { - return x.Isolate +func (m *Instance) GetIsolate() *wrapperspb.BoolValue { + if m != nil { + return m.Isolate } return nil } -func (x *Instance) GetLocation() *model.Location { - if x != nil { - return x.Location +func (m *Instance) GetLocation() *model.Location { + if m != nil { + return m.Location } return nil } -func (x *Instance) GetMetadata() map[string]string { - if x != nil { - return x.Metadata +func (m *Instance) GetMetadata() map[string]string { + if m != nil { + return m.Metadata } return nil } -func (x *Instance) GetLogicSet() *wrapperspb.StringValue { - if x != nil { - return x.LogicSet +func (m *Instance) GetLogicSet() *wrapperspb.StringValue { + if m != nil { + return m.LogicSet } return nil } -func (x *Instance) GetCtime() *wrapperspb.StringValue { - if x != nil { - return x.Ctime +func (m *Instance) GetCtime() *wrapperspb.StringValue { + if m != nil { + return m.Ctime } return nil } -func (x *Instance) GetMtime() *wrapperspb.StringValue { - if x != nil { - return x.Mtime +func (m *Instance) GetMtime() *wrapperspb.StringValue { + if m != nil { + return m.Mtime } return nil } -func (x *Instance) GetRevision() *wrapperspb.StringValue { - if x != nil { - return x.Revision +func (m *Instance) GetRevision() *wrapperspb.StringValue { + if m != nil { + return m.Revision } return nil } -func (x *Instance) GetServiceToken() *wrapperspb.StringValue { - if x != nil { - return x.ServiceToken +func (m *Instance) GetServiceToken() *wrapperspb.StringValue { + if m != nil { + return m.ServiceToken } return nil } type HealthCheck struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Type HealthCheck_HealthCheckType `protobuf:"varint,1,opt,name=type,proto3,enum=v1.HealthCheck_HealthCheckType" json:"type,omitempty"` - Heartbeat *HeartbeatHealthCheck `protobuf:"bytes,2,opt,name=heartbeat,proto3" json:"heartbeat,omitempty"` -} - -func (x *HealthCheck) Reset() { - *x = HealthCheck{} - if protoimpl.UnsafeEnabled { - mi := &file_service_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *HealthCheck) String() string { - return protoimpl.X.MessageStringOf(x) + Type HealthCheck_HealthCheckType `protobuf:"varint,1,opt,name=type,proto3,enum=v1.HealthCheck_HealthCheckType" json:"type,omitempty"` + Heartbeat *HeartbeatHealthCheck `protobuf:"bytes,2,opt,name=heartbeat,proto3" json:"heartbeat,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (*HealthCheck) ProtoMessage() {} - -func (x *HealthCheck) ProtoReflect() protoreflect.Message { - mi := &file_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 HealthCheck.ProtoReflect.Descriptor instead. +func (m *HealthCheck) Reset() { *m = HealthCheck{} } +func (m *HealthCheck) String() string { return proto.CompactTextString(m) } +func (*HealthCheck) ProtoMessage() {} func (*HealthCheck) Descriptor() ([]byte, []int) { - return file_service_proto_rawDescGZIP(), []int{3} + return fileDescriptor_service_80f9e229016ee93a, []int{3} } - -func (x *HealthCheck) GetType() HealthCheck_HealthCheckType { - if x != nil { - return x.Type - } - return HealthCheck_UNKNOWN +func (m *HealthCheck) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_HealthCheck.Unmarshal(m, b) } - -func (x *HealthCheck) GetHeartbeat() *HeartbeatHealthCheck { - if x != nil { - return x.Heartbeat - } - return nil +func (m *HealthCheck) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_HealthCheck.Marshal(b, m, deterministic) } - -type HeartbeatHealthCheck struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Ttl *wrapperspb.UInt32Value `protobuf:"bytes,1,opt,name=ttl,proto3" json:"ttl,omitempty"` +func (dst *HealthCheck) XXX_Merge(src proto.Message) { + xxx_messageInfo_HealthCheck.Merge(dst, src) } - -func (x *HeartbeatHealthCheck) Reset() { - *x = HeartbeatHealthCheck{} - if protoimpl.UnsafeEnabled { - mi := &file_service_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *HealthCheck) XXX_Size() int { + return xxx_messageInfo_HealthCheck.Size(m) } - -func (x *HeartbeatHealthCheck) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *HealthCheck) XXX_DiscardUnknown() { + xxx_messageInfo_HealthCheck.DiscardUnknown(m) } -func (*HeartbeatHealthCheck) ProtoMessage() {} +var xxx_messageInfo_HealthCheck proto.InternalMessageInfo -func (x *HeartbeatHealthCheck) ProtoReflect() protoreflect.Message { - mi := &file_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 +func (m *HealthCheck) GetType() HealthCheck_HealthCheckType { + if m != nil { + return m.Type } - return mi.MessageOf(x) -} - -// Deprecated: Use HeartbeatHealthCheck.ProtoReflect.Descriptor instead. -func (*HeartbeatHealthCheck) Descriptor() ([]byte, []int) { - return file_service_proto_rawDescGZIP(), []int{4} + return HealthCheck_UNKNOWN } -func (x *HeartbeatHealthCheck) GetTtl() *wrapperspb.UInt32Value { - if x != nil { - return x.Ttl +func (m *HealthCheck) GetHeartbeat() *HeartbeatHealthCheck { + if m != nil { + return m.Heartbeat } return nil } -var File_service_proto protoreflect.FileDescriptor - -var file_service_proto_rawDesc = []byte{ - 0x0a, 0x0d, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, - 0x02, 0x76, 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, 0x1a, 0x0b, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x22, 0xdd, 0x0c, 0x0a, 0x07, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x30, 0x0a, 0x04, - 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 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, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x3a, - 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x02, 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, - 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x35, 0x0a, 0x08, 0x6d, 0x65, - 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x76, - 0x31, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, - 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, - 0x61, 0x12, 0x32, 0x0a, 0x05, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x18, 0x04, 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, 0x05, - 0x70, 0x6f, 0x72, 0x74, 0x73, 0x12, 0x38, 0x0a, 0x08, 0x62, 0x75, 0x73, 0x69, 0x6e, 0x65, 0x73, - 0x73, 0x18, 0x05, 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, 0x08, 0x62, 0x75, 0x73, 0x69, 0x6e, 0x65, 0x73, 0x73, 0x12, - 0x3c, 0x0a, 0x0a, 0x64, 0x65, 0x70, 0x61, 0x72, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x06, 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, 0x0a, 0x64, 0x65, 0x70, 0x61, 0x72, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x3a, 0x0a, - 0x09, 0x63, 0x6d, 0x64, 0x62, 0x5f, 0x6d, 0x6f, 0x64, 0x31, 0x18, 0x07, 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, 0x09, - 0x63, 0x6d, 0x64, 0x62, 0x5f, 0x6d, 0x6f, 0x64, 0x31, 0x12, 0x3a, 0x0a, 0x09, 0x63, 0x6d, 0x64, - 0x62, 0x5f, 0x6d, 0x6f, 0x64, 0x32, 0x18, 0x08, 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, 0x09, 0x63, 0x6d, 0x64, 0x62, - 0x5f, 0x6d, 0x6f, 0x64, 0x32, 0x12, 0x3a, 0x0a, 0x09, 0x63, 0x6d, 0x64, 0x62, 0x5f, 0x6d, 0x6f, - 0x64, 0x33, 0x18, 0x09, 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, 0x09, 0x63, 0x6d, 0x64, 0x62, 0x5f, 0x6d, 0x6f, 0x64, - 0x33, 0x12, 0x36, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x0a, 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, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x34, 0x0a, 0x06, 0x6f, 0x77, 0x6e, - 0x65, 0x72, 0x73, 0x18, 0x0b, 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, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x73, 0x12, - 0x32, 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x0c, 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, 0x05, 0x74, 0x6f, - 0x6b, 0x65, 0x6e, 0x12, 0x32, 0x0a, 0x05, 0x63, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0d, 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, 0x05, 0x63, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x32, 0x0a, 0x05, 0x6d, 0x74, 0x69, 0x6d, 0x65, - 0x18, 0x0e, 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, 0x05, 0x6d, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x38, 0x0a, 0x08, 0x72, - 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x0f, 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, 0x08, 0x72, 0x65, 0x76, - 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x3e, 0x0a, 0x0b, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, - 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x10, 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, 0x0b, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, - 0x72, 0x6d, 0x5f, 0x69, 0x64, 0x12, 0x50, 0x0a, 0x14, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x69, - 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x11, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, - 0x65, 0x52, 0x14, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, - 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x54, 0x0a, 0x16, 0x68, 0x65, 0x61, 0x6c, 0x74, - 0x68, 0x79, 0x5f, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, - 0x74, 0x18, 0x12, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, - 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x16, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x79, 0x5f, 0x69, - 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x38, 0x0a, - 0x08, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x13, 0x20, 0x03, 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, 0x08, 0x75, - 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x73, 0x12, 0x3a, 0x0a, 0x09, 0x67, 0x72, 0x6f, 0x75, 0x70, - 0x5f, 0x69, 0x64, 0x73, 0x18, 0x14, 0x20, 0x03, 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, 0x09, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, - 0x69, 0x64, 0x73, 0x12, 0x46, 0x0a, 0x0f, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x5f, 0x75, 0x73, - 0x65, 0x72, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x16, 0x20, 0x03, 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, 0x0f, 0x72, 0x65, 0x6d, 0x6f, - 0x76, 0x65, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x73, 0x12, 0x48, 0x0a, 0x10, 0x72, - 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x69, 0x64, 0x73, 0x18, - 0x17, 0x20, 0x03, 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, 0x10, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x5f, 0x67, 0x72, 0x6f, 0x75, - 0x70, 0x5f, 0x69, 0x64, 0x73, 0x12, 0x2c, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x15, 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, - 0x02, 0x69, 0x64, 0x12, 0x36, 0x0a, 0x08, 0x65, 0x64, 0x69, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x18, - 0x18, 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, 0x08, 0x65, 0x64, 0x69, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x3a, 0x0a, 0x09, 0x65, - 0x78, 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x74, 0x6f, 0x18, 0x19, 0x20, 0x03, 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, 0x09, 0x65, 0x78, - 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x74, 0x6f, 0x12, 0x3a, 0x0a, 0x0a, 0x64, 0x65, 0x6c, 0x65, 0x74, - 0x65, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x1a, 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, 0x0a, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x61, - 0x62, 0x6c, 0x65, 0x1a, 0x3b, 0x0a, 0x0d, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x45, - 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, - 0x22, 0xdd, 0x05, 0x0a, 0x0c, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x6c, 0x69, 0x61, - 0x73, 0x12, 0x36, 0x0a, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x18, 0x01, 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, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x3a, 0x0a, 0x09, 0x6e, 0x61, 0x6d, - 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x02, 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, 0x09, 0x6e, 0x61, 0x6d, 0x65, - 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x32, 0x0a, 0x05, 0x61, 0x6c, 0x69, 0x61, 0x73, 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, 0x05, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x12, 0x46, 0x0a, 0x0f, 0x61, 0x6c, 0x69, - 0x61, 0x73, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x04, 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, 0x0f, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, - 0x65, 0x12, 0x21, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, - 0x0d, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, - 0x74, 0x79, 0x70, 0x65, 0x12, 0x34, 0x0a, 0x06, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x73, 0x18, 0x06, - 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, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x73, 0x12, 0x36, 0x0a, 0x07, 0x63, 0x6f, - 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x07, 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, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, - 0x6e, 0x74, 0x12, 0x42, 0x0a, 0x0d, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x74, 0x6f, - 0x6b, 0x65, 0x6e, 0x18, 0x08, 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, 0x0d, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, - 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x32, 0x0a, 0x05, 0x63, 0x74, 0x69, 0x6d, 0x65, 0x18, - 0x09, 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, 0x05, 0x63, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x32, 0x0a, 0x05, 0x6d, 0x74, - 0x69, 0x6d, 0x65, 0x18, 0x0a, 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, 0x05, 0x6d, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x2c, - 0x0a, 0x02, 0x69, 0x64, 0x18, 0x0b, 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, 0x02, 0x69, 0x64, 0x12, 0x36, 0x0a, 0x08, - 0x65, 0x64, 0x69, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x0c, 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, 0x08, 0x65, 0x64, 0x69, 0x74, - 0x61, 0x62, 0x6c, 0x65, 0x12, 0x3a, 0x0a, 0x0a, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x61, 0x62, - 0x6c, 0x65, 0x18, 0x0d, 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, 0x0a, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x61, 0x62, 0x6c, 0x65, - 0x22, 0xd5, 0x09, 0x0a, 0x08, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x2c, 0x0a, - 0x02, 0x69, 0x64, 0x18, 0x01, 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, 0x02, 0x69, 0x64, 0x12, 0x36, 0x0a, 0x07, 0x73, - 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x18, 0x02, 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, 0x07, 0x73, 0x65, 0x72, 0x76, - 0x69, 0x63, 0x65, 0x12, 0x3a, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, - 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, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, - 0x34, 0x0a, 0x06, 0x76, 0x70, 0x63, 0x5f, 0x69, 0x64, 0x18, 0x15, 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, 0x76, - 0x70, 0x63, 0x5f, 0x69, 0x64, 0x12, 0x30, 0x0a, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x18, 0x04, 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, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x12, 0x30, 0x0a, 0x04, 0x70, 0x6f, 0x72, 0x74, 0x18, - 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, - 0x6c, 0x75, 0x65, 0x52, 0x04, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x38, 0x0a, 0x08, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x18, 0x06, 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, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x63, 0x6f, 0x6c, 0x12, 0x36, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x07, - 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, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x38, 0x0a, 0x08, 0x70, - 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, - 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, - 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x08, 0x70, 0x72, 0x69, - 0x6f, 0x72, 0x69, 0x74, 0x79, 0x12, 0x34, 0x0a, 0x06, 0x77, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, - 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, - 0x6c, 0x75, 0x65, 0x52, 0x06, 0x77, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x4a, 0x0a, 0x13, 0x65, - 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x5f, 0x63, 0x68, 0x65, - 0x63, 0x6b, 0x18, 0x14, 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, 0x11, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x48, 0x65, 0x61, 0x6c, - 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x12, 0x32, 0x0a, 0x0c, 0x68, 0x65, 0x61, 0x6c, 0x74, - 0x68, 0x5f, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, - 0x76, 0x31, 0x2e, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x0b, - 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x12, 0x34, 0x0a, 0x07, 0x68, - 0x65, 0x61, 0x6c, 0x74, 0x68, 0x79, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, - 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42, - 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x07, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, - 0x79, 0x12, 0x34, 0x0a, 0x07, 0x69, 0x73, 0x6f, 0x6c, 0x61, 0x74, 0x65, 0x18, 0x0c, 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, 0x07, - 0x69, 0x73, 0x6f, 0x6c, 0x61, 0x74, 0x65, 0x12, 0x28, 0x0a, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x76, 0x31, 0x2e, 0x4c, - 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x12, 0x36, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x0e, 0x20, - 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, - 0x65, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, - 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x3a, 0x0a, 0x09, 0x6c, 0x6f, 0x67, - 0x69, 0x63, 0x5f, 0x73, 0x65, 0x74, 0x18, 0x0f, 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, 0x09, 0x6c, 0x6f, 0x67, 0x69, - 0x63, 0x5f, 0x73, 0x65, 0x74, 0x12, 0x32, 0x0a, 0x05, 0x63, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x10, - 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, 0x05, 0x63, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x32, 0x0a, 0x05, 0x6d, 0x74, 0x69, - 0x6d, 0x65, 0x18, 0x11, 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, 0x05, 0x6d, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x38, 0x0a, - 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x12, 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, 0x08, 0x72, - 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x42, 0x0a, 0x0d, 0x73, 0x65, 0x72, 0x76, 0x69, - 0x63, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x13, 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, 0x0d, 0x73, 0x65, - 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x1a, 0x3b, 0x0a, 0x0d, 0x4d, - 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, - 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, - 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, - 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xa9, 0x01, 0x0a, 0x0b, 0x48, 0x65, 0x61, - 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x12, 0x33, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1f, 0x2e, 0x76, 0x31, 0x2e, 0x48, 0x65, 0x61, 0x6c, - 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x2e, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, - 0x65, 0x63, 0x6b, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x36, 0x0a, - 0x09, 0x68, 0x65, 0x61, 0x72, 0x74, 0x62, 0x65, 0x61, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x18, 0x2e, 0x76, 0x31, 0x2e, 0x48, 0x65, 0x61, 0x72, 0x74, 0x62, 0x65, 0x61, 0x74, 0x48, - 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x09, 0x68, 0x65, 0x61, 0x72, - 0x74, 0x62, 0x65, 0x61, 0x74, 0x22, 0x2d, 0x0a, 0x0f, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, - 0x68, 0x65, 0x63, 0x6b, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, - 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x0d, 0x0a, 0x09, 0x48, 0x45, 0x41, 0x52, 0x54, 0x42, 0x45, - 0x41, 0x54, 0x10, 0x01, 0x22, 0x46, 0x0a, 0x14, 0x48, 0x65, 0x61, 0x72, 0x74, 0x62, 0x65, 0x61, - 0x74, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x12, 0x2e, 0x0a, 0x03, - 0x74, 0x74, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, - 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x49, 0x6e, 0x74, - 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x03, 0x74, 0x74, 0x6c, 0x2a, 0x24, 0x0a, 0x09, - 0x41, 0x6c, 0x69, 0x61, 0x73, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x44, 0x45, 0x46, - 0x41, 0x55, 0x4c, 0x54, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x43, 0x4c, 0x35, 0x53, 0x49, 0x44, - 0x10, 0x01, 0x42, 0x8d, 0x01, 0x0a, 0x37, 0x63, 0x6f, 0x6d, 0x2e, 0x74, 0x65, 0x6e, 0x63, 0x65, - 0x6e, 0x74, 0x2e, 0x70, 0x6f, 0x6c, 0x61, 0x72, 0x69, 0x73, 0x2e, 0x73, 0x70, 0x65, 0x63, 0x69, - 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, - 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x42, 0x0c, - 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x5a, 0x44, 0x67, 0x69, - 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x6f, 0x6c, 0x61, 0x72, 0x69, 0x73, - 0x6d, 0x65, 0x73, 0x68, 0x2f, 0x73, 0x70, 0x65, 0x63, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x2f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2f, 0x67, 0x6f, 0x2f, 0x61, 0x70, 0x69, - 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x6d, 0x61, 0x6e, 0x61, - 0x67, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_service_proto_rawDescOnce sync.Once - file_service_proto_rawDescData = file_service_proto_rawDesc -) +type HeartbeatHealthCheck struct { + Ttl *wrapperspb.UInt32Value `protobuf:"bytes,1,opt,name=ttl,proto3" json:"ttl,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} -func file_service_proto_rawDescGZIP() []byte { - file_service_proto_rawDescOnce.Do(func() { - file_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_service_proto_rawDescData) - }) - return file_service_proto_rawDescData -} - -var file_service_proto_enumTypes = make([]protoimpl.EnumInfo, 2) -var file_service_proto_msgTypes = make([]protoimpl.MessageInfo, 7) -var file_service_proto_goTypes = []interface{}{ - (AliasType)(0), // 0: v1.AliasType - (HealthCheck_HealthCheckType)(0), // 1: v1.HealthCheck.HealthCheckType - (*Service)(nil), // 2: v1.Service - (*ServiceAlias)(nil), // 3: v1.ServiceAlias - (*Instance)(nil), // 4: v1.Instance - (*HealthCheck)(nil), // 5: v1.HealthCheck - (*HeartbeatHealthCheck)(nil), // 6: v1.HeartbeatHealthCheck - nil, // 7: v1.Service.MetadataEntry - nil, // 8: v1.Instance.MetadataEntry - (*wrapperspb.StringValue)(nil), // 9: google.protobuf.StringValue - (*wrapperspb.UInt32Value)(nil), // 10: google.protobuf.UInt32Value - (*wrapperspb.BoolValue)(nil), // 11: google.protobuf.BoolValue - (*model.Location)(nil), // 12: v1.Location -} -var file_service_proto_depIdxs = []int32{ - 9, // 0: v1.Service.name:type_name -> google.protobuf.StringValue - 9, // 1: v1.Service.namespace:type_name -> google.protobuf.StringValue - 7, // 2: v1.Service.metadata:type_name -> v1.Service.MetadataEntry - 9, // 3: v1.Service.ports:type_name -> google.protobuf.StringValue - 9, // 4: v1.Service.business:type_name -> google.protobuf.StringValue - 9, // 5: v1.Service.department:type_name -> google.protobuf.StringValue - 9, // 6: v1.Service.cmdb_mod1:type_name -> google.protobuf.StringValue - 9, // 7: v1.Service.cmdb_mod2:type_name -> google.protobuf.StringValue - 9, // 8: v1.Service.cmdb_mod3:type_name -> google.protobuf.StringValue - 9, // 9: v1.Service.comment:type_name -> google.protobuf.StringValue - 9, // 10: v1.Service.owners:type_name -> google.protobuf.StringValue - 9, // 11: v1.Service.token:type_name -> google.protobuf.StringValue - 9, // 12: v1.Service.ctime:type_name -> google.protobuf.StringValue - 9, // 13: v1.Service.mtime:type_name -> google.protobuf.StringValue - 9, // 14: v1.Service.revision:type_name -> google.protobuf.StringValue - 9, // 15: v1.Service.platform_id:type_name -> google.protobuf.StringValue - 10, // 16: v1.Service.total_instance_count:type_name -> google.protobuf.UInt32Value - 10, // 17: v1.Service.healthy_instance_count:type_name -> google.protobuf.UInt32Value - 9, // 18: v1.Service.user_ids:type_name -> google.protobuf.StringValue - 9, // 19: v1.Service.group_ids:type_name -> google.protobuf.StringValue - 9, // 20: v1.Service.remove_user_ids:type_name -> google.protobuf.StringValue - 9, // 21: v1.Service.remove_group_ids:type_name -> google.protobuf.StringValue - 9, // 22: v1.Service.id:type_name -> google.protobuf.StringValue - 11, // 23: v1.Service.editable:type_name -> google.protobuf.BoolValue - 9, // 24: v1.Service.export_to:type_name -> google.protobuf.StringValue - 11, // 25: v1.Service.deleteable:type_name -> google.protobuf.BoolValue - 9, // 26: v1.ServiceAlias.service:type_name -> google.protobuf.StringValue - 9, // 27: v1.ServiceAlias.namespace:type_name -> google.protobuf.StringValue - 9, // 28: v1.ServiceAlias.alias:type_name -> google.protobuf.StringValue - 9, // 29: v1.ServiceAlias.alias_namespace:type_name -> google.protobuf.StringValue - 0, // 30: v1.ServiceAlias.type:type_name -> v1.AliasType - 9, // 31: v1.ServiceAlias.owners:type_name -> google.protobuf.StringValue - 9, // 32: v1.ServiceAlias.comment:type_name -> google.protobuf.StringValue - 9, // 33: v1.ServiceAlias.service_token:type_name -> google.protobuf.StringValue - 9, // 34: v1.ServiceAlias.ctime:type_name -> google.protobuf.StringValue - 9, // 35: v1.ServiceAlias.mtime:type_name -> google.protobuf.StringValue - 9, // 36: v1.ServiceAlias.id:type_name -> google.protobuf.StringValue - 11, // 37: v1.ServiceAlias.editable:type_name -> google.protobuf.BoolValue - 11, // 38: v1.ServiceAlias.deleteable:type_name -> google.protobuf.BoolValue - 9, // 39: v1.Instance.id:type_name -> google.protobuf.StringValue - 9, // 40: v1.Instance.service:type_name -> google.protobuf.StringValue - 9, // 41: v1.Instance.namespace:type_name -> google.protobuf.StringValue - 9, // 42: v1.Instance.vpc_id:type_name -> google.protobuf.StringValue - 9, // 43: v1.Instance.host:type_name -> google.protobuf.StringValue - 10, // 44: v1.Instance.port:type_name -> google.protobuf.UInt32Value - 9, // 45: v1.Instance.protocol:type_name -> google.protobuf.StringValue - 9, // 46: v1.Instance.version:type_name -> google.protobuf.StringValue - 10, // 47: v1.Instance.priority:type_name -> google.protobuf.UInt32Value - 10, // 48: v1.Instance.weight:type_name -> google.protobuf.UInt32Value - 11, // 49: v1.Instance.enable_health_check:type_name -> google.protobuf.BoolValue - 5, // 50: v1.Instance.health_check:type_name -> v1.HealthCheck - 11, // 51: v1.Instance.healthy:type_name -> google.protobuf.BoolValue - 11, // 52: v1.Instance.isolate:type_name -> google.protobuf.BoolValue - 12, // 53: v1.Instance.location:type_name -> v1.Location - 8, // 54: v1.Instance.metadata:type_name -> v1.Instance.MetadataEntry - 9, // 55: v1.Instance.logic_set:type_name -> google.protobuf.StringValue - 9, // 56: v1.Instance.ctime:type_name -> google.protobuf.StringValue - 9, // 57: v1.Instance.mtime:type_name -> google.protobuf.StringValue - 9, // 58: v1.Instance.revision:type_name -> google.protobuf.StringValue - 9, // 59: v1.Instance.service_token:type_name -> google.protobuf.StringValue - 1, // 60: v1.HealthCheck.type:type_name -> v1.HealthCheck.HealthCheckType - 6, // 61: v1.HealthCheck.heartbeat:type_name -> v1.HeartbeatHealthCheck - 10, // 62: v1.HeartbeatHealthCheck.ttl:type_name -> google.protobuf.UInt32Value - 63, // [63:63] is the sub-list for method output_type - 63, // [63:63] is the sub-list for method input_type - 63, // [63:63] is the sub-list for extension type_name - 63, // [63:63] is the sub-list for extension extendee - 0, // [0:63] is the sub-list for field type_name -} - -func init() { file_service_proto_init() } -func file_service_proto_init() { - if File_service_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Service); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_service_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ServiceAlias); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_service_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Instance); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_service_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*HealthCheck); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_service_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*HeartbeatHealthCheck); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_service_proto_rawDesc, - NumEnums: 2, - NumMessages: 7, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_service_proto_goTypes, - DependencyIndexes: file_service_proto_depIdxs, - EnumInfos: file_service_proto_enumTypes, - MessageInfos: file_service_proto_msgTypes, - }.Build() - File_service_proto = out.File - file_service_proto_rawDesc = nil - file_service_proto_goTypes = nil - file_service_proto_depIdxs = nil +func (m *HeartbeatHealthCheck) Reset() { *m = HeartbeatHealthCheck{} } +func (m *HeartbeatHealthCheck) String() string { return proto.CompactTextString(m) } +func (*HeartbeatHealthCheck) ProtoMessage() {} +func (*HeartbeatHealthCheck) Descriptor() ([]byte, []int) { + return fileDescriptor_service_80f9e229016ee93a, []int{4} +} +func (m *HeartbeatHealthCheck) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_HeartbeatHealthCheck.Unmarshal(m, b) +} +func (m *HeartbeatHealthCheck) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_HeartbeatHealthCheck.Marshal(b, m, deterministic) +} +func (dst *HeartbeatHealthCheck) XXX_Merge(src proto.Message) { + xxx_messageInfo_HeartbeatHealthCheck.Merge(dst, src) +} +func (m *HeartbeatHealthCheck) XXX_Size() int { + return xxx_messageInfo_HeartbeatHealthCheck.Size(m) +} +func (m *HeartbeatHealthCheck) XXX_DiscardUnknown() { + xxx_messageInfo_HeartbeatHealthCheck.DiscardUnknown(m) +} + +var xxx_messageInfo_HeartbeatHealthCheck proto.InternalMessageInfo + +func (m *HeartbeatHealthCheck) GetTtl() *wrapperspb.UInt32Value { + if m != nil { + return m.Ttl + } + return nil +} + +func init() { + proto.RegisterType((*Service)(nil), "v1.Service") + proto.RegisterMapType((map[string]string)(nil), "v1.Service.MetadataEntry") + proto.RegisterType((*ServiceAlias)(nil), "v1.ServiceAlias") + proto.RegisterType((*Instance)(nil), "v1.Instance") + proto.RegisterMapType((map[string]string)(nil), "v1.Instance.MetadataEntry") + proto.RegisterType((*HealthCheck)(nil), "v1.HealthCheck") + proto.RegisterType((*HeartbeatHealthCheck)(nil), "v1.HeartbeatHealthCheck") + proto.RegisterEnum("v1.AliasType", AliasType_name, AliasType_value) + proto.RegisterEnum("v1.HealthCheck_HealthCheckType", HealthCheck_HealthCheckType_name, HealthCheck_HealthCheckType_value) +} + +func init() { proto.RegisterFile("service.proto", fileDescriptor_service_80f9e229016ee93a) } + +var fileDescriptor_service_80f9e229016ee93a = []byte{ + // 1118 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x57, 0xdd, 0x4e, 0xe3, 0x46, + 0x18, 0xdd, 0x24, 0x4b, 0x7e, 0xbe, 0x24, 0x10, 0x06, 0xba, 0x9d, 0x8d, 0xaa, 0x76, 0x8b, 0x7a, + 0x81, 0xaa, 0xd6, 0x29, 0x81, 0xa5, 0x2b, 0x5a, 0x55, 0x82, 0x05, 0x04, 0x2d, 0xa5, 0xab, 0x00, + 0xad, 0xd4, 0x1b, 0x6b, 0xe2, 0x7c, 0x24, 0x23, 0x6c, 0x8f, 0x65, 0x4f, 0x42, 0xf3, 0x10, 0x7d, + 0x90, 0x3e, 0x50, 0x2f, 0xf7, 0x5d, 0xaa, 0x19, 0xff, 0xc4, 0xc0, 0xa6, 0x4c, 0xd8, 0xab, 0x38, + 0xf6, 0x39, 0xdf, 0x8c, 0x67, 0xbe, 0x73, 0xce, 0x18, 0x9a, 0x11, 0x86, 0x13, 0xee, 0xa0, 0x15, + 0x84, 0x42, 0x0a, 0x52, 0x9c, 0x6c, 0xb5, 0x3f, 0x1f, 0x0a, 0x31, 0x74, 0xb1, 0xa3, 0xef, 0xf4, + 0xc7, 0xd7, 0x9d, 0xdb, 0x90, 0x05, 0x01, 0x86, 0x51, 0x8c, 0x69, 0xd7, 0x3d, 0x31, 0x40, 0x37, + 0xfe, 0xb3, 0xf1, 0xbe, 0x01, 0x95, 0x8b, 0xb8, 0x04, 0xf9, 0x0e, 0x9e, 0xfb, 0xcc, 0x43, 0x5a, + 0x78, 0x55, 0xd8, 0xac, 0x77, 0x3f, 0xb3, 0xe2, 0x3a, 0x56, 0x5a, 0xc7, 0xba, 0x90, 0x21, 0xf7, + 0x87, 0xbf, 0x33, 0x77, 0x8c, 0x3d, 0x8d, 0x24, 0x7b, 0x50, 0x53, 0xbf, 0x51, 0xc0, 0x1c, 0xa4, + 0x45, 0x03, 0xda, 0x0c, 0x4e, 0x5e, 0x43, 0xd5, 0x43, 0xc9, 0x06, 0x4c, 0x32, 0x5a, 0x7a, 0x55, + 0xda, 0xac, 0x77, 0x5f, 0x5a, 0x93, 0x2d, 0x2b, 0x99, 0x8c, 0xf5, 0x6b, 0xf2, 0xec, 0xc8, 0x97, + 0xe1, 0xb4, 0x97, 0x41, 0x49, 0x17, 0x96, 0x02, 0x11, 0xca, 0x88, 0x3e, 0x37, 0x18, 0x2e, 0x86, + 0x92, 0x37, 0x50, 0xed, 0x8f, 0x23, 0xee, 0x63, 0x14, 0xd1, 0x25, 0x03, 0x5a, 0x86, 0x26, 0x3f, + 0x02, 0x0c, 0x30, 0x60, 0xa1, 0xf4, 0xd0, 0x97, 0xb4, 0x6c, 0xc0, 0xcd, 0xe1, 0xd5, 0xf2, 0x38, + 0xde, 0xa0, 0x6f, 0x7b, 0x62, 0xb0, 0x45, 0x2b, 0x26, 0xcb, 0x93, 0xc1, 0xf3, 0xdc, 0x2e, 0xad, + 0x2e, 0xc2, 0xed, 0xe6, 0xb9, 0xdb, 0xb4, 0xb6, 0x08, 0x77, 0x9b, 0xec, 0x42, 0xc5, 0x11, 0x9e, + 0x7e, 0x5d, 0x30, 0x60, 0xa6, 0x60, 0xb2, 0x03, 0x65, 0x71, 0xeb, 0x63, 0x18, 0xd1, 0xba, 0x01, + 0x2d, 0xc1, 0xaa, 0xdd, 0x94, 0xe2, 0x06, 0x7d, 0xda, 0x30, 0xd9, 0x4d, 0x0d, 0x55, 0x1c, 0x47, + 0x72, 0x0f, 0x69, 0xd3, 0x84, 0xa3, 0xa1, 0x8a, 0xe3, 0x69, 0xce, 0xb2, 0x09, 0x47, 0x43, 0x55, + 0xd7, 0x84, 0x38, 0xe1, 0x11, 0x17, 0x3e, 0x5d, 0x31, 0xe9, 0x9a, 0x14, 0x4d, 0x7e, 0x82, 0x7a, + 0xe0, 0x32, 0x79, 0x2d, 0x42, 0xcf, 0xe6, 0x03, 0xda, 0x32, 0x20, 0xe7, 0x09, 0xe4, 0x1d, 0xac, + 0x4b, 0x21, 0x99, 0x6b, 0x73, 0x3f, 0x92, 0xcc, 0x77, 0xd0, 0x76, 0xc4, 0xd8, 0x97, 0x74, 0x75, + 0x4e, 0xa1, 0xab, 0x53, 0x5f, 0x6e, 0x77, 0xe3, 0x42, 0x1f, 0x64, 0x92, 0x4b, 0x78, 0x31, 0x42, + 0xe6, 0xca, 0xd1, 0xf4, 0x7e, 0x4d, 0x62, 0x50, 0x73, 0x0e, 0x57, 0xad, 0xd0, 0x38, 0xc2, 0xd0, + 0xe6, 0x83, 0x88, 0xae, 0x69, 0x09, 0x3f, 0xb2, 0x42, 0x29, 0x5a, 0x75, 0xe8, 0x30, 0x14, 0xe3, + 0x40, 0x53, 0xd7, 0x0d, 0xa8, 0x33, 0x38, 0x39, 0x86, 0x95, 0x10, 0x3d, 0x31, 0x41, 0x3b, 0x1b, + 0xfc, 0x85, 0x41, 0x85, 0xfb, 0x24, 0x72, 0x02, 0xad, 0xe4, 0xd6, 0x6c, 0x2a, 0x9f, 0x1a, 0x14, + 0x7a, 0xc0, 0x22, 0xdf, 0x40, 0x91, 0x0f, 0xe8, 0x27, 0x06, 0xdb, 0x5c, 0xe4, 0x03, 0xb2, 0x0b, + 0x55, 0x1c, 0x70, 0xc9, 0xfa, 0x2e, 0x52, 0xaa, 0x39, 0xed, 0x07, 0x9c, 0x03, 0x21, 0xdc, 0x64, + 0xcd, 0x52, 0xac, 0x5a, 0x33, 0xfc, 0x4b, 0x19, 0x9a, 0x2d, 0x05, 0x7d, 0x69, 0xb2, 0x66, 0x19, + 0x9c, 0xec, 0x29, 0x1f, 0x73, 0x51, 0xa2, 0x1e, 0xb5, 0xfd, 0xe8, 0xa8, 0x39, 0x74, 0xfb, 0x07, + 0x68, 0xde, 0x31, 0x63, 0xd2, 0x82, 0xd2, 0x0d, 0x4e, 0x75, 0x4c, 0xd4, 0x7a, 0xea, 0x92, 0xac, + 0xc3, 0xd2, 0x44, 0xf1, 0x74, 0x06, 0xd4, 0x7a, 0xf1, 0x9f, 0xbd, 0xe2, 0x9b, 0xc2, 0xc6, 0xfb, + 0x25, 0x68, 0x24, 0x96, 0xbe, 0xef, 0x72, 0x16, 0x29, 0x7f, 0x49, 0x22, 0xcb, 0x28, 0x67, 0x52, + 0xf0, 0x47, 0x45, 0x4d, 0x17, 0x96, 0x98, 0x1a, 0x9c, 0x96, 0x4c, 0xd4, 0xaf, 0xa1, 0xaa, 0xcb, + 0xf4, 0x85, 0x3d, 0x1b, 0xd5, 0x24, 0x71, 0xee, 0x93, 0xc8, 0x97, 0xf0, 0x5c, 0x4e, 0x03, 0xd4, + 0xb9, 0xb3, 0xdc, 0x6d, 0xaa, 0x88, 0xd3, 0x0b, 0x71, 0x39, 0x0d, 0xb0, 0xa7, 0x1f, 0xe5, 0xac, + 0xb3, 0xbc, 0x80, 0x75, 0xe6, 0x8c, 0xba, 0xb2, 0x88, 0x51, 0x1f, 0x64, 0x67, 0x06, 0x3b, 0xb6, + 0x5e, 0x93, 0x70, 0xb9, 0x4b, 0x99, 0x59, 0x70, 0xed, 0x09, 0x16, 0x0c, 0xe6, 0x16, 0x1c, 0x0b, + 0xab, 0xfe, 0x04, 0x61, 0x35, 0x16, 0x12, 0x56, 0x5e, 0x1c, 0xcd, 0x45, 0xc4, 0xb1, 0xf1, 0x6f, + 0x0d, 0xaa, 0xa7, 0x89, 0x2b, 0x26, 0xd3, 0x2d, 0x18, 0x4f, 0x37, 0x53, 0x42, 0xf1, 0xc9, 0x4a, + 0x28, 0x2d, 0xa6, 0x84, 0x1d, 0x28, 0x4f, 0x02, 0xc7, 0x36, 0x74, 0xab, 0x04, 0xab, 0x0e, 0x86, + 0x23, 0x11, 0x49, 0x23, 0x01, 0x68, 0xa4, 0x62, 0x28, 0xeb, 0x99, 0x7b, 0xda, 0xca, 0xa7, 0x8b, + 0x46, 0xaa, 0x2c, 0xd1, 0x4f, 0x1d, 0xe1, 0x1a, 0xc9, 0x20, 0x43, 0xab, 0x75, 0x9c, 0x60, 0xa8, + 0x63, 0xda, 0x48, 0x08, 0x09, 0x38, 0x1e, 0x91, 0x8b, 0x90, 0xcb, 0xe9, 0x5c, 0x0d, 0xe4, 0xe7, + 0x99, 0xa1, 0xd5, 0x2a, 0xde, 0x22, 0x1f, 0x8e, 0xe4, 0xdc, 0xfe, 0xcf, 0xf3, 0x12, 0x2c, 0xf9, + 0x19, 0xd6, 0xd0, 0x57, 0x4d, 0x63, 0xc7, 0x71, 0x6a, 0x3b, 0x23, 0x74, 0x6e, 0xe8, 0xfa, 0xa3, + 0xfd, 0xb6, 0x1a, 0xd3, 0x4e, 0x34, 0xeb, 0xad, 0x22, 0x91, 0x2e, 0x34, 0xee, 0x14, 0x89, 0x35, + 0xb5, 0xa2, 0xdc, 0x25, 0x07, 0xeb, 0xd5, 0x47, 0x39, 0xce, 0x0e, 0x54, 0x92, 0x1c, 0x4f, 0x14, + 0xf5, 0x7f, 0x63, 0xa6, 0x50, 0xc5, 0xe2, 0x91, 0x70, 0x99, 0x34, 0xd1, 0x54, 0x0a, 0x25, 0x9b, + 0x50, 0x75, 0x85, 0xc3, 0xa4, 0xda, 0x94, 0x58, 0x50, 0x0d, 0x35, 0xb7, 0xb3, 0xe4, 0x5e, 0x2f, + 0x7b, 0xaa, 0x44, 0x9b, 0x7d, 0x06, 0x2c, 0xeb, 0x50, 0x6b, 0x2b, 0x64, 0xaa, 0xa9, 0xb9, 0xdf, + 0x01, 0x7b, 0x50, 0x73, 0xc5, 0x90, 0x3b, 0x76, 0x84, 0xd2, 0xe8, 0x78, 0x36, 0x83, 0xcf, 0xec, + 0xab, 0xf5, 0x04, 0xfb, 0x5a, 0x7d, 0xda, 0x09, 0x92, 0x2c, 0x74, 0x82, 0x7c, 0x60, 0xd2, 0x6b, + 0x0b, 0x9b, 0xf4, 0xc7, 0xe5, 0xf6, 0x3f, 0x05, 0xa8, 0xe7, 0x1b, 0x6e, 0x3b, 0x89, 0xb1, 0x82, + 0x8e, 0xb1, 0x2f, 0xee, 0x35, 0x5a, 0xfe, 0x3a, 0x17, 0x6c, 0xbb, 0x50, 0x1b, 0x21, 0x0b, 0x65, + 0x1f, 0x99, 0x4c, 0x3c, 0x8e, 0x26, 0xcc, 0xf8, 0x66, 0xbe, 0x57, 0x67, 0xd0, 0x8d, 0x6f, 0x61, + 0xe5, 0x5e, 0x41, 0x52, 0x87, 0xca, 0xd5, 0xf9, 0x2f, 0xe7, 0xbf, 0xfd, 0x71, 0xde, 0x7a, 0x46, + 0x9a, 0x50, 0x3b, 0x39, 0xda, 0xef, 0x5d, 0x1e, 0x1c, 0xed, 0x5f, 0xb6, 0x0a, 0x1b, 0xc7, 0xb0, + 0xfe, 0xa1, 0x8a, 0xc4, 0x82, 0x92, 0x94, 0xee, 0x5c, 0x3f, 0xce, 0x6b, 0x54, 0x01, 0xbf, 0xfe, + 0x0a, 0x6a, 0x59, 0x34, 0xab, 0x01, 0x0f, 0x8f, 0x8e, 0xf7, 0xaf, 0xce, 0x2e, 0x5b, 0xcf, 0x08, + 0x40, 0xf9, 0xed, 0xd9, 0xeb, 0x8b, 0xd3, 0xc3, 0x56, 0xe1, 0xe0, 0xef, 0x02, 0x7c, 0xef, 0x08, + 0xcf, 0x92, 0xe8, 0x3b, 0xe8, 0x4b, 0x2b, 0x10, 0x2e, 0x0b, 0x79, 0x64, 0x45, 0x01, 0x3a, 0xfc, + 0x9a, 0xc7, 0x6d, 0x6d, 0xb1, 0x80, 0xab, 0x37, 0x4d, 0xbf, 0xce, 0x3d, 0xe6, 0xb3, 0x21, 0x1e, + 0xa4, 0x47, 0xa1, 0x77, 0x6a, 0x0e, 0x7f, 0x1e, 0x0e, 0xb9, 0x1c, 0x8d, 0xfb, 0x96, 0x23, 0xbc, + 0x4e, 0x52, 0xc5, 0xc3, 0x68, 0xd4, 0xb9, 0x53, 0xa9, 0x13, 0x89, 0x71, 0xe8, 0x60, 0x67, 0x28, + 0x3a, 0x2c, 0xe0, 0x9d, 0xc9, 0x56, 0x27, 0xdd, 0xe5, 0xb8, 0x66, 0xbf, 0xac, 0x5f, 0x68, 0xfb, + 0xbf, 0x00, 0x00, 0x00, 0xff, 0xff, 0x61, 0xbf, 0xcc, 0x13, 0x0a, 0x10, 0x00, 0x00, } diff --git a/source/go/api/v1/traffic_manage/lane.pb.go b/source/go/api/v1/traffic_manage/lane.pb.go index 59b2baf..3d16eb8 100644 --- a/source/go/api/v1/traffic_manage/lane.pb.go +++ b/source/go/api/v1/traffic_manage/lane.pb.go @@ -1,26 +1,24 @@ // Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.33.0 -// protoc v5.27.3 // source: lane.proto -package traffic_manage +package traffic_manage // import "github.com/polarismesh/specification/source/go/api/v1/traffic_manage" -import ( - model "github.com/polarismesh/specification/source/go/api/v1/model" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - anypb "google.golang.org/protobuf/types/known/anypb" - reflect "reflect" - sync "sync" -) +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import model "github.com/polarismesh/specification/source/go/api/v1/model" +import anypb "google.golang.org/protobuf/types/known/anypb" -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package // 多个 SourceMatch 之间的判断关系 type TrafficMatchRule_TrafficMatchMode int32 @@ -32,43 +30,20 @@ const ( TrafficMatchRule_OR TrafficMatchRule_TrafficMatchMode = 1 ) -// Enum value maps for TrafficMatchRule_TrafficMatchMode. -var ( - TrafficMatchRule_TrafficMatchMode_name = map[int32]string{ - 0: "AND", - 1: "OR", - } - TrafficMatchRule_TrafficMatchMode_value = map[string]int32{ - "AND": 0, - "OR": 1, - } -) - -func (x TrafficMatchRule_TrafficMatchMode) Enum() *TrafficMatchRule_TrafficMatchMode { - p := new(TrafficMatchRule_TrafficMatchMode) - *p = x - return p -} - -func (x TrafficMatchRule_TrafficMatchMode) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (TrafficMatchRule_TrafficMatchMode) Descriptor() protoreflect.EnumDescriptor { - return file_lane_proto_enumTypes[0].Descriptor() +var TrafficMatchRule_TrafficMatchMode_name = map[int32]string{ + 0: "AND", + 1: "OR", } - -func (TrafficMatchRule_TrafficMatchMode) Type() protoreflect.EnumType { - return &file_lane_proto_enumTypes[0] +var TrafficMatchRule_TrafficMatchMode_value = map[string]int32{ + "AND": 0, + "OR": 1, } -func (x TrafficMatchRule_TrafficMatchMode) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) +func (x TrafficMatchRule_TrafficMatchMode) String() string { + return proto.EnumName(TrafficMatchRule_TrafficMatchMode_name, int32(x)) } - -// Deprecated: Use TrafficMatchRule_TrafficMatchMode.Descriptor instead. func (TrafficMatchRule_TrafficMatchMode) EnumDescriptor() ([]byte, []int) { - return file_lane_proto_rawDescGZIP(), []int{4, 0} + return fileDescriptor_lane_031fa4e75520adba, []int{4, 0} } type LaneRule_LaneMatchMode int32 @@ -80,241 +55,187 @@ const ( LaneRule_PERMISSIVE LaneRule_LaneMatchMode = 1 ) -// Enum value maps for LaneRule_LaneMatchMode. -var ( - LaneRule_LaneMatchMode_name = map[int32]string{ - 0: "STRICT", - 1: "PERMISSIVE", - } - LaneRule_LaneMatchMode_value = map[string]int32{ - "STRICT": 0, - "PERMISSIVE": 1, - } -) - -func (x LaneRule_LaneMatchMode) Enum() *LaneRule_LaneMatchMode { - p := new(LaneRule_LaneMatchMode) - *p = x - return p +var LaneRule_LaneMatchMode_name = map[int32]string{ + 0: "STRICT", + 1: "PERMISSIVE", } - -func (x LaneRule_LaneMatchMode) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (LaneRule_LaneMatchMode) Descriptor() protoreflect.EnumDescriptor { - return file_lane_proto_enumTypes[1].Descriptor() -} - -func (LaneRule_LaneMatchMode) Type() protoreflect.EnumType { - return &file_lane_proto_enumTypes[1] +var LaneRule_LaneMatchMode_value = map[string]int32{ + "STRICT": 0, + "PERMISSIVE": 1, } -func (x LaneRule_LaneMatchMode) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) +func (x LaneRule_LaneMatchMode) String() string { + return proto.EnumName(LaneRule_LaneMatchMode_name, int32(x)) } - -// Deprecated: Use LaneRule_LaneMatchMode.Descriptor instead. func (LaneRule_LaneMatchMode) EnumDescriptor() ([]byte, []int) { - return file_lane_proto_rawDescGZIP(), []int{5, 0} + return fileDescriptor_lane_031fa4e75520adba, []int{5, 0} } // 流量入口 type TrafficEntry struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // 标记流量入口类型 // type == "polarismesh.cn/gateway/spring-cloud-gateway", 则 selector 为 // ServiceGatewaySelector type == "polarismesh.cn/service, 则 selector 为 // ServiceSelector - Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` - Selector *anypb.Any `protobuf:"bytes,2,opt,name=selector,proto3" json:"selector,omitempty"` + Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` + Selector *anypb.Any `protobuf:"bytes,2,opt,name=selector,proto3" json:"selector,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *TrafficEntry) Reset() { - *x = TrafficEntry{} - if protoimpl.UnsafeEnabled { - mi := &file_lane_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *TrafficEntry) Reset() { *m = TrafficEntry{} } +func (m *TrafficEntry) String() string { return proto.CompactTextString(m) } +func (*TrafficEntry) ProtoMessage() {} +func (*TrafficEntry) Descriptor() ([]byte, []int) { + return fileDescriptor_lane_031fa4e75520adba, []int{0} } - -func (x *TrafficEntry) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *TrafficEntry) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_TrafficEntry.Unmarshal(m, b) } - -func (*TrafficEntry) ProtoMessage() {} - -func (x *TrafficEntry) ProtoReflect() protoreflect.Message { - mi := &file_lane_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *TrafficEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_TrafficEntry.Marshal(b, m, deterministic) } - -// Deprecated: Use TrafficEntry.ProtoReflect.Descriptor instead. -func (*TrafficEntry) Descriptor() ([]byte, []int) { - return file_lane_proto_rawDescGZIP(), []int{0} +func (dst *TrafficEntry) XXX_Merge(src proto.Message) { + xxx_messageInfo_TrafficEntry.Merge(dst, src) +} +func (m *TrafficEntry) XXX_Size() int { + return xxx_messageInfo_TrafficEntry.Size(m) +} +func (m *TrafficEntry) XXX_DiscardUnknown() { + xxx_messageInfo_TrafficEntry.DiscardUnknown(m) } -func (x *TrafficEntry) GetType() string { - if x != nil { - return x.Type +var xxx_messageInfo_TrafficEntry proto.InternalMessageInfo + +func (m *TrafficEntry) GetType() string { + if m != nil { + return m.Type } return "" } -func (x *TrafficEntry) GetSelector() *anypb.Any { - if x != nil { - return x.Selector +func (m *TrafficEntry) GetSelector() *anypb.Any { + if m != nil { + return m.Selector } return nil } // 微服务网关入口定义 type ServiceGatewaySelector struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` Service string `protobuf:"bytes,2,opt,name=service,proto3" json:"service,omitempty"` // 决定要不要部份 - Labels map[string]*model.MatchString `protobuf:"bytes,3,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + Labels map[string]*model.MatchString `protobuf:"bytes,3,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *ServiceGatewaySelector) Reset() { - *x = ServiceGatewaySelector{} - if protoimpl.UnsafeEnabled { - mi := &file_lane_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *ServiceGatewaySelector) Reset() { *m = ServiceGatewaySelector{} } +func (m *ServiceGatewaySelector) String() string { return proto.CompactTextString(m) } +func (*ServiceGatewaySelector) ProtoMessage() {} +func (*ServiceGatewaySelector) Descriptor() ([]byte, []int) { + return fileDescriptor_lane_031fa4e75520adba, []int{1} } - -func (x *ServiceGatewaySelector) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *ServiceGatewaySelector) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ServiceGatewaySelector.Unmarshal(m, b) } - -func (*ServiceGatewaySelector) ProtoMessage() {} - -func (x *ServiceGatewaySelector) ProtoReflect() protoreflect.Message { - mi := &file_lane_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *ServiceGatewaySelector) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ServiceGatewaySelector.Marshal(b, m, deterministic) } - -// Deprecated: Use ServiceGatewaySelector.ProtoReflect.Descriptor instead. -func (*ServiceGatewaySelector) Descriptor() ([]byte, []int) { - return file_lane_proto_rawDescGZIP(), []int{1} +func (dst *ServiceGatewaySelector) XXX_Merge(src proto.Message) { + xxx_messageInfo_ServiceGatewaySelector.Merge(dst, src) } +func (m *ServiceGatewaySelector) XXX_Size() int { + return xxx_messageInfo_ServiceGatewaySelector.Size(m) +} +func (m *ServiceGatewaySelector) XXX_DiscardUnknown() { + xxx_messageInfo_ServiceGatewaySelector.DiscardUnknown(m) +} + +var xxx_messageInfo_ServiceGatewaySelector proto.InternalMessageInfo -func (x *ServiceGatewaySelector) GetNamespace() string { - if x != nil { - return x.Namespace +func (m *ServiceGatewaySelector) GetNamespace() string { + if m != nil { + return m.Namespace } return "" } -func (x *ServiceGatewaySelector) GetService() string { - if x != nil { - return x.Service +func (m *ServiceGatewaySelector) GetService() string { + if m != nil { + return m.Service } return "" } -func (x *ServiceGatewaySelector) GetLabels() map[string]*model.MatchString { - if x != nil { - return x.Labels +func (m *ServiceGatewaySelector) GetLabels() map[string]*model.MatchString { + if m != nil { + return m.Labels } return nil } // 普通服务入口定义 type ServiceSelector struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` Service string `protobuf:"bytes,2,opt,name=service,proto3" json:"service,omitempty"` // 决定要不要部份 - Labels map[string]*model.MatchString `protobuf:"bytes,3,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + Labels map[string]*model.MatchString `protobuf:"bytes,3,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *ServiceSelector) Reset() { - *x = ServiceSelector{} - if protoimpl.UnsafeEnabled { - mi := &file_lane_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *ServiceSelector) Reset() { *m = ServiceSelector{} } +func (m *ServiceSelector) String() string { return proto.CompactTextString(m) } +func (*ServiceSelector) ProtoMessage() {} +func (*ServiceSelector) Descriptor() ([]byte, []int) { + return fileDescriptor_lane_031fa4e75520adba, []int{2} } - -func (x *ServiceSelector) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *ServiceSelector) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ServiceSelector.Unmarshal(m, b) } - -func (*ServiceSelector) ProtoMessage() {} - -func (x *ServiceSelector) ProtoReflect() protoreflect.Message { - mi := &file_lane_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) +func (m *ServiceSelector) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ServiceSelector.Marshal(b, m, deterministic) } - -// Deprecated: Use ServiceSelector.ProtoReflect.Descriptor instead. -func (*ServiceSelector) Descriptor() ([]byte, []int) { - return file_lane_proto_rawDescGZIP(), []int{2} +func (dst *ServiceSelector) XXX_Merge(src proto.Message) { + xxx_messageInfo_ServiceSelector.Merge(dst, src) +} +func (m *ServiceSelector) XXX_Size() int { + return xxx_messageInfo_ServiceSelector.Size(m) } +func (m *ServiceSelector) XXX_DiscardUnknown() { + xxx_messageInfo_ServiceSelector.DiscardUnknown(m) +} + +var xxx_messageInfo_ServiceSelector proto.InternalMessageInfo -func (x *ServiceSelector) GetNamespace() string { - if x != nil { - return x.Namespace +func (m *ServiceSelector) GetNamespace() string { + if m != nil { + return m.Namespace } return "" } -func (x *ServiceSelector) GetService() string { - if x != nil { - return x.Service +func (m *ServiceSelector) GetService() string { + if m != nil { + return m.Service } return "" } -func (x *ServiceSelector) GetLabels() map[string]*model.MatchString { - if x != nil { - return x.Labels +func (m *ServiceSelector) GetLabels() map[string]*model.MatchString { + if m != nil { + return m.Labels } return nil } // 泳道组实体定义 type LaneGroup struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // 泳道组 ID Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // 泳道组名称 @@ -336,189 +257,171 @@ type LaneGroup struct { // 泳道组标签信息 Metadata map[string]string `protobuf:"bytes,12,rep,name=metadata,proto3" json:"metadata,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // 操作标志位 - Editable bool `protobuf:"varint,20,opt,name=editable,proto3" json:"editable,omitempty"` - Deleteable bool `protobuf:"varint,21,opt,name=deleteable,proto3" json:"deleteable,omitempty"` + Editable bool `protobuf:"varint,20,opt,name=editable,proto3" json:"editable,omitempty"` + Deleteable bool `protobuf:"varint,21,opt,name=deleteable,proto3" json:"deleteable,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *LaneGroup) Reset() { - *x = LaneGroup{} - if protoimpl.UnsafeEnabled { - mi := &file_lane_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *LaneGroup) Reset() { *m = LaneGroup{} } +func (m *LaneGroup) String() string { return proto.CompactTextString(m) } +func (*LaneGroup) ProtoMessage() {} +func (*LaneGroup) Descriptor() ([]byte, []int) { + return fileDescriptor_lane_031fa4e75520adba, []int{3} } - -func (x *LaneGroup) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *LaneGroup) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_LaneGroup.Unmarshal(m, b) } - -func (*LaneGroup) ProtoMessage() {} - -func (x *LaneGroup) ProtoReflect() protoreflect.Message { - mi := &file_lane_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) +func (m *LaneGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_LaneGroup.Marshal(b, m, deterministic) } - -// Deprecated: Use LaneGroup.ProtoReflect.Descriptor instead. -func (*LaneGroup) Descriptor() ([]byte, []int) { - return file_lane_proto_rawDescGZIP(), []int{3} +func (dst *LaneGroup) XXX_Merge(src proto.Message) { + xxx_messageInfo_LaneGroup.Merge(dst, src) +} +func (m *LaneGroup) XXX_Size() int { + return xxx_messageInfo_LaneGroup.Size(m) +} +func (m *LaneGroup) XXX_DiscardUnknown() { + xxx_messageInfo_LaneGroup.DiscardUnknown(m) } -func (x *LaneGroup) GetId() string { - if x != nil { - return x.Id +var xxx_messageInfo_LaneGroup proto.InternalMessageInfo + +func (m *LaneGroup) GetId() string { + if m != nil { + return m.Id } return "" } -func (x *LaneGroup) GetName() string { - if x != nil { - return x.Name +func (m *LaneGroup) GetName() string { + if m != nil { + return m.Name } return "" } -func (x *LaneGroup) GetEntries() []*TrafficEntry { - if x != nil { - return x.Entries +func (m *LaneGroup) GetEntries() []*TrafficEntry { + if m != nil { + return m.Entries } return nil } -func (x *LaneGroup) GetDestinations() []*DestinationGroup { - if x != nil { - return x.Destinations +func (m *LaneGroup) GetDestinations() []*DestinationGroup { + if m != nil { + return m.Destinations } return nil } -func (x *LaneGroup) GetRevision() string { - if x != nil { - return x.Revision +func (m *LaneGroup) GetRevision() string { + if m != nil { + return m.Revision } return "" } -func (x *LaneGroup) GetDescription() string { - if x != nil { - return x.Description +func (m *LaneGroup) GetDescription() string { + if m != nil { + return m.Description } return "" } -func (x *LaneGroup) GetCtime() string { - if x != nil { - return x.Ctime +func (m *LaneGroup) GetCtime() string { + if m != nil { + return m.Ctime } return "" } -func (x *LaneGroup) GetMtime() string { - if x != nil { - return x.Mtime +func (m *LaneGroup) GetMtime() string { + if m != nil { + return m.Mtime } return "" } -func (x *LaneGroup) GetRules() []*LaneRule { - if x != nil { - return x.Rules +func (m *LaneGroup) GetRules() []*LaneRule { + if m != nil { + return m.Rules } return nil } -func (x *LaneGroup) GetMetadata() map[string]string { - if x != nil { - return x.Metadata +func (m *LaneGroup) GetMetadata() map[string]string { + if m != nil { + return m.Metadata } return nil } -func (x *LaneGroup) GetEditable() bool { - if x != nil { - return x.Editable +func (m *LaneGroup) GetEditable() bool { + if m != nil { + return m.Editable } return false } -func (x *LaneGroup) GetDeleteable() bool { - if x != nil { - return x.Deleteable +func (m *LaneGroup) GetDeleteable() bool { + if m != nil { + return m.Deleteable } return false } // TrafficMatchRule 流量匹配规则 type TrafficMatchRule struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // 流量匹配规则,判断哪些流量需要进入泳道 - Arguments []*SourceMatch `protobuf:"bytes,4,rep,name=arguments,proto3" json:"arguments,omitempty"` - MatchMode TrafficMatchRule_TrafficMatchMode `protobuf:"varint,14,opt,name=matchMode,proto3,enum=v1.TrafficMatchRule_TrafficMatchMode" json:"matchMode,omitempty"` + Arguments []*SourceMatch `protobuf:"bytes,4,rep,name=arguments,proto3" json:"arguments,omitempty"` + MatchMode TrafficMatchRule_TrafficMatchMode `protobuf:"varint,14,opt,name=matchMode,proto3,enum=v1.TrafficMatchRule_TrafficMatchMode" json:"matchMode,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *TrafficMatchRule) Reset() { - *x = TrafficMatchRule{} - if protoimpl.UnsafeEnabled { - mi := &file_lane_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *TrafficMatchRule) Reset() { *m = TrafficMatchRule{} } +func (m *TrafficMatchRule) String() string { return proto.CompactTextString(m) } +func (*TrafficMatchRule) ProtoMessage() {} +func (*TrafficMatchRule) Descriptor() ([]byte, []int) { + return fileDescriptor_lane_031fa4e75520adba, []int{4} } - -func (x *TrafficMatchRule) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *TrafficMatchRule) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_TrafficMatchRule.Unmarshal(m, b) } - -func (*TrafficMatchRule) ProtoMessage() {} - -func (x *TrafficMatchRule) ProtoReflect() protoreflect.Message { - mi := &file_lane_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) +func (m *TrafficMatchRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_TrafficMatchRule.Marshal(b, m, deterministic) } - -// Deprecated: Use TrafficMatchRule.ProtoReflect.Descriptor instead. -func (*TrafficMatchRule) Descriptor() ([]byte, []int) { - return file_lane_proto_rawDescGZIP(), []int{4} +func (dst *TrafficMatchRule) XXX_Merge(src proto.Message) { + xxx_messageInfo_TrafficMatchRule.Merge(dst, src) } +func (m *TrafficMatchRule) XXX_Size() int { + return xxx_messageInfo_TrafficMatchRule.Size(m) +} +func (m *TrafficMatchRule) XXX_DiscardUnknown() { + xxx_messageInfo_TrafficMatchRule.DiscardUnknown(m) +} + +var xxx_messageInfo_TrafficMatchRule proto.InternalMessageInfo -func (x *TrafficMatchRule) GetArguments() []*SourceMatch { - if x != nil { - return x.Arguments +func (m *TrafficMatchRule) GetArguments() []*SourceMatch { + if m != nil { + return m.Arguments } return nil } -func (x *TrafficMatchRule) GetMatchMode() TrafficMatchRule_TrafficMatchMode { - if x != nil { - return x.MatchMode +func (m *TrafficMatchRule) GetMatchMode() TrafficMatchRule_TrafficMatchMode { + if m != nil { + return m.MatchMode } return TrafficMatchRule_AND } // 泳道规则 type LaneRule struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // 所属泳道组的名称 @@ -542,402 +445,205 @@ type LaneRule struct { Priority uint32 `protobuf:"varint,12,opt,name=priority,proto3" json:"priority,omitempty"` // description simple description rules Description string `protobuf:"bytes,13,opt,name=description,proto3" json:"description,omitempty"` + // 属于该泳道的实例标签KEY,不填默认为lane + LabelKey string `protobuf:"bytes,14,opt,name=label_key,json=labelKey,proto3" json:"label_key,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *LaneRule) Reset() { - *x = LaneRule{} - if protoimpl.UnsafeEnabled { - mi := &file_lane_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *LaneRule) Reset() { *m = LaneRule{} } +func (m *LaneRule) String() string { return proto.CompactTextString(m) } +func (*LaneRule) ProtoMessage() {} +func (*LaneRule) Descriptor() ([]byte, []int) { + return fileDescriptor_lane_031fa4e75520adba, []int{5} } - -func (x *LaneRule) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *LaneRule) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_LaneRule.Unmarshal(m, b) } - -func (*LaneRule) ProtoMessage() {} - -func (x *LaneRule) ProtoReflect() protoreflect.Message { - mi := &file_lane_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) +func (m *LaneRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_LaneRule.Marshal(b, m, deterministic) } - -// Deprecated: Use LaneRule.ProtoReflect.Descriptor instead. -func (*LaneRule) Descriptor() ([]byte, []int) { - return file_lane_proto_rawDescGZIP(), []int{5} +func (dst *LaneRule) XXX_Merge(src proto.Message) { + xxx_messageInfo_LaneRule.Merge(dst, src) +} +func (m *LaneRule) XXX_Size() int { + return xxx_messageInfo_LaneRule.Size(m) } +func (m *LaneRule) XXX_DiscardUnknown() { + xxx_messageInfo_LaneRule.DiscardUnknown(m) +} + +var xxx_messageInfo_LaneRule proto.InternalMessageInfo -func (x *LaneRule) GetId() string { - if x != nil { - return x.Id +func (m *LaneRule) GetId() string { + if m != nil { + return m.Id } return "" } -func (x *LaneRule) GetName() string { - if x != nil { - return x.Name +func (m *LaneRule) GetName() string { + if m != nil { + return m.Name } return "" } -func (x *LaneRule) GetGroupName() string { - if x != nil { - return x.GroupName +func (m *LaneRule) GetGroupName() string { + if m != nil { + return m.GroupName } return "" } -func (x *LaneRule) GetTrafficMatchRule() *TrafficMatchRule { - if x != nil { - return x.TrafficMatchRule +func (m *LaneRule) GetTrafficMatchRule() *TrafficMatchRule { + if m != nil { + return m.TrafficMatchRule } return nil } -func (x *LaneRule) GetDefaultLabelValue() string { - if x != nil { - return x.DefaultLabelValue +func (m *LaneRule) GetDefaultLabelValue() string { + if m != nil { + return m.DefaultLabelValue } return "" } -func (x *LaneRule) GetEnable() bool { - if x != nil { - return x.Enable +func (m *LaneRule) GetEnable() bool { + if m != nil { + return m.Enable } return false } -func (x *LaneRule) GetMatchMode() LaneRule_LaneMatchMode { - if x != nil { - return x.MatchMode +func (m *LaneRule) GetMatchMode() LaneRule_LaneMatchMode { + if m != nil { + return m.MatchMode } return LaneRule_STRICT } -func (x *LaneRule) GetRevision() string { - if x != nil { - return x.Revision +func (m *LaneRule) GetRevision() string { + if m != nil { + return m.Revision } return "" } -func (x *LaneRule) GetCtime() string { - if x != nil { - return x.Ctime +func (m *LaneRule) GetCtime() string { + if m != nil { + return m.Ctime } return "" } -func (x *LaneRule) GetMtime() string { - if x != nil { - return x.Mtime +func (m *LaneRule) GetMtime() string { + if m != nil { + return m.Mtime } return "" } -func (x *LaneRule) GetEtime() string { - if x != nil { - return x.Etime +func (m *LaneRule) GetEtime() string { + if m != nil { + return m.Etime } return "" } -func (x *LaneRule) GetPriority() uint32 { - if x != nil { - return x.Priority +func (m *LaneRule) GetPriority() uint32 { + if m != nil { + return m.Priority } return 0 } -func (x *LaneRule) GetDescription() string { - if x != nil { - return x.Description +func (m *LaneRule) GetDescription() string { + if m != nil { + return m.Description } return "" } -var File_lane_proto protoreflect.FileDescriptor - -var file_lane_proto_rawDesc = []byte{ - 0x0a, 0x0a, 0x6c, 0x61, 0x6e, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x76, 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, 0x0b, 0x6d, 0x6f, 0x64, - 0x65, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0d, 0x72, 0x6f, 0x75, 0x74, 0x69, 0x6e, - 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x54, 0x0a, 0x0c, 0x54, 0x72, 0x61, 0x66, 0x66, - 0x69, 0x63, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x30, 0x0a, 0x08, 0x73, - 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, - 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, - 0x41, 0x6e, 0x79, 0x52, 0x08, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x22, 0xdc, 0x01, - 0x0a, 0x16, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x47, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, - 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x12, 0x1c, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, - 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6e, 0x61, 0x6d, - 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, - 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, - 0x12, 0x3e, 0x0a, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, - 0x32, 0x26, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x47, 0x61, 0x74, - 0x65, 0x77, 0x61, 0x79, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x2e, 0x4c, 0x61, 0x62, - 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, - 0x1a, 0x4a, 0x0a, 0x0b, 0x4c, 0x61, 0x62, 0x65, 0x6c, 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, 0x25, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x0f, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x53, 0x74, 0x72, 0x69, 0x6e, - 0x67, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xce, 0x01, 0x0a, - 0x0f, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, - 0x12, 0x1c, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x18, - 0x0a, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x37, 0x0a, 0x06, 0x6c, 0x61, 0x62, 0x65, - 0x6c, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, - 0x72, 0x76, 0x69, 0x63, 0x65, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x2e, 0x4c, 0x61, - 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, - 0x73, 0x1a, 0x4a, 0x0a, 0x0b, 0x4c, 0x61, 0x62, 0x65, 0x6c, 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, 0x25, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x0f, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x53, 0x74, 0x72, 0x69, - 0x6e, 0x67, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xd5, 0x03, - 0x0a, 0x09, 0x4c, 0x61, 0x6e, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x0e, 0x0a, 0x02, 0x69, - 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 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, - 0x2a, 0x0a, 0x07, 0x65, 0x6e, 0x74, 0x72, 0x69, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, - 0x32, 0x10, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x45, 0x6e, 0x74, - 0x72, 0x79, 0x52, 0x07, 0x65, 0x6e, 0x74, 0x72, 0x69, 0x65, 0x73, 0x12, 0x38, 0x0a, 0x0c, 0x64, - 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x14, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x0c, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, - 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, - 0x6e, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, - 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, - 0x69, 0x6f, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x09, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x05, 0x63, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x6d, 0x74, 0x69, - 0x6d, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6d, 0x74, 0x69, 0x6d, 0x65, 0x12, - 0x22, 0x0a, 0x05, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0c, - 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x61, 0x6e, 0x65, 0x52, 0x75, 0x6c, 0x65, 0x52, 0x05, 0x72, 0x75, - 0x6c, 0x65, 0x73, 0x12, 0x37, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, - 0x0c, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x61, 0x6e, 0x65, 0x47, - 0x72, 0x6f, 0x75, 0x70, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x45, 0x6e, 0x74, - 0x72, 0x79, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x1a, 0x0a, 0x08, - 0x65, 0x64, 0x69, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x14, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, - 0x65, 0x64, 0x69, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x64, 0x65, 0x6c, 0x65, - 0x74, 0x65, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x15, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x64, 0x65, - 0x6c, 0x65, 0x74, 0x65, 0x61, 0x62, 0x6c, 0x65, 0x1a, 0x3b, 0x0a, 0x0d, 0x4d, 0x65, 0x74, 0x61, - 0x64, 0x61, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, - 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, - 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xab, 0x01, 0x0a, 0x10, 0x54, 0x72, 0x61, 0x66, 0x66, 0x69, - 0x63, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x52, 0x75, 0x6c, 0x65, 0x12, 0x2d, 0x0a, 0x09, 0x61, 0x72, - 0x67, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0f, 0x2e, - 0x76, 0x31, 0x2e, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x52, 0x09, - 0x61, 0x72, 0x67, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x43, 0x0a, 0x09, 0x6d, 0x61, 0x74, - 0x63, 0x68, 0x4d, 0x6f, 0x64, 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x25, 0x2e, 0x76, - 0x31, 0x2e, 0x54, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x52, 0x75, - 0x6c, 0x65, 0x2e, 0x54, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x4d, - 0x6f, 0x64, 0x65, 0x52, 0x09, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x4d, 0x6f, 0x64, 0x65, 0x22, 0x23, - 0x0a, 0x10, 0x54, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x4d, 0x6f, - 0x64, 0x65, 0x12, 0x07, 0x0a, 0x03, 0x41, 0x4e, 0x44, 0x10, 0x00, 0x12, 0x06, 0x0a, 0x02, 0x4f, - 0x52, 0x10, 0x01, 0x22, 0xdd, 0x03, 0x0a, 0x08, 0x4c, 0x61, 0x6e, 0x65, 0x52, 0x75, 0x6c, 0x65, - 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 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, 0x1d, 0x0a, 0x0a, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x6e, 0x61, - 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x4e, - 0x61, 0x6d, 0x65, 0x12, 0x42, 0x0a, 0x12, 0x74, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x5f, 0x6d, - 0x61, 0x74, 0x63, 0x68, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x14, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x4d, 0x61, 0x74, 0x63, - 0x68, 0x52, 0x75, 0x6c, 0x65, 0x52, 0x10, 0x74, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x4d, 0x61, - 0x74, 0x63, 0x68, 0x52, 0x75, 0x6c, 0x65, 0x12, 0x2e, 0x0a, 0x13, 0x64, 0x65, 0x66, 0x61, 0x75, - 0x6c, 0x74, 0x5f, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x05, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x4c, 0x61, 0x62, - 0x65, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x65, 0x6e, 0x61, 0x62, 0x6c, - 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x12, - 0x39, 0x0a, 0x0a, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x07, 0x20, - 0x01, 0x28, 0x0e, 0x32, 0x1a, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x61, 0x6e, 0x65, 0x52, 0x75, 0x6c, - 0x65, 0x2e, 0x4c, 0x61, 0x6e, 0x65, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x4d, 0x6f, 0x64, 0x65, 0x52, - 0x09, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, - 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x72, 0x65, - 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x74, 0x69, 0x6d, 0x65, 0x18, - 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x63, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, - 0x6d, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6d, 0x74, 0x69, - 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x05, 0x65, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x69, 0x6f, - 0x72, 0x69, 0x74, 0x79, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x70, 0x72, 0x69, 0x6f, - 0x72, 0x69, 0x74, 0x79, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, - 0x69, 0x6f, 0x6e, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, - 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x2b, 0x0a, 0x0d, 0x4c, 0x61, 0x6e, 0x65, 0x4d, 0x61, - 0x74, 0x63, 0x68, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x0a, 0x0a, 0x06, 0x53, 0x54, 0x52, 0x49, 0x43, - 0x54, 0x10, 0x00, 0x12, 0x0e, 0x0a, 0x0a, 0x50, 0x45, 0x52, 0x4d, 0x49, 0x53, 0x53, 0x49, 0x56, - 0x45, 0x10, 0x01, 0x42, 0x8a, 0x01, 0x0a, 0x37, 0x63, 0x6f, 0x6d, 0x2e, 0x74, 0x65, 0x6e, 0x63, - 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x6f, 0x6c, 0x61, 0x72, 0x69, 0x73, 0x2e, 0x73, 0x70, 0x65, 0x63, - 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, - 0x2e, 0x74, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x2e, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x42, - 0x09, 0x4c, 0x61, 0x6e, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x5a, 0x44, 0x67, 0x69, 0x74, 0x68, - 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x6f, 0x6c, 0x61, 0x72, 0x69, 0x73, 0x6d, 0x65, - 0x73, 0x68, 0x2f, 0x73, 0x70, 0x65, 0x63, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x2f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2f, 0x67, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, - 0x31, 0x2f, 0x74, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x5f, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, - 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_lane_proto_rawDescOnce sync.Once - file_lane_proto_rawDescData = file_lane_proto_rawDesc -) +func (m *LaneRule) GetLabelKey() string { + if m != nil { + return m.LabelKey + } + return "" +} -func file_lane_proto_rawDescGZIP() []byte { - file_lane_proto_rawDescOnce.Do(func() { - file_lane_proto_rawDescData = protoimpl.X.CompressGZIP(file_lane_proto_rawDescData) - }) - return file_lane_proto_rawDescData -} - -var file_lane_proto_enumTypes = make([]protoimpl.EnumInfo, 2) -var file_lane_proto_msgTypes = make([]protoimpl.MessageInfo, 9) -var file_lane_proto_goTypes = []interface{}{ - (TrafficMatchRule_TrafficMatchMode)(0), // 0: v1.TrafficMatchRule.TrafficMatchMode - (LaneRule_LaneMatchMode)(0), // 1: v1.LaneRule.LaneMatchMode - (*TrafficEntry)(nil), // 2: v1.TrafficEntry - (*ServiceGatewaySelector)(nil), // 3: v1.ServiceGatewaySelector - (*ServiceSelector)(nil), // 4: v1.ServiceSelector - (*LaneGroup)(nil), // 5: v1.LaneGroup - (*TrafficMatchRule)(nil), // 6: v1.TrafficMatchRule - (*LaneRule)(nil), // 7: v1.LaneRule - nil, // 8: v1.ServiceGatewaySelector.LabelsEntry - nil, // 9: v1.ServiceSelector.LabelsEntry - nil, // 10: v1.LaneGroup.MetadataEntry - (*anypb.Any)(nil), // 11: google.protobuf.Any - (*DestinationGroup)(nil), // 12: v1.DestinationGroup - (*SourceMatch)(nil), // 13: v1.SourceMatch - (*model.MatchString)(nil), // 14: v1.MatchString -} -var file_lane_proto_depIdxs = []int32{ - 11, // 0: v1.TrafficEntry.selector:type_name -> google.protobuf.Any - 8, // 1: v1.ServiceGatewaySelector.labels:type_name -> v1.ServiceGatewaySelector.LabelsEntry - 9, // 2: v1.ServiceSelector.labels:type_name -> v1.ServiceSelector.LabelsEntry - 2, // 3: v1.LaneGroup.entries:type_name -> v1.TrafficEntry - 12, // 4: v1.LaneGroup.destinations:type_name -> v1.DestinationGroup - 7, // 5: v1.LaneGroup.rules:type_name -> v1.LaneRule - 10, // 6: v1.LaneGroup.metadata:type_name -> v1.LaneGroup.MetadataEntry - 13, // 7: v1.TrafficMatchRule.arguments:type_name -> v1.SourceMatch - 0, // 8: v1.TrafficMatchRule.matchMode:type_name -> v1.TrafficMatchRule.TrafficMatchMode - 6, // 9: v1.LaneRule.traffic_match_rule:type_name -> v1.TrafficMatchRule - 1, // 10: v1.LaneRule.match_mode:type_name -> v1.LaneRule.LaneMatchMode - 14, // 11: v1.ServiceGatewaySelector.LabelsEntry.value:type_name -> v1.MatchString - 14, // 12: v1.ServiceSelector.LabelsEntry.value:type_name -> v1.MatchString - 13, // [13:13] is the sub-list for method output_type - 13, // [13:13] is the sub-list for method input_type - 13, // [13:13] is the sub-list for extension type_name - 13, // [13:13] is the sub-list for extension extendee - 0, // [0:13] is the sub-list for field type_name -} - -func init() { file_lane_proto_init() } -func file_lane_proto_init() { - if File_lane_proto != nil { - return - } - file_routing_proto_init() - if !protoimpl.UnsafeEnabled { - file_lane_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TrafficEntry); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_lane_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ServiceGatewaySelector); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_lane_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ServiceSelector); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_lane_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*LaneGroup); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_lane_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TrafficMatchRule); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_lane_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*LaneRule); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_lane_proto_rawDesc, - NumEnums: 2, - NumMessages: 9, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_lane_proto_goTypes, - DependencyIndexes: file_lane_proto_depIdxs, - EnumInfos: file_lane_proto_enumTypes, - MessageInfos: file_lane_proto_msgTypes, - }.Build() - File_lane_proto = out.File - file_lane_proto_rawDesc = nil - file_lane_proto_goTypes = nil - file_lane_proto_depIdxs = nil +func init() { + proto.RegisterType((*TrafficEntry)(nil), "v1.TrafficEntry") + proto.RegisterType((*ServiceGatewaySelector)(nil), "v1.ServiceGatewaySelector") + proto.RegisterMapType((map[string]*model.MatchString)(nil), "v1.ServiceGatewaySelector.LabelsEntry") + proto.RegisterType((*ServiceSelector)(nil), "v1.ServiceSelector") + proto.RegisterMapType((map[string]*model.MatchString)(nil), "v1.ServiceSelector.LabelsEntry") + proto.RegisterType((*LaneGroup)(nil), "v1.LaneGroup") + proto.RegisterMapType((map[string]string)(nil), "v1.LaneGroup.MetadataEntry") + proto.RegisterType((*TrafficMatchRule)(nil), "v1.TrafficMatchRule") + proto.RegisterType((*LaneRule)(nil), "v1.LaneRule") + proto.RegisterEnum("v1.TrafficMatchRule_TrafficMatchMode", TrafficMatchRule_TrafficMatchMode_name, TrafficMatchRule_TrafficMatchMode_value) + proto.RegisterEnum("v1.LaneRule_LaneMatchMode", LaneRule_LaneMatchMode_name, LaneRule_LaneMatchMode_value) +} + +func init() { proto.RegisterFile("lane.proto", fileDescriptor_lane_031fa4e75520adba) } + +var fileDescriptor_lane_031fa4e75520adba = []byte{ + // 853 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x55, 0xcd, 0x8e, 0x1b, 0x45, + 0x10, 0xce, 0xd8, 0x6b, 0xaf, 0xa7, 0xfc, 0x13, 0xd3, 0x98, 0x68, 0x70, 0xf8, 0xb1, 0x8c, 0x82, + 0x2c, 0x10, 0x33, 0xec, 0x72, 0xd8, 0x00, 0x12, 0x52, 0x36, 0xbb, 0x8a, 0x16, 0xb2, 0x21, 0x1a, + 0xaf, 0x72, 0xe0, 0x62, 0xb5, 0x67, 0xca, 0xb3, 0x2d, 0xe6, 0x4f, 0x3d, 0x3d, 0x46, 0x7e, 0x05, + 0x5e, 0x85, 0x77, 0xe1, 0xc6, 0x8d, 0x27, 0xe1, 0x84, 0xba, 0x7a, 0x6c, 0x8f, 0x97, 0x3d, 0x80, + 0x90, 0x72, 0xeb, 0xfa, 0xbe, 0xea, 0xfa, 0xaf, 0x6e, 0x80, 0x98, 0xa7, 0xe8, 0xe6, 0x32, 0x53, + 0x19, 0x6b, 0xac, 0x4f, 0xc6, 0xef, 0x47, 0x59, 0x16, 0xc5, 0xe8, 0x11, 0xb2, 0x2c, 0x57, 0x1e, + 0x4f, 0x37, 0x86, 0x1e, 0x77, 0x93, 0x2c, 0xc4, 0xb8, 0x12, 0xfa, 0x32, 0x2b, 0x95, 0x48, 0x23, + 0x23, 0x4e, 0x6f, 0xa0, 0x77, 0x23, 0xf9, 0x6a, 0x25, 0x82, 0xcb, 0x54, 0xc9, 0x0d, 0x63, 0x70, + 0xa4, 0x36, 0x39, 0x3a, 0xd6, 0xc4, 0x9a, 0xd9, 0x3e, 0x9d, 0xd9, 0x97, 0xd0, 0x29, 0x30, 0xc6, + 0x40, 0x65, 0xd2, 0x69, 0x4c, 0xac, 0x59, 0xf7, 0x74, 0xe4, 0x1a, 0x6f, 0xee, 0xd6, 0x9b, 0xfb, + 0x2c, 0xdd, 0xf8, 0x3b, 0xad, 0xe9, 0x9f, 0x16, 0x3c, 0x9a, 0xa3, 0x5c, 0x8b, 0x00, 0x5f, 0x70, + 0x85, 0xbf, 0xf0, 0xcd, 0xbc, 0xa2, 0xd8, 0x07, 0x60, 0xa7, 0x3c, 0xc1, 0x22, 0xe7, 0xc1, 0xd6, + 0xcb, 0x1e, 0x60, 0x0e, 0x1c, 0x17, 0xe6, 0x1e, 0x79, 0xb2, 0xfd, 0xad, 0xc8, 0xbe, 0x83, 0x76, + 0xcc, 0x97, 0x18, 0x17, 0x4e, 0x73, 0xd2, 0x9c, 0x75, 0x4f, 0x3f, 0x75, 0xd7, 0x27, 0xee, 0xfd, + 0x3e, 0xdc, 0x97, 0xa4, 0x48, 0x09, 0xf9, 0xd5, 0xad, 0xf1, 0xf7, 0xd0, 0xad, 0xc1, 0x6c, 0x08, + 0xcd, 0x9f, 0x71, 0x53, 0x05, 0xa0, 0x8f, 0xec, 0x09, 0xb4, 0xd6, 0x3c, 0x2e, 0xb1, 0x4a, 0xf1, + 0xa1, 0xb6, 0x7f, 0xcd, 0x55, 0x70, 0x3b, 0x57, 0x52, 0xa4, 0x91, 0x6f, 0xd8, 0x6f, 0x1a, 0x4f, + 0xad, 0xe9, 0xef, 0x16, 0x3c, 0xac, 0x5c, 0xff, 0xef, 0xbc, 0xce, 0xee, 0xe4, 0xf5, 0x71, 0x2d, + 0xaf, 0xb7, 0x96, 0xd0, 0x1f, 0x4d, 0xb0, 0x5f, 0xf2, 0x14, 0x5f, 0xc8, 0xac, 0xcc, 0xd9, 0x00, + 0x1a, 0x22, 0xac, 0x2c, 0x35, 0x44, 0xa8, 0x67, 0x42, 0x67, 0x52, 0x45, 0x4e, 0x67, 0xf6, 0x19, + 0x1c, 0x63, 0xaa, 0xa4, 0xc0, 0x6d, 0xdc, 0x43, 0x6d, 0xbe, 0x3e, 0x4a, 0xfe, 0x56, 0x81, 0x3d, + 0x85, 0x5e, 0x88, 0x85, 0x12, 0x29, 0x57, 0x22, 0x4b, 0x0b, 0xe7, 0x88, 0x2e, 0x8c, 0xf4, 0x85, + 0x8b, 0x3d, 0x4e, 0xbe, 0xfd, 0x03, 0x4d, 0x36, 0x86, 0x8e, 0xc4, 0xb5, 0x28, 0x44, 0x96, 0x3a, + 0xc7, 0xe4, 0x7d, 0x27, 0xb3, 0x09, 0x74, 0x43, 0x2c, 0x02, 0x29, 0x72, 0xad, 0xeb, 0x74, 0x88, + 0xae, 0x43, 0x6c, 0x04, 0xad, 0x40, 0x89, 0x04, 0x1d, 0x9b, 0x38, 0x23, 0x68, 0x34, 0x21, 0x14, + 0x0c, 0x4a, 0x02, 0x9b, 0x42, 0x4b, 0x96, 0x31, 0x16, 0x4e, 0x97, 0x82, 0xeb, 0xe9, 0xe0, 0x74, + 0x45, 0xfc, 0x32, 0x46, 0xdf, 0x50, 0xec, 0x0c, 0x3a, 0x09, 0x2a, 0x1e, 0x72, 0xc5, 0x9d, 0x1e, + 0xa9, 0x3d, 0xde, 0xaa, 0x51, 0xf0, 0xee, 0x75, 0xc5, 0x9a, 0xfc, 0x77, 0xca, 0x3a, 0x0d, 0x0c, + 0x85, 0xe2, 0xcb, 0x18, 0x9d, 0xd1, 0xc4, 0x9a, 0x75, 0xfc, 0x9d, 0xcc, 0x3e, 0x02, 0x08, 0x31, + 0x46, 0x85, 0xc4, 0xbe, 0x47, 0x6c, 0x0d, 0x19, 0x7f, 0x0b, 0xfd, 0x03, 0xb3, 0xf7, 0x34, 0x7a, + 0x54, 0x6f, 0xb4, 0x5d, 0xef, 0xeb, 0x6f, 0x16, 0x0c, 0xab, 0x9e, 0x50, 0xe7, 0x75, 0x36, 0xec, + 0x0b, 0xb0, 0xb9, 0x8c, 0xca, 0x04, 0x53, 0xb5, 0xed, 0x05, 0xcd, 0xc6, 0x3c, 0x2b, 0x65, 0x80, + 0x46, 0x6f, 0xaf, 0xc1, 0x9e, 0x83, 0x9d, 0x68, 0xec, 0x3a, 0x0b, 0xd1, 0x19, 0x4c, 0xac, 0xd9, + 0xe0, 0xf4, 0x49, 0xad, 0xd7, 0x3b, 0xbb, 0x07, 0x80, 0x56, 0xf6, 0xf7, 0xf7, 0xa6, 0x9f, 0x1c, + 0xc6, 0xa1, 0x31, 0x76, 0x0c, 0xcd, 0x67, 0xaf, 0x2e, 0x86, 0x0f, 0x58, 0x1b, 0x1a, 0x3f, 0xfa, + 0x43, 0x6b, 0xfa, 0x57, 0x13, 0x3a, 0xdb, 0x9a, 0xff, 0xab, 0x21, 0xfc, 0x10, 0x20, 0xd2, 0x85, + 0x5f, 0x10, 0xd3, 0x34, 0x4b, 0x47, 0xc8, 0x2b, 0x4d, 0x9f, 0x03, 0x53, 0xc6, 0xe9, 0x82, 0x22, + 0x59, 0xe8, 0x36, 0x3a, 0x47, 0xd5, 0x0b, 0x76, 0x4f, 0x0a, 0xfe, 0x50, 0xdd, 0x2d, 0x96, 0x0b, + 0xef, 0x86, 0xb8, 0xe2, 0x65, 0xac, 0x16, 0xb4, 0x77, 0x0b, 0x53, 0xe9, 0x16, 0xf9, 0x7a, 0xa7, + 0xa2, 0x68, 0x0f, 0xdf, 0x68, 0x82, 0x3d, 0x82, 0x36, 0xa6, 0xd4, 0xca, 0x36, 0xb5, 0xb2, 0x92, + 0xd8, 0xd7, 0x00, 0x26, 0x06, 0xfd, 0x16, 0xd3, 0x2c, 0x0f, 0x4e, 0xc7, 0xf5, 0x21, 0xa3, 0xc3, + 0x7d, 0xb5, 0x3b, 0x58, 0x82, 0xce, 0x9d, 0x25, 0xf8, 0x2f, 0x23, 0x3e, 0x82, 0x16, 0x12, 0xda, + 0x35, 0x28, 0x09, 0xda, 0x7a, 0x2e, 0x45, 0x26, 0x85, 0xda, 0x38, 0xbd, 0x89, 0x35, 0xeb, 0xfb, + 0x3b, 0xf9, 0xee, 0x8a, 0xf5, 0xff, 0xb9, 0x62, 0x8f, 0xc1, 0x36, 0x65, 0xd1, 0x23, 0x39, 0x30, + 0xc1, 0x11, 0xf0, 0x03, 0x6e, 0xa6, 0x9f, 0x43, 0xff, 0x20, 0x29, 0x06, 0xd0, 0x9e, 0xdf, 0xf8, + 0x57, 0xcf, 0x6f, 0x86, 0x0f, 0xd8, 0x00, 0xe0, 0xf5, 0xa5, 0x7f, 0x7d, 0x35, 0x9f, 0x5f, 0xbd, + 0xb9, 0x1c, 0x5a, 0xe7, 0xbf, 0x5a, 0x70, 0x16, 0x64, 0x89, 0xab, 0x30, 0x0d, 0x30, 0x55, 0x6e, + 0x9e, 0xc5, 0x5c, 0x8a, 0xc2, 0x2d, 0x72, 0x0c, 0xc4, 0x4a, 0x04, 0xf4, 0x22, 0xb8, 0x3c, 0x17, + 0xba, 0x68, 0x55, 0x9b, 0xdc, 0x84, 0xa7, 0x3c, 0xc2, 0x73, 0x7a, 0xbb, 0x5e, 0xeb, 0xaf, 0xe8, + 0xa7, 0x8b, 0x48, 0xa8, 0xdb, 0x72, 0xe9, 0x06, 0x59, 0xe2, 0x55, 0x26, 0x12, 0x2c, 0x6e, 0xbd, + 0x03, 0x33, 0x5e, 0x41, 0xa3, 0xee, 0x45, 0x99, 0xc7, 0x73, 0xe1, 0xad, 0x4f, 0xbc, 0xfd, 0x9c, + 0x68, 0x83, 0xcb, 0x36, 0xfd, 0x6b, 0x5f, 0xfd, 0x1d, 0x00, 0x00, 0xff, 0xff, 0x35, 0xe8, 0x18, + 0x25, 0x65, 0x07, 0x00, 0x00, } diff --git a/source/go/api/v1/traffic_manage/lossless.pb.go b/source/go/api/v1/traffic_manage/lossless.pb.go index b8df606..1e38689 100644 --- a/source/go/api/v1/traffic_manage/lossless.pb.go +++ b/source/go/api/v1/traffic_manage/lossless.pb.go @@ -1,27 +1,22 @@ // Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.33.0 -// protoc v5.27.3 // source: lossless.proto -package traffic_manage +package traffic_manage // import "github.com/polarismesh/specification/source/go/api/v1/traffic_manage" -import ( - _ "github.com/polarismesh/specification/source/go/api/v1/model" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - _ "google.golang.org/protobuf/types/known/durationpb" - _ "google.golang.org/protobuf/types/known/wrapperspb" - reflect "reflect" - sync "sync" -) +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package type DelayRegister_DelayStrategy int32 @@ -32,51 +27,24 @@ const ( DelayRegister_DELAY_BY_HEALTH_CHECK DelayRegister_DelayStrategy = 1 ) -// Enum value maps for DelayRegister_DelayStrategy. -var ( - DelayRegister_DelayStrategy_name = map[int32]string{ - 0: "DELAY_BY_TIME", - 1: "DELAY_BY_HEALTH_CHECK", - } - DelayRegister_DelayStrategy_value = map[string]int32{ - "DELAY_BY_TIME": 0, - "DELAY_BY_HEALTH_CHECK": 1, - } -) - -func (x DelayRegister_DelayStrategy) Enum() *DelayRegister_DelayStrategy { - p := new(DelayRegister_DelayStrategy) - *p = x - return p -} - -func (x DelayRegister_DelayStrategy) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (DelayRegister_DelayStrategy) Descriptor() protoreflect.EnumDescriptor { - return file_lossless_proto_enumTypes[0].Descriptor() +var DelayRegister_DelayStrategy_name = map[int32]string{ + 0: "DELAY_BY_TIME", + 1: "DELAY_BY_HEALTH_CHECK", } - -func (DelayRegister_DelayStrategy) Type() protoreflect.EnumType { - return &file_lossless_proto_enumTypes[0] +var DelayRegister_DelayStrategy_value = map[string]int32{ + "DELAY_BY_TIME": 0, + "DELAY_BY_HEALTH_CHECK": 1, } -func (x DelayRegister_DelayStrategy) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) +func (x DelayRegister_DelayStrategy) String() string { + return proto.EnumName(DelayRegister_DelayStrategy_name, int32(x)) } - -// Deprecated: Use DelayRegister_DelayStrategy.Descriptor instead. func (DelayRegister_DelayStrategy) EnumDescriptor() ([]byte, []int) { - return file_lossless_proto_rawDescGZIP(), []int{2, 0} + return fileDescriptor_lossless_ade064d0b0043b42, []int{2, 0} } // 优雅上下线规则的模型 type LosslessRule struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // rule id Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // service for rule belongs to @@ -96,190 +64,172 @@ type LosslessRule struct { // rule labels Metadata map[string]string `protobuf:"bytes,9,rep,name=metadata,proto3" json:"metadata,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // 操作标志位 - Editable bool `protobuf:"varint,30,opt,name=editable,proto3" json:"editable,omitempty"` - Deleteable bool `protobuf:"varint,31,opt,name=deleteable,proto3" json:"deleteable,omitempty"` + Editable bool `protobuf:"varint,30,opt,name=editable,proto3" json:"editable,omitempty"` + Deleteable bool `protobuf:"varint,31,opt,name=deleteable,proto3" json:"deleteable,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *LosslessRule) Reset() { - *x = LosslessRule{} - if protoimpl.UnsafeEnabled { - mi := &file_lossless_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *LosslessRule) Reset() { *m = LosslessRule{} } +func (m *LosslessRule) String() string { return proto.CompactTextString(m) } +func (*LosslessRule) ProtoMessage() {} +func (*LosslessRule) Descriptor() ([]byte, []int) { + return fileDescriptor_lossless_ade064d0b0043b42, []int{0} } - -func (x *LosslessRule) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *LosslessRule) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_LosslessRule.Unmarshal(m, b) } - -func (*LosslessRule) ProtoMessage() {} - -func (x *LosslessRule) ProtoReflect() protoreflect.Message { - mi := &file_lossless_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *LosslessRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_LosslessRule.Marshal(b, m, deterministic) } - -// Deprecated: Use LosslessRule.ProtoReflect.Descriptor instead. -func (*LosslessRule) Descriptor() ([]byte, []int) { - return file_lossless_proto_rawDescGZIP(), []int{0} +func (dst *LosslessRule) XXX_Merge(src proto.Message) { + xxx_messageInfo_LosslessRule.Merge(dst, src) +} +func (m *LosslessRule) XXX_Size() int { + return xxx_messageInfo_LosslessRule.Size(m) +} +func (m *LosslessRule) XXX_DiscardUnknown() { + xxx_messageInfo_LosslessRule.DiscardUnknown(m) } -func (x *LosslessRule) GetId() string { - if x != nil { - return x.Id +var xxx_messageInfo_LosslessRule proto.InternalMessageInfo + +func (m *LosslessRule) GetId() string { + if m != nil { + return m.Id } return "" } -func (x *LosslessRule) GetService() string { - if x != nil { - return x.Service +func (m *LosslessRule) GetService() string { + if m != nil { + return m.Service } return "" } -func (x *LosslessRule) GetNamespace() string { - if x != nil { - return x.Namespace +func (m *LosslessRule) GetNamespace() string { + if m != nil { + return m.Namespace } return "" } -func (x *LosslessRule) GetRevision() string { - if x != nil { - return x.Revision +func (m *LosslessRule) GetRevision() string { + if m != nil { + return m.Revision } return "" } -func (x *LosslessRule) GetCtime() string { - if x != nil { - return x.Ctime +func (m *LosslessRule) GetCtime() string { + if m != nil { + return m.Ctime } return "" } -func (x *LosslessRule) GetMtime() string { - if x != nil { - return x.Mtime +func (m *LosslessRule) GetMtime() string { + if m != nil { + return m.Mtime } return "" } -func (x *LosslessRule) GetLosslessOnline() *LosslessOnline { - if x != nil { - return x.LosslessOnline +func (m *LosslessRule) GetLosslessOnline() *LosslessOnline { + if m != nil { + return m.LosslessOnline } return nil } -func (x *LosslessRule) GetLosslessOffline() *LosslessOffline { - if x != nil { - return x.LosslessOffline +func (m *LosslessRule) GetLosslessOffline() *LosslessOffline { + if m != nil { + return m.LosslessOffline } return nil } -func (x *LosslessRule) GetMetadata() map[string]string { - if x != nil { - return x.Metadata +func (m *LosslessRule) GetMetadata() map[string]string { + if m != nil { + return m.Metadata } return nil } -func (x *LosslessRule) GetEditable() bool { - if x != nil { - return x.Editable +func (m *LosslessRule) GetEditable() bool { + if m != nil { + return m.Editable } return false } -func (x *LosslessRule) GetDeleteable() bool { - if x != nil { - return x.Deleteable +func (m *LosslessRule) GetDeleteable() bool { + if m != nil { + return m.Deleteable } return false } type LosslessOnline struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // configuration for delayRegister DelayRegister *DelayRegister `protobuf:"bytes,1,opt,name=delayRegister,json=delay_register,proto3" json:"delayRegister,omitempty"` // configuration for warmup Warmup *Warmup `protobuf:"bytes,2,opt,name=warmup,proto3" json:"warmup,omitempty"` // configuration for readiness probe - Readiness *Readiness `protobuf:"bytes,3,opt,name=readiness,proto3" json:"readiness,omitempty"` + Readiness *Readiness `protobuf:"bytes,3,opt,name=readiness,proto3" json:"readiness,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *LosslessOnline) Reset() { - *x = LosslessOnline{} - if protoimpl.UnsafeEnabled { - mi := &file_lossless_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *LosslessOnline) Reset() { *m = LosslessOnline{} } +func (m *LosslessOnline) String() string { return proto.CompactTextString(m) } +func (*LosslessOnline) ProtoMessage() {} +func (*LosslessOnline) Descriptor() ([]byte, []int) { + return fileDescriptor_lossless_ade064d0b0043b42, []int{1} } - -func (x *LosslessOnline) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *LosslessOnline) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_LosslessOnline.Unmarshal(m, b) } - -func (*LosslessOnline) ProtoMessage() {} - -func (x *LosslessOnline) ProtoReflect() protoreflect.Message { - mi := &file_lossless_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *LosslessOnline) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_LosslessOnline.Marshal(b, m, deterministic) } - -// Deprecated: Use LosslessOnline.ProtoReflect.Descriptor instead. -func (*LosslessOnline) Descriptor() ([]byte, []int) { - return file_lossless_proto_rawDescGZIP(), []int{1} +func (dst *LosslessOnline) XXX_Merge(src proto.Message) { + xxx_messageInfo_LosslessOnline.Merge(dst, src) +} +func (m *LosslessOnline) XXX_Size() int { + return xxx_messageInfo_LosslessOnline.Size(m) +} +func (m *LosslessOnline) XXX_DiscardUnknown() { + xxx_messageInfo_LosslessOnline.DiscardUnknown(m) } -func (x *LosslessOnline) GetDelayRegister() *DelayRegister { - if x != nil { - return x.DelayRegister +var xxx_messageInfo_LosslessOnline proto.InternalMessageInfo + +func (m *LosslessOnline) GetDelayRegister() *DelayRegister { + if m != nil { + return m.DelayRegister } return nil } -func (x *LosslessOnline) GetWarmup() *Warmup { - if x != nil { - return x.Warmup +func (m *LosslessOnline) GetWarmup() *Warmup { + if m != nil { + return m.Warmup } return nil } -func (x *LosslessOnline) GetReadiness() *Readiness { - if x != nil { - return x.Readiness +func (m *LosslessOnline) GetReadiness() *Readiness { + if m != nil { + return m.Readiness } return nil } type DelayRegister struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // enable delay registry Enable bool `protobuf:"varint,1,opt,name=enable,proto3" json:"enable,omitempty"` // delay register strategy @@ -293,95 +243,86 @@ type DelayRegister struct { // path to do health check, no default value, active when strategy == DELAY_BY_HEALTH_CHECK HealthCheckPath string `protobuf:"bytes,6,opt,name=healthCheckPath,json=health_check_path,proto3" json:"healthCheckPath,omitempty"` // health check interval second, default is 30, active when strategy == DELAY_BY_HEALTH_CHECK - HealthCheckIntervalSecond string `protobuf:"bytes,7,opt,name=healthCheckIntervalSecond,json=health_check_interval_second,proto3" json:"healthCheckIntervalSecond,omitempty"` + HealthCheckIntervalSecond string `protobuf:"bytes,7,opt,name=healthCheckIntervalSecond,json=health_check_interval_second,proto3" json:"healthCheckIntervalSecond,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *DelayRegister) Reset() { - *x = DelayRegister{} - if protoimpl.UnsafeEnabled { - mi := &file_lossless_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *DelayRegister) Reset() { *m = DelayRegister{} } +func (m *DelayRegister) String() string { return proto.CompactTextString(m) } +func (*DelayRegister) ProtoMessage() {} +func (*DelayRegister) Descriptor() ([]byte, []int) { + return fileDescriptor_lossless_ade064d0b0043b42, []int{2} } - -func (x *DelayRegister) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *DelayRegister) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DelayRegister.Unmarshal(m, b) } - -func (*DelayRegister) ProtoMessage() {} - -func (x *DelayRegister) ProtoReflect() protoreflect.Message { - mi := &file_lossless_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) +func (m *DelayRegister) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DelayRegister.Marshal(b, m, deterministic) } - -// Deprecated: Use DelayRegister.ProtoReflect.Descriptor instead. -func (*DelayRegister) Descriptor() ([]byte, []int) { - return file_lossless_proto_rawDescGZIP(), []int{2} +func (dst *DelayRegister) XXX_Merge(src proto.Message) { + xxx_messageInfo_DelayRegister.Merge(dst, src) +} +func (m *DelayRegister) XXX_Size() int { + return xxx_messageInfo_DelayRegister.Size(m) } +func (m *DelayRegister) XXX_DiscardUnknown() { + xxx_messageInfo_DelayRegister.DiscardUnknown(m) +} + +var xxx_messageInfo_DelayRegister proto.InternalMessageInfo -func (x *DelayRegister) GetEnable() bool { - if x != nil { - return x.Enable +func (m *DelayRegister) GetEnable() bool { + if m != nil { + return m.Enable } return false } -func (x *DelayRegister) GetStrategy() DelayRegister_DelayStrategy { - if x != nil { - return x.Strategy +func (m *DelayRegister) GetStrategy() DelayRegister_DelayStrategy { + if m != nil { + return m.Strategy } return DelayRegister_DELAY_BY_TIME } -func (x *DelayRegister) GetIntervalSecond() int32 { - if x != nil { - return x.IntervalSecond +func (m *DelayRegister) GetIntervalSecond() int32 { + if m != nil { + return m.IntervalSecond } return 0 } -func (x *DelayRegister) GetHealthCheckProtocol() string { - if x != nil { - return x.HealthCheckProtocol +func (m *DelayRegister) GetHealthCheckProtocol() string { + if m != nil { + return m.HealthCheckProtocol } return "" } -func (x *DelayRegister) GetHealthCheckMethod() string { - if x != nil { - return x.HealthCheckMethod +func (m *DelayRegister) GetHealthCheckMethod() string { + if m != nil { + return m.HealthCheckMethod } return "" } -func (x *DelayRegister) GetHealthCheckPath() string { - if x != nil { - return x.HealthCheckPath +func (m *DelayRegister) GetHealthCheckPath() string { + if m != nil { + return m.HealthCheckPath } return "" } -func (x *DelayRegister) GetHealthCheckIntervalSecond() string { - if x != nil { - return x.HealthCheckIntervalSecond +func (m *DelayRegister) GetHealthCheckIntervalSecond() string { + if m != nil { + return m.HealthCheckIntervalSecond } return "" } type Warmup struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // enable warmup Enable bool `protobuf:"varint,1,opt,name=enable,proto3" json:"enable,omitempty"` // total warmup interval by second @@ -391,413 +332,210 @@ type Warmup struct { // the threshold to active overload protection, default is 50, threshld = sum(WarmupInstances)/sum(AllInstances)*100 OverloadProtectionThreshold int32 `protobuf:"varint,4,opt,name=overloadProtectionThreshold,json=overload_protection_threshold,proto3" json:"overloadProtectionThreshold,omitempty"` // curvature for warmup register, default is 1 - Curvature int32 `protobuf:"varint,5,opt,name=curvature,proto3" json:"curvature,omitempty"` + Curvature int32 `protobuf:"varint,5,opt,name=curvature,proto3" json:"curvature,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *Warmup) Reset() { - *x = Warmup{} - if protoimpl.UnsafeEnabled { - mi := &file_lossless_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *Warmup) Reset() { *m = Warmup{} } +func (m *Warmup) String() string { return proto.CompactTextString(m) } +func (*Warmup) ProtoMessage() {} +func (*Warmup) Descriptor() ([]byte, []int) { + return fileDescriptor_lossless_ade064d0b0043b42, []int{3} } - -func (x *Warmup) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *Warmup) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Warmup.Unmarshal(m, b) } - -func (*Warmup) ProtoMessage() {} - -func (x *Warmup) ProtoReflect() protoreflect.Message { - mi := &file_lossless_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) +func (m *Warmup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Warmup.Marshal(b, m, deterministic) } - -// Deprecated: Use Warmup.ProtoReflect.Descriptor instead. -func (*Warmup) Descriptor() ([]byte, []int) { - return file_lossless_proto_rawDescGZIP(), []int{3} +func (dst *Warmup) XXX_Merge(src proto.Message) { + xxx_messageInfo_Warmup.Merge(dst, src) +} +func (m *Warmup) XXX_Size() int { + return xxx_messageInfo_Warmup.Size(m) } +func (m *Warmup) XXX_DiscardUnknown() { + xxx_messageInfo_Warmup.DiscardUnknown(m) +} + +var xxx_messageInfo_Warmup proto.InternalMessageInfo -func (x *Warmup) GetEnable() bool { - if x != nil { - return x.Enable +func (m *Warmup) GetEnable() bool { + if m != nil { + return m.Enable } return false } -func (x *Warmup) GetIntervalSecond() int32 { - if x != nil { - return x.IntervalSecond +func (m *Warmup) GetIntervalSecond() int32 { + if m != nil { + return m.IntervalSecond } return 0 } -func (x *Warmup) GetEnableOverloadProtection() bool { - if x != nil { - return x.EnableOverloadProtection +func (m *Warmup) GetEnableOverloadProtection() bool { + if m != nil { + return m.EnableOverloadProtection } return false } -func (x *Warmup) GetOverloadProtectionThreshold() int32 { - if x != nil { - return x.OverloadProtectionThreshold +func (m *Warmup) GetOverloadProtectionThreshold() int32 { + if m != nil { + return m.OverloadProtectionThreshold } return 0 } -func (x *Warmup) GetCurvature() int32 { - if x != nil { - return x.Curvature +func (m *Warmup) GetCurvature() int32 { + if m != nil { + return m.Curvature } return 0 } type Readiness struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // enable /readiness expose - Enable bool `protobuf:"varint,1,opt,name=enable,proto3" json:"enable,omitempty"` + Enable bool `protobuf:"varint,1,opt,name=enable,proto3" json:"enable,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *Readiness) Reset() { - *x = Readiness{} - if protoimpl.UnsafeEnabled { - mi := &file_lossless_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *Readiness) Reset() { *m = Readiness{} } +func (m *Readiness) String() string { return proto.CompactTextString(m) } +func (*Readiness) ProtoMessage() {} +func (*Readiness) Descriptor() ([]byte, []int) { + return fileDescriptor_lossless_ade064d0b0043b42, []int{4} } - -func (x *Readiness) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *Readiness) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Readiness.Unmarshal(m, b) } - -func (*Readiness) ProtoMessage() {} - -func (x *Readiness) ProtoReflect() protoreflect.Message { - mi := &file_lossless_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) +func (m *Readiness) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Readiness.Marshal(b, m, deterministic) } - -// Deprecated: Use Readiness.ProtoReflect.Descriptor instead. -func (*Readiness) Descriptor() ([]byte, []int) { - return file_lossless_proto_rawDescGZIP(), []int{4} +func (dst *Readiness) XXX_Merge(src proto.Message) { + xxx_messageInfo_Readiness.Merge(dst, src) } +func (m *Readiness) XXX_Size() int { + return xxx_messageInfo_Readiness.Size(m) +} +func (m *Readiness) XXX_DiscardUnknown() { + xxx_messageInfo_Readiness.DiscardUnknown(m) +} + +var xxx_messageInfo_Readiness proto.InternalMessageInfo -func (x *Readiness) GetEnable() bool { - if x != nil { - return x.Enable +func (m *Readiness) GetEnable() bool { + if m != nil { + return m.Enable } return false } type LosslessOffline struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // enable /offline expose - Enable bool `protobuf:"varint,1,opt,name=enable,proto3" json:"enable,omitempty"` + Enable bool `protobuf:"varint,1,opt,name=enable,proto3" json:"enable,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *LosslessOffline) Reset() { - *x = LosslessOffline{} - if protoimpl.UnsafeEnabled { - mi := &file_lossless_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *LosslessOffline) Reset() { *m = LosslessOffline{} } +func (m *LosslessOffline) String() string { return proto.CompactTextString(m) } +func (*LosslessOffline) ProtoMessage() {} +func (*LosslessOffline) Descriptor() ([]byte, []int) { + return fileDescriptor_lossless_ade064d0b0043b42, []int{5} } - -func (x *LosslessOffline) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *LosslessOffline) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_LosslessOffline.Unmarshal(m, b) } - -func (*LosslessOffline) ProtoMessage() {} - -func (x *LosslessOffline) ProtoReflect() protoreflect.Message { - mi := &file_lossless_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) +func (m *LosslessOffline) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_LosslessOffline.Marshal(b, m, deterministic) } - -// Deprecated: Use LosslessOffline.ProtoReflect.Descriptor instead. -func (*LosslessOffline) Descriptor() ([]byte, []int) { - return file_lossless_proto_rawDescGZIP(), []int{5} +func (dst *LosslessOffline) XXX_Merge(src proto.Message) { + xxx_messageInfo_LosslessOffline.Merge(dst, src) +} +func (m *LosslessOffline) XXX_Size() int { + return xxx_messageInfo_LosslessOffline.Size(m) +} +func (m *LosslessOffline) XXX_DiscardUnknown() { + xxx_messageInfo_LosslessOffline.DiscardUnknown(m) } -func (x *LosslessOffline) GetEnable() bool { - if x != nil { - return x.Enable +var xxx_messageInfo_LosslessOffline proto.InternalMessageInfo + +func (m *LosslessOffline) GetEnable() bool { + if m != nil { + return m.Enable } return false } -var File_lossless_proto protoreflect.FileDescriptor - -var file_lossless_proto_rawDesc = []byte{ - 0x0a, 0x0e, 0x6c, 0x6f, 0x73, 0x73, 0x6c, 0x65, 0x73, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x12, 0x02, 0x76, 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, 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, 0x0b, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x22, 0xd0, 0x03, 0x0a, 0x0c, 0x4c, 0x6f, 0x73, 0x73, 0x6c, 0x65, 0x73, 0x73, 0x52, 0x75, - 0x6c, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, - 0x69, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x1c, 0x0a, 0x09, - 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, - 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x72, 0x65, - 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x74, 0x69, 0x6d, 0x65, 0x18, - 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x63, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, - 0x6d, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6d, 0x74, 0x69, - 0x6d, 0x65, 0x12, 0x3b, 0x0a, 0x0e, 0x6c, 0x6f, 0x73, 0x73, 0x6c, 0x65, 0x73, 0x73, 0x4f, 0x6e, - 0x6c, 0x69, 0x6e, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x76, 0x31, 0x2e, - 0x4c, 0x6f, 0x73, 0x73, 0x6c, 0x65, 0x73, 0x73, 0x4f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x52, 0x0f, - 0x6c, 0x6f, 0x73, 0x73, 0x6c, 0x65, 0x73, 0x73, 0x5f, 0x6f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x12, - 0x3e, 0x0a, 0x0f, 0x6c, 0x6f, 0x73, 0x73, 0x6c, 0x65, 0x73, 0x73, 0x4f, 0x66, 0x66, 0x6c, 0x69, - 0x6e, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x6f, - 0x73, 0x73, 0x6c, 0x65, 0x73, 0x73, 0x4f, 0x66, 0x66, 0x6c, 0x69, 0x6e, 0x65, 0x52, 0x10, 0x6c, - 0x6f, 0x73, 0x73, 0x6c, 0x65, 0x73, 0x73, 0x5f, 0x6f, 0x66, 0x66, 0x6c, 0x69, 0x6e, 0x65, 0x12, - 0x3a, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x09, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x1e, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x6f, 0x73, 0x73, 0x6c, 0x65, 0x73, 0x73, 0x52, - 0x75, 0x6c, 0x65, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, - 0x79, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x1a, 0x0a, 0x08, 0x65, - 0x64, 0x69, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x1e, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x65, - 0x64, 0x69, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x64, 0x65, 0x6c, 0x65, 0x74, - 0x65, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x1f, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x64, 0x65, 0x6c, - 0x65, 0x74, 0x65, 0x61, 0x62, 0x6c, 0x65, 0x1a, 0x3b, 0x0a, 0x0d, 0x4d, 0x65, 0x74, 0x61, 0x64, - 0x61, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, - 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, - 0x3a, 0x02, 0x38, 0x01, 0x22, 0x9b, 0x01, 0x0a, 0x0e, 0x4c, 0x6f, 0x73, 0x73, 0x6c, 0x65, 0x73, - 0x73, 0x4f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x12, 0x38, 0x0a, 0x0d, 0x64, 0x65, 0x6c, 0x61, 0x79, - 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, - 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x61, 0x79, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, - 0x72, 0x52, 0x0e, 0x64, 0x65, 0x6c, 0x61, 0x79, 0x5f, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, - 0x72, 0x12, 0x22, 0x0a, 0x06, 0x77, 0x61, 0x72, 0x6d, 0x75, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x0a, 0x2e, 0x76, 0x31, 0x2e, 0x57, 0x61, 0x72, 0x6d, 0x75, 0x70, 0x52, 0x06, 0x77, - 0x61, 0x72, 0x6d, 0x75, 0x70, 0x12, 0x2b, 0x0a, 0x09, 0x72, 0x65, 0x61, 0x64, 0x69, 0x6e, 0x65, - 0x73, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, - 0x61, 0x64, 0x69, 0x6e, 0x65, 0x73, 0x73, 0x52, 0x09, 0x72, 0x65, 0x61, 0x64, 0x69, 0x6e, 0x65, - 0x73, 0x73, 0x22, 0x9d, 0x03, 0x0a, 0x0d, 0x44, 0x65, 0x6c, 0x61, 0x79, 0x52, 0x65, 0x67, 0x69, - 0x73, 0x74, 0x65, 0x72, 0x12, 0x16, 0x0a, 0x06, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x3b, 0x0a, 0x08, - 0x73, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1f, - 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x61, 0x79, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, - 0x72, 0x2e, 0x44, 0x65, 0x6c, 0x61, 0x79, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x52, - 0x08, 0x73, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x12, 0x27, 0x0a, 0x0e, 0x69, 0x6e, 0x74, - 0x65, 0x72, 0x76, 0x61, 0x6c, 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x05, 0x52, 0x0f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x5f, 0x73, 0x65, 0x63, 0x6f, - 0x6e, 0x64, 0x12, 0x32, 0x0a, 0x13, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, - 0x6b, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x15, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x5f, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x5f, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x12, 0x2e, 0x0a, 0x11, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, - 0x43, 0x68, 0x65, 0x63, 0x6b, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x13, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x5f, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x5f, - 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x12, 0x2a, 0x0a, 0x0f, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, - 0x43, 0x68, 0x65, 0x63, 0x6b, 0x50, 0x61, 0x74, 0x68, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x11, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x5f, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x5f, 0x70, 0x61, - 0x74, 0x68, 0x12, 0x3f, 0x0a, 0x19, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, - 0x6b, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x18, - 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x1c, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x5f, 0x63, 0x68, - 0x65, 0x63, 0x6b, 0x5f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x5f, 0x73, 0x65, 0x63, - 0x6f, 0x6e, 0x64, 0x22, 0x3d, 0x0a, 0x0d, 0x44, 0x65, 0x6c, 0x61, 0x79, 0x53, 0x74, 0x72, 0x61, - 0x74, 0x65, 0x67, 0x79, 0x12, 0x11, 0x0a, 0x0d, 0x44, 0x45, 0x4c, 0x41, 0x59, 0x5f, 0x42, 0x59, - 0x5f, 0x54, 0x49, 0x4d, 0x45, 0x10, 0x00, 0x12, 0x19, 0x0a, 0x15, 0x44, 0x45, 0x4c, 0x41, 0x59, - 0x5f, 0x42, 0x59, 0x5f, 0x48, 0x45, 0x41, 0x4c, 0x54, 0x48, 0x5f, 0x43, 0x48, 0x45, 0x43, 0x4b, - 0x10, 0x01, 0x22, 0xe9, 0x01, 0x0a, 0x06, 0x57, 0x61, 0x72, 0x6d, 0x75, 0x70, 0x12, 0x16, 0x0a, - 0x06, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x65, - 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x27, 0x0a, 0x0e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, - 0x6c, 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0f, 0x69, - 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x5f, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x12, 0x3c, - 0x0a, 0x18, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x4f, 0x76, 0x65, 0x72, 0x6c, 0x6f, 0x61, 0x64, - 0x50, 0x72, 0x6f, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, - 0x52, 0x1a, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6f, 0x76, 0x65, 0x72, 0x6c, 0x6f, 0x61, - 0x64, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x42, 0x0a, 0x1b, - 0x6f, 0x76, 0x65, 0x72, 0x6c, 0x6f, 0x61, 0x64, 0x50, 0x72, 0x6f, 0x74, 0x65, 0x63, 0x74, 0x69, - 0x6f, 0x6e, 0x54, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, - 0x05, 0x52, 0x1d, 0x6f, 0x76, 0x65, 0x72, 0x6c, 0x6f, 0x61, 0x64, 0x5f, 0x70, 0x72, 0x6f, 0x74, - 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, - 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x75, 0x72, 0x76, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, 0x05, 0x20, - 0x01, 0x28, 0x05, 0x52, 0x09, 0x63, 0x75, 0x72, 0x76, 0x61, 0x74, 0x75, 0x72, 0x65, 0x22, 0x23, - 0x0a, 0x09, 0x52, 0x65, 0x61, 0x64, 0x69, 0x6e, 0x65, 0x73, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x65, - 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x65, 0x6e, 0x61, - 0x62, 0x6c, 0x65, 0x22, 0x29, 0x0a, 0x0f, 0x4c, 0x6f, 0x73, 0x73, 0x6c, 0x65, 0x73, 0x73, 0x4f, - 0x66, 0x66, 0x6c, 0x69, 0x6e, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x42, 0x8e, - 0x01, 0x0a, 0x37, 0x63, 0x6f, 0x6d, 0x2e, 0x74, 0x65, 0x6e, 0x63, 0x65, 0x6e, 0x74, 0x2e, 0x70, - 0x6f, 0x6c, 0x61, 0x72, 0x69, 0x73, 0x2e, 0x73, 0x70, 0x65, 0x63, 0x69, 0x66, 0x69, 0x63, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x74, 0x72, 0x61, 0x66, - 0x66, 0x69, 0x63, 0x2e, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x42, 0x0d, 0x4c, 0x6f, 0x73, 0x73, - 0x6c, 0x65, 0x73, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x5a, 0x44, 0x67, 0x69, 0x74, 0x68, 0x75, - 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x6f, 0x6c, 0x61, 0x72, 0x69, 0x73, 0x6d, 0x65, 0x73, - 0x68, 0x2f, 0x73, 0x70, 0x65, 0x63, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, - 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2f, 0x67, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, - 0x2f, 0x74, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x5f, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x62, - 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_lossless_proto_rawDescOnce sync.Once - file_lossless_proto_rawDescData = file_lossless_proto_rawDesc -) - -func file_lossless_proto_rawDescGZIP() []byte { - file_lossless_proto_rawDescOnce.Do(func() { - file_lossless_proto_rawDescData = protoimpl.X.CompressGZIP(file_lossless_proto_rawDescData) - }) - return file_lossless_proto_rawDescData -} - -var file_lossless_proto_enumTypes = make([]protoimpl.EnumInfo, 1) -var file_lossless_proto_msgTypes = make([]protoimpl.MessageInfo, 7) -var file_lossless_proto_goTypes = []interface{}{ - (DelayRegister_DelayStrategy)(0), // 0: v1.DelayRegister.DelayStrategy - (*LosslessRule)(nil), // 1: v1.LosslessRule - (*LosslessOnline)(nil), // 2: v1.LosslessOnline - (*DelayRegister)(nil), // 3: v1.DelayRegister - (*Warmup)(nil), // 4: v1.Warmup - (*Readiness)(nil), // 5: v1.Readiness - (*LosslessOffline)(nil), // 6: v1.LosslessOffline - nil, // 7: v1.LosslessRule.MetadataEntry -} -var file_lossless_proto_depIdxs = []int32{ - 2, // 0: v1.LosslessRule.losslessOnline:type_name -> v1.LosslessOnline - 6, // 1: v1.LosslessRule.losslessOffline:type_name -> v1.LosslessOffline - 7, // 2: v1.LosslessRule.metadata:type_name -> v1.LosslessRule.MetadataEntry - 3, // 3: v1.LosslessOnline.delayRegister:type_name -> v1.DelayRegister - 4, // 4: v1.LosslessOnline.warmup:type_name -> v1.Warmup - 5, // 5: v1.LosslessOnline.readiness:type_name -> v1.Readiness - 0, // 6: v1.DelayRegister.strategy:type_name -> v1.DelayRegister.DelayStrategy - 7, // [7:7] is the sub-list for method output_type - 7, // [7:7] is the sub-list for method input_type - 7, // [7:7] is the sub-list for extension type_name - 7, // [7:7] is the sub-list for extension extendee - 0, // [0:7] is the sub-list for field type_name -} - -func init() { file_lossless_proto_init() } -func file_lossless_proto_init() { - if File_lossless_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_lossless_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*LosslessRule); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_lossless_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*LosslessOnline); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_lossless_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DelayRegister); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_lossless_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Warmup); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_lossless_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Readiness); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_lossless_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*LosslessOffline); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_lossless_proto_rawDesc, - NumEnums: 1, - NumMessages: 7, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_lossless_proto_goTypes, - DependencyIndexes: file_lossless_proto_depIdxs, - EnumInfos: file_lossless_proto_enumTypes, - MessageInfos: file_lossless_proto_msgTypes, - }.Build() - File_lossless_proto = out.File - file_lossless_proto_rawDesc = nil - file_lossless_proto_goTypes = nil - file_lossless_proto_depIdxs = nil +func init() { + proto.RegisterType((*LosslessRule)(nil), "v1.LosslessRule") + proto.RegisterMapType((map[string]string)(nil), "v1.LosslessRule.MetadataEntry") + proto.RegisterType((*LosslessOnline)(nil), "v1.LosslessOnline") + proto.RegisterType((*DelayRegister)(nil), "v1.DelayRegister") + proto.RegisterType((*Warmup)(nil), "v1.Warmup") + proto.RegisterType((*Readiness)(nil), "v1.Readiness") + proto.RegisterType((*LosslessOffline)(nil), "v1.LosslessOffline") + proto.RegisterEnum("v1.DelayRegister_DelayStrategy", DelayRegister_DelayStrategy_name, DelayRegister_DelayStrategy_value) +} + +func init() { proto.RegisterFile("lossless.proto", fileDescriptor_lossless_ade064d0b0043b42) } + +var fileDescriptor_lossless_ade064d0b0043b42 = []byte{ + // 755 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x54, 0xdd, 0x6e, 0xdb, 0x36, + 0x14, 0x9e, 0xec, 0xd9, 0xb1, 0x8f, 0x67, 0xc7, 0x66, 0xd6, 0x41, 0xcd, 0xba, 0xd4, 0xd0, 0x2e, + 0xe6, 0x6d, 0x80, 0x8c, 0x78, 0x17, 0x2b, 0x9a, 0xfd, 0xa0, 0x4e, 0x0c, 0xa4, 0x98, 0x83, 0x0c, + 0x6a, 0x80, 0xa1, 0xbb, 0x11, 0x18, 0xea, 0xd8, 0x22, 0x2a, 0x89, 0x02, 0x49, 0x6b, 0xf0, 0x4b, + 0xec, 0x05, 0x86, 0xbd, 0xd3, 0x5e, 0x63, 0x6f, 0x51, 0x88, 0x92, 0x6c, 0xab, 0x69, 0xee, 0x74, + 0xbe, 0x9f, 0x43, 0xf2, 0xe3, 0x11, 0x61, 0x10, 0x09, 0xa5, 0x22, 0x54, 0xca, 0x4d, 0xa5, 0xd0, + 0x82, 0x34, 0xb2, 0x73, 0xe7, 0xbf, 0x26, 0x7c, 0xb6, 0x2c, 0x61, 0x6f, 0x13, 0x21, 0x19, 0x40, + 0x83, 0x07, 0xb6, 0x35, 0xb6, 0x26, 0x5d, 0xaf, 0xc1, 0x03, 0x62, 0xc3, 0x91, 0x42, 0x99, 0x71, + 0x86, 0x76, 0xc3, 0x80, 0x55, 0x49, 0x9e, 0x41, 0x37, 0xa1, 0x31, 0xaa, 0x94, 0x32, 0xb4, 0x9b, + 0x86, 0xdb, 0x03, 0xe4, 0x14, 0x3a, 0x12, 0x33, 0xae, 0xb8, 0x48, 0xec, 0x4f, 0x0d, 0xb9, 0xab, + 0xc9, 0xe7, 0xd0, 0x62, 0x9a, 0xc7, 0x68, 0xb7, 0x0c, 0x51, 0x14, 0x39, 0x1a, 0x1b, 0xb4, 0x5d, + 0xa0, 0xa6, 0x20, 0x17, 0xfb, 0x6d, 0xdf, 0x26, 0x11, 0x4f, 0xd0, 0x3e, 0x1a, 0x5b, 0x93, 0xde, + 0x8c, 0xb8, 0xd9, 0xb9, 0xbb, 0xac, 0x31, 0xde, 0x71, 0xa5, 0xf4, 0x85, 0x01, 0xc8, 0x2f, 0xb0, + 0x83, 0x6e, 0x57, 0x2b, 0xe3, 0xee, 0x18, 0xf7, 0x49, 0xcd, 0x5d, 0x50, 0xde, 0x70, 0x6f, 0x2f, + 0x10, 0xf2, 0x12, 0x3a, 0x31, 0x6a, 0x1a, 0x50, 0x4d, 0xed, 0xee, 0xb8, 0x39, 0xe9, 0xcd, 0xce, + 0x0e, 0x8d, 0x79, 0x60, 0xee, 0x4d, 0x29, 0x58, 0x24, 0x5a, 0x6e, 0xbd, 0x9d, 0x3e, 0x0f, 0x00, + 0x03, 0xae, 0xe9, 0x7d, 0x84, 0xf6, 0xd9, 0xd8, 0x9a, 0x74, 0xbc, 0x5d, 0x4d, 0xce, 0x00, 0x02, + 0x8c, 0x50, 0xa3, 0x61, 0x9f, 0x1b, 0xf6, 0x00, 0x39, 0xbd, 0x80, 0x7e, 0xad, 0x2d, 0x19, 0x42, + 0xf3, 0x1d, 0x6e, 0xcb, 0x6b, 0xc9, 0x3f, 0xf3, 0xb4, 0x32, 0x1a, 0x6d, 0xaa, 0x5b, 0x29, 0x8a, + 0x97, 0x8d, 0x17, 0x96, 0xf3, 0x8f, 0x05, 0x83, 0x7a, 0x30, 0xe4, 0x05, 0xf4, 0x03, 0x8c, 0xe8, + 0xd6, 0xc3, 0x35, 0x57, 0x1a, 0xa5, 0x69, 0xd4, 0x9b, 0x8d, 0xf2, 0xc3, 0x5c, 0x1d, 0x12, 0xde, + 0xc0, 0xe8, 0x7c, 0x59, 0xd6, 0xc4, 0x81, 0xf6, 0x5f, 0x54, 0xc6, 0x9b, 0xd4, 0xac, 0xd3, 0x9b, + 0x41, 0x6e, 0xf9, 0xc3, 0x20, 0x5e, 0xc9, 0x90, 0xef, 0xa1, 0x2b, 0x91, 0x06, 0x3c, 0x41, 0xa5, + 0xcc, 0x20, 0xf4, 0x66, 0xfd, 0x5c, 0xe6, 0x55, 0xa0, 0xb7, 0xe7, 0x9d, 0x7f, 0x9b, 0xd0, 0xaf, + 0x2d, 0x49, 0xbe, 0x80, 0x36, 0x26, 0x26, 0x08, 0xcb, 0x04, 0x51, 0x56, 0xe4, 0x02, 0x3a, 0x4a, + 0x4b, 0xaa, 0x71, 0xbd, 0x35, 0x8b, 0x0f, 0x66, 0xcf, 0x1f, 0xec, 0xb7, 0xa8, 0xde, 0x94, 0x32, + 0x6f, 0x67, 0x20, 0xdf, 0xc0, 0x80, 0x27, 0x1a, 0x65, 0x46, 0xa3, 0x37, 0xc8, 0x44, 0x12, 0x98, + 0x8d, 0xb5, 0xbc, 0xe3, 0x0a, 0xf5, 0x95, 0x81, 0xc9, 0x0c, 0x4e, 0x42, 0xa4, 0x91, 0x0e, 0x2f, + 0x43, 0x64, 0xef, 0x7e, 0xcf, 0x7f, 0x0c, 0x26, 0xa2, 0x72, 0x64, 0x9f, 0x14, 0x94, 0xcf, 0x72, + 0xce, 0x4f, 0x4b, 0x92, 0xb8, 0x30, 0x3a, 0xf0, 0xdc, 0xa0, 0x0e, 0x45, 0x50, 0xce, 0xf2, 0x49, + 0xcd, 0x11, 0x1b, 0x8a, 0x7c, 0x07, 0xc7, 0x87, 0x6b, 0x50, 0x1d, 0x96, 0x33, 0x3e, 0xaa, 0xf7, + 0xa7, 0x3a, 0x24, 0xbf, 0xc2, 0xd3, 0x03, 0xed, 0xeb, 0xfa, 0x19, 0x8e, 0x8c, 0xeb, 0x59, 0xcd, + 0xf5, 0xc1, 0x81, 0x9c, 0x9f, 0xcb, 0x7c, 0xab, 0x50, 0xc8, 0x08, 0xfa, 0x57, 0x8b, 0xe5, 0xab, + 0xb7, 0xfe, 0xfc, 0xad, 0x7f, 0xf7, 0xfa, 0x66, 0x31, 0xfc, 0x84, 0x3c, 0x85, 0x27, 0x3b, 0xe8, + 0x7a, 0xf1, 0x6a, 0x79, 0x77, 0xed, 0x5f, 0x5e, 0x2f, 0x2e, 0x7f, 0x1b, 0x5a, 0xce, 0xff, 0x16, + 0xb4, 0x8b, 0xfb, 0x7d, 0xf4, 0x62, 0x1e, 0x66, 0xdb, 0xf8, 0x78, 0xb6, 0x3f, 0x81, 0x5d, 0x58, + 0x6e, 0x33, 0x94, 0x91, 0xa0, 0x41, 0x1e, 0x2f, 0x32, 0x9d, 0xbf, 0x09, 0x4d, 0xd3, 0xf2, 0xb4, + 0xe0, 0x7d, 0x51, 0x0a, 0x4c, 0xc6, 0x85, 0x82, 0xcc, 0xe1, 0x4b, 0xf1, 0xc0, 0x77, 0x17, 0x4a, + 0x54, 0xa1, 0x88, 0x02, 0x73, 0x43, 0x2d, 0xef, 0xab, 0x8f, 0x38, 0x7d, 0x5d, 0x89, 0xf2, 0x37, + 0x8a, 0x6d, 0x64, 0x46, 0xf5, 0x46, 0x16, 0xaf, 0x4d, 0xcb, 0xdb, 0x03, 0xce, 0xd7, 0xd0, 0xdd, + 0xcd, 0xe8, 0x63, 0xa7, 0x75, 0xbe, 0x85, 0xe3, 0x0f, 0x1e, 0x8a, 0xc7, 0xa4, 0xf3, 0xbf, 0x2d, + 0xf8, 0x91, 0x89, 0xd8, 0xd5, 0x98, 0x30, 0x4c, 0xb4, 0x9b, 0x8a, 0x88, 0x4a, 0xae, 0x5c, 0x95, + 0x22, 0xe3, 0x2b, 0xce, 0x68, 0xbe, 0x3b, 0x97, 0xa6, 0x3c, 0x9f, 0x63, 0x2d, 0xe9, 0x6a, 0xc5, + 0x99, 0x1b, 0xd3, 0x84, 0xae, 0x71, 0xde, 0xaf, 0x16, 0x31, 0x23, 0xf8, 0xe7, 0xd5, 0x9a, 0xeb, + 0x70, 0x73, 0xef, 0x32, 0x11, 0x4f, 0xcb, 0x36, 0x31, 0xaa, 0x70, 0x5a, 0x6b, 0x35, 0x55, 0x62, + 0x23, 0x19, 0x4e, 0xd7, 0x62, 0x4a, 0x53, 0x3e, 0xcd, 0xce, 0xa7, 0x65, 0x53, 0xbf, 0x68, 0x7a, + 0xdf, 0x36, 0x23, 0xfb, 0xc3, 0xfb, 0x00, 0x00, 0x00, 0xff, 0xff, 0xbb, 0x5a, 0xd4, 0xbb, 0xfa, + 0x05, 0x00, 0x00, } diff --git a/source/go/api/v1/traffic_manage/ratelimit.pb.go b/source/go/api/v1/traffic_manage/ratelimit.pb.go index c72e2a3..36a60cc 100644 --- a/source/go/api/v1/traffic_manage/ratelimit.pb.go +++ b/source/go/api/v1/traffic_manage/ratelimit.pb.go @@ -1,27 +1,25 @@ // Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.33.0 -// protoc v5.27.3 // source: ratelimit.proto -package traffic_manage +package traffic_manage // import "github.com/polarismesh/specification/source/go/api/v1/traffic_manage" -import ( - model "github.com/polarismesh/specification/source/go/api/v1/model" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - durationpb "google.golang.org/protobuf/types/known/durationpb" - wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" - reflect "reflect" - sync "sync" -) +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import model "github.com/polarismesh/specification/source/go/api/v1/model" +import durationpb "google.golang.org/protobuf/types/known/durationpb" +import wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package // 限流资源 type Rule_Resource int32 @@ -33,43 +31,20 @@ const ( Rule_CONCURRENCY Rule_Resource = 1 ) -// Enum value maps for Rule_Resource. -var ( - Rule_Resource_name = map[int32]string{ - 0: "QPS", - 1: "CONCURRENCY", - } - Rule_Resource_value = map[string]int32{ - "QPS": 0, - "CONCURRENCY": 1, - } -) - -func (x Rule_Resource) Enum() *Rule_Resource { - p := new(Rule_Resource) - *p = x - return p -} - -func (x Rule_Resource) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +var Rule_Resource_name = map[int32]string{ + 0: "QPS", + 1: "CONCURRENCY", } - -func (Rule_Resource) Descriptor() protoreflect.EnumDescriptor { - return file_ratelimit_proto_enumTypes[0].Descriptor() -} - -func (Rule_Resource) Type() protoreflect.EnumType { - return &file_ratelimit_proto_enumTypes[0] +var Rule_Resource_value = map[string]int32{ + "QPS": 0, + "CONCURRENCY": 1, } -func (x Rule_Resource) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) +func (x Rule_Resource) String() string { + return proto.EnumName(Rule_Resource_name, int32(x)) } - -// Deprecated: Use Rule_Resource.Descriptor instead. func (Rule_Resource) EnumDescriptor() ([]byte, []int) { - return file_ratelimit_proto_rawDescGZIP(), []int{1, 0} + return fileDescriptor_ratelimit_383943a03f665998, []int{1, 0} } // 限流类型 @@ -81,137 +56,68 @@ const ( Rule_LOCAL Rule_Type = 1 ) -// Enum value maps for Rule_Type. -var ( - Rule_Type_name = map[int32]string{ - 0: "GLOBAL", - 1: "LOCAL", - } - Rule_Type_value = map[string]int32{ - "GLOBAL": 0, - "LOCAL": 1, - } -) - -func (x Rule_Type) Enum() *Rule_Type { - p := new(Rule_Type) - *p = x - return p +var Rule_Type_name = map[int32]string{ + 0: "GLOBAL", + 1: "LOCAL", } - -func (x Rule_Type) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +var Rule_Type_value = map[string]int32{ + "GLOBAL": 0, + "LOCAL": 1, } -func (Rule_Type) Descriptor() protoreflect.EnumDescriptor { - return file_ratelimit_proto_enumTypes[1].Descriptor() -} - -func (Rule_Type) Type() protoreflect.EnumType { - return &file_ratelimit_proto_enumTypes[1] -} - -func (x Rule_Type) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) +func (x Rule_Type) String() string { + return proto.EnumName(Rule_Type_name, int32(x)) } - -// Deprecated: Use Rule_Type.Descriptor instead. func (Rule_Type) EnumDescriptor() ([]byte, []int) { - return file_ratelimit_proto_rawDescGZIP(), []int{1, 1} + return fileDescriptor_ratelimit_383943a03f665998, []int{1, 1} } // 限流阈值模 type Rule_AmountMode int32 const ( - Rule_GLOBAL_TOTAL Rule_AmountMode = 0 // 总体阈值 - Rule_SHARE_EQUALLY Rule_AmountMode = 1 // 单机均摊阈值 -) - -// Enum value maps for Rule_AmountMode. -var ( - Rule_AmountMode_name = map[int32]string{ - 0: "GLOBAL_TOTAL", - 1: "SHARE_EQUALLY", - } - Rule_AmountMode_value = map[string]int32{ - "GLOBAL_TOTAL": 0, - "SHARE_EQUALLY": 1, - } + Rule_GLOBAL_TOTAL Rule_AmountMode = 0 + Rule_SHARE_EQUALLY Rule_AmountMode = 1 ) -func (x Rule_AmountMode) Enum() *Rule_AmountMode { - p := new(Rule_AmountMode) - *p = x - return p -} - -func (x Rule_AmountMode) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (Rule_AmountMode) Descriptor() protoreflect.EnumDescriptor { - return file_ratelimit_proto_enumTypes[2].Descriptor() +var Rule_AmountMode_name = map[int32]string{ + 0: "GLOBAL_TOTAL", + 1: "SHARE_EQUALLY", } - -func (Rule_AmountMode) Type() protoreflect.EnumType { - return &file_ratelimit_proto_enumTypes[2] +var Rule_AmountMode_value = map[string]int32{ + "GLOBAL_TOTAL": 0, + "SHARE_EQUALLY": 1, } -func (x Rule_AmountMode) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) +func (x Rule_AmountMode) String() string { + return proto.EnumName(Rule_AmountMode_name, int32(x)) } - -// Deprecated: Use Rule_AmountMode.Descriptor instead. func (Rule_AmountMode) EnumDescriptor() ([]byte, []int) { - return file_ratelimit_proto_rawDescGZIP(), []int{1, 2} + return fileDescriptor_ratelimit_383943a03f665998, []int{1, 2} } // 与限流集群连接失败时降级模式 type Rule_FailoverType int32 const ( - Rule_FAILOVER_LOCAL Rule_FailoverType = 0 // 降级成本地阈值 - Rule_FAILOVER_PASS Rule_FailoverType = 1 // 降级成直接通过 + Rule_FAILOVER_LOCAL Rule_FailoverType = 0 + Rule_FAILOVER_PASS Rule_FailoverType = 1 ) -// Enum value maps for Rule_FailoverType. -var ( - Rule_FailoverType_name = map[int32]string{ - 0: "FAILOVER_LOCAL", - 1: "FAILOVER_PASS", - } - Rule_FailoverType_value = map[string]int32{ - "FAILOVER_LOCAL": 0, - "FAILOVER_PASS": 1, - } -) - -func (x Rule_FailoverType) Enum() *Rule_FailoverType { - p := new(Rule_FailoverType) - *p = x - return p -} - -func (x Rule_FailoverType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +var Rule_FailoverType_name = map[int32]string{ + 0: "FAILOVER_LOCAL", + 1: "FAILOVER_PASS", } - -func (Rule_FailoverType) Descriptor() protoreflect.EnumDescriptor { - return file_ratelimit_proto_enumTypes[3].Descriptor() -} - -func (Rule_FailoverType) Type() protoreflect.EnumType { - return &file_ratelimit_proto_enumTypes[3] +var Rule_FailoverType_value = map[string]int32{ + "FAILOVER_LOCAL": 0, + "FAILOVER_PASS": 1, } -func (x Rule_FailoverType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) +func (x Rule_FailoverType) String() string { + return proto.EnumName(Rule_FailoverType_name, int32(x)) } - -// Deprecated: Use Rule_FailoverType.Descriptor instead. func (Rule_FailoverType) EnumDescriptor() ([]byte, []int) { - return file_ratelimit_proto_rawDescGZIP(), []int{1, 3} + return fileDescriptor_ratelimit_383943a03f665998, []int{1, 3} } // label type for gateway request @@ -234,119 +140,83 @@ const ( MatchArgument_CALLER_METADATA MatchArgument_Type = 6 ) -// Enum value maps for MatchArgument_Type. -var ( - MatchArgument_Type_name = map[int32]string{ - 0: "CUSTOM", - 1: "METHOD", - 2: "HEADER", - 3: "QUERY", - 4: "CALLER_SERVICE", - 5: "CALLER_IP", - 6: "CALLER_METADATA", - } - MatchArgument_Type_value = map[string]int32{ - "CUSTOM": 0, - "METHOD": 1, - "HEADER": 2, - "QUERY": 3, - "CALLER_SERVICE": 4, - "CALLER_IP": 5, - "CALLER_METADATA": 6, - } -) - -func (x MatchArgument_Type) Enum() *MatchArgument_Type { - p := new(MatchArgument_Type) - *p = x - return p +var MatchArgument_Type_name = map[int32]string{ + 0: "CUSTOM", + 1: "METHOD", + 2: "HEADER", + 3: "QUERY", + 4: "CALLER_SERVICE", + 5: "CALLER_IP", + 6: "CALLER_METADATA", +} +var MatchArgument_Type_value = map[string]int32{ + "CUSTOM": 0, + "METHOD": 1, + "HEADER": 2, + "QUERY": 3, + "CALLER_SERVICE": 4, + "CALLER_IP": 5, + "CALLER_METADATA": 6, } func (x MatchArgument_Type) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (MatchArgument_Type) Descriptor() protoreflect.EnumDescriptor { - return file_ratelimit_proto_enumTypes[4].Descriptor() -} - -func (MatchArgument_Type) Type() protoreflect.EnumType { - return &file_ratelimit_proto_enumTypes[4] + return proto.EnumName(MatchArgument_Type_name, int32(x)) } - -func (x MatchArgument_Type) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use MatchArgument_Type.Descriptor instead. func (MatchArgument_Type) EnumDescriptor() ([]byte, []int) { - return file_ratelimit_proto_rawDescGZIP(), []int{2, 0} + return fileDescriptor_ratelimit_383943a03f665998, []int{2, 0} } // 同一服务下限流规则集合 type RateLimit struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // 限流规则集合 Rules []*Rule `protobuf:"bytes,1,rep,name=rules,proto3" json:"rules,omitempty"` // 限流规则汇总的revision信息 - Revision *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"` + Revision *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *RateLimit) Reset() { - *x = RateLimit{} - if protoimpl.UnsafeEnabled { - mi := &file_ratelimit_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *RateLimit) Reset() { *m = RateLimit{} } +func (m *RateLimit) String() string { return proto.CompactTextString(m) } +func (*RateLimit) ProtoMessage() {} +func (*RateLimit) Descriptor() ([]byte, []int) { + return fileDescriptor_ratelimit_383943a03f665998, []int{0} } - -func (x *RateLimit) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *RateLimit) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RateLimit.Unmarshal(m, b) } - -func (*RateLimit) ProtoMessage() {} - -func (x *RateLimit) ProtoReflect() protoreflect.Message { - mi := &file_ratelimit_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *RateLimit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RateLimit.Marshal(b, m, deterministic) } - -// Deprecated: Use RateLimit.ProtoReflect.Descriptor instead. -func (*RateLimit) Descriptor() ([]byte, []int) { - return file_ratelimit_proto_rawDescGZIP(), []int{0} +func (dst *RateLimit) XXX_Merge(src proto.Message) { + xxx_messageInfo_RateLimit.Merge(dst, src) +} +func (m *RateLimit) XXX_Size() int { + return xxx_messageInfo_RateLimit.Size(m) } +func (m *RateLimit) XXX_DiscardUnknown() { + xxx_messageInfo_RateLimit.DiscardUnknown(m) +} + +var xxx_messageInfo_RateLimit proto.InternalMessageInfo -func (x *RateLimit) GetRules() []*Rule { - if x != nil { - return x.Rules +func (m *RateLimit) GetRules() []*Rule { + if m != nil { + return m.Rules } return nil } -func (x *RateLimit) GetRevision() *wrapperspb.StringValue { - if x != nil { - return x.Revision +func (m *RateLimit) GetRevision() *wrapperspb.StringValue { + if m != nil { + return m.Revision } return nil } // 单个限流规则信息 type Rule struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // 限流规则唯一标识 Id *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // 限流规则所属服务名 @@ -365,7 +235,7 @@ type Rule struct { // 可以有多个粒度的配置(比如同时针对秒级,分钟级,天级),匹配一个则进行限流 // 全局限流模式下,该值为服务配额总量;单机限流模式下,该值为单个节点能处理的配额量 Amounts []*Amount `protobuf:"bytes,9,rep,name=amounts,proto3" json:"amounts,omitempty"` - // 限流动作,对应着客户端的插件名字 + // 限流动作,和 resource 配合决定插件名称 Action *wrapperspb.StringValue `protobuf:"bytes,10,opt,name=action,proto3" json:"action,omitempty"` // 是否停用该限流规则,默认启用 Disable *wrapperspb.BoolValue `protobuf:"bytes,11,opt,name=disable,proto3" json:"disable,omitempty"` @@ -404,483 +274,438 @@ type Rule struct { // 限流规则标签数据 Metadata map[string]string `protobuf:"bytes,29,rep,name=metadata,proto3" json:"metadata,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // 操作标志位 - Editable bool `protobuf:"varint,30,opt,name=editable,proto3" json:"editable,omitempty"` - Deleteable bool `protobuf:"varint,31,opt,name=deleteable,proto3" json:"deleteable,omitempty"` + Editable bool `protobuf:"varint,30,opt,name=editable,proto3" json:"editable,omitempty"` + Deleteable bool `protobuf:"varint,31,opt,name=deleteable,proto3" json:"deleteable,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *Rule) Reset() { - *x = Rule{} - if protoimpl.UnsafeEnabled { - mi := &file_ratelimit_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *Rule) Reset() { *m = Rule{} } +func (m *Rule) String() string { return proto.CompactTextString(m) } +func (*Rule) ProtoMessage() {} +func (*Rule) Descriptor() ([]byte, []int) { + return fileDescriptor_ratelimit_383943a03f665998, []int{1} } - -func (x *Rule) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *Rule) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Rule.Unmarshal(m, b) } - -func (*Rule) ProtoMessage() {} - -func (x *Rule) ProtoReflect() protoreflect.Message { - mi := &file_ratelimit_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *Rule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Rule.Marshal(b, m, deterministic) } - -// Deprecated: Use Rule.ProtoReflect.Descriptor instead. -func (*Rule) Descriptor() ([]byte, []int) { - return file_ratelimit_proto_rawDescGZIP(), []int{1} +func (dst *Rule) XXX_Merge(src proto.Message) { + xxx_messageInfo_Rule.Merge(dst, src) +} +func (m *Rule) XXX_Size() int { + return xxx_messageInfo_Rule.Size(m) } +func (m *Rule) XXX_DiscardUnknown() { + xxx_messageInfo_Rule.DiscardUnknown(m) +} + +var xxx_messageInfo_Rule proto.InternalMessageInfo -func (x *Rule) GetId() *wrapperspb.StringValue { - if x != nil { - return x.Id +func (m *Rule) GetId() *wrapperspb.StringValue { + if m != nil { + return m.Id } return nil } -func (x *Rule) GetService() *wrapperspb.StringValue { - if x != nil { - return x.Service +func (m *Rule) GetService() *wrapperspb.StringValue { + if m != nil { + return m.Service } return nil } -func (x *Rule) GetNamespace() *wrapperspb.StringValue { - if x != nil { - return x.Namespace +func (m *Rule) GetNamespace() *wrapperspb.StringValue { + if m != nil { + return m.Namespace } return nil } -func (x *Rule) GetSubset() map[string]*model.MatchString { - if x != nil { - return x.Subset +func (m *Rule) GetSubset() map[string]*model.MatchString { + if m != nil { + return m.Subset } return nil } -func (x *Rule) GetPriority() *wrapperspb.UInt32Value { - if x != nil { - return x.Priority +func (m *Rule) GetPriority() *wrapperspb.UInt32Value { + if m != nil { + return m.Priority } return nil } -func (x *Rule) GetResource() Rule_Resource { - if x != nil { - return x.Resource +func (m *Rule) GetResource() Rule_Resource { + if m != nil { + return m.Resource } return Rule_QPS } -func (x *Rule) GetType() Rule_Type { - if x != nil { - return x.Type +func (m *Rule) GetType() Rule_Type { + if m != nil { + return m.Type } return Rule_GLOBAL } -func (x *Rule) GetLabels() map[string]*model.MatchString { - if x != nil { - return x.Labels +func (m *Rule) GetLabels() map[string]*model.MatchString { + if m != nil { + return m.Labels } return nil } -func (x *Rule) GetAmounts() []*Amount { - if x != nil { - return x.Amounts +func (m *Rule) GetAmounts() []*Amount { + if m != nil { + return m.Amounts } return nil } -func (x *Rule) GetAction() *wrapperspb.StringValue { - if x != nil { - return x.Action +func (m *Rule) GetAction() *wrapperspb.StringValue { + if m != nil { + return m.Action } return nil } -func (x *Rule) GetDisable() *wrapperspb.BoolValue { - if x != nil { - return x.Disable +func (m *Rule) GetDisable() *wrapperspb.BoolValue { + if m != nil { + return m.Disable } return nil } -func (x *Rule) GetReport() *Report { - if x != nil { - return x.Report +func (m *Rule) GetReport() *Report { + if m != nil { + return m.Report } return nil } -func (x *Rule) GetCtime() *wrapperspb.StringValue { - if x != nil { - return x.Ctime +func (m *Rule) GetCtime() *wrapperspb.StringValue { + if m != nil { + return m.Ctime } return nil } -func (x *Rule) GetMtime() *wrapperspb.StringValue { - if x != nil { - return x.Mtime +func (m *Rule) GetMtime() *wrapperspb.StringValue { + if m != nil { + return m.Mtime } return nil } -func (x *Rule) GetRevision() *wrapperspb.StringValue { - if x != nil { - return x.Revision +func (m *Rule) GetRevision() *wrapperspb.StringValue { + if m != nil { + return m.Revision } return nil } -func (x *Rule) GetServiceToken() *wrapperspb.StringValue { - if x != nil { - return x.ServiceToken +func (m *Rule) GetServiceToken() *wrapperspb.StringValue { + if m != nil { + return m.ServiceToken } return nil } -func (x *Rule) GetAdjuster() *AmountAdjuster { - if x != nil { - return x.Adjuster +func (m *Rule) GetAdjuster() *AmountAdjuster { + if m != nil { + return m.Adjuster } return nil } -func (x *Rule) GetRegexCombine() *wrapperspb.BoolValue { - if x != nil { - return x.RegexCombine +func (m *Rule) GetRegexCombine() *wrapperspb.BoolValue { + if m != nil { + return m.RegexCombine } return nil } -func (x *Rule) GetAmountMode() Rule_AmountMode { - if x != nil { - return x.AmountMode +func (m *Rule) GetAmountMode() Rule_AmountMode { + if m != nil { + return m.AmountMode } return Rule_GLOBAL_TOTAL } -func (x *Rule) GetFailover() Rule_FailoverType { - if x != nil { - return x.Failover +func (m *Rule) GetFailover() Rule_FailoverType { + if m != nil { + return m.Failover } return Rule_FAILOVER_LOCAL } -func (x *Rule) GetCluster() *RateLimitCluster { - if x != nil { - return x.Cluster +func (m *Rule) GetCluster() *RateLimitCluster { + if m != nil { + return m.Cluster } return nil } -func (x *Rule) GetMethod() *model.MatchString { - if x != nil { - return x.Method +func (m *Rule) GetMethod() *model.MatchString { + if m != nil { + return m.Method } return nil } -func (x *Rule) GetArguments() []*MatchArgument { - if x != nil { - return x.Arguments +func (m *Rule) GetArguments() []*MatchArgument { + if m != nil { + return m.Arguments } return nil } -func (x *Rule) GetName() *wrapperspb.StringValue { - if x != nil { - return x.Name +func (m *Rule) GetName() *wrapperspb.StringValue { + if m != nil { + return m.Name } return nil } -func (x *Rule) GetEtime() *wrapperspb.StringValue { - if x != nil { - return x.Etime +func (m *Rule) GetEtime() *wrapperspb.StringValue { + if m != nil { + return m.Etime } return nil } -func (x *Rule) GetMaxQueueDelay() *wrapperspb.UInt32Value { - if x != nil { - return x.MaxQueueDelay +func (m *Rule) GetMaxQueueDelay() *wrapperspb.UInt32Value { + if m != nil { + return m.MaxQueueDelay } return nil } -func (x *Rule) GetConcurrencyAmount() *ConcurrencyAmount { - if x != nil { - return x.ConcurrencyAmount +func (m *Rule) GetConcurrencyAmount() *ConcurrencyAmount { + if m != nil { + return m.ConcurrencyAmount } return nil } -func (x *Rule) GetCustomResponse() *CustomResponse { - if x != nil { - return x.CustomResponse +func (m *Rule) GetCustomResponse() *CustomResponse { + if m != nil { + return m.CustomResponse } return nil } -func (x *Rule) GetMetadata() map[string]string { - if x != nil { - return x.Metadata +func (m *Rule) GetMetadata() map[string]string { + if m != nil { + return m.Metadata } return nil } -func (x *Rule) GetEditable() bool { - if x != nil { - return x.Editable +func (m *Rule) GetEditable() bool { + if m != nil { + return m.Editable } return false } -func (x *Rule) GetDeleteable() bool { - if x != nil { - return x.Deleteable +func (m *Rule) GetDeleteable() bool { + if m != nil { + return m.Deleteable } return false } type MatchArgument struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - Type MatchArgument_Type `protobuf:"varint,1,opt,name=type,proto3,enum=v1.MatchArgument_Type" json:"type,omitempty"` // header key or query key Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` // header value or query value - Value *model.MatchString `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"` + Value *model.MatchString `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *MatchArgument) Reset() { - *x = MatchArgument{} - if protoimpl.UnsafeEnabled { - mi := &file_ratelimit_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *MatchArgument) Reset() { *m = MatchArgument{} } +func (m *MatchArgument) String() string { return proto.CompactTextString(m) } +func (*MatchArgument) ProtoMessage() {} +func (*MatchArgument) Descriptor() ([]byte, []int) { + return fileDescriptor_ratelimit_383943a03f665998, []int{2} } - -func (x *MatchArgument) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *MatchArgument) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MatchArgument.Unmarshal(m, b) } - -func (*MatchArgument) ProtoMessage() {} - -func (x *MatchArgument) ProtoReflect() protoreflect.Message { - mi := &file_ratelimit_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) +func (m *MatchArgument) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MatchArgument.Marshal(b, m, deterministic) } - -// Deprecated: Use MatchArgument.ProtoReflect.Descriptor instead. -func (*MatchArgument) Descriptor() ([]byte, []int) { - return file_ratelimit_proto_rawDescGZIP(), []int{2} +func (dst *MatchArgument) XXX_Merge(src proto.Message) { + xxx_messageInfo_MatchArgument.Merge(dst, src) +} +func (m *MatchArgument) XXX_Size() int { + return xxx_messageInfo_MatchArgument.Size(m) +} +func (m *MatchArgument) XXX_DiscardUnknown() { + xxx_messageInfo_MatchArgument.DiscardUnknown(m) } -func (x *MatchArgument) GetType() MatchArgument_Type { - if x != nil { - return x.Type +var xxx_messageInfo_MatchArgument proto.InternalMessageInfo + +func (m *MatchArgument) GetType() MatchArgument_Type { + if m != nil { + return m.Type } return MatchArgument_CUSTOM } -func (x *MatchArgument) GetKey() string { - if x != nil { - return x.Key +func (m *MatchArgument) GetKey() string { + if m != nil { + return m.Key } return "" } -func (x *MatchArgument) GetValue() *model.MatchString { - if x != nil { - return x.Value +func (m *MatchArgument) GetValue() *model.MatchString { + if m != nil { + return m.Value } return nil } // concurrency rate-limit amount config type ConcurrencyAmount struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - MaxAmount uint32 `protobuf:"varint,1,opt,name=maxAmount,json=max_amount,proto3" json:"maxAmount,omitempty"` + MaxAmount uint32 `protobuf:"varint,1,opt,name=maxAmount,json=max_amount,proto3" json:"maxAmount,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *ConcurrencyAmount) Reset() { - *x = ConcurrencyAmount{} - if protoimpl.UnsafeEnabled { - mi := &file_ratelimit_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *ConcurrencyAmount) Reset() { *m = ConcurrencyAmount{} } +func (m *ConcurrencyAmount) String() string { return proto.CompactTextString(m) } +func (*ConcurrencyAmount) ProtoMessage() {} +func (*ConcurrencyAmount) Descriptor() ([]byte, []int) { + return fileDescriptor_ratelimit_383943a03f665998, []int{3} } - -func (x *ConcurrencyAmount) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *ConcurrencyAmount) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ConcurrencyAmount.Unmarshal(m, b) } - -func (*ConcurrencyAmount) ProtoMessage() {} - -func (x *ConcurrencyAmount) ProtoReflect() protoreflect.Message { - mi := &file_ratelimit_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) +func (m *ConcurrencyAmount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ConcurrencyAmount.Marshal(b, m, deterministic) } - -// Deprecated: Use ConcurrencyAmount.ProtoReflect.Descriptor instead. -func (*ConcurrencyAmount) Descriptor() ([]byte, []int) { - return file_ratelimit_proto_rawDescGZIP(), []int{3} +func (dst *ConcurrencyAmount) XXX_Merge(src proto.Message) { + xxx_messageInfo_ConcurrencyAmount.Merge(dst, src) +} +func (m *ConcurrencyAmount) XXX_Size() int { + return xxx_messageInfo_ConcurrencyAmount.Size(m) } +func (m *ConcurrencyAmount) XXX_DiscardUnknown() { + xxx_messageInfo_ConcurrencyAmount.DiscardUnknown(m) +} + +var xxx_messageInfo_ConcurrencyAmount proto.InternalMessageInfo -func (x *ConcurrencyAmount) GetMaxAmount() uint32 { - if x != nil { - return x.MaxAmount +func (m *ConcurrencyAmount) GetMaxAmount() uint32 { + if m != nil { + return m.MaxAmount } return 0 } // custom response text when limited type CustomResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Body string `protobuf:"bytes,3,opt,name=body,proto3" json:"body,omitempty"` + Body string `protobuf:"bytes,3,opt,name=body,proto3" json:"body,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *CustomResponse) Reset() { - *x = CustomResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_ratelimit_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *CustomResponse) Reset() { *m = CustomResponse{} } +func (m *CustomResponse) String() string { return proto.CompactTextString(m) } +func (*CustomResponse) ProtoMessage() {} +func (*CustomResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_ratelimit_383943a03f665998, []int{4} } - -func (x *CustomResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *CustomResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CustomResponse.Unmarshal(m, b) } - -func (*CustomResponse) ProtoMessage() {} - -func (x *CustomResponse) ProtoReflect() protoreflect.Message { - mi := &file_ratelimit_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) +func (m *CustomResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CustomResponse.Marshal(b, m, deterministic) } - -// Deprecated: Use CustomResponse.ProtoReflect.Descriptor instead. -func (*CustomResponse) Descriptor() ([]byte, []int) { - return file_ratelimit_proto_rawDescGZIP(), []int{4} +func (dst *CustomResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_CustomResponse.Merge(dst, src) +} +func (m *CustomResponse) XXX_Size() int { + return xxx_messageInfo_CustomResponse.Size(m) } +func (m *CustomResponse) XXX_DiscardUnknown() { + xxx_messageInfo_CustomResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_CustomResponse proto.InternalMessageInfo -func (x *CustomResponse) GetBody() string { - if x != nil { - return x.Body +func (m *CustomResponse) GetBody() string { + if m != nil { + return m.Body } return "" } // 分布式限流服务集群 type RateLimitCluster struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - Service *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"` // 限流规则所属命名空间 - Namespace *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"` + Namespace *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *RateLimitCluster) Reset() { - *x = RateLimitCluster{} - if protoimpl.UnsafeEnabled { - mi := &file_ratelimit_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *RateLimitCluster) Reset() { *m = RateLimitCluster{} } +func (m *RateLimitCluster) String() string { return proto.CompactTextString(m) } +func (*RateLimitCluster) ProtoMessage() {} +func (*RateLimitCluster) Descriptor() ([]byte, []int) { + return fileDescriptor_ratelimit_383943a03f665998, []int{5} } - -func (x *RateLimitCluster) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *RateLimitCluster) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RateLimitCluster.Unmarshal(m, b) } - -func (*RateLimitCluster) ProtoMessage() {} - -func (x *RateLimitCluster) ProtoReflect() protoreflect.Message { - mi := &file_ratelimit_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) +func (m *RateLimitCluster) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RateLimitCluster.Marshal(b, m, deterministic) } - -// Deprecated: Use RateLimitCluster.ProtoReflect.Descriptor instead. -func (*RateLimitCluster) Descriptor() ([]byte, []int) { - return file_ratelimit_proto_rawDescGZIP(), []int{5} +func (dst *RateLimitCluster) XXX_Merge(src proto.Message) { + xxx_messageInfo_RateLimitCluster.Merge(dst, src) +} +func (m *RateLimitCluster) XXX_Size() int { + return xxx_messageInfo_RateLimitCluster.Size(m) +} +func (m *RateLimitCluster) XXX_DiscardUnknown() { + xxx_messageInfo_RateLimitCluster.DiscardUnknown(m) } -func (x *RateLimitCluster) GetService() *wrapperspb.StringValue { - if x != nil { - return x.Service +var xxx_messageInfo_RateLimitCluster proto.InternalMessageInfo + +func (m *RateLimitCluster) GetService() *wrapperspb.StringValue { + if m != nil { + return m.Service } return nil } -func (x *RateLimitCluster) GetNamespace() *wrapperspb.StringValue { - if x != nil { - return x.Namespace +func (m *RateLimitCluster) GetNamespace() *wrapperspb.StringValue { + if m != nil { + return m.Namespace } return nil } // 限流配额 type Amount struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // 时间周期内的最大配额数 MaxAmount *wrapperspb.UInt32Value `protobuf:"bytes,1,opt,name=maxAmount,proto3" json:"maxAmount,omitempty"` // 配额生效的时间周期,必须大于等于1s @@ -890,1353 +715,738 @@ type Amount struct { // 可选,起始限流阈值,爬坡起始值 StartAmount *wrapperspb.UInt32Value `protobuf:"bytes,4,opt,name=startAmount,proto3" json:"startAmount,omitempty"` // 可选,最小限流阈值,降低时最小值 - MinAmount *wrapperspb.UInt32Value `protobuf:"bytes,5,opt,name=minAmount,proto3" json:"minAmount,omitempty"` + MinAmount *wrapperspb.UInt32Value `protobuf:"bytes,5,opt,name=minAmount,proto3" json:"minAmount,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *Amount) Reset() { - *x = Amount{} - if protoimpl.UnsafeEnabled { - mi := &file_ratelimit_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *Amount) Reset() { *m = Amount{} } +func (m *Amount) String() string { return proto.CompactTextString(m) } +func (*Amount) ProtoMessage() {} +func (*Amount) Descriptor() ([]byte, []int) { + return fileDescriptor_ratelimit_383943a03f665998, []int{6} } - -func (x *Amount) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *Amount) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Amount.Unmarshal(m, b) } - -func (*Amount) ProtoMessage() {} - -func (x *Amount) ProtoReflect() protoreflect.Message { - mi := &file_ratelimit_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) +func (m *Amount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Amount.Marshal(b, m, deterministic) } - -// Deprecated: Use Amount.ProtoReflect.Descriptor instead. -func (*Amount) Descriptor() ([]byte, []int) { - return file_ratelimit_proto_rawDescGZIP(), []int{6} +func (dst *Amount) XXX_Merge(src proto.Message) { + xxx_messageInfo_Amount.Merge(dst, src) +} +func (m *Amount) XXX_Size() int { + return xxx_messageInfo_Amount.Size(m) } +func (m *Amount) XXX_DiscardUnknown() { + xxx_messageInfo_Amount.DiscardUnknown(m) +} + +var xxx_messageInfo_Amount proto.InternalMessageInfo -func (x *Amount) GetMaxAmount() *wrapperspb.UInt32Value { - if x != nil { - return x.MaxAmount +func (m *Amount) GetMaxAmount() *wrapperspb.UInt32Value { + if m != nil { + return m.MaxAmount } return nil } -func (x *Amount) GetValidDuration() *durationpb.Duration { - if x != nil { - return x.ValidDuration +func (m *Amount) GetValidDuration() *durationpb.Duration { + if m != nil { + return m.ValidDuration } return nil } -func (x *Amount) GetPrecision() *wrapperspb.UInt32Value { - if x != nil { - return x.Precision +func (m *Amount) GetPrecision() *wrapperspb.UInt32Value { + if m != nil { + return m.Precision } return nil } -func (x *Amount) GetStartAmount() *wrapperspb.UInt32Value { - if x != nil { - return x.StartAmount +func (m *Amount) GetStartAmount() *wrapperspb.UInt32Value { + if m != nil { + return m.StartAmount } return nil } -func (x *Amount) GetMinAmount() *wrapperspb.UInt32Value { - if x != nil { - return x.MinAmount +func (m *Amount) GetMinAmount() *wrapperspb.UInt32Value { + if m != nil { + return m.MinAmount } return nil } // 限流上报方式 type Report struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // 配额固定上报周期,单位毫秒 Interval *durationpb.Duration `protobuf:"bytes,1,opt,name=interval,proto3" json:"interval,omitempty"` // 使用了百分之多少配额后启动一次实时上报,值范围(0,100] - AmountPercent *wrapperspb.UInt32Value `protobuf:"bytes,2,opt,name=amountPercent,proto3" json:"amountPercent,omitempty"` + AmountPercent *wrapperspb.UInt32Value `protobuf:"bytes,2,opt,name=amountPercent,proto3" json:"amountPercent,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *Report) Reset() { - *x = Report{} - if protoimpl.UnsafeEnabled { - mi := &file_ratelimit_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *Report) Reset() { *m = Report{} } +func (m *Report) String() string { return proto.CompactTextString(m) } +func (*Report) ProtoMessage() {} +func (*Report) Descriptor() ([]byte, []int) { + return fileDescriptor_ratelimit_383943a03f665998, []int{7} } - -func (x *Report) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *Report) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Report.Unmarshal(m, b) } - -func (*Report) ProtoMessage() {} - -func (x *Report) ProtoReflect() protoreflect.Message { - mi := &file_ratelimit_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) +func (m *Report) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Report.Marshal(b, m, deterministic) } - -// Deprecated: Use Report.ProtoReflect.Descriptor instead. -func (*Report) Descriptor() ([]byte, []int) { - return file_ratelimit_proto_rawDescGZIP(), []int{7} +func (dst *Report) XXX_Merge(src proto.Message) { + xxx_messageInfo_Report.Merge(dst, src) +} +func (m *Report) XXX_Size() int { + return xxx_messageInfo_Report.Size(m) } +func (m *Report) XXX_DiscardUnknown() { + xxx_messageInfo_Report.DiscardUnknown(m) +} + +var xxx_messageInfo_Report proto.InternalMessageInfo -func (x *Report) GetInterval() *durationpb.Duration { - if x != nil { - return x.Interval +func (m *Report) GetInterval() *durationpb.Duration { + if m != nil { + return m.Interval } return nil } -func (x *Report) GetAmountPercent() *wrapperspb.UInt32Value { - if x != nil { - return x.AmountPercent +func (m *Report) GetAmountPercent() *wrapperspb.UInt32Value { + if m != nil { + return m.AmountPercent } return nil } // 配额调整算法 type AmountAdjuster struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Climb *ClimbConfig `protobuf:"bytes,1,opt,name=climb,proto3" json:"climb,omitempty"` + Climb *ClimbConfig `protobuf:"bytes,1,opt,name=climb,proto3" json:"climb,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *AmountAdjuster) Reset() { - *x = AmountAdjuster{} - if protoimpl.UnsafeEnabled { - mi := &file_ratelimit_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *AmountAdjuster) Reset() { *m = AmountAdjuster{} } +func (m *AmountAdjuster) String() string { return proto.CompactTextString(m) } +func (*AmountAdjuster) ProtoMessage() {} +func (*AmountAdjuster) Descriptor() ([]byte, []int) { + return fileDescriptor_ratelimit_383943a03f665998, []int{8} } - -func (x *AmountAdjuster) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *AmountAdjuster) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AmountAdjuster.Unmarshal(m, b) } - -func (*AmountAdjuster) ProtoMessage() {} - -func (x *AmountAdjuster) ProtoReflect() protoreflect.Message { - mi := &file_ratelimit_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) +func (m *AmountAdjuster) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AmountAdjuster.Marshal(b, m, deterministic) } - -// Deprecated: Use AmountAdjuster.ProtoReflect.Descriptor instead. -func (*AmountAdjuster) Descriptor() ([]byte, []int) { - return file_ratelimit_proto_rawDescGZIP(), []int{8} +func (dst *AmountAdjuster) XXX_Merge(src proto.Message) { + xxx_messageInfo_AmountAdjuster.Merge(dst, src) +} +func (m *AmountAdjuster) XXX_Size() int { + return xxx_messageInfo_AmountAdjuster.Size(m) +} +func (m *AmountAdjuster) XXX_DiscardUnknown() { + xxx_messageInfo_AmountAdjuster.DiscardUnknown(m) } -func (x *AmountAdjuster) GetClimb() *ClimbConfig { - if x != nil { - return x.Climb +var xxx_messageInfo_AmountAdjuster proto.InternalMessageInfo + +func (m *AmountAdjuster) GetClimb() *ClimbConfig { + if m != nil { + return m.Climb } return nil } // 限流调整算法Climb相关配置 type ClimbConfig struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Enable *wrapperspb.BoolValue `protobuf:"bytes,1,opt,name=enable,proto3" json:"enable,omitempty"` // 是否开启 - Metric *ClimbConfig_MetricConfig `protobuf:"bytes,2,opt,name=metric,proto3" json:"metric,omitempty"` // 限流数据统计配置 - Policy *ClimbConfig_TriggerPolicy `protobuf:"bytes,3,opt,name=policy,proto3" json:"policy,omitempty"` // 触发调整策略 - Throttling *ClimbConfig_ClimbThrottling `protobuf:"bytes,4,opt,name=throttling,proto3" json:"throttling,omitempty"` // 限流调整相关参数 + Enable *wrapperspb.BoolValue `protobuf:"bytes,1,opt,name=enable,proto3" json:"enable,omitempty"` + Metric *ClimbConfig_MetricConfig `protobuf:"bytes,2,opt,name=metric,proto3" json:"metric,omitempty"` + Policy *ClimbConfig_TriggerPolicy `protobuf:"bytes,3,opt,name=policy,proto3" json:"policy,omitempty"` + Throttling *ClimbConfig_ClimbThrottling `protobuf:"bytes,4,opt,name=throttling,proto3" json:"throttling,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ClimbConfig) Reset() { *m = ClimbConfig{} } +func (m *ClimbConfig) String() string { return proto.CompactTextString(m) } +func (*ClimbConfig) ProtoMessage() {} +func (*ClimbConfig) Descriptor() ([]byte, []int) { + return fileDescriptor_ratelimit_383943a03f665998, []int{9} } - -func (x *ClimbConfig) Reset() { - *x = ClimbConfig{} - if protoimpl.UnsafeEnabled { - mi := &file_ratelimit_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *ClimbConfig) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ClimbConfig.Unmarshal(m, b) } - -func (x *ClimbConfig) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *ClimbConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ClimbConfig.Marshal(b, m, deterministic) } - -func (*ClimbConfig) ProtoMessage() {} - -func (x *ClimbConfig) ProtoReflect() protoreflect.Message { - mi := &file_ratelimit_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (dst *ClimbConfig) XXX_Merge(src proto.Message) { + xxx_messageInfo_ClimbConfig.Merge(dst, src) } - -// Deprecated: Use ClimbConfig.ProtoReflect.Descriptor instead. -func (*ClimbConfig) Descriptor() ([]byte, []int) { - return file_ratelimit_proto_rawDescGZIP(), []int{9} +func (m *ClimbConfig) XXX_Size() int { + return xxx_messageInfo_ClimbConfig.Size(m) } +func (m *ClimbConfig) XXX_DiscardUnknown() { + xxx_messageInfo_ClimbConfig.DiscardUnknown(m) +} + +var xxx_messageInfo_ClimbConfig proto.InternalMessageInfo -func (x *ClimbConfig) GetEnable() *wrapperspb.BoolValue { - if x != nil { - return x.Enable +func (m *ClimbConfig) GetEnable() *wrapperspb.BoolValue { + if m != nil { + return m.Enable } return nil } -func (x *ClimbConfig) GetMetric() *ClimbConfig_MetricConfig { - if x != nil { - return x.Metric +func (m *ClimbConfig) GetMetric() *ClimbConfig_MetricConfig { + if m != nil { + return m.Metric } return nil } -func (x *ClimbConfig) GetPolicy() *ClimbConfig_TriggerPolicy { - if x != nil { - return x.Policy +func (m *ClimbConfig) GetPolicy() *ClimbConfig_TriggerPolicy { + if m != nil { + return m.Policy } return nil } -func (x *ClimbConfig) GetThrottling() *ClimbConfig_ClimbThrottling { - if x != nil { - return x.Throttling +func (m *ClimbConfig) GetThrottling() *ClimbConfig_ClimbThrottling { + if m != nil { + return m.Throttling } return nil } // 限流数据统计配置 type ClimbConfig_MetricConfig struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // 限流数据度量周期,默认60s Window *durationpb.Duration `protobuf:"bytes,1,opt,name=window,proto3" json:"window,omitempty"` // 数据统计精度,决定数据度量的最小周期,度量滑窗的步长=window/precision Precision *wrapperspb.UInt32Value `protobuf:"bytes,2,opt,name=precision,proto3" json:"precision,omitempty"` // 上报周期,默认20s - ReportInterval *durationpb.Duration `protobuf:"bytes,3,opt,name=reportInterval,proto3" json:"reportInterval,omitempty"` + ReportInterval *durationpb.Duration `protobuf:"bytes,3,opt,name=reportInterval,proto3" json:"reportInterval,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *ClimbConfig_MetricConfig) Reset() { - *x = ClimbConfig_MetricConfig{} - if protoimpl.UnsafeEnabled { - mi := &file_ratelimit_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *ClimbConfig_MetricConfig) Reset() { *m = ClimbConfig_MetricConfig{} } +func (m *ClimbConfig_MetricConfig) String() string { return proto.CompactTextString(m) } +func (*ClimbConfig_MetricConfig) ProtoMessage() {} +func (*ClimbConfig_MetricConfig) Descriptor() ([]byte, []int) { + return fileDescriptor_ratelimit_383943a03f665998, []int{9, 0} } - -func (x *ClimbConfig_MetricConfig) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *ClimbConfig_MetricConfig) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ClimbConfig_MetricConfig.Unmarshal(m, b) } - -func (*ClimbConfig_MetricConfig) ProtoMessage() {} - -func (x *ClimbConfig_MetricConfig) ProtoReflect() protoreflect.Message { - mi := &file_ratelimit_proto_msgTypes[13] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *ClimbConfig_MetricConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ClimbConfig_MetricConfig.Marshal(b, m, deterministic) } - -// Deprecated: Use ClimbConfig_MetricConfig.ProtoReflect.Descriptor instead. -func (*ClimbConfig_MetricConfig) Descriptor() ([]byte, []int) { - return file_ratelimit_proto_rawDescGZIP(), []int{9, 0} +func (dst *ClimbConfig_MetricConfig) XXX_Merge(src proto.Message) { + xxx_messageInfo_ClimbConfig_MetricConfig.Merge(dst, src) +} +func (m *ClimbConfig_MetricConfig) XXX_Size() int { + return xxx_messageInfo_ClimbConfig_MetricConfig.Size(m) } +func (m *ClimbConfig_MetricConfig) XXX_DiscardUnknown() { + xxx_messageInfo_ClimbConfig_MetricConfig.DiscardUnknown(m) +} + +var xxx_messageInfo_ClimbConfig_MetricConfig proto.InternalMessageInfo -func (x *ClimbConfig_MetricConfig) GetWindow() *durationpb.Duration { - if x != nil { - return x.Window +func (m *ClimbConfig_MetricConfig) GetWindow() *durationpb.Duration { + if m != nil { + return m.Window } return nil } -func (x *ClimbConfig_MetricConfig) GetPrecision() *wrapperspb.UInt32Value { - if x != nil { - return x.Precision +func (m *ClimbConfig_MetricConfig) GetPrecision() *wrapperspb.UInt32Value { + if m != nil { + return m.Precision } return nil } -func (x *ClimbConfig_MetricConfig) GetReportInterval() *durationpb.Duration { - if x != nil { - return x.ReportInterval +func (m *ClimbConfig_MetricConfig) GetReportInterval() *durationpb.Duration { + if m != nil { + return m.ReportInterval } return nil } // 触发调整的策略 type ClimbConfig_TriggerPolicy struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ErrorRate *ClimbConfig_TriggerPolicy_ErrorRate `protobuf:"bytes,1,opt,name=errorRate,proto3" json:"errorRate,omitempty"` // 按错误率阈值调整 - SlowRate *ClimbConfig_TriggerPolicy_SlowRate `protobuf:"bytes,2,opt,name=slowRate,proto3" json:"slowRate,omitempty"` // 慢调用进行触发调整 + ErrorRate *ClimbConfig_TriggerPolicy_ErrorRate `protobuf:"bytes,1,opt,name=errorRate,proto3" json:"errorRate,omitempty"` + SlowRate *ClimbConfig_TriggerPolicy_SlowRate `protobuf:"bytes,2,opt,name=slowRate,proto3" json:"slowRate,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *ClimbConfig_TriggerPolicy) Reset() { - *x = ClimbConfig_TriggerPolicy{} - if protoimpl.UnsafeEnabled { - mi := &file_ratelimit_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *ClimbConfig_TriggerPolicy) Reset() { *m = ClimbConfig_TriggerPolicy{} } +func (m *ClimbConfig_TriggerPolicy) String() string { return proto.CompactTextString(m) } +func (*ClimbConfig_TriggerPolicy) ProtoMessage() {} +func (*ClimbConfig_TriggerPolicy) Descriptor() ([]byte, []int) { + return fileDescriptor_ratelimit_383943a03f665998, []int{9, 1} } - -func (x *ClimbConfig_TriggerPolicy) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *ClimbConfig_TriggerPolicy) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ClimbConfig_TriggerPolicy.Unmarshal(m, b) } - -func (*ClimbConfig_TriggerPolicy) ProtoMessage() {} - -func (x *ClimbConfig_TriggerPolicy) ProtoReflect() protoreflect.Message { - mi := &file_ratelimit_proto_msgTypes[14] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *ClimbConfig_TriggerPolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ClimbConfig_TriggerPolicy.Marshal(b, m, deterministic) } - -// Deprecated: Use ClimbConfig_TriggerPolicy.ProtoReflect.Descriptor instead. -func (*ClimbConfig_TriggerPolicy) Descriptor() ([]byte, []int) { - return file_ratelimit_proto_rawDescGZIP(), []int{9, 1} +func (dst *ClimbConfig_TriggerPolicy) XXX_Merge(src proto.Message) { + xxx_messageInfo_ClimbConfig_TriggerPolicy.Merge(dst, src) +} +func (m *ClimbConfig_TriggerPolicy) XXX_Size() int { + return xxx_messageInfo_ClimbConfig_TriggerPolicy.Size(m) +} +func (m *ClimbConfig_TriggerPolicy) XXX_DiscardUnknown() { + xxx_messageInfo_ClimbConfig_TriggerPolicy.DiscardUnknown(m) } -func (x *ClimbConfig_TriggerPolicy) GetErrorRate() *ClimbConfig_TriggerPolicy_ErrorRate { - if x != nil { - return x.ErrorRate +var xxx_messageInfo_ClimbConfig_TriggerPolicy proto.InternalMessageInfo + +func (m *ClimbConfig_TriggerPolicy) GetErrorRate() *ClimbConfig_TriggerPolicy_ErrorRate { + if m != nil { + return m.ErrorRate } return nil } -func (x *ClimbConfig_TriggerPolicy) GetSlowRate() *ClimbConfig_TriggerPolicy_SlowRate { - if x != nil { - return x.SlowRate +func (m *ClimbConfig_TriggerPolicy) GetSlowRate() *ClimbConfig_TriggerPolicy_SlowRate { + if m != nil { + return m.SlowRate } return nil } -// 爬坡调整相关参数 -type ClimbConfig_ClimbThrottling struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ColdBelowTuneDownRate *wrapperspb.Int32Value `protobuf:"bytes,1,opt,name=coldBelowTuneDownRate,proto3" json:"coldBelowTuneDownRate,omitempty"` // 冷水位以下区间的下调百分比 - ColdBelowTuneUpRate *wrapperspb.Int32Value `protobuf:"bytes,2,opt,name=coldBelowTuneUpRate,proto3" json:"coldBelowTuneUpRate,omitempty"` // 冷水位以下区间的上调百分比 - ColdAboveTuneDownRate *wrapperspb.Int32Value `protobuf:"bytes,3,opt,name=coldAboveTuneDownRate,proto3" json:"coldAboveTuneDownRate,omitempty"` // 冷水位以上区间的下调百分比 - ColdAboveTuneUpRate *wrapperspb.Int32Value `protobuf:"bytes,4,opt,name=coldAboveTuneUpRate,proto3" json:"coldAboveTuneUpRate,omitempty"` // 冷水位以上区间的上调百分比 - LimitThresholdToTuneUp *wrapperspb.Int32Value `protobuf:"bytes,5,opt,name=limitThresholdToTuneUp,proto3" json:"limitThresholdToTuneUp,omitempty"` // 冷水位以上,超过该百分的请求被限流后进行阈值上调 - JudgeDuration *durationpb.Duration `protobuf:"bytes,6,opt,name=judgeDuration,proto3" json:"judgeDuration,omitempty"` // 阈值调整规则的决策间隔 - TuneUpPeriod *wrapperspb.Int32Value `protobuf:"bytes,7,opt,name=tuneUpPeriod,proto3" json:"tuneUpPeriod,omitempty"` // 阈值上调周期数,连续N个决策间隔都为上调,才执行上调 - TuneDownPeriod *wrapperspb.Int32Value `protobuf:"bytes,8,opt,name=tuneDownPeriod,proto3" json:"tuneDownPeriod,omitempty"` // 阈值下调周期数,连续N个决策间隔都为下调,才执行下调 +// 错误率触发调整配置 +type ClimbConfig_TriggerPolicy_ErrorRate struct { + Enable *wrapperspb.BoolValue `protobuf:"bytes,1,opt,name=enable,proto3" json:"enable,omitempty"` + RequestVolumeThreshold *wrapperspb.UInt32Value `protobuf:"bytes,2,opt,name=requestVolumeThreshold,proto3" json:"requestVolumeThreshold,omitempty"` + ErrorRate *wrapperspb.Int32Value `protobuf:"bytes,3,opt,name=errorRate,proto3" json:"errorRate,omitempty"` + Specials []*ClimbConfig_TriggerPolicy_ErrorRate_SpecialConfig `protobuf:"bytes,4,rep,name=specials,proto3" json:"specials,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ClimbConfig_TriggerPolicy_ErrorRate) Reset() { *m = ClimbConfig_TriggerPolicy_ErrorRate{} } +func (m *ClimbConfig_TriggerPolicy_ErrorRate) String() string { return proto.CompactTextString(m) } +func (*ClimbConfig_TriggerPolicy_ErrorRate) ProtoMessage() {} +func (*ClimbConfig_TriggerPolicy_ErrorRate) Descriptor() ([]byte, []int) { + return fileDescriptor_ratelimit_383943a03f665998, []int{9, 1, 0} } - -func (x *ClimbConfig_ClimbThrottling) Reset() { - *x = ClimbConfig_ClimbThrottling{} - if protoimpl.UnsafeEnabled { - mi := &file_ratelimit_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *ClimbConfig_TriggerPolicy_ErrorRate) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ClimbConfig_TriggerPolicy_ErrorRate.Unmarshal(m, b) } - -func (x *ClimbConfig_ClimbThrottling) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *ClimbConfig_TriggerPolicy_ErrorRate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ClimbConfig_TriggerPolicy_ErrorRate.Marshal(b, m, deterministic) } - -func (*ClimbConfig_ClimbThrottling) ProtoMessage() {} - -func (x *ClimbConfig_ClimbThrottling) ProtoReflect() protoreflect.Message { - mi := &file_ratelimit_proto_msgTypes[15] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (dst *ClimbConfig_TriggerPolicy_ErrorRate) XXX_Merge(src proto.Message) { + xxx_messageInfo_ClimbConfig_TriggerPolicy_ErrorRate.Merge(dst, src) } - -// Deprecated: Use ClimbConfig_ClimbThrottling.ProtoReflect.Descriptor instead. -func (*ClimbConfig_ClimbThrottling) Descriptor() ([]byte, []int) { - return file_ratelimit_proto_rawDescGZIP(), []int{9, 2} +func (m *ClimbConfig_TriggerPolicy_ErrorRate) XXX_Size() int { + return xxx_messageInfo_ClimbConfig_TriggerPolicy_ErrorRate.Size(m) +} +func (m *ClimbConfig_TriggerPolicy_ErrorRate) XXX_DiscardUnknown() { + xxx_messageInfo_ClimbConfig_TriggerPolicy_ErrorRate.DiscardUnknown(m) } -func (x *ClimbConfig_ClimbThrottling) GetColdBelowTuneDownRate() *wrapperspb.Int32Value { - if x != nil { - return x.ColdBelowTuneDownRate +var xxx_messageInfo_ClimbConfig_TriggerPolicy_ErrorRate proto.InternalMessageInfo + +func (m *ClimbConfig_TriggerPolicy_ErrorRate) GetEnable() *wrapperspb.BoolValue { + if m != nil { + return m.Enable } return nil } -func (x *ClimbConfig_ClimbThrottling) GetColdBelowTuneUpRate() *wrapperspb.Int32Value { - if x != nil { - return x.ColdBelowTuneUpRate +func (m *ClimbConfig_TriggerPolicy_ErrorRate) GetRequestVolumeThreshold() *wrapperspb.UInt32Value { + if m != nil { + return m.RequestVolumeThreshold } return nil } -func (x *ClimbConfig_ClimbThrottling) GetColdAboveTuneDownRate() *wrapperspb.Int32Value { - if x != nil { - return x.ColdAboveTuneDownRate +func (m *ClimbConfig_TriggerPolicy_ErrorRate) GetErrorRate() *wrapperspb.Int32Value { + if m != nil { + return m.ErrorRate } return nil } -func (x *ClimbConfig_ClimbThrottling) GetColdAboveTuneUpRate() *wrapperspb.Int32Value { - if x != nil { - return x.ColdAboveTuneUpRate +func (m *ClimbConfig_TriggerPolicy_ErrorRate) GetSpecials() []*ClimbConfig_TriggerPolicy_ErrorRate_SpecialConfig { + if m != nil { + return m.Specials } return nil } -func (x *ClimbConfig_ClimbThrottling) GetLimitThresholdToTuneUp() *wrapperspb.Int32Value { - if x != nil { - return x.LimitThresholdToTuneUp - } - return nil +// 特殊错误码触发调整配置 +type ClimbConfig_TriggerPolicy_ErrorRate_SpecialConfig struct { + Type *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` + ErrorCodes []*wrapperspb.Int64Value `protobuf:"bytes,2,rep,name=errorCodes,proto3" json:"errorCodes,omitempty"` + ErrorRate *wrapperspb.Int32Value `protobuf:"bytes,3,opt,name=errorRate,proto3" json:"errorRate,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ClimbConfig_TriggerPolicy_ErrorRate_SpecialConfig) Reset() { + *m = ClimbConfig_TriggerPolicy_ErrorRate_SpecialConfig{} +} +func (m *ClimbConfig_TriggerPolicy_ErrorRate_SpecialConfig) String() string { + return proto.CompactTextString(m) +} +func (*ClimbConfig_TriggerPolicy_ErrorRate_SpecialConfig) ProtoMessage() {} +func (*ClimbConfig_TriggerPolicy_ErrorRate_SpecialConfig) Descriptor() ([]byte, []int) { + return fileDescriptor_ratelimit_383943a03f665998, []int{9, 1, 0, 0} +} +func (m *ClimbConfig_TriggerPolicy_ErrorRate_SpecialConfig) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ClimbConfig_TriggerPolicy_ErrorRate_SpecialConfig.Unmarshal(m, b) +} +func (m *ClimbConfig_TriggerPolicy_ErrorRate_SpecialConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ClimbConfig_TriggerPolicy_ErrorRate_SpecialConfig.Marshal(b, m, deterministic) +} +func (dst *ClimbConfig_TriggerPolicy_ErrorRate_SpecialConfig) XXX_Merge(src proto.Message) { + xxx_messageInfo_ClimbConfig_TriggerPolicy_ErrorRate_SpecialConfig.Merge(dst, src) +} +func (m *ClimbConfig_TriggerPolicy_ErrorRate_SpecialConfig) XXX_Size() int { + return xxx_messageInfo_ClimbConfig_TriggerPolicy_ErrorRate_SpecialConfig.Size(m) +} +func (m *ClimbConfig_TriggerPolicy_ErrorRate_SpecialConfig) XXX_DiscardUnknown() { + xxx_messageInfo_ClimbConfig_TriggerPolicy_ErrorRate_SpecialConfig.DiscardUnknown(m) } -func (x *ClimbConfig_ClimbThrottling) GetJudgeDuration() *durationpb.Duration { - if x != nil { - return x.JudgeDuration +var xxx_messageInfo_ClimbConfig_TriggerPolicy_ErrorRate_SpecialConfig proto.InternalMessageInfo + +func (m *ClimbConfig_TriggerPolicy_ErrorRate_SpecialConfig) GetType() *wrapperspb.StringValue { + if m != nil { + return m.Type } return nil } -func (x *ClimbConfig_ClimbThrottling) GetTuneUpPeriod() *wrapperspb.Int32Value { - if x != nil { - return x.TuneUpPeriod +func (m *ClimbConfig_TriggerPolicy_ErrorRate_SpecialConfig) GetErrorCodes() []*wrapperspb.Int64Value { + if m != nil { + return m.ErrorCodes } return nil } -func (x *ClimbConfig_ClimbThrottling) GetTuneDownPeriod() *wrapperspb.Int32Value { - if x != nil { - return x.TuneDownPeriod +func (m *ClimbConfig_TriggerPolicy_ErrorRate_SpecialConfig) GetErrorRate() *wrapperspb.Int32Value { + if m != nil { + return m.ErrorRate } return nil } -// 错误率触发调整配置 -type ClimbConfig_TriggerPolicy_ErrorRate struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Enable *wrapperspb.BoolValue `protobuf:"bytes,1,opt,name=enable,proto3" json:"enable,omitempty"` // 是否开启 - RequestVolumeThreshold *wrapperspb.UInt32Value `protobuf:"bytes,2,opt,name=requestVolumeThreshold,proto3" json:"requestVolumeThreshold,omitempty"` // 触发限流调整的最小的请求数 - ErrorRate *wrapperspb.Int32Value `protobuf:"bytes,3,opt,name=errorRate,proto3" json:"errorRate,omitempty"` // 触发限流的错误率配置 - Specials []*ClimbConfig_TriggerPolicy_ErrorRate_SpecialConfig `protobuf:"bytes,4,rep,name=specials,proto3" json:"specials,omitempty"` // 针对部分错误码,使用额外的错误率统计,可设置多组特殊规则 +// 慢调用触发调整配置 +type ClimbConfig_TriggerPolicy_SlowRate struct { + Enable *wrapperspb.BoolValue `protobuf:"bytes,1,opt,name=enable,proto3" json:"enable,omitempty"` + MaxRt *durationpb.Duration `protobuf:"bytes,2,opt,name=maxRt,proto3" json:"maxRt,omitempty"` + SlowRate *wrapperspb.Int32Value `protobuf:"bytes,3,opt,name=slowRate,proto3" json:"slowRate,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *ClimbConfig_TriggerPolicy_ErrorRate) Reset() { - *x = ClimbConfig_TriggerPolicy_ErrorRate{} - if protoimpl.UnsafeEnabled { - mi := &file_ratelimit_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *ClimbConfig_TriggerPolicy_SlowRate) Reset() { *m = ClimbConfig_TriggerPolicy_SlowRate{} } +func (m *ClimbConfig_TriggerPolicy_SlowRate) String() string { return proto.CompactTextString(m) } +func (*ClimbConfig_TriggerPolicy_SlowRate) ProtoMessage() {} +func (*ClimbConfig_TriggerPolicy_SlowRate) Descriptor() ([]byte, []int) { + return fileDescriptor_ratelimit_383943a03f665998, []int{9, 1, 1} } - -func (x *ClimbConfig_TriggerPolicy_ErrorRate) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *ClimbConfig_TriggerPolicy_SlowRate) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ClimbConfig_TriggerPolicy_SlowRate.Unmarshal(m, b) } - -func (*ClimbConfig_TriggerPolicy_ErrorRate) ProtoMessage() {} - -func (x *ClimbConfig_TriggerPolicy_ErrorRate) ProtoReflect() protoreflect.Message { - mi := &file_ratelimit_proto_msgTypes[16] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *ClimbConfig_TriggerPolicy_SlowRate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ClimbConfig_TriggerPolicy_SlowRate.Marshal(b, m, deterministic) } - -// Deprecated: Use ClimbConfig_TriggerPolicy_ErrorRate.ProtoReflect.Descriptor instead. -func (*ClimbConfig_TriggerPolicy_ErrorRate) Descriptor() ([]byte, []int) { - return file_ratelimit_proto_rawDescGZIP(), []int{9, 1, 0} +func (dst *ClimbConfig_TriggerPolicy_SlowRate) XXX_Merge(src proto.Message) { + xxx_messageInfo_ClimbConfig_TriggerPolicy_SlowRate.Merge(dst, src) } - -func (x *ClimbConfig_TriggerPolicy_ErrorRate) GetEnable() *wrapperspb.BoolValue { - if x != nil { - return x.Enable - } - return nil +func (m *ClimbConfig_TriggerPolicy_SlowRate) XXX_Size() int { + return xxx_messageInfo_ClimbConfig_TriggerPolicy_SlowRate.Size(m) +} +func (m *ClimbConfig_TriggerPolicy_SlowRate) XXX_DiscardUnknown() { + xxx_messageInfo_ClimbConfig_TriggerPolicy_SlowRate.DiscardUnknown(m) } -func (x *ClimbConfig_TriggerPolicy_ErrorRate) GetRequestVolumeThreshold() *wrapperspb.UInt32Value { - if x != nil { - return x.RequestVolumeThreshold +var xxx_messageInfo_ClimbConfig_TriggerPolicy_SlowRate proto.InternalMessageInfo + +func (m *ClimbConfig_TriggerPolicy_SlowRate) GetEnable() *wrapperspb.BoolValue { + if m != nil { + return m.Enable } return nil } -func (x *ClimbConfig_TriggerPolicy_ErrorRate) GetErrorRate() *wrapperspb.Int32Value { - if x != nil { - return x.ErrorRate +func (m *ClimbConfig_TriggerPolicy_SlowRate) GetMaxRt() *durationpb.Duration { + if m != nil { + return m.MaxRt } return nil } -func (x *ClimbConfig_TriggerPolicy_ErrorRate) GetSpecials() []*ClimbConfig_TriggerPolicy_ErrorRate_SpecialConfig { - if x != nil { - return x.Specials +func (m *ClimbConfig_TriggerPolicy_SlowRate) GetSlowRate() *wrapperspb.Int32Value { + if m != nil { + return m.SlowRate } return nil } -// 慢调用触发调整配置 -type ClimbConfig_TriggerPolicy_SlowRate struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Enable *wrapperspb.BoolValue `protobuf:"bytes,1,opt,name=enable,proto3" json:"enable,omitempty"` // 是否开启 - MaxRt *durationpb.Duration `protobuf:"bytes,2,opt,name=maxRt,proto3" json:"maxRt,omitempty"` // 最大响应时间,超过该响应时间属于慢调用 - SlowRate *wrapperspb.Int32Value `protobuf:"bytes,3,opt,name=slowRate,proto3" json:"slowRate,omitempty"` // 慢请求率阈值,达到该阈值进行限流 +// 爬坡调整相关参数 +type ClimbConfig_ClimbThrottling struct { + ColdBelowTuneDownRate *wrapperspb.Int32Value `protobuf:"bytes,1,opt,name=coldBelowTuneDownRate,proto3" json:"coldBelowTuneDownRate,omitempty"` + ColdBelowTuneUpRate *wrapperspb.Int32Value `protobuf:"bytes,2,opt,name=coldBelowTuneUpRate,proto3" json:"coldBelowTuneUpRate,omitempty"` + ColdAboveTuneDownRate *wrapperspb.Int32Value `protobuf:"bytes,3,opt,name=coldAboveTuneDownRate,proto3" json:"coldAboveTuneDownRate,omitempty"` + ColdAboveTuneUpRate *wrapperspb.Int32Value `protobuf:"bytes,4,opt,name=coldAboveTuneUpRate,proto3" json:"coldAboveTuneUpRate,omitempty"` + LimitThresholdToTuneUp *wrapperspb.Int32Value `protobuf:"bytes,5,opt,name=limitThresholdToTuneUp,proto3" json:"limitThresholdToTuneUp,omitempty"` + JudgeDuration *durationpb.Duration `protobuf:"bytes,6,opt,name=judgeDuration,proto3" json:"judgeDuration,omitempty"` + TuneUpPeriod *wrapperspb.Int32Value `protobuf:"bytes,7,opt,name=tuneUpPeriod,proto3" json:"tuneUpPeriod,omitempty"` + TuneDownPeriod *wrapperspb.Int32Value `protobuf:"bytes,8,opt,name=tuneDownPeriod,proto3" json:"tuneDownPeriod,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ClimbConfig_ClimbThrottling) Reset() { *m = ClimbConfig_ClimbThrottling{} } +func (m *ClimbConfig_ClimbThrottling) String() string { return proto.CompactTextString(m) } +func (*ClimbConfig_ClimbThrottling) ProtoMessage() {} +func (*ClimbConfig_ClimbThrottling) Descriptor() ([]byte, []int) { + return fileDescriptor_ratelimit_383943a03f665998, []int{9, 2} } - -func (x *ClimbConfig_TriggerPolicy_SlowRate) Reset() { - *x = ClimbConfig_TriggerPolicy_SlowRate{} - if protoimpl.UnsafeEnabled { - mi := &file_ratelimit_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *ClimbConfig_ClimbThrottling) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ClimbConfig_ClimbThrottling.Unmarshal(m, b) } - -func (x *ClimbConfig_TriggerPolicy_SlowRate) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *ClimbConfig_ClimbThrottling) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ClimbConfig_ClimbThrottling.Marshal(b, m, deterministic) +} +func (dst *ClimbConfig_ClimbThrottling) XXX_Merge(src proto.Message) { + xxx_messageInfo_ClimbConfig_ClimbThrottling.Merge(dst, src) +} +func (m *ClimbConfig_ClimbThrottling) XXX_Size() int { + return xxx_messageInfo_ClimbConfig_ClimbThrottling.Size(m) +} +func (m *ClimbConfig_ClimbThrottling) XXX_DiscardUnknown() { + xxx_messageInfo_ClimbConfig_ClimbThrottling.DiscardUnknown(m) } -func (*ClimbConfig_TriggerPolicy_SlowRate) ProtoMessage() {} +var xxx_messageInfo_ClimbConfig_ClimbThrottling proto.InternalMessageInfo -func (x *ClimbConfig_TriggerPolicy_SlowRate) ProtoReflect() protoreflect.Message { - mi := &file_ratelimit_proto_msgTypes[17] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms +func (m *ClimbConfig_ClimbThrottling) GetColdBelowTuneDownRate() *wrapperspb.Int32Value { + if m != nil { + return m.ColdBelowTuneDownRate } - return mi.MessageOf(x) -} - -// Deprecated: Use ClimbConfig_TriggerPolicy_SlowRate.ProtoReflect.Descriptor instead. -func (*ClimbConfig_TriggerPolicy_SlowRate) Descriptor() ([]byte, []int) { - return file_ratelimit_proto_rawDescGZIP(), []int{9, 1, 1} + return nil } -func (x *ClimbConfig_TriggerPolicy_SlowRate) GetEnable() *wrapperspb.BoolValue { - if x != nil { - return x.Enable +func (m *ClimbConfig_ClimbThrottling) GetColdBelowTuneUpRate() *wrapperspb.Int32Value { + if m != nil { + return m.ColdBelowTuneUpRate } return nil } -func (x *ClimbConfig_TriggerPolicy_SlowRate) GetMaxRt() *durationpb.Duration { - if x != nil { - return x.MaxRt +func (m *ClimbConfig_ClimbThrottling) GetColdAboveTuneDownRate() *wrapperspb.Int32Value { + if m != nil { + return m.ColdAboveTuneDownRate } return nil } -func (x *ClimbConfig_TriggerPolicy_SlowRate) GetSlowRate() *wrapperspb.Int32Value { - if x != nil { - return x.SlowRate +func (m *ClimbConfig_ClimbThrottling) GetColdAboveTuneUpRate() *wrapperspb.Int32Value { + if m != nil { + return m.ColdAboveTuneUpRate } return nil } -// 特殊错误码触发调整配置 -type ClimbConfig_TriggerPolicy_ErrorRate_SpecialConfig struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Type *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` // 自定义错误类型 - ErrorCodes []*wrapperspb.Int64Value `protobuf:"bytes,2,rep,name=errorCodes,proto3" json:"errorCodes,omitempty"` // 特定规则针对的错误码 - ErrorRate *wrapperspb.Int32Value `protobuf:"bytes,3,opt,name=errorRate,proto3" json:"errorRate,omitempty"` //特定规则错误率 +func (m *ClimbConfig_ClimbThrottling) GetLimitThresholdToTuneUp() *wrapperspb.Int32Value { + if m != nil { + return m.LimitThresholdToTuneUp + } + return nil } -func (x *ClimbConfig_TriggerPolicy_ErrorRate_SpecialConfig) Reset() { - *x = ClimbConfig_TriggerPolicy_ErrorRate_SpecialConfig{} - if protoimpl.UnsafeEnabled { - mi := &file_ratelimit_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) +func (m *ClimbConfig_ClimbThrottling) GetJudgeDuration() *durationpb.Duration { + if m != nil { + return m.JudgeDuration } + return nil } -func (x *ClimbConfig_TriggerPolicy_ErrorRate_SpecialConfig) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *ClimbConfig_ClimbThrottling) GetTuneUpPeriod() *wrapperspb.Int32Value { + if m != nil { + return m.TuneUpPeriod + } + return nil } -func (*ClimbConfig_TriggerPolicy_ErrorRate_SpecialConfig) ProtoMessage() {} - -func (x *ClimbConfig_TriggerPolicy_ErrorRate_SpecialConfig) ProtoReflect() protoreflect.Message { - mi := &file_ratelimit_proto_msgTypes[18] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms +func (m *ClimbConfig_ClimbThrottling) GetTuneDownPeriod() *wrapperspb.Int32Value { + if m != nil { + return m.TuneDownPeriod } - return mi.MessageOf(x) + return nil } - -// Deprecated: Use ClimbConfig_TriggerPolicy_ErrorRate_SpecialConfig.ProtoReflect.Descriptor instead. -func (*ClimbConfig_TriggerPolicy_ErrorRate_SpecialConfig) Descriptor() ([]byte, []int) { - return file_ratelimit_proto_rawDescGZIP(), []int{9, 1, 0, 0} -} - -func (x *ClimbConfig_TriggerPolicy_ErrorRate_SpecialConfig) GetType() *wrapperspb.StringValue { - if x != nil { - return x.Type - } - return nil -} - -func (x *ClimbConfig_TriggerPolicy_ErrorRate_SpecialConfig) GetErrorCodes() []*wrapperspb.Int64Value { - if x != nil { - return x.ErrorCodes - } - return nil -} - -func (x *ClimbConfig_TriggerPolicy_ErrorRate_SpecialConfig) GetErrorRate() *wrapperspb.Int32Value { - if x != nil { - return x.ErrorRate - } - return nil -} - -var File_ratelimit_proto protoreflect.FileDescriptor - -var file_ratelimit_proto_rawDesc = []byte{ - 0x0a, 0x0f, 0x72, 0x61, 0x74, 0x65, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x12, 0x02, 0x76, 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, 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, 0x0b, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x22, 0x65, 0x0a, 0x09, 0x52, 0x61, 0x74, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, - 0x1e, 0x0a, 0x05, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x08, - 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x75, 0x6c, 0x65, 0x52, 0x05, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x12, - 0x38, 0x0a, 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 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, - 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0xb6, 0x0f, 0x0a, 0x04, 0x52, 0x75, - 0x6c, 0x65, 0x12, 0x2c, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 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, 0x02, 0x69, 0x64, - 0x12, 0x36, 0x0a, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x18, 0x02, 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, - 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x3a, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, - 0x73, 0x70, 0x61, 0x63, 0x65, 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, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, - 0x70, 0x61, 0x63, 0x65, 0x12, 0x2c, 0x0a, 0x06, 0x73, 0x75, 0x62, 0x73, 0x65, 0x74, 0x18, 0x04, - 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x75, 0x6c, 0x65, 0x2e, 0x53, - 0x75, 0x62, 0x73, 0x65, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x73, 0x75, 0x62, 0x73, - 0x65, 0x74, 0x12, 0x38, 0x0a, 0x08, 0x70, 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x18, 0x05, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, - 0x75, 0x65, 0x52, 0x08, 0x70, 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x12, 0x2d, 0x0a, 0x08, - 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x11, - 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x75, 0x6c, 0x65, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, - 0x65, 0x52, 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x21, 0x0a, 0x04, 0x74, - 0x79, 0x70, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0d, 0x2e, 0x76, 0x31, 0x2e, 0x52, - 0x75, 0x6c, 0x65, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x2c, - 0x0a, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, - 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x75, 0x6c, 0x65, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, - 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x12, 0x24, 0x0a, 0x07, - 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0a, 0x2e, - 0x76, 0x31, 0x2e, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x07, 0x61, 0x6d, 0x6f, 0x75, 0x6e, - 0x74, 0x73, 0x12, 0x34, 0x0a, 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x0a, 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, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x34, 0x0a, 0x07, 0x64, 0x69, 0x73, 0x61, - 0x62, 0x6c, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, - 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42, 0x6f, 0x6f, 0x6c, - 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x07, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x22, - 0x0a, 0x06, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0a, - 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x06, 0x72, 0x65, 0x70, 0x6f, - 0x72, 0x74, 0x12, 0x32, 0x0a, 0x05, 0x63, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0d, 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, - 0x05, 0x63, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x32, 0x0a, 0x05, 0x6d, 0x74, 0x69, 0x6d, 0x65, 0x18, - 0x0e, 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, 0x05, 0x6d, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x38, 0x0a, 0x08, 0x72, 0x65, - 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x0f, 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, 0x08, 0x72, 0x65, 0x76, 0x69, - 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x42, 0x0a, 0x0d, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, - 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x10, 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, 0x0d, 0x73, 0x65, 0x72, 0x76, 0x69, - 0x63, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x2e, 0x0a, 0x08, 0x61, 0x64, 0x6a, 0x75, - 0x73, 0x74, 0x65, 0x72, 0x18, 0x11, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x76, 0x31, 0x2e, - 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x64, 0x6a, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x08, - 0x61, 0x64, 0x6a, 0x75, 0x73, 0x74, 0x65, 0x72, 0x12, 0x40, 0x0a, 0x0d, 0x72, 0x65, 0x67, 0x65, - 0x78, 0x5f, 0x63, 0x6f, 0x6d, 0x62, 0x69, 0x6e, 0x65, 0x18, 0x12, 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, 0x0d, 0x72, 0x65, 0x67, - 0x65, 0x78, 0x5f, 0x63, 0x6f, 0x6d, 0x62, 0x69, 0x6e, 0x65, 0x12, 0x34, 0x0a, 0x0b, 0x61, 0x6d, - 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x13, 0x20, 0x01, 0x28, 0x0e, 0x32, - 0x13, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x75, 0x6c, 0x65, 0x2e, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, - 0x4d, 0x6f, 0x64, 0x65, 0x52, 0x0a, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x4d, 0x6f, 0x64, 0x65, - 0x12, 0x31, 0x0a, 0x08, 0x66, 0x61, 0x69, 0x6c, 0x6f, 0x76, 0x65, 0x72, 0x18, 0x14, 0x20, 0x01, - 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x75, 0x6c, 0x65, 0x2e, 0x46, 0x61, 0x69, - 0x6c, 0x6f, 0x76, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x52, 0x08, 0x66, 0x61, 0x69, 0x6c, 0x6f, - 0x76, 0x65, 0x72, 0x12, 0x2e, 0x0a, 0x07, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x18, 0x15, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x61, 0x74, 0x65, 0x4c, 0x69, - 0x6d, 0x69, 0x74, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x07, 0x63, 0x6c, 0x75, 0x73, - 0x74, 0x65, 0x72, 0x12, 0x27, 0x0a, 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x18, 0x16, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x53, 0x74, - 0x72, 0x69, 0x6e, 0x67, 0x52, 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x12, 0x2f, 0x0a, 0x09, - 0x61, 0x72, 0x67, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x17, 0x20, 0x03, 0x28, 0x0b, 0x32, - 0x11, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x41, 0x72, 0x67, 0x75, 0x6d, 0x65, - 0x6e, 0x74, 0x52, 0x09, 0x61, 0x72, 0x67, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x30, 0x0a, - 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x18, 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, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, - 0x32, 0x0a, 0x05, 0x65, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x19, 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, 0x05, 0x65, 0x74, - 0x69, 0x6d, 0x65, 0x12, 0x46, 0x0a, 0x0f, 0x6d, 0x61, 0x78, 0x5f, 0x71, 0x75, 0x65, 0x75, 0x65, - 0x5f, 0x64, 0x65, 0x6c, 0x61, 0x79, 0x18, 0x1a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, - 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, - 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0f, 0x6d, 0x61, 0x78, 0x5f, - 0x71, 0x75, 0x65, 0x75, 0x65, 0x5f, 0x64, 0x65, 0x6c, 0x61, 0x79, 0x12, 0x44, 0x0a, 0x11, 0x63, - 0x6f, 0x6e, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x79, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, - 0x18, 0x1b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x63, - 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x79, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x12, 0x63, - 0x6f, 0x6e, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x79, 0x5f, 0x61, 0x6d, 0x6f, 0x75, 0x6e, - 0x74, 0x12, 0x3b, 0x0a, 0x0e, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x18, 0x1c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x76, 0x31, 0x2e, 0x43, - 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x0f, 0x63, - 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x5f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x32, - 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x1d, 0x20, 0x03, 0x28, 0x0b, - 0x32, 0x16, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x75, 0x6c, 0x65, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x64, - 0x61, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, - 0x74, 0x61, 0x12, 0x1a, 0x0a, 0x08, 0x65, 0x64, 0x69, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x1e, - 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x65, 0x64, 0x69, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x1e, - 0x0a, 0x0a, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x1f, 0x20, 0x01, - 0x28, 0x08, 0x52, 0x0a, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x61, 0x62, 0x6c, 0x65, 0x1a, 0x4a, - 0x0a, 0x0b, 0x53, 0x75, 0x62, 0x73, 0x65, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, - 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, - 0x25, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, - 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x52, - 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x4a, 0x0a, 0x0b, 0x4c, 0x61, - 0x62, 0x65, 0x6c, 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, 0x25, 0x0a, 0x05, 0x76, - 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x76, 0x31, 0x2e, - 0x4d, 0x61, 0x74, 0x63, 0x68, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x52, 0x05, 0x76, 0x61, 0x6c, - 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x3b, 0x0a, 0x0d, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, - 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, - 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, - 0x02, 0x38, 0x01, 0x22, 0x24, 0x0a, 0x08, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, - 0x07, 0x0a, 0x03, 0x51, 0x50, 0x53, 0x10, 0x00, 0x12, 0x0f, 0x0a, 0x0b, 0x43, 0x4f, 0x4e, 0x43, - 0x55, 0x52, 0x52, 0x45, 0x4e, 0x43, 0x59, 0x10, 0x01, 0x22, 0x1d, 0x0a, 0x04, 0x54, 0x79, 0x70, - 0x65, 0x12, 0x0a, 0x0a, 0x06, 0x47, 0x4c, 0x4f, 0x42, 0x41, 0x4c, 0x10, 0x00, 0x12, 0x09, 0x0a, - 0x05, 0x4c, 0x4f, 0x43, 0x41, 0x4c, 0x10, 0x01, 0x22, 0x31, 0x0a, 0x0a, 0x41, 0x6d, 0x6f, 0x75, - 0x6e, 0x74, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x10, 0x0a, 0x0c, 0x47, 0x4c, 0x4f, 0x42, 0x41, 0x4c, - 0x5f, 0x54, 0x4f, 0x54, 0x41, 0x4c, 0x10, 0x00, 0x12, 0x11, 0x0a, 0x0d, 0x53, 0x48, 0x41, 0x52, - 0x45, 0x5f, 0x45, 0x51, 0x55, 0x41, 0x4c, 0x4c, 0x59, 0x10, 0x01, 0x22, 0x35, 0x0a, 0x0c, 0x46, - 0x61, 0x69, 0x6c, 0x6f, 0x76, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x12, 0x12, 0x0a, 0x0e, 0x46, - 0x41, 0x49, 0x4c, 0x4f, 0x56, 0x45, 0x52, 0x5f, 0x4c, 0x4f, 0x43, 0x41, 0x4c, 0x10, 0x00, 0x12, - 0x11, 0x0a, 0x0d, 0x46, 0x41, 0x49, 0x4c, 0x4f, 0x56, 0x45, 0x52, 0x5f, 0x50, 0x41, 0x53, 0x53, - 0x10, 0x01, 0x22, 0xe3, 0x01, 0x0a, 0x0d, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x41, 0x72, 0x67, 0x75, - 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x2a, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x0e, 0x32, 0x16, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x41, 0x72, 0x67, - 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, - 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, - 0x65, 0x79, 0x12, 0x25, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x0f, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x53, 0x74, 0x72, 0x69, - 0x6e, 0x67, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x6d, 0x0a, 0x04, 0x54, 0x79, 0x70, - 0x65, 0x12, 0x0a, 0x0a, 0x06, 0x43, 0x55, 0x53, 0x54, 0x4f, 0x4d, 0x10, 0x00, 0x12, 0x0a, 0x0a, - 0x06, 0x4d, 0x45, 0x54, 0x48, 0x4f, 0x44, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x48, 0x45, 0x41, - 0x44, 0x45, 0x52, 0x10, 0x02, 0x12, 0x09, 0x0a, 0x05, 0x51, 0x55, 0x45, 0x52, 0x59, 0x10, 0x03, - 0x12, 0x12, 0x0a, 0x0e, 0x43, 0x41, 0x4c, 0x4c, 0x45, 0x52, 0x5f, 0x53, 0x45, 0x52, 0x56, 0x49, - 0x43, 0x45, 0x10, 0x04, 0x12, 0x0d, 0x0a, 0x09, 0x43, 0x41, 0x4c, 0x4c, 0x45, 0x52, 0x5f, 0x49, - 0x50, 0x10, 0x05, 0x12, 0x13, 0x0a, 0x0f, 0x43, 0x41, 0x4c, 0x4c, 0x45, 0x52, 0x5f, 0x4d, 0x45, - 0x54, 0x41, 0x44, 0x41, 0x54, 0x41, 0x10, 0x06, 0x22, 0x32, 0x0a, 0x11, 0x43, 0x6f, 0x6e, 0x63, - 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x79, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1d, 0x0a, - 0x09, 0x6d, 0x61, 0x78, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, - 0x52, 0x0a, 0x6d, 0x61, 0x78, 0x5f, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x24, 0x0a, 0x0e, - 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, - 0x0a, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x62, 0x6f, - 0x64, 0x79, 0x22, 0x86, 0x01, 0x0a, 0x10, 0x52, 0x61, 0x74, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, - 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x12, 0x36, 0x0a, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, - 0x63, 0x65, 0x18, 0x01, 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, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, - 0x3a, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x02, 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, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x22, 0xbd, 0x02, 0x0a, 0x06, - 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x3a, 0x0a, 0x09, 0x6d, 0x61, 0x78, 0x41, 0x6d, 0x6f, - 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, - 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x49, 0x6e, 0x74, - 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x09, 0x6d, 0x61, 0x78, 0x41, 0x6d, 0x6f, 0x75, - 0x6e, 0x74, 0x12, 0x3f, 0x0a, 0x0d, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x44, 0x75, 0x72, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, - 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0d, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x44, 0x75, 0x72, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x12, 0x3a, 0x0a, 0x09, 0x70, 0x72, 0x65, 0x63, 0x69, 0x73, 0x69, 0x6f, 0x6e, - 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, 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, - 0x61, 0x6c, 0x75, 0x65, 0x52, 0x09, 0x70, 0x72, 0x65, 0x63, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x12, - 0x3e, 0x0a, 0x0b, 0x73, 0x74, 0x61, 0x72, 0x74, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x04, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, - 0x75, 0x65, 0x52, 0x0b, 0x73, 0x74, 0x61, 0x72, 0x74, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, - 0x3a, 0x0a, 0x09, 0x6d, 0x69, 0x6e, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, - 0x52, 0x09, 0x6d, 0x69, 0x6e, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x83, 0x01, 0x0a, 0x06, - 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x35, 0x0a, 0x08, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, - 0x61, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, - 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x52, 0x08, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x12, 0x42, 0x0a, - 0x0d, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, - 0x75, 0x65, 0x52, 0x0d, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x65, 0x72, 0x63, 0x65, 0x6e, - 0x74, 0x22, 0x37, 0x0a, 0x0e, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x64, 0x6a, 0x75, 0x73, - 0x74, 0x65, 0x72, 0x12, 0x25, 0x0a, 0x05, 0x63, 0x6c, 0x69, 0x6d, 0x62, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6c, 0x69, 0x6d, 0x62, 0x43, 0x6f, 0x6e, - 0x66, 0x69, 0x67, 0x52, 0x05, 0x63, 0x6c, 0x69, 0x6d, 0x62, 0x22, 0xd0, 0x0e, 0x0a, 0x0b, 0x43, - 0x6c, 0x69, 0x6d, 0x62, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x32, 0x0a, 0x06, 0x65, 0x6e, - 0x61, 0x62, 0x6c, 0x65, 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, 0x06, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x34, - 0x0a, 0x06, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, - 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6c, 0x69, 0x6d, 0x62, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, - 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x06, 0x6d, 0x65, - 0x74, 0x72, 0x69, 0x63, 0x12, 0x35, 0x0a, 0x06, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x18, 0x03, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6c, 0x69, 0x6d, 0x62, 0x43, - 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x50, 0x6f, 0x6c, - 0x69, 0x63, 0x79, 0x52, 0x06, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x3f, 0x0a, 0x0a, 0x74, - 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x69, 0x6e, 0x67, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x1f, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6c, 0x69, 0x6d, 0x62, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, - 0x2e, 0x43, 0x6c, 0x69, 0x6d, 0x62, 0x54, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x69, 0x6e, 0x67, - 0x52, 0x0a, 0x74, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x69, 0x6e, 0x67, 0x1a, 0xc0, 0x01, 0x0a, - 0x0c, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x31, 0x0a, - 0x06, 0x77, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, - 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, - 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x06, 0x77, 0x69, 0x6e, 0x64, 0x6f, 0x77, - 0x12, 0x3a, 0x0a, 0x09, 0x70, 0x72, 0x65, 0x63, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, - 0x65, 0x52, 0x09, 0x70, 0x72, 0x65, 0x63, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x41, 0x0a, 0x0e, - 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x18, 0x03, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, - 0x0e, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x1a, - 0xa7, 0x06, 0x0a, 0x0d, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x50, 0x6f, 0x6c, 0x69, 0x63, - 0x79, 0x12, 0x45, 0x0a, 0x09, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x61, 0x74, 0x65, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6c, 0x69, 0x6d, 0x62, 0x43, - 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x50, 0x6f, 0x6c, - 0x69, 0x63, 0x79, 0x2e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x61, 0x74, 0x65, 0x52, 0x09, 0x65, - 0x72, 0x72, 0x6f, 0x72, 0x52, 0x61, 0x74, 0x65, 0x12, 0x42, 0x0a, 0x08, 0x73, 0x6c, 0x6f, 0x77, - 0x52, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x76, 0x31, 0x2e, - 0x43, 0x6c, 0x69, 0x6d, 0x62, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x54, 0x72, 0x69, 0x67, - 0x67, 0x65, 0x72, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x53, 0x6c, 0x6f, 0x77, 0x52, 0x61, - 0x74, 0x65, 0x52, 0x08, 0x73, 0x6c, 0x6f, 0x77, 0x52, 0x61, 0x74, 0x65, 0x1a, 0xdf, 0x03, 0x0a, - 0x09, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x61, 0x74, 0x65, 0x12, 0x32, 0x0a, 0x06, 0x65, 0x6e, - 0x61, 0x62, 0x6c, 0x65, 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, 0x06, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x54, - 0x0a, 0x16, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x54, - 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, - 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, - 0x2e, 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x16, 0x72, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x54, 0x68, 0x72, 0x65, 0x73, - 0x68, 0x6f, 0x6c, 0x64, 0x12, 0x39, 0x0a, 0x09, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x61, 0x74, - 0x65, 0x18, 0x03, 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, 0x09, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x61, 0x74, 0x65, 0x12, - 0x51, 0x0a, 0x08, 0x73, 0x70, 0x65, 0x63, 0x69, 0x61, 0x6c, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x35, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6c, 0x69, 0x6d, 0x62, 0x43, 0x6f, 0x6e, 0x66, - 0x69, 0x67, 0x2e, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, - 0x2e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x61, 0x74, 0x65, 0x2e, 0x53, 0x70, 0x65, 0x63, 0x69, - 0x61, 0x6c, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x08, 0x73, 0x70, 0x65, 0x63, 0x69, 0x61, - 0x6c, 0x73, 0x1a, 0xb9, 0x01, 0x0a, 0x0d, 0x53, 0x70, 0x65, 0x63, 0x69, 0x61, 0x6c, 0x43, 0x6f, - 0x6e, 0x66, 0x69, 0x67, 0x12, 0x30, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 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, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x3b, 0x0a, 0x0a, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x43, - 0x6f, 0x64, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, - 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x49, 0x6e, 0x74, - 0x36, 0x34, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0a, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x43, 0x6f, - 0x64, 0x65, 0x73, 0x12, 0x39, 0x0a, 0x09, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x61, 0x74, 0x65, - 0x18, 0x03, 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, 0x09, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x61, 0x74, 0x65, 0x1a, 0xa8, - 0x01, 0x0a, 0x08, 0x53, 0x6c, 0x6f, 0x77, 0x52, 0x61, 0x74, 0x65, 0x12, 0x32, 0x0a, 0x06, 0x65, - 0x6e, 0x61, 0x62, 0x6c, 0x65, 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, 0x06, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x12, - 0x2f, 0x0a, 0x05, 0x6d, 0x61, 0x78, 0x52, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, - 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, - 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x05, 0x6d, 0x61, 0x78, 0x52, 0x74, - 0x12, 0x37, 0x0a, 0x08, 0x73, 0x6c, 0x6f, 0x77, 0x52, 0x61, 0x74, 0x65, 0x18, 0x03, 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, - 0x08, 0x73, 0x6c, 0x6f, 0x77, 0x52, 0x61, 0x74, 0x65, 0x1a, 0xf1, 0x04, 0x0a, 0x0f, 0x43, 0x6c, - 0x69, 0x6d, 0x62, 0x54, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x69, 0x6e, 0x67, 0x12, 0x51, 0x0a, - 0x15, 0x63, 0x6f, 0x6c, 0x64, 0x42, 0x65, 0x6c, 0x6f, 0x77, 0x54, 0x75, 0x6e, 0x65, 0x44, 0x6f, - 0x77, 0x6e, 0x52, 0x61, 0x74, 0x65, 0x18, 0x01, 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, 0x15, 0x63, 0x6f, 0x6c, 0x64, 0x42, - 0x65, 0x6c, 0x6f, 0x77, 0x54, 0x75, 0x6e, 0x65, 0x44, 0x6f, 0x77, 0x6e, 0x52, 0x61, 0x74, 0x65, - 0x12, 0x4d, 0x0a, 0x13, 0x63, 0x6f, 0x6c, 0x64, 0x42, 0x65, 0x6c, 0x6f, 0x77, 0x54, 0x75, 0x6e, - 0x65, 0x55, 0x70, 0x52, 0x61, 0x74, 0x65, 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, 0x13, 0x63, 0x6f, 0x6c, 0x64, - 0x42, 0x65, 0x6c, 0x6f, 0x77, 0x54, 0x75, 0x6e, 0x65, 0x55, 0x70, 0x52, 0x61, 0x74, 0x65, 0x12, - 0x51, 0x0a, 0x15, 0x63, 0x6f, 0x6c, 0x64, 0x41, 0x62, 0x6f, 0x76, 0x65, 0x54, 0x75, 0x6e, 0x65, - 0x44, 0x6f, 0x77, 0x6e, 0x52, 0x61, 0x74, 0x65, 0x18, 0x03, 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, 0x15, 0x63, 0x6f, 0x6c, - 0x64, 0x41, 0x62, 0x6f, 0x76, 0x65, 0x54, 0x75, 0x6e, 0x65, 0x44, 0x6f, 0x77, 0x6e, 0x52, 0x61, - 0x74, 0x65, 0x12, 0x4d, 0x0a, 0x13, 0x63, 0x6f, 0x6c, 0x64, 0x41, 0x62, 0x6f, 0x76, 0x65, 0x54, - 0x75, 0x6e, 0x65, 0x55, 0x70, 0x52, 0x61, 0x74, 0x65, 0x18, 0x04, 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, 0x13, 0x63, 0x6f, - 0x6c, 0x64, 0x41, 0x62, 0x6f, 0x76, 0x65, 0x54, 0x75, 0x6e, 0x65, 0x55, 0x70, 0x52, 0x61, 0x74, - 0x65, 0x12, 0x53, 0x0a, 0x16, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x54, 0x68, 0x72, 0x65, 0x73, 0x68, - 0x6f, 0x6c, 0x64, 0x54, 0x6f, 0x54, 0x75, 0x6e, 0x65, 0x55, 0x70, 0x18, 0x05, 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, 0x16, - 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x54, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x54, 0x6f, - 0x54, 0x75, 0x6e, 0x65, 0x55, 0x70, 0x12, 0x3f, 0x0a, 0x0d, 0x6a, 0x75, 0x64, 0x67, 0x65, 0x44, - 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, - 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, - 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0d, 0x6a, 0x75, 0x64, 0x67, 0x65, 0x44, - 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x3f, 0x0a, 0x0c, 0x74, 0x75, 0x6e, 0x65, 0x55, - 0x70, 0x50, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x18, 0x07, 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, 0x0c, 0x74, 0x75, 0x6e, 0x65, - 0x55, 0x70, 0x50, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x12, 0x43, 0x0a, 0x0e, 0x74, 0x75, 0x6e, 0x65, - 0x44, 0x6f, 0x77, 0x6e, 0x50, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x18, 0x08, 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, 0x0e, 0x74, - 0x75, 0x6e, 0x65, 0x44, 0x6f, 0x77, 0x6e, 0x50, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x42, 0x8f, 0x01, - 0x0a, 0x37, 0x63, 0x6f, 0x6d, 0x2e, 0x74, 0x65, 0x6e, 0x63, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x6f, - 0x6c, 0x61, 0x72, 0x69, 0x73, 0x2e, 0x73, 0x70, 0x65, 0x63, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x74, 0x72, 0x61, 0x66, 0x66, - 0x69, 0x63, 0x2e, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x42, 0x0e, 0x52, 0x61, 0x74, 0x65, 0x4c, - 0x69, 0x6d, 0x69, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x5a, 0x44, 0x67, 0x69, 0x74, 0x68, 0x75, - 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x6f, 0x6c, 0x61, 0x72, 0x69, 0x73, 0x6d, 0x65, 0x73, - 0x68, 0x2f, 0x73, 0x70, 0x65, 0x63, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, - 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2f, 0x67, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, - 0x2f, 0x74, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x5f, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x62, - 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_ratelimit_proto_rawDescOnce sync.Once - file_ratelimit_proto_rawDescData = file_ratelimit_proto_rawDesc -) - -func file_ratelimit_proto_rawDescGZIP() []byte { - file_ratelimit_proto_rawDescOnce.Do(func() { - file_ratelimit_proto_rawDescData = protoimpl.X.CompressGZIP(file_ratelimit_proto_rawDescData) - }) - return file_ratelimit_proto_rawDescData -} - -var file_ratelimit_proto_enumTypes = make([]protoimpl.EnumInfo, 5) -var file_ratelimit_proto_msgTypes = make([]protoimpl.MessageInfo, 19) -var file_ratelimit_proto_goTypes = []interface{}{ - (Rule_Resource)(0), // 0: v1.Rule.Resource - (Rule_Type)(0), // 1: v1.Rule.Type - (Rule_AmountMode)(0), // 2: v1.Rule.AmountMode - (Rule_FailoverType)(0), // 3: v1.Rule.FailoverType - (MatchArgument_Type)(0), // 4: v1.MatchArgument.Type - (*RateLimit)(nil), // 5: v1.RateLimit - (*Rule)(nil), // 6: v1.Rule - (*MatchArgument)(nil), // 7: v1.MatchArgument - (*ConcurrencyAmount)(nil), // 8: v1.ConcurrencyAmount - (*CustomResponse)(nil), // 9: v1.CustomResponse - (*RateLimitCluster)(nil), // 10: v1.RateLimitCluster - (*Amount)(nil), // 11: v1.Amount - (*Report)(nil), // 12: v1.Report - (*AmountAdjuster)(nil), // 13: v1.AmountAdjuster - (*ClimbConfig)(nil), // 14: v1.ClimbConfig - nil, // 15: v1.Rule.SubsetEntry - nil, // 16: v1.Rule.LabelsEntry - nil, // 17: v1.Rule.MetadataEntry - (*ClimbConfig_MetricConfig)(nil), // 18: v1.ClimbConfig.MetricConfig - (*ClimbConfig_TriggerPolicy)(nil), // 19: v1.ClimbConfig.TriggerPolicy - (*ClimbConfig_ClimbThrottling)(nil), // 20: v1.ClimbConfig.ClimbThrottling - (*ClimbConfig_TriggerPolicy_ErrorRate)(nil), // 21: v1.ClimbConfig.TriggerPolicy.ErrorRate - (*ClimbConfig_TriggerPolicy_SlowRate)(nil), // 22: v1.ClimbConfig.TriggerPolicy.SlowRate - (*ClimbConfig_TriggerPolicy_ErrorRate_SpecialConfig)(nil), // 23: v1.ClimbConfig.TriggerPolicy.ErrorRate.SpecialConfig - (*wrapperspb.StringValue)(nil), // 24: google.protobuf.StringValue - (*wrapperspb.UInt32Value)(nil), // 25: google.protobuf.UInt32Value - (*wrapperspb.BoolValue)(nil), // 26: google.protobuf.BoolValue - (*model.MatchString)(nil), // 27: v1.MatchString - (*durationpb.Duration)(nil), // 28: google.protobuf.Duration - (*wrapperspb.Int32Value)(nil), // 29: google.protobuf.Int32Value - (*wrapperspb.Int64Value)(nil), // 30: google.protobuf.Int64Value -} -var file_ratelimit_proto_depIdxs = []int32{ - 6, // 0: v1.RateLimit.rules:type_name -> v1.Rule - 24, // 1: v1.RateLimit.revision:type_name -> google.protobuf.StringValue - 24, // 2: v1.Rule.id:type_name -> google.protobuf.StringValue - 24, // 3: v1.Rule.service:type_name -> google.protobuf.StringValue - 24, // 4: v1.Rule.namespace:type_name -> google.protobuf.StringValue - 15, // 5: v1.Rule.subset:type_name -> v1.Rule.SubsetEntry - 25, // 6: v1.Rule.priority:type_name -> google.protobuf.UInt32Value - 0, // 7: v1.Rule.resource:type_name -> v1.Rule.Resource - 1, // 8: v1.Rule.type:type_name -> v1.Rule.Type - 16, // 9: v1.Rule.labels:type_name -> v1.Rule.LabelsEntry - 11, // 10: v1.Rule.amounts:type_name -> v1.Amount - 24, // 11: v1.Rule.action:type_name -> google.protobuf.StringValue - 26, // 12: v1.Rule.disable:type_name -> google.protobuf.BoolValue - 12, // 13: v1.Rule.report:type_name -> v1.Report - 24, // 14: v1.Rule.ctime:type_name -> google.protobuf.StringValue - 24, // 15: v1.Rule.mtime:type_name -> google.protobuf.StringValue - 24, // 16: v1.Rule.revision:type_name -> google.protobuf.StringValue - 24, // 17: v1.Rule.service_token:type_name -> google.protobuf.StringValue - 13, // 18: v1.Rule.adjuster:type_name -> v1.AmountAdjuster - 26, // 19: v1.Rule.regex_combine:type_name -> google.protobuf.BoolValue - 2, // 20: v1.Rule.amount_mode:type_name -> v1.Rule.AmountMode - 3, // 21: v1.Rule.failover:type_name -> v1.Rule.FailoverType - 10, // 22: v1.Rule.cluster:type_name -> v1.RateLimitCluster - 27, // 23: v1.Rule.method:type_name -> v1.MatchString - 7, // 24: v1.Rule.arguments:type_name -> v1.MatchArgument - 24, // 25: v1.Rule.name:type_name -> google.protobuf.StringValue - 24, // 26: v1.Rule.etime:type_name -> google.protobuf.StringValue - 25, // 27: v1.Rule.max_queue_delay:type_name -> google.protobuf.UInt32Value - 8, // 28: v1.Rule.concurrencyAmount:type_name -> v1.ConcurrencyAmount - 9, // 29: v1.Rule.customResponse:type_name -> v1.CustomResponse - 17, // 30: v1.Rule.metadata:type_name -> v1.Rule.MetadataEntry - 4, // 31: v1.MatchArgument.type:type_name -> v1.MatchArgument.Type - 27, // 32: v1.MatchArgument.value:type_name -> v1.MatchString - 24, // 33: v1.RateLimitCluster.service:type_name -> google.protobuf.StringValue - 24, // 34: v1.RateLimitCluster.namespace:type_name -> google.protobuf.StringValue - 25, // 35: v1.Amount.maxAmount:type_name -> google.protobuf.UInt32Value - 28, // 36: v1.Amount.validDuration:type_name -> google.protobuf.Duration - 25, // 37: v1.Amount.precision:type_name -> google.protobuf.UInt32Value - 25, // 38: v1.Amount.startAmount:type_name -> google.protobuf.UInt32Value - 25, // 39: v1.Amount.minAmount:type_name -> google.protobuf.UInt32Value - 28, // 40: v1.Report.interval:type_name -> google.protobuf.Duration - 25, // 41: v1.Report.amountPercent:type_name -> google.protobuf.UInt32Value - 14, // 42: v1.AmountAdjuster.climb:type_name -> v1.ClimbConfig - 26, // 43: v1.ClimbConfig.enable:type_name -> google.protobuf.BoolValue - 18, // 44: v1.ClimbConfig.metric:type_name -> v1.ClimbConfig.MetricConfig - 19, // 45: v1.ClimbConfig.policy:type_name -> v1.ClimbConfig.TriggerPolicy - 20, // 46: v1.ClimbConfig.throttling:type_name -> v1.ClimbConfig.ClimbThrottling - 27, // 47: v1.Rule.SubsetEntry.value:type_name -> v1.MatchString - 27, // 48: v1.Rule.LabelsEntry.value:type_name -> v1.MatchString - 28, // 49: v1.ClimbConfig.MetricConfig.window:type_name -> google.protobuf.Duration - 25, // 50: v1.ClimbConfig.MetricConfig.precision:type_name -> google.protobuf.UInt32Value - 28, // 51: v1.ClimbConfig.MetricConfig.reportInterval:type_name -> google.protobuf.Duration - 21, // 52: v1.ClimbConfig.TriggerPolicy.errorRate:type_name -> v1.ClimbConfig.TriggerPolicy.ErrorRate - 22, // 53: v1.ClimbConfig.TriggerPolicy.slowRate:type_name -> v1.ClimbConfig.TriggerPolicy.SlowRate - 29, // 54: v1.ClimbConfig.ClimbThrottling.coldBelowTuneDownRate:type_name -> google.protobuf.Int32Value - 29, // 55: v1.ClimbConfig.ClimbThrottling.coldBelowTuneUpRate:type_name -> google.protobuf.Int32Value - 29, // 56: v1.ClimbConfig.ClimbThrottling.coldAboveTuneDownRate:type_name -> google.protobuf.Int32Value - 29, // 57: v1.ClimbConfig.ClimbThrottling.coldAboveTuneUpRate:type_name -> google.protobuf.Int32Value - 29, // 58: v1.ClimbConfig.ClimbThrottling.limitThresholdToTuneUp:type_name -> google.protobuf.Int32Value - 28, // 59: v1.ClimbConfig.ClimbThrottling.judgeDuration:type_name -> google.protobuf.Duration - 29, // 60: v1.ClimbConfig.ClimbThrottling.tuneUpPeriod:type_name -> google.protobuf.Int32Value - 29, // 61: v1.ClimbConfig.ClimbThrottling.tuneDownPeriod:type_name -> google.protobuf.Int32Value - 26, // 62: v1.ClimbConfig.TriggerPolicy.ErrorRate.enable:type_name -> google.protobuf.BoolValue - 25, // 63: v1.ClimbConfig.TriggerPolicy.ErrorRate.requestVolumeThreshold:type_name -> google.protobuf.UInt32Value - 29, // 64: v1.ClimbConfig.TriggerPolicy.ErrorRate.errorRate:type_name -> google.protobuf.Int32Value - 23, // 65: v1.ClimbConfig.TriggerPolicy.ErrorRate.specials:type_name -> v1.ClimbConfig.TriggerPolicy.ErrorRate.SpecialConfig - 26, // 66: v1.ClimbConfig.TriggerPolicy.SlowRate.enable:type_name -> google.protobuf.BoolValue - 28, // 67: v1.ClimbConfig.TriggerPolicy.SlowRate.maxRt:type_name -> google.protobuf.Duration - 29, // 68: v1.ClimbConfig.TriggerPolicy.SlowRate.slowRate:type_name -> google.protobuf.Int32Value - 24, // 69: v1.ClimbConfig.TriggerPolicy.ErrorRate.SpecialConfig.type:type_name -> google.protobuf.StringValue - 30, // 70: v1.ClimbConfig.TriggerPolicy.ErrorRate.SpecialConfig.errorCodes:type_name -> google.protobuf.Int64Value - 29, // 71: v1.ClimbConfig.TriggerPolicy.ErrorRate.SpecialConfig.errorRate:type_name -> google.protobuf.Int32Value - 72, // [72:72] is the sub-list for method output_type - 72, // [72:72] is the sub-list for method input_type - 72, // [72:72] is the sub-list for extension type_name - 72, // [72:72] is the sub-list for extension extendee - 0, // [0:72] is the sub-list for field type_name -} - -func init() { file_ratelimit_proto_init() } -func file_ratelimit_proto_init() { - if File_ratelimit_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_ratelimit_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RateLimit); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_ratelimit_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Rule); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_ratelimit_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MatchArgument); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_ratelimit_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ConcurrencyAmount); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_ratelimit_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CustomResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_ratelimit_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RateLimitCluster); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_ratelimit_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Amount); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_ratelimit_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Report); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_ratelimit_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AmountAdjuster); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_ratelimit_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ClimbConfig); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_ratelimit_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ClimbConfig_MetricConfig); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_ratelimit_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ClimbConfig_TriggerPolicy); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_ratelimit_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ClimbConfig_ClimbThrottling); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_ratelimit_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ClimbConfig_TriggerPolicy_ErrorRate); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_ratelimit_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ClimbConfig_TriggerPolicy_SlowRate); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_ratelimit_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ClimbConfig_TriggerPolicy_ErrorRate_SpecialConfig); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_ratelimit_proto_rawDesc, - NumEnums: 5, - NumMessages: 19, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_ratelimit_proto_goTypes, - DependencyIndexes: file_ratelimit_proto_depIdxs, - EnumInfos: file_ratelimit_proto_enumTypes, - MessageInfos: file_ratelimit_proto_msgTypes, - }.Build() - File_ratelimit_proto = out.File - file_ratelimit_proto_rawDesc = nil - file_ratelimit_proto_goTypes = nil - file_ratelimit_proto_depIdxs = nil + +func init() { + proto.RegisterType((*RateLimit)(nil), "v1.RateLimit") + proto.RegisterType((*Rule)(nil), "v1.Rule") + proto.RegisterMapType((map[string]*model.MatchString)(nil), "v1.Rule.LabelsEntry") + proto.RegisterMapType((map[string]string)(nil), "v1.Rule.MetadataEntry") + proto.RegisterMapType((map[string]*model.MatchString)(nil), "v1.Rule.SubsetEntry") + proto.RegisterType((*MatchArgument)(nil), "v1.MatchArgument") + proto.RegisterType((*ConcurrencyAmount)(nil), "v1.ConcurrencyAmount") + proto.RegisterType((*CustomResponse)(nil), "v1.CustomResponse") + proto.RegisterType((*RateLimitCluster)(nil), "v1.RateLimitCluster") + proto.RegisterType((*Amount)(nil), "v1.Amount") + proto.RegisterType((*Report)(nil), "v1.Report") + proto.RegisterType((*AmountAdjuster)(nil), "v1.AmountAdjuster") + proto.RegisterType((*ClimbConfig)(nil), "v1.ClimbConfig") + proto.RegisterType((*ClimbConfig_MetricConfig)(nil), "v1.ClimbConfig.MetricConfig") + proto.RegisterType((*ClimbConfig_TriggerPolicy)(nil), "v1.ClimbConfig.TriggerPolicy") + proto.RegisterType((*ClimbConfig_TriggerPolicy_ErrorRate)(nil), "v1.ClimbConfig.TriggerPolicy.ErrorRate") + proto.RegisterType((*ClimbConfig_TriggerPolicy_ErrorRate_SpecialConfig)(nil), "v1.ClimbConfig.TriggerPolicy.ErrorRate.SpecialConfig") + proto.RegisterType((*ClimbConfig_TriggerPolicy_SlowRate)(nil), "v1.ClimbConfig.TriggerPolicy.SlowRate") + proto.RegisterType((*ClimbConfig_ClimbThrottling)(nil), "v1.ClimbConfig.ClimbThrottling") + proto.RegisterEnum("v1.Rule_Resource", Rule_Resource_name, Rule_Resource_value) + proto.RegisterEnum("v1.Rule_Type", Rule_Type_name, Rule_Type_value) + proto.RegisterEnum("v1.Rule_AmountMode", Rule_AmountMode_name, Rule_AmountMode_value) + proto.RegisterEnum("v1.Rule_FailoverType", Rule_FailoverType_name, Rule_FailoverType_value) + proto.RegisterEnum("v1.MatchArgument_Type", MatchArgument_Type_name, MatchArgument_Type_value) +} + +func init() { proto.RegisterFile("ratelimit.proto", fileDescriptor_ratelimit_383943a03f665998) } + +var fileDescriptor_ratelimit_383943a03f665998 = []byte{ + // 1760 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x58, 0xdd, 0x6e, 0xdb, 0xc8, + 0xf5, 0x0f, 0x25, 0x59, 0x96, 0x8e, 0xad, 0x0f, 0x4f, 0x12, 0xff, 0xb9, 0xda, 0x4d, 0x36, 0x7f, + 0x21, 0xed, 0x06, 0xc5, 0x56, 0xaa, 0xbd, 0xc9, 0x66, 0x9b, 0x00, 0x4d, 0x65, 0x59, 0x69, 0x5c, + 0xc8, 0x6b, 0x7b, 0x24, 0x07, 0xd8, 0xde, 0x08, 0x14, 0x39, 0x96, 0x67, 0x97, 0xe4, 0x68, 0x87, + 0x43, 0x39, 0xba, 0x2e, 0xd0, 0xdb, 0x3e, 0x46, 0xfb, 0x04, 0x05, 0x7a, 0x51, 0xa0, 0x8f, 0xd0, + 0x37, 0xe8, 0x45, 0x9f, 0xa0, 0x6f, 0x50, 0xcc, 0x70, 0x44, 0x91, 0xb2, 0x63, 0x31, 0xd9, 0x3b, + 0x7a, 0xce, 0xef, 0x77, 0xe6, 0x7c, 0xcf, 0xb1, 0xa0, 0xc6, 0x2d, 0x41, 0x5c, 0xea, 0x51, 0xd1, + 0x9a, 0x72, 0x26, 0x18, 0xca, 0xcd, 0xf6, 0x1a, 0x0f, 0x27, 0x8c, 0x4d, 0x5c, 0xd2, 0x56, 0x27, + 0xe3, 0xf0, 0xa2, 0x7d, 0xc5, 0xad, 0xe9, 0x94, 0xf0, 0x20, 0xc2, 0x5c, 0x97, 0x3b, 0x21, 0xb7, + 0x04, 0x65, 0xbe, 0x96, 0x6f, 0x79, 0xcc, 0x21, 0x6e, 0xf4, 0x47, 0x93, 0x40, 0x19, 0x5b, 0x82, + 0xf4, 0xe5, 0x1d, 0xe8, 0x21, 0x6c, 0xf0, 0xd0, 0x25, 0x81, 0x69, 0x3c, 0xca, 0x3f, 0xd9, 0xda, + 0x2f, 0xb5, 0x66, 0x7b, 0x2d, 0x1c, 0xba, 0x04, 0x47, 0xc7, 0xe8, 0x1b, 0x28, 0x71, 0x32, 0xa3, + 0x01, 0x65, 0xbe, 0x99, 0x7b, 0x64, 0x3c, 0xd9, 0xda, 0xff, 0xac, 0x15, 0x5d, 0xd6, 0x5a, 0x5c, + 0xd6, 0x1a, 0x08, 0x4e, 0xfd, 0xc9, 0x5b, 0xcb, 0x0d, 0x09, 0x8e, 0xd1, 0xcd, 0xbf, 0xd5, 0xa0, + 0x20, 0x35, 0xa1, 0x2f, 0x21, 0x47, 0x1d, 0xd3, 0xc8, 0x40, 0xce, 0x51, 0x07, 0x7d, 0x0d, 0x9b, + 0x01, 0xe1, 0x33, 0x6a, 0x93, 0x4c, 0xf7, 0x2d, 0xc0, 0xe8, 0x05, 0x94, 0x7d, 0xcb, 0x23, 0xc1, + 0xd4, 0xb2, 0x89, 0x99, 0xcf, 0xc0, 0x5c, 0xc2, 0xd1, 0x97, 0x50, 0x0c, 0xc2, 0x71, 0x40, 0x84, + 0x59, 0x50, 0x51, 0xb8, 0xb7, 0x88, 0x42, 0x6b, 0xa0, 0x8e, 0x7b, 0xbe, 0xe0, 0x73, 0xac, 0x31, + 0x32, 0x24, 0x53, 0x4e, 0x19, 0xa7, 0x62, 0x6e, 0x6e, 0xbc, 0xe7, 0xa2, 0xf3, 0x23, 0x5f, 0x7c, + 0xb5, 0xaf, 0x43, 0xb2, 0x40, 0xa3, 0x5f, 0xca, 0x60, 0x06, 0x2c, 0xe4, 0x36, 0x31, 0x8b, 0x8f, + 0x8c, 0x27, 0xd5, 0xfd, 0x9d, 0xf8, 0x26, 0xac, 0x05, 0x38, 0x86, 0xa0, 0xff, 0x87, 0x82, 0x98, + 0x4f, 0x89, 0xb9, 0xa9, 0xa0, 0x95, 0x18, 0x3a, 0x9c, 0x4f, 0x09, 0x56, 0x22, 0x69, 0xb9, 0x6b, + 0x8d, 0x89, 0x1b, 0x98, 0xa5, 0x15, 0xcb, 0xfb, 0xea, 0x58, 0x5b, 0x1e, 0x61, 0xd0, 0x63, 0xd8, + 0xb4, 0x3c, 0x16, 0xfa, 0x22, 0x30, 0xcb, 0x0a, 0x0e, 0x12, 0xde, 0x51, 0x47, 0x78, 0x21, 0x42, + 0x4f, 0xa1, 0x68, 0xd9, 0xb2, 0x78, 0x4c, 0xc8, 0x10, 0x46, 0x8d, 0x45, 0x4f, 0x61, 0xd3, 0xa1, + 0x81, 0x35, 0x76, 0x89, 0xb9, 0xa5, 0x68, 0x8d, 0x6b, 0xb4, 0x03, 0xc6, 0x5c, 0x9d, 0x35, 0x0d, + 0x45, 0x4d, 0x28, 0x72, 0x32, 0x65, 0x5c, 0x98, 0xdb, 0x8a, 0xa4, 0x0c, 0xc2, 0xea, 0x04, 0x6b, + 0x09, 0xda, 0x87, 0x0d, 0x5b, 0x50, 0x8f, 0x98, 0x95, 0x0c, 0xe6, 0x44, 0x50, 0xc9, 0xf1, 0x14, + 0xa7, 0x9a, 0x85, 0xa3, 0xa0, 0xa9, 0x52, 0xaf, 0x7d, 0x48, 0xa9, 0xa3, 0x03, 0xa8, 0xe8, 0x32, + 0x1c, 0x09, 0xf6, 0x03, 0xf1, 0xcd, 0x7a, 0x06, 0x7a, 0x9a, 0x82, 0x5a, 0x50, 0xb2, 0x9c, 0xef, + 0xc3, 0x40, 0x10, 0x6e, 0xee, 0x28, 0x3a, 0x5a, 0x26, 0xa7, 0xa3, 0x25, 0x38, 0xc6, 0xa0, 0xdf, + 0x42, 0x85, 0x93, 0x09, 0x79, 0x37, 0xb2, 0x99, 0x37, 0xa6, 0x3e, 0x31, 0xd1, 0xda, 0xa8, 0xa7, + 0x09, 0xe8, 0x29, 0x6c, 0x45, 0x29, 0x1f, 0xc9, 0xe9, 0x60, 0xde, 0x55, 0x55, 0x76, 0x37, 0x2e, + 0xa0, 0xe8, 0xe6, 0x63, 0xe6, 0x10, 0x0c, 0x56, 0xfc, 0x8d, 0xf6, 0xa0, 0x74, 0x61, 0x51, 0x97, + 0xcd, 0x08, 0x37, 0xef, 0x29, 0xca, 0xfd, 0x98, 0xf2, 0x5a, 0x0b, 0x54, 0x81, 0xc6, 0x30, 0xd4, + 0x82, 0x4d, 0xdb, 0x8d, 0x3c, 0xbb, 0xaf, 0x8c, 0x8c, 0xaa, 0x74, 0x31, 0x83, 0xba, 0x91, 0x0c, + 0x2f, 0x40, 0xe8, 0x0b, 0x28, 0x7a, 0x44, 0x5c, 0x32, 0xc7, 0xdc, 0x55, 0xf0, 0x9a, 0x84, 0x1f, + 0x5b, 0xc2, 0xbe, 0x8c, 0xe2, 0x87, 0xb5, 0x18, 0xb5, 0xa1, 0x6c, 0xf1, 0x49, 0xe8, 0x11, 0x59, + 0xd1, 0xff, 0xa7, 0x2a, 0x7a, 0x27, 0xc6, 0x76, 0xb4, 0x04, 0x2f, 0x31, 0xe8, 0x57, 0x50, 0x90, + 0x5d, 0x6f, 0x9a, 0x19, 0xf2, 0xa3, 0x90, 0xb2, 0x90, 0x88, 0x2a, 0xa4, 0x4f, 0xb2, 0x14, 0x92, + 0x82, 0xa2, 0xd7, 0x50, 0xf3, 0xac, 0x77, 0xa3, 0x1f, 0x43, 0x12, 0x92, 0x91, 0x43, 0x5c, 0x6b, + 0x6e, 0x36, 0x32, 0xcc, 0x89, 0x55, 0x12, 0x3a, 0x84, 0x1d, 0x9b, 0xf9, 0x76, 0xc8, 0x39, 0xf1, + 0xed, 0x79, 0x94, 0x0f, 0xf3, 0x53, 0xa5, 0x49, 0xc5, 0xbc, 0xbb, 0x2a, 0xc4, 0x28, 0x81, 0x1f, + 0x45, 0x49, 0x43, 0x2f, 0xa1, 0x6a, 0x87, 0x81, 0x60, 0x1e, 0x26, 0xc1, 0x94, 0xf9, 0x01, 0x31, + 0x3f, 0x5b, 0x96, 0x57, 0x37, 0x25, 0xc1, 0xb5, 0x08, 0x39, 0xe2, 0xfa, 0x00, 0xed, 0x43, 0xc9, + 0x23, 0xc2, 0x72, 0x2c, 0x61, 0x99, 0x0f, 0x54, 0x80, 0x77, 0xe3, 0x6c, 0x1f, 0x6b, 0x41, 0x34, + 0x63, 0x62, 0x1c, 0x6a, 0x40, 0x89, 0x38, 0x54, 0xa8, 0x51, 0xf0, 0xf0, 0x91, 0xf1, 0xa4, 0x84, + 0xe3, 0xbf, 0xd1, 0x43, 0x00, 0x87, 0xb8, 0x44, 0x10, 0x25, 0xfd, 0x5c, 0x49, 0x13, 0x27, 0x8d, + 0xdf, 0xc3, 0x56, 0x62, 0xe4, 0xa2, 0x3a, 0xe4, 0x7f, 0x20, 0x73, 0xf5, 0x76, 0x94, 0xb1, 0xfc, + 0x44, 0x3f, 0x83, 0x8d, 0x99, 0x8c, 0x96, 0x7e, 0x1c, 0xae, 0x95, 0x46, 0x24, 0x7d, 0x91, 0xfb, + 0xc6, 0x90, 0xba, 0x12, 0x43, 0xf0, 0xa7, 0xe9, 0x7a, 0x09, 0x95, 0x94, 0xbb, 0x37, 0x68, 0xbb, + 0x97, 0xd4, 0x56, 0x4e, 0x90, 0x9b, 0x8f, 0xa1, 0xb4, 0x98, 0xee, 0x68, 0x13, 0xf2, 0x67, 0xa7, + 0x83, 0xfa, 0x1d, 0x54, 0x83, 0xad, 0xee, 0xc9, 0xb7, 0xdd, 0x73, 0x8c, 0x7b, 0xdf, 0x76, 0xbf, + 0xab, 0x1b, 0xcd, 0x07, 0x50, 0x90, 0x7d, 0x83, 0x00, 0x8a, 0xbf, 0xeb, 0x9f, 0x1c, 0x74, 0xfa, + 0xf5, 0x3b, 0xa8, 0x0c, 0x1b, 0xfd, 0x93, 0x6e, 0xa7, 0x5f, 0x37, 0x9a, 0x7b, 0x00, 0xcb, 0x8e, + 0x44, 0x75, 0xd8, 0x8e, 0x40, 0xa3, 0xe1, 0xc9, 0x50, 0x41, 0x77, 0xa0, 0x32, 0x78, 0xd3, 0xc1, + 0xbd, 0x51, 0xef, 0xec, 0xbc, 0xd3, 0xef, 0x4b, 0x8d, 0xcf, 0x60, 0x3b, 0xd9, 0x91, 0x08, 0x41, + 0xf5, 0x75, 0xe7, 0xa8, 0x7f, 0xf2, 0xb6, 0x87, 0x47, 0x91, 0x5a, 0x45, 0x8b, 0xcf, 0x4e, 0x3b, + 0x83, 0x41, 0xdd, 0x68, 0xfe, 0xc7, 0x80, 0x4a, 0xaa, 0x83, 0xd0, 0x2f, 0xf4, 0x43, 0x64, 0xa8, + 0x7e, 0xdf, 0xbd, 0xd6, 0x62, 0xc9, 0x17, 0x49, 0x07, 0x26, 0x77, 0x43, 0x98, 0xf3, 0xb7, 0x85, + 0xb9, 0xe9, 0x2d, 0xfd, 0xef, 0x9e, 0x0f, 0x86, 0x27, 0xc7, 0xf5, 0x3b, 0xf2, 0xfb, 0xb8, 0x37, + 0x7c, 0x73, 0x72, 0x58, 0x37, 0xe4, 0xf7, 0x9b, 0x5e, 0xe7, 0xb0, 0x87, 0xeb, 0x39, 0x19, 0x97, + 0xb3, 0xf3, 0x1e, 0xfe, 0xae, 0x9e, 0x97, 0x4e, 0x75, 0x3b, 0xfd, 0x7e, 0x0f, 0x8f, 0x06, 0x3d, + 0xfc, 0xf6, 0xa8, 0xdb, 0xab, 0x17, 0x50, 0x05, 0xca, 0xfa, 0xec, 0xe8, 0xb4, 0xbe, 0x81, 0xee, + 0x42, 0x4d, 0xff, 0x79, 0xdc, 0x1b, 0x76, 0x0e, 0x3b, 0xc3, 0x4e, 0xbd, 0xd8, 0xdc, 0x87, 0x9d, + 0x6b, 0xfd, 0x83, 0x1e, 0x40, 0xd9, 0xb3, 0xde, 0xe9, 0x4e, 0x93, 0xde, 0x56, 0x30, 0xc8, 0xae, + 0x8c, 0x5a, 0xa9, 0xf9, 0x18, 0xaa, 0xe9, 0x86, 0x41, 0x08, 0x0a, 0x63, 0xe6, 0xcc, 0x95, 0x6b, + 0x65, 0xac, 0xbe, 0x9b, 0x7f, 0x32, 0xa0, 0xbe, 0x3a, 0xdc, 0x92, 0x6b, 0x8d, 0xf1, 0xd1, 0x6b, + 0x4d, 0xee, 0x83, 0xd6, 0x9a, 0xe6, 0x3f, 0x72, 0x50, 0xd4, 0x8e, 0xbd, 0x58, 0x75, 0x6c, 0xdd, + 0x30, 0x5a, 0xc2, 0xd1, 0x2b, 0xa8, 0xcc, 0x2c, 0x97, 0x3a, 0x87, 0x7a, 0xa7, 0xd4, 0x66, 0x7c, + 0x72, 0x8d, 0xbf, 0x00, 0xe0, 0x34, 0x5e, 0x5e, 0x3e, 0xe5, 0xc4, 0x8e, 0x5e, 0xd6, 0x7c, 0x96, + 0xcb, 0x63, 0x38, 0xfa, 0x0d, 0x6c, 0x05, 0xc2, 0xe2, 0x42, 0x9b, 0x5e, 0xc8, 0xc0, 0x4e, 0x12, + 0x94, 0xe3, 0xd4, 0xd7, 0xec, 0x8d, 0x4c, 0x8e, 0x2f, 0xe0, 0xcd, 0x3f, 0x1a, 0x50, 0x8c, 0x76, + 0x11, 0xf4, 0x0c, 0x4a, 0xd4, 0x17, 0x84, 0xcf, 0x2c, 0x57, 0x87, 0xef, 0x16, 0xf7, 0x63, 0xa8, + 0x5c, 0x0c, 0xa2, 0xd2, 0x39, 0x25, 0xdc, 0x26, 0xbe, 0x78, 0x6f, 0x06, 0x93, 0x16, 0xa4, 0x29, + 0xcd, 0xe7, 0x50, 0x4d, 0x2f, 0x01, 0xb2, 0xa1, 0x6c, 0x97, 0x7a, 0x63, 0x6d, 0x89, 0x6a, 0xa8, + 0xae, 0x3c, 0xe8, 0x32, 0xff, 0x82, 0x4e, 0x70, 0x24, 0x6d, 0xfe, 0xab, 0x0a, 0x5b, 0x89, 0x63, + 0xb4, 0x0f, 0x45, 0xe2, 0xab, 0xb9, 0x6b, 0xac, 0x5d, 0x15, 0x34, 0x52, 0xee, 0x82, 0x1e, 0x11, + 0x9c, 0xda, 0xb1, 0xe5, 0xe9, 0xbb, 0xe4, 0x23, 0xc0, 0xa9, 0xad, 0x2f, 0xd6, 0x58, 0xf4, 0x0c, + 0x8a, 0x53, 0xe6, 0x52, 0x7b, 0xae, 0xb3, 0xfd, 0x60, 0x95, 0x35, 0xe4, 0x74, 0x32, 0x21, 0xfc, + 0x54, 0x81, 0xb0, 0x06, 0xa3, 0x57, 0x00, 0xe2, 0x92, 0x33, 0x21, 0x5c, 0xea, 0x4f, 0x74, 0xaa, + 0x3f, 0x5f, 0xa5, 0xaa, 0xef, 0x61, 0x0c, 0xc3, 0x09, 0x4a, 0xe3, 0x9f, 0x06, 0x6c, 0x27, 0x0d, + 0x42, 0x7b, 0x50, 0xbc, 0xa2, 0xbe, 0xc3, 0xae, 0xd6, 0x27, 0x4d, 0x03, 0xd3, 0xc5, 0x9a, 0xfb, + 0xb0, 0x62, 0xed, 0x40, 0x35, 0xda, 0x59, 0x8f, 0x16, 0xb5, 0x92, 0x5f, 0x77, 0xed, 0x0a, 0xa1, + 0xf1, 0x97, 0x22, 0x54, 0x52, 0xd1, 0x41, 0x3d, 0x28, 0x13, 0xce, 0x19, 0x97, 0x23, 0x45, 0xbb, + 0xf1, 0xc5, 0xad, 0xf1, 0x6c, 0xf5, 0x16, 0x70, 0xbc, 0x64, 0xa2, 0x03, 0x28, 0x05, 0x2e, 0xbb, + 0x52, 0x5a, 0x22, 0xb7, 0x7e, 0x7e, 0xbb, 0x96, 0x81, 0x46, 0xe3, 0x98, 0xd7, 0xf8, 0x77, 0x1e, + 0xca, 0xb1, 0xf2, 0x8f, 0xaa, 0xa7, 0x21, 0xec, 0x72, 0xf2, 0x63, 0x48, 0x02, 0xf1, 0x96, 0xb9, + 0xa1, 0x47, 0x86, 0x97, 0x9c, 0x04, 0x97, 0xcc, 0x75, 0x32, 0x85, 0xfa, 0x3d, 0x5c, 0xf4, 0xeb, + 0x64, 0x88, 0xa2, 0x90, 0x7f, 0x7a, 0x4d, 0x51, 0x32, 0x65, 0xcb, 0xb0, 0x9c, 0x41, 0x29, 0x98, + 0x12, 0x9b, 0x5a, 0x6e, 0xa0, 0xff, 0xf9, 0x7b, 0x96, 0x31, 0xb8, 0xad, 0x41, 0xc4, 0xd3, 0xb5, + 0x1f, 0xab, 0x69, 0xfc, 0xdd, 0x80, 0x4a, 0x4a, 0x26, 0xd7, 0xce, 0xf8, 0xfd, 0x5c, 0xbb, 0x76, + 0xaa, 0x57, 0xf4, 0x25, 0x80, 0xb2, 0xb1, 0xcb, 0x1c, 0x12, 0x98, 0x39, 0x65, 0xd8, 0x8d, 0x2e, + 0x7d, 0xfd, 0x34, 0xa2, 0x25, 0xe0, 0x3f, 0x21, 0x1c, 0x8d, 0xbf, 0x1a, 0x50, 0x5a, 0x24, 0xfe, + 0xa3, 0x12, 0xdc, 0x86, 0x0d, 0xcf, 0x7a, 0x87, 0xc5, 0xfa, 0x47, 0x22, 0xc2, 0xa1, 0xe7, 0x89, + 0xba, 0xcc, 0x60, 0xeb, 0xb2, 0x18, 0xff, 0x5b, 0x80, 0xda, 0xca, 0x30, 0x40, 0x67, 0x70, 0xdf, + 0x66, 0xae, 0x73, 0x40, 0x5c, 0x76, 0x35, 0x0c, 0x7d, 0x72, 0xc8, 0xae, 0xfc, 0x44, 0xdf, 0xdc, + 0xaa, 0xf9, 0x66, 0x26, 0x3a, 0x86, 0xbb, 0x29, 0xc1, 0xf9, 0x34, 0xd1, 0x42, 0xb7, 0x2a, 0xbc, + 0x89, 0xb7, 0xb0, 0xb0, 0x33, 0x66, 0x33, 0x92, 0xb2, 0x30, 0x9f, 0xd1, 0xc2, 0x6b, 0xcc, 0x85, + 0x85, 0xb1, 0x40, 0x5b, 0x58, 0xc8, 0x68, 0xe1, 0x0a, 0x0f, 0x0d, 0x60, 0x57, 0xfd, 0xfc, 0x14, + 0xb7, 0xd7, 0x90, 0x45, 0x52, 0xfd, 0x7c, 0xde, 0xaa, 0xf1, 0x3d, 0x54, 0xb9, 0x43, 0x7c, 0x1f, + 0x3a, 0x13, 0x12, 0xef, 0x10, 0xc5, 0xb5, 0x3b, 0x44, 0x0a, 0x8f, 0x5e, 0xc1, 0xb6, 0x50, 0xaa, + 0x4e, 0x09, 0xa7, 0xcc, 0x51, 0xbf, 0x89, 0xac, 0xb1, 0x25, 0x45, 0x40, 0x5d, 0xa8, 0x0a, 0x1d, + 0x35, 0xad, 0xa2, 0xb4, 0x5e, 0xc5, 0x0a, 0xe5, 0xe0, 0xcf, 0x06, 0x3c, 0xb7, 0x99, 0xd7, 0x12, + 0xc4, 0x97, 0x6f, 0x73, 0x6b, 0xca, 0x5c, 0x8b, 0xd3, 0xa0, 0xa5, 0x7a, 0xff, 0x82, 0xda, 0xd1, + 0x6f, 0x6e, 0xd6, 0x94, 0xca, 0x19, 0x22, 0xb8, 0x75, 0x71, 0x41, 0xed, 0x96, 0x67, 0xf9, 0xd6, + 0x84, 0x1c, 0x54, 0xe3, 0x9d, 0xf0, 0x54, 0xde, 0xf4, 0x87, 0xc3, 0x09, 0x15, 0x97, 0xe1, 0xb8, + 0x65, 0x33, 0xaf, 0xad, 0xf5, 0x78, 0x24, 0xb8, 0x6c, 0xa7, 0x74, 0xb5, 0xa3, 0x7f, 0x1b, 0xda, + 0x13, 0xd6, 0xb6, 0xa6, 0xb4, 0x3d, 0xdb, 0x6b, 0x6b, 0xad, 0xa3, 0x48, 0xeb, 0xb8, 0xa8, 0xcc, + 0xfe, 0xea, 0x7f, 0x01, 0x00, 0x00, 0xff, 0xff, 0xd2, 0x11, 0x40, 0xa9, 0x37, 0x14, 0x00, 0x00, } diff --git a/source/go/api/v1/traffic_manage/ratelimiter/grpcapi_ratelimiter.pb.go b/source/go/api/v1/traffic_manage/ratelimiter/grpcapi_ratelimiter.pb.go index 19c97e6..1ea0f32 100644 --- a/source/go/api/v1/traffic_manage/ratelimiter/grpcapi_ratelimiter.pb.go +++ b/source/go/api/v1/traffic_manage/ratelimiter/grpcapi_ratelimiter.pb.go @@ -1,112 +1,35 @@ // Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.33.0 -// protoc v5.27.3 // source: grpcapi_ratelimiter.proto -package ratelimiter +package ratelimiter // import "github.com/polarismesh/specification/source/go/api/v1/traffic_manage/ratelimiter" + +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" import ( - context "context" + context "golang.org/x/net/context" grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/status" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" ) -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf -var File_grpcapi_ratelimiter_proto protoreflect.FileDescriptor - -var file_grpcapi_ratelimiter_proto_rawDesc = []byte{ - 0x0a, 0x19, 0x67, 0x72, 0x70, 0x63, 0x61, 0x70, 0x69, 0x5f, 0x72, 0x61, 0x74, 0x65, 0x6c, 0x69, - 0x6d, 0x69, 0x74, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x11, 0x70, 0x6f, 0x6c, - 0x61, 0x72, 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x2e, 0x76, 0x32, 0x1a, 0x11, - 0x72, 0x61, 0x74, 0x65, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x32, 0xca, 0x01, 0x0a, 0x0f, 0x52, 0x61, 0x74, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x47, - 0x52, 0x50, 0x43, 0x56, 0x32, 0x12, 0x5a, 0x0a, 0x07, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, - 0x12, 0x23, 0x2e, 0x70, 0x6f, 0x6c, 0x61, 0x72, 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x74, 0x72, 0x69, - 0x63, 0x2e, 0x76, 0x32, 0x2e, 0x52, 0x61, 0x74, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x70, 0x6f, 0x6c, 0x61, 0x72, 0x69, 0x73, 0x2e, - 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x2e, 0x76, 0x32, 0x2e, 0x52, 0x61, 0x74, 0x65, 0x4c, 0x69, - 0x6d, 0x69, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x28, 0x01, 0x30, - 0x01, 0x12, 0x5b, 0x0a, 0x0a, 0x54, 0x69, 0x6d, 0x65, 0x41, 0x64, 0x6a, 0x75, 0x73, 0x74, 0x12, - 0x24, 0x2e, 0x70, 0x6f, 0x6c, 0x61, 0x72, 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, - 0x2e, 0x76, 0x32, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x41, 0x64, 0x6a, 0x75, 0x73, 0x74, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x70, 0x6f, 0x6c, 0x61, 0x72, 0x69, 0x73, 0x2e, - 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x2e, 0x76, 0x32, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x41, 0x64, - 0x6a, 0x75, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0xab, - 0x01, 0x0a, 0x43, 0x63, 0x6f, 0x6d, 0x2e, 0x74, 0x65, 0x6e, 0x63, 0x65, 0x6e, 0x74, 0x2e, 0x70, - 0x6f, 0x6c, 0x61, 0x72, 0x69, 0x73, 0x2e, 0x73, 0x70, 0x65, 0x63, 0x69, 0x66, 0x69, 0x63, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x74, 0x72, 0x61, 0x66, - 0x66, 0x69, 0x63, 0x2e, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x2e, 0x72, 0x61, 0x74, 0x65, 0x6c, - 0x69, 0x6d, 0x69, 0x74, 0x65, 0x72, 0x42, 0x12, 0x52, 0x61, 0x74, 0x65, 0x4c, 0x69, 0x6d, 0x69, - 0x74, 0x65, 0x72, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5a, 0x50, 0x67, 0x69, 0x74, 0x68, - 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x6f, 0x6c, 0x61, 0x72, 0x69, 0x73, 0x6d, 0x65, - 0x73, 0x68, 0x2f, 0x73, 0x70, 0x65, 0x63, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x2f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2f, 0x67, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, - 0x31, 0x2f, 0x74, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x5f, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, - 0x2f, 0x72, 0x61, 0x74, 0x65, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x65, 0x72, 0x62, 0x06, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x33, -} - -var file_grpcapi_ratelimiter_proto_goTypes = []interface{}{ - (*RateLimitRequest)(nil), // 0: polaris.metric.v2.RateLimitRequest - (*TimeAdjustRequest)(nil), // 1: polaris.metric.v2.TimeAdjustRequest - (*RateLimitResponse)(nil), // 2: polaris.metric.v2.RateLimitResponse - (*TimeAdjustResponse)(nil), // 3: polaris.metric.v2.TimeAdjustResponse -} -var file_grpcapi_ratelimiter_proto_depIdxs = []int32{ - 0, // 0: polaris.metric.v2.RateLimitGRPCV2.Service:input_type -> polaris.metric.v2.RateLimitRequest - 1, // 1: polaris.metric.v2.RateLimitGRPCV2.TimeAdjust:input_type -> polaris.metric.v2.TimeAdjustRequest - 2, // 2: polaris.metric.v2.RateLimitGRPCV2.Service:output_type -> polaris.metric.v2.RateLimitResponse - 3, // 3: polaris.metric.v2.RateLimitGRPCV2.TimeAdjust:output_type -> polaris.metric.v2.TimeAdjustResponse - 2, // [2:4] is the sub-list for method output_type - 0, // [0:2] is the sub-list for method input_type - 0, // [0:0] is the sub-list for extension type_name - 0, // [0:0] is the sub-list for extension extendee - 0, // [0:0] is the sub-list for field type_name -} - -func init() { file_grpcapi_ratelimiter_proto_init() } -func file_grpcapi_ratelimiter_proto_init() { - if File_grpcapi_ratelimiter_proto != nil { - return - } - file_ratelimiter_proto_init() - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_grpcapi_ratelimiter_proto_rawDesc, - NumEnums: 0, - NumMessages: 0, - NumExtensions: 0, - NumServices: 1, - }, - GoTypes: file_grpcapi_ratelimiter_proto_goTypes, - DependencyIndexes: file_grpcapi_ratelimiter_proto_depIdxs, - }.Build() - File_grpcapi_ratelimiter_proto = out.File - file_grpcapi_ratelimiter_proto_rawDesc = nil - file_grpcapi_ratelimiter_proto_goTypes = nil - file_grpcapi_ratelimiter_proto_depIdxs = nil -} +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package // Reference imports to suppress errors if they are not otherwise used. var _ context.Context -var _ grpc.ClientConnInterface +var _ grpc.ClientConn // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package it is being compiled against. -const _ = grpc.SupportPackageIsVersion6 +const _ = grpc.SupportPackageIsVersion4 // RateLimitGRPCV2Client is the client API for RateLimitGRPCV2 service. // @@ -119,10 +42,10 @@ type RateLimitGRPCV2Client interface { } type rateLimitGRPCV2Client struct { - cc grpc.ClientConnInterface + cc *grpc.ClientConn } -func NewRateLimitGRPCV2Client(cc grpc.ClientConnInterface) RateLimitGRPCV2Client { +func NewRateLimitGRPCV2Client(cc *grpc.ClientConn) RateLimitGRPCV2Client { return &rateLimitGRPCV2Client{cc} } @@ -174,17 +97,6 @@ type RateLimitGRPCV2Server interface { TimeAdjust(context.Context, *TimeAdjustRequest) (*TimeAdjustResponse, error) } -// UnimplementedRateLimitGRPCV2Server can be embedded to have forward compatible implementations. -type UnimplementedRateLimitGRPCV2Server struct { -} - -func (*UnimplementedRateLimitGRPCV2Server) Service(RateLimitGRPCV2_ServiceServer) error { - return status.Errorf(codes.Unimplemented, "method Service not implemented") -} -func (*UnimplementedRateLimitGRPCV2Server) TimeAdjust(context.Context, *TimeAdjustRequest) (*TimeAdjustResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method TimeAdjust not implemented") -} - func RegisterRateLimitGRPCV2Server(s *grpc.Server, srv RateLimitGRPCV2Server) { s.RegisterService(&_RateLimitGRPCV2_serviceDesc, srv) } @@ -252,3 +164,28 @@ var _RateLimitGRPCV2_serviceDesc = grpc.ServiceDesc{ }, Metadata: "grpcapi_ratelimiter.proto", } + +func init() { + proto.RegisterFile("grpcapi_ratelimiter.proto", fileDescriptor_grpcapi_ratelimiter_765ebea45edf366a) +} + +var fileDescriptor_grpcapi_ratelimiter_765ebea45edf366a = []byte{ + // 262 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x91, 0x3d, 0x4e, 0x33, 0x31, + 0x10, 0x40, 0xbf, 0x6d, 0x3e, 0x24, 0x37, 0x28, 0xee, 0x48, 0xc9, 0x8f, 0x44, 0x35, 0x26, 0xcb, + 0x09, 0x48, 0x0a, 0x1a, 0x8a, 0x68, 0x41, 0x14, 0xa1, 0x88, 0x1c, 0x33, 0xbb, 0x19, 0x14, 0xff, + 0x30, 0x9e, 0xdd, 0x4b, 0x71, 0x13, 0x4e, 0x85, 0x80, 0xcd, 0x12, 0x14, 0x04, 0xad, 0xfd, 0xe6, + 0x3d, 0x6b, 0xac, 0x8e, 0x1a, 0x4e, 0xce, 0x26, 0x5a, 0xb2, 0x15, 0xdc, 0x90, 0x27, 0x41, 0x86, + 0xc4, 0x51, 0xa2, 0x1e, 0xa5, 0xb8, 0xb1, 0x4c, 0x19, 0x3c, 0x0a, 0x93, 0x83, 0xae, 0x1c, 0x8f, + 0xf6, 0xa8, 0xf2, 0xb5, 0x50, 0x87, 0x95, 0x15, 0xbc, 0x79, 0x3f, 0xbd, 0xae, 0xe6, 0xb3, 0xfb, + 0x52, 0x2f, 0xd4, 0xc1, 0x2d, 0x72, 0x47, 0x0e, 0xf5, 0x09, 0xec, 0x59, 0x60, 0xc0, 0x2b, 0x7c, + 0x6e, 0x31, 0xcb, 0xf8, 0xf4, 0x77, 0x28, 0xa7, 0x18, 0x32, 0x1e, 0xff, 0x3b, 0x2f, 0x2e, 0x0a, + 0xfd, 0xa0, 0xd4, 0x1d, 0x79, 0xbc, 0x7a, 0x7c, 0x6a, 0xb3, 0xe8, 0x9f, 0x26, 0xbf, 0xae, 0xb7, + 0xfe, 0xb3, 0x3f, 0xa8, 0x6d, 0x60, 0xfa, 0x52, 0xa8, 0x99, 0x8b, 0x1e, 0x04, 0x83, 0xc3, 0x20, + 0xc3, 0x58, 0x4e, 0xe8, 0xa8, 0x26, 0x67, 0x85, 0x62, 0x00, 0x9b, 0x08, 0xba, 0x09, 0x08, 0xdb, + 0xba, 0x26, 0x07, 0xde, 0x06, 0xdb, 0x20, 0xec, 0xac, 0x66, 0xaa, 0x87, 0xd7, 0x23, 0xf7, 0x9b, + 0x58, 0xcc, 0x1b, 0x92, 0x75, 0xbb, 0x02, 0x17, 0xbd, 0xe9, 0xbd, 0x1e, 0xf3, 0xda, 0x7c, 0x73, + 0x9b, 0x1c, 0x5b, 0x76, 0x68, 0x9a, 0x68, 0x6c, 0x22, 0xd3, 0x4d, 0x4c, 0x5f, 0x59, 0x7e, 0x56, + 0xcc, 0x4e, 0x65, 0xf5, 0xff, 0xe3, 0x07, 0x2e, 0xdf, 0x02, 0x00, 0x00, 0xff, 0xff, 0x8b, 0xc3, + 0x51, 0x46, 0xc4, 0x01, 0x00, 0x00, +} diff --git a/source/go/api/v1/traffic_manage/ratelimiter/ratelimiter.pb.go b/source/go/api/v1/traffic_manage/ratelimiter/ratelimiter.pb.go index 2e33900..66db9e5 100644 --- a/source/go/api/v1/traffic_manage/ratelimiter/ratelimiter.pb.go +++ b/source/go/api/v1/traffic_manage/ratelimiter/ratelimiter.pb.go @@ -1,24 +1,22 @@ // Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.33.0 -// protoc v5.27.3 // source: ratelimiter.proto -package ratelimiter +package ratelimiter // import "github.com/polarismesh/specification/source/go/api/v1/traffic_manage/ratelimiter" -import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" -) +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package // 命令字 type RateLimitCmd int32 @@ -30,47 +28,24 @@ const ( RateLimitCmd_BATCH_ACQUIRE RateLimitCmd = 3 ) -// Enum value maps for RateLimitCmd. -var ( - RateLimitCmd_name = map[int32]string{ - 0: "INIT", - 1: "ACQUIRE", - 2: "BATCH_INIT", - 3: "BATCH_ACQUIRE", - } - RateLimitCmd_value = map[string]int32{ - "INIT": 0, - "ACQUIRE": 1, - "BATCH_INIT": 2, - "BATCH_ACQUIRE": 3, - } -) - -func (x RateLimitCmd) Enum() *RateLimitCmd { - p := new(RateLimitCmd) - *p = x - return p +var RateLimitCmd_name = map[int32]string{ + 0: "INIT", + 1: "ACQUIRE", + 2: "BATCH_INIT", + 3: "BATCH_ACQUIRE", } - -func (x RateLimitCmd) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (RateLimitCmd) Descriptor() protoreflect.EnumDescriptor { - return file_ratelimiter_proto_enumTypes[0].Descriptor() +var RateLimitCmd_value = map[string]int32{ + "INIT": 0, + "ACQUIRE": 1, + "BATCH_INIT": 2, + "BATCH_ACQUIRE": 3, } -func (RateLimitCmd) Type() protoreflect.EnumType { - return &file_ratelimiter_proto_enumTypes[0] -} - -func (x RateLimitCmd) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) +func (x RateLimitCmd) String() string { + return proto.EnumName(RateLimitCmd_name, int32(x)) } - -// Deprecated: Use RateLimitCmd.Descriptor instead. func (RateLimitCmd) EnumDescriptor() ([]byte, []int) { - return file_ratelimiter_proto_rawDescGZIP(), []int{0} + return fileDescriptor_ratelimiter_5c4f58d31f148d39, []int{0} } // 限频模式 @@ -85,45 +60,22 @@ const ( Mode_BATCH_SHARE Mode = 2 ) -// Enum value maps for Mode. -var ( - Mode_name = map[int32]string{ - 0: "ADAPTIVE", - 1: "BATCH_OCCUPY", - 2: "BATCH_SHARE", - } - Mode_value = map[string]int32{ - "ADAPTIVE": 0, - "BATCH_OCCUPY": 1, - "BATCH_SHARE": 2, - } -) - -func (x Mode) Enum() *Mode { - p := new(Mode) - *p = x - return p -} - -func (x Mode) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (Mode) Descriptor() protoreflect.EnumDescriptor { - return file_ratelimiter_proto_enumTypes[1].Descriptor() +var Mode_name = map[int32]string{ + 0: "ADAPTIVE", + 1: "BATCH_OCCUPY", + 2: "BATCH_SHARE", } - -func (Mode) Type() protoreflect.EnumType { - return &file_ratelimiter_proto_enumTypes[1] +var Mode_value = map[string]int32{ + "ADAPTIVE": 0, + "BATCH_OCCUPY": 1, + "BATCH_SHARE": 2, } -func (x Mode) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) +func (x Mode) String() string { + return proto.EnumName(Mode_name, int32(x)) } - -// Deprecated: Use Mode.Descriptor instead. func (Mode) EnumDescriptor() ([]byte, []int) { - return file_ratelimiter_proto_rawDescGZIP(), []int{1} + return fileDescriptor_ratelimiter_5c4f58d31f148d39, []int{1} } // 阈值模式 @@ -136,51 +88,24 @@ const ( QuotaMode_DIVIDE QuotaMode = 1 ) -// Enum value maps for QuotaMode. -var ( - QuotaMode_name = map[int32]string{ - 0: "WHOLE", - 1: "DIVIDE", - } - QuotaMode_value = map[string]int32{ - "WHOLE": 0, - "DIVIDE": 1, - } -) - -func (x QuotaMode) Enum() *QuotaMode { - p := new(QuotaMode) - *p = x - return p +var QuotaMode_name = map[int32]string{ + 0: "WHOLE", + 1: "DIVIDE", } - -func (x QuotaMode) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (QuotaMode) Descriptor() protoreflect.EnumDescriptor { - return file_ratelimiter_proto_enumTypes[2].Descriptor() +var QuotaMode_value = map[string]int32{ + "WHOLE": 0, + "DIVIDE": 1, } -func (QuotaMode) Type() protoreflect.EnumType { - return &file_ratelimiter_proto_enumTypes[2] -} - -func (x QuotaMode) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) +func (x QuotaMode) String() string { + return proto.EnumName(QuotaMode_name, int32(x)) } - -// Deprecated: Use QuotaMode.Descriptor instead. func (QuotaMode) EnumDescriptor() ([]byte, []int) { - return file_ratelimiter_proto_rawDescGZIP(), []int{2} + return fileDescriptor_ratelimiter_5c4f58d31f148d39, []int{2} } // 限流请求 type RateLimitRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // 命令字 Cmd RateLimitCmd `protobuf:"varint,1,opt,name=cmd,proto3,enum=polaris.metric.v2.RateLimitCmd" json:"cmd,omitempty"` // 初始化请求 @@ -189,74 +114,65 @@ type RateLimitRequest struct { RateLimitReportRequest *RateLimitReportRequest `protobuf:"bytes,3,opt,name=rateLimitReportRequest,proto3" json:"rateLimitReportRequest,omitempty"` // 批量初始化请求 RateLimitBatchInitRequest *RateLimitBatchInitRequest `protobuf:"bytes,4,opt,name=rateLimitBatchInitRequest,proto3" json:"rateLimitBatchInitRequest,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *RateLimitRequest) Reset() { - *x = RateLimitRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_ratelimiter_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *RateLimitRequest) Reset() { *m = RateLimitRequest{} } +func (m *RateLimitRequest) String() string { return proto.CompactTextString(m) } +func (*RateLimitRequest) ProtoMessage() {} +func (*RateLimitRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_ratelimiter_5c4f58d31f148d39, []int{0} } - -func (x *RateLimitRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *RateLimitRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RateLimitRequest.Unmarshal(m, b) } - -func (*RateLimitRequest) ProtoMessage() {} - -func (x *RateLimitRequest) ProtoReflect() protoreflect.Message { - mi := &file_ratelimiter_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *RateLimitRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RateLimitRequest.Marshal(b, m, deterministic) } - -// Deprecated: Use RateLimitRequest.ProtoReflect.Descriptor instead. -func (*RateLimitRequest) Descriptor() ([]byte, []int) { - return file_ratelimiter_proto_rawDescGZIP(), []int{0} +func (dst *RateLimitRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_RateLimitRequest.Merge(dst, src) +} +func (m *RateLimitRequest) XXX_Size() int { + return xxx_messageInfo_RateLimitRequest.Size(m) } +func (m *RateLimitRequest) XXX_DiscardUnknown() { + xxx_messageInfo_RateLimitRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_RateLimitRequest proto.InternalMessageInfo -func (x *RateLimitRequest) GetCmd() RateLimitCmd { - if x != nil { - return x.Cmd +func (m *RateLimitRequest) GetCmd() RateLimitCmd { + if m != nil { + return m.Cmd } return RateLimitCmd_INIT } -func (x *RateLimitRequest) GetRateLimitInitRequest() *RateLimitInitRequest { - if x != nil { - return x.RateLimitInitRequest +func (m *RateLimitRequest) GetRateLimitInitRequest() *RateLimitInitRequest { + if m != nil { + return m.RateLimitInitRequest } return nil } -func (x *RateLimitRequest) GetRateLimitReportRequest() *RateLimitReportRequest { - if x != nil { - return x.RateLimitReportRequest +func (m *RateLimitRequest) GetRateLimitReportRequest() *RateLimitReportRequest { + if m != nil { + return m.RateLimitReportRequest } return nil } -func (x *RateLimitRequest) GetRateLimitBatchInitRequest() *RateLimitBatchInitRequest { - if x != nil { - return x.RateLimitBatchInitRequest +func (m *RateLimitRequest) GetRateLimitBatchInitRequest() *RateLimitBatchInitRequest { + if m != nil { + return m.RateLimitBatchInitRequest } return nil } // 限流应答 type RateLimitResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // 命令字 Cmd RateLimitCmd `protobuf:"varint,1,opt,name=cmd,proto3,enum=polaris.metric.v2.RateLimitCmd" json:"cmd,omitempty"` // 初始化应答 @@ -265,74 +181,65 @@ type RateLimitResponse struct { RateLimitReportResponse *RateLimitReportResponse `protobuf:"bytes,3,opt,name=rateLimitReportResponse,proto3" json:"rateLimitReportResponse,omitempty"` // 批量初始化应答 RateLimitBatchInitResponse *RateLimitBatchInitResponse `protobuf:"bytes,4,opt,name=rateLimitBatchInitResponse,proto3" json:"rateLimitBatchInitResponse,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *RateLimitResponse) Reset() { - *x = RateLimitResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_ratelimiter_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *RateLimitResponse) Reset() { *m = RateLimitResponse{} } +func (m *RateLimitResponse) String() string { return proto.CompactTextString(m) } +func (*RateLimitResponse) ProtoMessage() {} +func (*RateLimitResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_ratelimiter_5c4f58d31f148d39, []int{1} } - -func (x *RateLimitResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *RateLimitResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RateLimitResponse.Unmarshal(m, b) } - -func (*RateLimitResponse) ProtoMessage() {} - -func (x *RateLimitResponse) ProtoReflect() protoreflect.Message { - mi := &file_ratelimiter_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *RateLimitResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RateLimitResponse.Marshal(b, m, deterministic) } - -// Deprecated: Use RateLimitResponse.ProtoReflect.Descriptor instead. -func (*RateLimitResponse) Descriptor() ([]byte, []int) { - return file_ratelimiter_proto_rawDescGZIP(), []int{1} +func (dst *RateLimitResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_RateLimitResponse.Merge(dst, src) +} +func (m *RateLimitResponse) XXX_Size() int { + return xxx_messageInfo_RateLimitResponse.Size(m) +} +func (m *RateLimitResponse) XXX_DiscardUnknown() { + xxx_messageInfo_RateLimitResponse.DiscardUnknown(m) } -func (x *RateLimitResponse) GetCmd() RateLimitCmd { - if x != nil { - return x.Cmd +var xxx_messageInfo_RateLimitResponse proto.InternalMessageInfo + +func (m *RateLimitResponse) GetCmd() RateLimitCmd { + if m != nil { + return m.Cmd } return RateLimitCmd_INIT } -func (x *RateLimitResponse) GetRateLimitInitResponse() *RateLimitInitResponse { - if x != nil { - return x.RateLimitInitResponse +func (m *RateLimitResponse) GetRateLimitInitResponse() *RateLimitInitResponse { + if m != nil { + return m.RateLimitInitResponse } return nil } -func (x *RateLimitResponse) GetRateLimitReportResponse() *RateLimitReportResponse { - if x != nil { - return x.RateLimitReportResponse +func (m *RateLimitResponse) GetRateLimitReportResponse() *RateLimitReportResponse { + if m != nil { + return m.RateLimitReportResponse } return nil } -func (x *RateLimitResponse) GetRateLimitBatchInitResponse() *RateLimitBatchInitResponse { - if x != nil { - return x.RateLimitBatchInitResponse +func (m *RateLimitResponse) GetRateLimitBatchInitResponse() *RateLimitBatchInitResponse { + if m != nil { + return m.RateLimitBatchInitResponse } return nil } // 初始化请求 type RateLimitInitRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // 限流目标对象数据 Target *LimitTarget `protobuf:"bytes,1,opt,name=target,proto3" json:"target,omitempty"` // 客户端唯一标识 @@ -342,82 +249,73 @@ type RateLimitInitRequest struct { // 客户端可指定滑窗数,不指定用默认值 SlideCount uint32 `protobuf:"varint,4,opt,name=slideCount,proto3" json:"slideCount,omitempty"` // 限流模式 - Mode Mode `protobuf:"varint,5,opt,name=mode,proto3,enum=polaris.metric.v2.Mode" json:"mode,omitempty"` + Mode Mode `protobuf:"varint,5,opt,name=mode,proto3,enum=polaris.metric.v2.Mode" json:"mode,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *RateLimitInitRequest) Reset() { - *x = RateLimitInitRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_ratelimiter_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *RateLimitInitRequest) Reset() { *m = RateLimitInitRequest{} } +func (m *RateLimitInitRequest) String() string { return proto.CompactTextString(m) } +func (*RateLimitInitRequest) ProtoMessage() {} +func (*RateLimitInitRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_ratelimiter_5c4f58d31f148d39, []int{2} } - -func (x *RateLimitInitRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *RateLimitInitRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RateLimitInitRequest.Unmarshal(m, b) } - -func (*RateLimitInitRequest) ProtoMessage() {} - -func (x *RateLimitInitRequest) ProtoReflect() protoreflect.Message { - mi := &file_ratelimiter_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) +func (m *RateLimitInitRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RateLimitInitRequest.Marshal(b, m, deterministic) } - -// Deprecated: Use RateLimitInitRequest.ProtoReflect.Descriptor instead. -func (*RateLimitInitRequest) Descriptor() ([]byte, []int) { - return file_ratelimiter_proto_rawDescGZIP(), []int{2} +func (dst *RateLimitInitRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_RateLimitInitRequest.Merge(dst, src) +} +func (m *RateLimitInitRequest) XXX_Size() int { + return xxx_messageInfo_RateLimitInitRequest.Size(m) +} +func (m *RateLimitInitRequest) XXX_DiscardUnknown() { + xxx_messageInfo_RateLimitInitRequest.DiscardUnknown(m) } -func (x *RateLimitInitRequest) GetTarget() *LimitTarget { - if x != nil { - return x.Target +var xxx_messageInfo_RateLimitInitRequest proto.InternalMessageInfo + +func (m *RateLimitInitRequest) GetTarget() *LimitTarget { + if m != nil { + return m.Target } return nil } -func (x *RateLimitInitRequest) GetClientId() string { - if x != nil { - return x.ClientId +func (m *RateLimitInitRequest) GetClientId() string { + if m != nil { + return m.ClientId } return "" } -func (x *RateLimitInitRequest) GetTotals() []*QuotaTotal { - if x != nil { - return x.Totals +func (m *RateLimitInitRequest) GetTotals() []*QuotaTotal { + if m != nil { + return m.Totals } return nil } -func (x *RateLimitInitRequest) GetSlideCount() uint32 { - if x != nil { - return x.SlideCount +func (m *RateLimitInitRequest) GetSlideCount() uint32 { + if m != nil { + return m.SlideCount } return 0 } -func (x *RateLimitInitRequest) GetMode() Mode { - if x != nil { - return x.Mode +func (m *RateLimitInitRequest) GetMode() Mode { + if m != nil { + return m.Mode } return Mode_ADAPTIVE } // 初始化应答 type RateLimitInitResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // 应答错误码 Code uint32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` // 限流目标对象,回传给客户端 @@ -429,203 +327,176 @@ type RateLimitInitResponse struct { // 实际滑窗个数 SlideCount uint32 `protobuf:"varint,6,opt,name=slideCount,proto3" json:"slideCount,omitempty"` // 限流server绝对时间,单位ms - Timestamp int64 `protobuf:"varint,7,opt,name=timestamp,proto3" json:"timestamp,omitempty"` + Timestamp int64 `protobuf:"varint,7,opt,name=timestamp,proto3" json:"timestamp,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *RateLimitInitResponse) Reset() { - *x = RateLimitInitResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_ratelimiter_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *RateLimitInitResponse) Reset() { *m = RateLimitInitResponse{} } +func (m *RateLimitInitResponse) String() string { return proto.CompactTextString(m) } +func (*RateLimitInitResponse) ProtoMessage() {} +func (*RateLimitInitResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_ratelimiter_5c4f58d31f148d39, []int{3} } - -func (x *RateLimitInitResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *RateLimitInitResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RateLimitInitResponse.Unmarshal(m, b) } - -func (*RateLimitInitResponse) ProtoMessage() {} - -func (x *RateLimitInitResponse) ProtoReflect() protoreflect.Message { - mi := &file_ratelimiter_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) +func (m *RateLimitInitResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RateLimitInitResponse.Marshal(b, m, deterministic) } - -// Deprecated: Use RateLimitInitResponse.ProtoReflect.Descriptor instead. -func (*RateLimitInitResponse) Descriptor() ([]byte, []int) { - return file_ratelimiter_proto_rawDescGZIP(), []int{3} +func (dst *RateLimitInitResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_RateLimitInitResponse.Merge(dst, src) +} +func (m *RateLimitInitResponse) XXX_Size() int { + return xxx_messageInfo_RateLimitInitResponse.Size(m) +} +func (m *RateLimitInitResponse) XXX_DiscardUnknown() { + xxx_messageInfo_RateLimitInitResponse.DiscardUnknown(m) } -func (x *RateLimitInitResponse) GetCode() uint32 { - if x != nil { - return x.Code +var xxx_messageInfo_RateLimitInitResponse proto.InternalMessageInfo + +func (m *RateLimitInitResponse) GetCode() uint32 { + if m != nil { + return m.Code } return 0 } -func (x *RateLimitInitResponse) GetTarget() *LimitTarget { - if x != nil { - return x.Target +func (m *RateLimitInitResponse) GetTarget() *LimitTarget { + if m != nil { + return m.Target } return nil } -func (x *RateLimitInitResponse) GetClientKey() uint32 { - if x != nil { - return x.ClientKey +func (m *RateLimitInitResponse) GetClientKey() uint32 { + if m != nil { + return m.ClientKey } return 0 } -func (x *RateLimitInitResponse) GetCounters() []*QuotaCounter { - if x != nil { - return x.Counters +func (m *RateLimitInitResponse) GetCounters() []*QuotaCounter { + if m != nil { + return m.Counters } return nil } -func (x *RateLimitInitResponse) GetSlideCount() uint32 { - if x != nil { - return x.SlideCount +func (m *RateLimitInitResponse) GetSlideCount() uint32 { + if m != nil { + return m.SlideCount } return 0 } -func (x *RateLimitInitResponse) GetTimestamp() int64 { - if x != nil { - return x.Timestamp +func (m *RateLimitInitResponse) GetTimestamp() int64 { + if m != nil { + return m.Timestamp } return 0 } // 批量初始化请求 type RateLimitBatchInitRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // 每条规则汇总成一个Init请求 Request []*RateLimitInitRequest `protobuf:"bytes,1,rep,name=request,proto3" json:"request,omitempty"` // 客户端唯一标识 - ClientId string `protobuf:"bytes,2,opt,name=clientId,proto3" json:"clientId,omitempty"` + ClientId string `protobuf:"bytes,2,opt,name=clientId,proto3" json:"clientId,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *RateLimitBatchInitRequest) Reset() { - *x = RateLimitBatchInitRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_ratelimiter_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *RateLimitBatchInitRequest) Reset() { *m = RateLimitBatchInitRequest{} } +func (m *RateLimitBatchInitRequest) String() string { return proto.CompactTextString(m) } +func (*RateLimitBatchInitRequest) ProtoMessage() {} +func (*RateLimitBatchInitRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_ratelimiter_5c4f58d31f148d39, []int{4} } - -func (x *RateLimitBatchInitRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *RateLimitBatchInitRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RateLimitBatchInitRequest.Unmarshal(m, b) } - -func (*RateLimitBatchInitRequest) ProtoMessage() {} - -func (x *RateLimitBatchInitRequest) ProtoReflect() protoreflect.Message { - mi := &file_ratelimiter_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) +func (m *RateLimitBatchInitRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RateLimitBatchInitRequest.Marshal(b, m, deterministic) } - -// Deprecated: Use RateLimitBatchInitRequest.ProtoReflect.Descriptor instead. -func (*RateLimitBatchInitRequest) Descriptor() ([]byte, []int) { - return file_ratelimiter_proto_rawDescGZIP(), []int{4} +func (dst *RateLimitBatchInitRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_RateLimitBatchInitRequest.Merge(dst, src) +} +func (m *RateLimitBatchInitRequest) XXX_Size() int { + return xxx_messageInfo_RateLimitBatchInitRequest.Size(m) } +func (m *RateLimitBatchInitRequest) XXX_DiscardUnknown() { + xxx_messageInfo_RateLimitBatchInitRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_RateLimitBatchInitRequest proto.InternalMessageInfo -func (x *RateLimitBatchInitRequest) GetRequest() []*RateLimitInitRequest { - if x != nil { - return x.Request +func (m *RateLimitBatchInitRequest) GetRequest() []*RateLimitInitRequest { + if m != nil { + return m.Request } return nil } -func (x *RateLimitBatchInitRequest) GetClientId() string { - if x != nil { - return x.ClientId +func (m *RateLimitBatchInitRequest) GetClientId() string { + if m != nil { + return m.ClientId } return "" } type LabeledQuotaCounter struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // 自定义标签 Labels string `protobuf:"bytes,1,opt,name=labels,proto3" json:"labels,omitempty"` // 计数器的标识 - Counters []*QuotaCounter `protobuf:"bytes,2,rep,name=counters,proto3" json:"counters,omitempty"` + Counters []*QuotaCounter `protobuf:"bytes,2,rep,name=counters,proto3" json:"counters,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *LabeledQuotaCounter) Reset() { - *x = LabeledQuotaCounter{} - if protoimpl.UnsafeEnabled { - mi := &file_ratelimiter_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *LabeledQuotaCounter) Reset() { *m = LabeledQuotaCounter{} } +func (m *LabeledQuotaCounter) String() string { return proto.CompactTextString(m) } +func (*LabeledQuotaCounter) ProtoMessage() {} +func (*LabeledQuotaCounter) Descriptor() ([]byte, []int) { + return fileDescriptor_ratelimiter_5c4f58d31f148d39, []int{5} } - -func (x *LabeledQuotaCounter) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *LabeledQuotaCounter) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_LabeledQuotaCounter.Unmarshal(m, b) } - -func (*LabeledQuotaCounter) ProtoMessage() {} - -func (x *LabeledQuotaCounter) ProtoReflect() protoreflect.Message { - mi := &file_ratelimiter_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) +func (m *LabeledQuotaCounter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_LabeledQuotaCounter.Marshal(b, m, deterministic) } - -// Deprecated: Use LabeledQuotaCounter.ProtoReflect.Descriptor instead. -func (*LabeledQuotaCounter) Descriptor() ([]byte, []int) { - return file_ratelimiter_proto_rawDescGZIP(), []int{5} +func (dst *LabeledQuotaCounter) XXX_Merge(src proto.Message) { + xxx_messageInfo_LabeledQuotaCounter.Merge(dst, src) +} +func (m *LabeledQuotaCounter) XXX_Size() int { + return xxx_messageInfo_LabeledQuotaCounter.Size(m) } +func (m *LabeledQuotaCounter) XXX_DiscardUnknown() { + xxx_messageInfo_LabeledQuotaCounter.DiscardUnknown(m) +} + +var xxx_messageInfo_LabeledQuotaCounter proto.InternalMessageInfo -func (x *LabeledQuotaCounter) GetLabels() string { - if x != nil { - return x.Labels +func (m *LabeledQuotaCounter) GetLabels() string { + if m != nil { + return m.Labels } return "" } -func (x *LabeledQuotaCounter) GetCounters() []*QuotaCounter { - if x != nil { - return x.Counters +func (m *LabeledQuotaCounter) GetCounters() []*QuotaCounter { + if m != nil { + return m.Counters } return nil } type BatchInitResult struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // 应答错误码 Code uint32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` // 限流目标对象,回传给客户端,labels为规则 @@ -633,75 +504,66 @@ type BatchInitResult struct { // 计数器的标识 Counters []*LabeledQuotaCounter `protobuf:"bytes,3,rep,name=counters,proto3" json:"counters,omitempty"` // 实际滑窗个数 - SlideCount uint32 `protobuf:"varint,4,opt,name=slideCount,proto3" json:"slideCount,omitempty"` + SlideCount uint32 `protobuf:"varint,4,opt,name=slideCount,proto3" json:"slideCount,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *BatchInitResult) Reset() { - *x = BatchInitResult{} - if protoimpl.UnsafeEnabled { - mi := &file_ratelimiter_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *BatchInitResult) Reset() { *m = BatchInitResult{} } +func (m *BatchInitResult) String() string { return proto.CompactTextString(m) } +func (*BatchInitResult) ProtoMessage() {} +func (*BatchInitResult) Descriptor() ([]byte, []int) { + return fileDescriptor_ratelimiter_5c4f58d31f148d39, []int{6} } - -func (x *BatchInitResult) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *BatchInitResult) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_BatchInitResult.Unmarshal(m, b) } - -func (*BatchInitResult) ProtoMessage() {} - -func (x *BatchInitResult) ProtoReflect() protoreflect.Message { - mi := &file_ratelimiter_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) +func (m *BatchInitResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_BatchInitResult.Marshal(b, m, deterministic) } - -// Deprecated: Use BatchInitResult.ProtoReflect.Descriptor instead. -func (*BatchInitResult) Descriptor() ([]byte, []int) { - return file_ratelimiter_proto_rawDescGZIP(), []int{6} +func (dst *BatchInitResult) XXX_Merge(src proto.Message) { + xxx_messageInfo_BatchInitResult.Merge(dst, src) } +func (m *BatchInitResult) XXX_Size() int { + return xxx_messageInfo_BatchInitResult.Size(m) +} +func (m *BatchInitResult) XXX_DiscardUnknown() { + xxx_messageInfo_BatchInitResult.DiscardUnknown(m) +} + +var xxx_messageInfo_BatchInitResult proto.InternalMessageInfo -func (x *BatchInitResult) GetCode() uint32 { - if x != nil { - return x.Code +func (m *BatchInitResult) GetCode() uint32 { + if m != nil { + return m.Code } return 0 } -func (x *BatchInitResult) GetTarget() *LimitTarget { - if x != nil { - return x.Target +func (m *BatchInitResult) GetTarget() *LimitTarget { + if m != nil { + return m.Target } return nil } -func (x *BatchInitResult) GetCounters() []*LabeledQuotaCounter { - if x != nil { - return x.Counters +func (m *BatchInitResult) GetCounters() []*LabeledQuotaCounter { + if m != nil { + return m.Counters } return nil } -func (x *BatchInitResult) GetSlideCount() uint32 { - if x != nil { - return x.SlideCount +func (m *BatchInitResult) GetSlideCount() uint32 { + if m != nil { + return m.SlideCount } return 0 } // 批量初始化应答 type RateLimitBatchInitResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // 应答错误码 Code uint32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` // 客户端的标识,与clientId对应,一个server全局唯一,上报时候带入 @@ -709,208 +571,181 @@ type RateLimitBatchInitResponse struct { // 限流server绝对时间,单位ms Timestamp int64 `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // 批量初始化结果 - Result []*BatchInitResult `protobuf:"bytes,4,rep,name=result,proto3" json:"result,omitempty"` + Result []*BatchInitResult `protobuf:"bytes,4,rep,name=result,proto3" json:"result,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *RateLimitBatchInitResponse) Reset() { - *x = RateLimitBatchInitResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_ratelimiter_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *RateLimitBatchInitResponse) Reset() { *m = RateLimitBatchInitResponse{} } +func (m *RateLimitBatchInitResponse) String() string { return proto.CompactTextString(m) } +func (*RateLimitBatchInitResponse) ProtoMessage() {} +func (*RateLimitBatchInitResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_ratelimiter_5c4f58d31f148d39, []int{7} } - -func (x *RateLimitBatchInitResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *RateLimitBatchInitResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RateLimitBatchInitResponse.Unmarshal(m, b) } - -func (*RateLimitBatchInitResponse) ProtoMessage() {} - -func (x *RateLimitBatchInitResponse) ProtoReflect() protoreflect.Message { - mi := &file_ratelimiter_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) +func (m *RateLimitBatchInitResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RateLimitBatchInitResponse.Marshal(b, m, deterministic) } - -// Deprecated: Use RateLimitBatchInitResponse.ProtoReflect.Descriptor instead. -func (*RateLimitBatchInitResponse) Descriptor() ([]byte, []int) { - return file_ratelimiter_proto_rawDescGZIP(), []int{7} +func (dst *RateLimitBatchInitResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_RateLimitBatchInitResponse.Merge(dst, src) +} +func (m *RateLimitBatchInitResponse) XXX_Size() int { + return xxx_messageInfo_RateLimitBatchInitResponse.Size(m) } +func (m *RateLimitBatchInitResponse) XXX_DiscardUnknown() { + xxx_messageInfo_RateLimitBatchInitResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_RateLimitBatchInitResponse proto.InternalMessageInfo -func (x *RateLimitBatchInitResponse) GetCode() uint32 { - if x != nil { - return x.Code +func (m *RateLimitBatchInitResponse) GetCode() uint32 { + if m != nil { + return m.Code } return 0 } -func (x *RateLimitBatchInitResponse) GetClientKey() uint32 { - if x != nil { - return x.ClientKey +func (m *RateLimitBatchInitResponse) GetClientKey() uint32 { + if m != nil { + return m.ClientKey } return 0 } -func (x *RateLimitBatchInitResponse) GetTimestamp() int64 { - if x != nil { - return x.Timestamp +func (m *RateLimitBatchInitResponse) GetTimestamp() int64 { + if m != nil { + return m.Timestamp } return 0 } -func (x *RateLimitBatchInitResponse) GetResult() []*BatchInitResult { - if x != nil { - return x.Result +func (m *RateLimitBatchInitResponse) GetResult() []*BatchInitResult { + if m != nil { + return m.Result } return nil } // 限流上报请求 type RateLimitReportRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // 客户端标识 ClientKey uint32 `protobuf:"varint,1,opt,name=clientKey,proto3" json:"clientKey,omitempty"` // 已使用的配额数 QuotaUses []*QuotaSum `protobuf:"bytes,2,rep,name=quotaUses,proto3" json:"quotaUses,omitempty"` // 配额发生的时间,单位ms - Timestamp int64 `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"` + Timestamp int64 `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *RateLimitReportRequest) Reset() { - *x = RateLimitReportRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_ratelimiter_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *RateLimitReportRequest) Reset() { *m = RateLimitReportRequest{} } +func (m *RateLimitReportRequest) String() string { return proto.CompactTextString(m) } +func (*RateLimitReportRequest) ProtoMessage() {} +func (*RateLimitReportRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_ratelimiter_5c4f58d31f148d39, []int{8} } - -func (x *RateLimitReportRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *RateLimitReportRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RateLimitReportRequest.Unmarshal(m, b) } - -func (*RateLimitReportRequest) ProtoMessage() {} - -func (x *RateLimitReportRequest) ProtoReflect() protoreflect.Message { - mi := &file_ratelimiter_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) +func (m *RateLimitReportRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RateLimitReportRequest.Marshal(b, m, deterministic) } - -// Deprecated: Use RateLimitReportRequest.ProtoReflect.Descriptor instead. -func (*RateLimitReportRequest) Descriptor() ([]byte, []int) { - return file_ratelimiter_proto_rawDescGZIP(), []int{8} +func (dst *RateLimitReportRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_RateLimitReportRequest.Merge(dst, src) +} +func (m *RateLimitReportRequest) XXX_Size() int { + return xxx_messageInfo_RateLimitReportRequest.Size(m) +} +func (m *RateLimitReportRequest) XXX_DiscardUnknown() { + xxx_messageInfo_RateLimitReportRequest.DiscardUnknown(m) } -func (x *RateLimitReportRequest) GetClientKey() uint32 { - if x != nil { - return x.ClientKey +var xxx_messageInfo_RateLimitReportRequest proto.InternalMessageInfo + +func (m *RateLimitReportRequest) GetClientKey() uint32 { + if m != nil { + return m.ClientKey } return 0 } -func (x *RateLimitReportRequest) GetQuotaUses() []*QuotaSum { - if x != nil { - return x.QuotaUses +func (m *RateLimitReportRequest) GetQuotaUses() []*QuotaSum { + if m != nil { + return m.QuotaUses } return nil } -func (x *RateLimitReportRequest) GetTimestamp() int64 { - if x != nil { - return x.Timestamp +func (m *RateLimitReportRequest) GetTimestamp() int64 { + if m != nil { + return m.Timestamp } return 0 } // 限流上报应答 type RateLimitReportResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - Code uint32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` // 剩余配额数 QuotaLefts []*QuotaLeft `protobuf:"bytes,2,rep,name=quotaLefts,proto3" json:"quotaLefts,omitempty"` // 限流server绝对时间,单位ms - Timestamp int64 `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"` + Timestamp int64 `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *RateLimitReportResponse) Reset() { - *x = RateLimitReportResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_ratelimiter_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *RateLimitReportResponse) Reset() { *m = RateLimitReportResponse{} } +func (m *RateLimitReportResponse) String() string { return proto.CompactTextString(m) } +func (*RateLimitReportResponse) ProtoMessage() {} +func (*RateLimitReportResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_ratelimiter_5c4f58d31f148d39, []int{9} } - -func (x *RateLimitReportResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *RateLimitReportResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RateLimitReportResponse.Unmarshal(m, b) } - -func (*RateLimitReportResponse) ProtoMessage() {} - -func (x *RateLimitReportResponse) ProtoReflect() protoreflect.Message { - mi := &file_ratelimiter_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *RateLimitReportResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RateLimitReportResponse.Marshal(b, m, deterministic) } - -// Deprecated: Use RateLimitReportResponse.ProtoReflect.Descriptor instead. -func (*RateLimitReportResponse) Descriptor() ([]byte, []int) { - return file_ratelimiter_proto_rawDescGZIP(), []int{9} +func (dst *RateLimitReportResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_RateLimitReportResponse.Merge(dst, src) +} +func (m *RateLimitReportResponse) XXX_Size() int { + return xxx_messageInfo_RateLimitReportResponse.Size(m) } +func (m *RateLimitReportResponse) XXX_DiscardUnknown() { + xxx_messageInfo_RateLimitReportResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_RateLimitReportResponse proto.InternalMessageInfo -func (x *RateLimitReportResponse) GetCode() uint32 { - if x != nil { - return x.Code +func (m *RateLimitReportResponse) GetCode() uint32 { + if m != nil { + return m.Code } return 0 } -func (x *RateLimitReportResponse) GetQuotaLefts() []*QuotaLeft { - if x != nil { - return x.QuotaLefts +func (m *RateLimitReportResponse) GetQuotaLefts() []*QuotaLeft { + if m != nil { + return m.QuotaLefts } return nil } -func (x *RateLimitReportResponse) GetTimestamp() int64 { - if x != nil { - return x.Timestamp +func (m *RateLimitReportResponse) GetTimestamp() int64 { + if m != nil { + return m.Timestamp } return 0 } // 限流目标,针对哪部分数据进行限流 type LimitTarget struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // 命名空间 Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` // 服务名 @@ -918,142 +753,124 @@ type LimitTarget struct { // 自定义标签 Labels string `protobuf:"bytes,3,opt,name=labels,proto3" json:"labels,omitempty"` // 批量自定义标签 - LabelsList []string `protobuf:"bytes,4,rep,name=labels_list,json=labelsList,proto3" json:"labels_list,omitempty"` + LabelsList []string `protobuf:"bytes,4,rep,name=labels_list,json=labelsList,proto3" json:"labels_list,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *LimitTarget) Reset() { - *x = LimitTarget{} - if protoimpl.UnsafeEnabled { - mi := &file_ratelimiter_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *LimitTarget) Reset() { *m = LimitTarget{} } +func (m *LimitTarget) String() string { return proto.CompactTextString(m) } +func (*LimitTarget) ProtoMessage() {} +func (*LimitTarget) Descriptor() ([]byte, []int) { + return fileDescriptor_ratelimiter_5c4f58d31f148d39, []int{10} } - -func (x *LimitTarget) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *LimitTarget) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_LimitTarget.Unmarshal(m, b) } - -func (*LimitTarget) ProtoMessage() {} - -func (x *LimitTarget) ProtoReflect() protoreflect.Message { - mi := &file_ratelimiter_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *LimitTarget) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_LimitTarget.Marshal(b, m, deterministic) } - -// Deprecated: Use LimitTarget.ProtoReflect.Descriptor instead. -func (*LimitTarget) Descriptor() ([]byte, []int) { - return file_ratelimiter_proto_rawDescGZIP(), []int{10} +func (dst *LimitTarget) XXX_Merge(src proto.Message) { + xxx_messageInfo_LimitTarget.Merge(dst, src) +} +func (m *LimitTarget) XXX_Size() int { + return xxx_messageInfo_LimitTarget.Size(m) } +func (m *LimitTarget) XXX_DiscardUnknown() { + xxx_messageInfo_LimitTarget.DiscardUnknown(m) +} + +var xxx_messageInfo_LimitTarget proto.InternalMessageInfo -func (x *LimitTarget) GetNamespace() string { - if x != nil { - return x.Namespace +func (m *LimitTarget) GetNamespace() string { + if m != nil { + return m.Namespace } return "" } -func (x *LimitTarget) GetService() string { - if x != nil { - return x.Service +func (m *LimitTarget) GetService() string { + if m != nil { + return m.Service } return "" } -func (x *LimitTarget) GetLabels() string { - if x != nil { - return x.Labels +func (m *LimitTarget) GetLabels() string { + if m != nil { + return m.Labels } return "" } -func (x *LimitTarget) GetLabelsList() []string { - if x != nil { - return x.LabelsList +func (m *LimitTarget) GetLabelsList() []string { + if m != nil { + return m.LabelsList } return nil } // 阈值配置的值 type QuotaTotal struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // 阈值模式 Mode QuotaMode `protobuf:"varint,1,opt,name=mode,proto3,enum=polaris.metric.v2.QuotaMode" json:"mode,omitempty"` // 单位秒 Duration uint32 `protobuf:"varint,2,opt,name=duration,proto3" json:"duration,omitempty"` // 限流阈值 - MaxAmount uint32 `protobuf:"varint,3,opt,name=maxAmount,proto3" json:"maxAmount,omitempty"` + MaxAmount uint32 `protobuf:"varint,3,opt,name=maxAmount,proto3" json:"maxAmount,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *QuotaTotal) Reset() { - *x = QuotaTotal{} - if protoimpl.UnsafeEnabled { - mi := &file_ratelimiter_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *QuotaTotal) Reset() { *m = QuotaTotal{} } +func (m *QuotaTotal) String() string { return proto.CompactTextString(m) } +func (*QuotaTotal) ProtoMessage() {} +func (*QuotaTotal) Descriptor() ([]byte, []int) { + return fileDescriptor_ratelimiter_5c4f58d31f148d39, []int{11} } - -func (x *QuotaTotal) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *QuotaTotal) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_QuotaTotal.Unmarshal(m, b) } - -func (*QuotaTotal) ProtoMessage() {} - -func (x *QuotaTotal) ProtoReflect() protoreflect.Message { - mi := &file_ratelimiter_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *QuotaTotal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_QuotaTotal.Marshal(b, m, deterministic) } - -// Deprecated: Use QuotaTotal.ProtoReflect.Descriptor instead. -func (*QuotaTotal) Descriptor() ([]byte, []int) { - return file_ratelimiter_proto_rawDescGZIP(), []int{11} +func (dst *QuotaTotal) XXX_Merge(src proto.Message) { + xxx_messageInfo_QuotaTotal.Merge(dst, src) +} +func (m *QuotaTotal) XXX_Size() int { + return xxx_messageInfo_QuotaTotal.Size(m) } +func (m *QuotaTotal) XXX_DiscardUnknown() { + xxx_messageInfo_QuotaTotal.DiscardUnknown(m) +} + +var xxx_messageInfo_QuotaTotal proto.InternalMessageInfo -func (x *QuotaTotal) GetMode() QuotaMode { - if x != nil { - return x.Mode +func (m *QuotaTotal) GetMode() QuotaMode { + if m != nil { + return m.Mode } return QuotaMode_WHOLE } -func (x *QuotaTotal) GetDuration() uint32 { - if x != nil { - return x.Duration +func (m *QuotaTotal) GetDuration() uint32 { + if m != nil { + return m.Duration } return 0 } -func (x *QuotaTotal) GetMaxAmount() uint32 { - if x != nil { - return x.MaxAmount +func (m *QuotaTotal) GetMaxAmount() uint32 { + if m != nil { + return m.MaxAmount } return 0 } // 限流计数器 type QuotaCounter struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // 单位秒 Duration uint32 `protobuf:"varint,1,opt,name=duration,proto3" json:"duration,omitempty"` // bucket的标识,上报时候带入 @@ -1063,149 +880,131 @@ type QuotaCounter struct { // 实际限流模式 Mode Mode `protobuf:"varint,4,opt,name=mode,proto3,enum=polaris.metric.v2.Mode" json:"mode,omitempty"` // 接入的客户端数量 - ClientCount uint32 `protobuf:"varint,5,opt,name=clientCount,proto3" json:"clientCount,omitempty"` + ClientCount uint32 `protobuf:"varint,5,opt,name=clientCount,proto3" json:"clientCount,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *QuotaCounter) Reset() { - *x = QuotaCounter{} - if protoimpl.UnsafeEnabled { - mi := &file_ratelimiter_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *QuotaCounter) Reset() { *m = QuotaCounter{} } +func (m *QuotaCounter) String() string { return proto.CompactTextString(m) } +func (*QuotaCounter) ProtoMessage() {} +func (*QuotaCounter) Descriptor() ([]byte, []int) { + return fileDescriptor_ratelimiter_5c4f58d31f148d39, []int{12} } - -func (x *QuotaCounter) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *QuotaCounter) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_QuotaCounter.Unmarshal(m, b) } - -func (*QuotaCounter) ProtoMessage() {} - -func (x *QuotaCounter) ProtoReflect() protoreflect.Message { - mi := &file_ratelimiter_proto_msgTypes[12] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *QuotaCounter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_QuotaCounter.Marshal(b, m, deterministic) } - -// Deprecated: Use QuotaCounter.ProtoReflect.Descriptor instead. -func (*QuotaCounter) Descriptor() ([]byte, []int) { - return file_ratelimiter_proto_rawDescGZIP(), []int{12} +func (dst *QuotaCounter) XXX_Merge(src proto.Message) { + xxx_messageInfo_QuotaCounter.Merge(dst, src) +} +func (m *QuotaCounter) XXX_Size() int { + return xxx_messageInfo_QuotaCounter.Size(m) +} +func (m *QuotaCounter) XXX_DiscardUnknown() { + xxx_messageInfo_QuotaCounter.DiscardUnknown(m) } -func (x *QuotaCounter) GetDuration() uint32 { - if x != nil { - return x.Duration +var xxx_messageInfo_QuotaCounter proto.InternalMessageInfo + +func (m *QuotaCounter) GetDuration() uint32 { + if m != nil { + return m.Duration } return 0 } -func (x *QuotaCounter) GetCounterKey() uint32 { - if x != nil { - return x.CounterKey +func (m *QuotaCounter) GetCounterKey() uint32 { + if m != nil { + return m.CounterKey } return 0 } -func (x *QuotaCounter) GetLeft() int64 { - if x != nil { - return x.Left +func (m *QuotaCounter) GetLeft() int64 { + if m != nil { + return m.Left } return 0 } -func (x *QuotaCounter) GetMode() Mode { - if x != nil { - return x.Mode +func (m *QuotaCounter) GetMode() Mode { + if m != nil { + return m.Mode } return Mode_ADAPTIVE } -func (x *QuotaCounter) GetClientCount() uint32 { - if x != nil { - return x.ClientCount +func (m *QuotaCounter) GetClientCount() uint32 { + if m != nil { + return m.ClientCount } return 0 } // 客户端阈值使用统计 type QuotaSum struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // 计数器的标识,一个server全局唯一,上报时候带入 CounterKey uint32 `protobuf:"varint,1,opt,name=counterKey,proto3" json:"counterKey,omitempty"` // 已使用的配额数,上报时候带入 Used uint32 `protobuf:"varint,2,opt,name=used,proto3" json:"used,omitempty"` // 被限流数,上报时候带入 - Limited uint32 `protobuf:"varint,3,opt,name=limited,proto3" json:"limited,omitempty"` + Limited uint32 `protobuf:"varint,3,opt,name=limited,proto3" json:"limited,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *QuotaSum) Reset() { - *x = QuotaSum{} - if protoimpl.UnsafeEnabled { - mi := &file_ratelimiter_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *QuotaSum) Reset() { *m = QuotaSum{} } +func (m *QuotaSum) String() string { return proto.CompactTextString(m) } +func (*QuotaSum) ProtoMessage() {} +func (*QuotaSum) Descriptor() ([]byte, []int) { + return fileDescriptor_ratelimiter_5c4f58d31f148d39, []int{13} } - -func (x *QuotaSum) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *QuotaSum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_QuotaSum.Unmarshal(m, b) } - -func (*QuotaSum) ProtoMessage() {} - -func (x *QuotaSum) ProtoReflect() protoreflect.Message { - mi := &file_ratelimiter_proto_msgTypes[13] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *QuotaSum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_QuotaSum.Marshal(b, m, deterministic) } - -// Deprecated: Use QuotaSum.ProtoReflect.Descriptor instead. -func (*QuotaSum) Descriptor() ([]byte, []int) { - return file_ratelimiter_proto_rawDescGZIP(), []int{13} +func (dst *QuotaSum) XXX_Merge(src proto.Message) { + xxx_messageInfo_QuotaSum.Merge(dst, src) +} +func (m *QuotaSum) XXX_Size() int { + return xxx_messageInfo_QuotaSum.Size(m) +} +func (m *QuotaSum) XXX_DiscardUnknown() { + xxx_messageInfo_QuotaSum.DiscardUnknown(m) } -func (x *QuotaSum) GetCounterKey() uint32 { - if x != nil { - return x.CounterKey +var xxx_messageInfo_QuotaSum proto.InternalMessageInfo + +func (m *QuotaSum) GetCounterKey() uint32 { + if m != nil { + return m.CounterKey } return 0 } -func (x *QuotaSum) GetUsed() uint32 { - if x != nil { - return x.Used +func (m *QuotaSum) GetUsed() uint32 { + if m != nil { + return m.Used } return 0 } -func (x *QuotaSum) GetLimited() uint32 { - if x != nil { - return x.Limited +func (m *QuotaSum) GetLimited() uint32 { + if m != nil { + return m.Limited } return 0 } // 客户端阈值使用统计,由服务端返回 type QuotaLeft struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // 计数器的标识,一个server全局唯一,上报时候带入 CounterKey uint32 `protobuf:"varint,1,opt,name=counterKey,proto3" json:"counterKey,omitempty"` // 剩余配额数,应答返回,允许为负数 @@ -1213,662 +1012,228 @@ type QuotaLeft struct { // 当前限流模式 Mode Mode `protobuf:"varint,3,opt,name=mode,proto3,enum=polaris.metric.v2.Mode" json:"mode,omitempty"` // 接入的客户端数量 - ClientCount uint32 `protobuf:"varint,4,opt,name=clientCount,proto3" json:"clientCount,omitempty"` + ClientCount uint32 `protobuf:"varint,4,opt,name=clientCount,proto3" json:"clientCount,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *QuotaLeft) Reset() { - *x = QuotaLeft{} - if protoimpl.UnsafeEnabled { - mi := &file_ratelimiter_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *QuotaLeft) Reset() { *m = QuotaLeft{} } +func (m *QuotaLeft) String() string { return proto.CompactTextString(m) } +func (*QuotaLeft) ProtoMessage() {} +func (*QuotaLeft) Descriptor() ([]byte, []int) { + return fileDescriptor_ratelimiter_5c4f58d31f148d39, []int{14} } - -func (x *QuotaLeft) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *QuotaLeft) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_QuotaLeft.Unmarshal(m, b) } - -func (*QuotaLeft) ProtoMessage() {} - -func (x *QuotaLeft) ProtoReflect() protoreflect.Message { - mi := &file_ratelimiter_proto_msgTypes[14] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *QuotaLeft) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_QuotaLeft.Marshal(b, m, deterministic) } - -// Deprecated: Use QuotaLeft.ProtoReflect.Descriptor instead. -func (*QuotaLeft) Descriptor() ([]byte, []int) { - return file_ratelimiter_proto_rawDescGZIP(), []int{14} +func (dst *QuotaLeft) XXX_Merge(src proto.Message) { + xxx_messageInfo_QuotaLeft.Merge(dst, src) +} +func (m *QuotaLeft) XXX_Size() int { + return xxx_messageInfo_QuotaLeft.Size(m) } +func (m *QuotaLeft) XXX_DiscardUnknown() { + xxx_messageInfo_QuotaLeft.DiscardUnknown(m) +} + +var xxx_messageInfo_QuotaLeft proto.InternalMessageInfo -func (x *QuotaLeft) GetCounterKey() uint32 { - if x != nil { - return x.CounterKey +func (m *QuotaLeft) GetCounterKey() uint32 { + if m != nil { + return m.CounterKey } return 0 } -func (x *QuotaLeft) GetLeft() int64 { - if x != nil { - return x.Left +func (m *QuotaLeft) GetLeft() int64 { + if m != nil { + return m.Left } return 0 } -func (x *QuotaLeft) GetMode() Mode { - if x != nil { - return x.Mode +func (m *QuotaLeft) GetMode() Mode { + if m != nil { + return m.Mode } return Mode_ADAPTIVE } -func (x *QuotaLeft) GetClientCount() uint32 { - if x != nil { - return x.ClientCount +func (m *QuotaLeft) GetClientCount() uint32 { + if m != nil { + return m.ClientCount } return 0 } // 时间点对齐的请求 type TimeAdjustRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *TimeAdjustRequest) Reset() { - *x = TimeAdjustRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_ratelimiter_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *TimeAdjustRequest) Reset() { *m = TimeAdjustRequest{} } +func (m *TimeAdjustRequest) String() string { return proto.CompactTextString(m) } +func (*TimeAdjustRequest) ProtoMessage() {} +func (*TimeAdjustRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_ratelimiter_5c4f58d31f148d39, []int{15} } - -func (x *TimeAdjustRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *TimeAdjustRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_TimeAdjustRequest.Unmarshal(m, b) } - -func (*TimeAdjustRequest) ProtoMessage() {} - -func (x *TimeAdjustRequest) ProtoReflect() protoreflect.Message { - mi := &file_ratelimiter_proto_msgTypes[15] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *TimeAdjustRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_TimeAdjustRequest.Marshal(b, m, deterministic) } - -// Deprecated: Use TimeAdjustRequest.ProtoReflect.Descriptor instead. -func (*TimeAdjustRequest) Descriptor() ([]byte, []int) { - return file_ratelimiter_proto_rawDescGZIP(), []int{15} +func (dst *TimeAdjustRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_TimeAdjustRequest.Merge(dst, src) +} +func (m *TimeAdjustRequest) XXX_Size() int { + return xxx_messageInfo_TimeAdjustRequest.Size(m) +} +func (m *TimeAdjustRequest) XXX_DiscardUnknown() { + xxx_messageInfo_TimeAdjustRequest.DiscardUnknown(m) } +var xxx_messageInfo_TimeAdjustRequest proto.InternalMessageInfo + // 时间点对齐的应答 type TimeAdjustResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // 服务器时间点,毫秒 - ServerTimestamp int64 `protobuf:"varint,1,opt,name=serverTimestamp,proto3" json:"serverTimestamp,omitempty"` + ServerTimestamp int64 `protobuf:"varint,1,opt,name=serverTimestamp,proto3" json:"serverTimestamp,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *TimeAdjustResponse) Reset() { - *x = TimeAdjustResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_ratelimiter_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *TimeAdjustResponse) Reset() { *m = TimeAdjustResponse{} } +func (m *TimeAdjustResponse) String() string { return proto.CompactTextString(m) } +func (*TimeAdjustResponse) ProtoMessage() {} +func (*TimeAdjustResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_ratelimiter_5c4f58d31f148d39, []int{16} } - -func (x *TimeAdjustResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *TimeAdjustResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_TimeAdjustResponse.Unmarshal(m, b) } - -func (*TimeAdjustResponse) ProtoMessage() {} - -func (x *TimeAdjustResponse) ProtoReflect() protoreflect.Message { - mi := &file_ratelimiter_proto_msgTypes[16] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *TimeAdjustResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_TimeAdjustResponse.Marshal(b, m, deterministic) } - -// Deprecated: Use TimeAdjustResponse.ProtoReflect.Descriptor instead. -func (*TimeAdjustResponse) Descriptor() ([]byte, []int) { - return file_ratelimiter_proto_rawDescGZIP(), []int{16} +func (dst *TimeAdjustResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_TimeAdjustResponse.Merge(dst, src) +} +func (m *TimeAdjustResponse) XXX_Size() int { + return xxx_messageInfo_TimeAdjustResponse.Size(m) +} +func (m *TimeAdjustResponse) XXX_DiscardUnknown() { + xxx_messageInfo_TimeAdjustResponse.DiscardUnknown(m) } -func (x *TimeAdjustResponse) GetServerTimestamp() int64 { - if x != nil { - return x.ServerTimestamp +var xxx_messageInfo_TimeAdjustResponse proto.InternalMessageInfo + +func (m *TimeAdjustResponse) GetServerTimestamp() int64 { + if m != nil { + return m.ServerTimestamp } return 0 } -var File_ratelimiter_proto protoreflect.FileDescriptor - -var file_ratelimiter_proto_rawDesc = []byte{ - 0x0a, 0x11, 0x72, 0x61, 0x74, 0x65, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x65, 0x72, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x12, 0x11, 0x70, 0x6f, 0x6c, 0x61, 0x72, 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x74, - 0x72, 0x69, 0x63, 0x2e, 0x76, 0x32, 0x22, 0xf1, 0x02, 0x0a, 0x10, 0x52, 0x61, 0x74, 0x65, 0x4c, - 0x69, 0x6d, 0x69, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x31, 0x0a, 0x03, 0x63, - 0x6d, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1f, 0x2e, 0x70, 0x6f, 0x6c, 0x61, 0x72, - 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x2e, 0x76, 0x32, 0x2e, 0x52, 0x61, 0x74, - 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x43, 0x6d, 0x64, 0x52, 0x03, 0x63, 0x6d, 0x64, 0x12, 0x5b, - 0x0a, 0x14, 0x72, 0x61, 0x74, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x49, 0x6e, 0x69, 0x74, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x70, - 0x6f, 0x6c, 0x61, 0x72, 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x2e, 0x76, 0x32, - 0x2e, 0x52, 0x61, 0x74, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x49, 0x6e, 0x69, 0x74, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x14, 0x72, 0x61, 0x74, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, - 0x49, 0x6e, 0x69, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x61, 0x0a, 0x16, 0x72, - 0x61, 0x74, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x70, 0x6f, - 0x6c, 0x61, 0x72, 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x2e, 0x76, 0x32, 0x2e, - 0x52, 0x61, 0x74, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x16, 0x72, 0x61, 0x74, 0x65, 0x4c, 0x69, 0x6d, 0x69, - 0x74, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x6a, - 0x0a, 0x19, 0x72, 0x61, 0x74, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x42, 0x61, 0x74, 0x63, 0x68, - 0x49, 0x6e, 0x69, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x2c, 0x2e, 0x70, 0x6f, 0x6c, 0x61, 0x72, 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x74, 0x72, - 0x69, 0x63, 0x2e, 0x76, 0x32, 0x2e, 0x52, 0x61, 0x74, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x42, - 0x61, 0x74, 0x63, 0x68, 0x49, 0x6e, 0x69, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, - 0x19, 0x72, 0x61, 0x74, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x42, 0x61, 0x74, 0x63, 0x68, 0x49, - 0x6e, 0x69, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0xfb, 0x02, 0x0a, 0x11, 0x52, - 0x61, 0x74, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x12, 0x31, 0x0a, 0x03, 0x63, 0x6d, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1f, 0x2e, - 0x70, 0x6f, 0x6c, 0x61, 0x72, 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x2e, 0x76, - 0x32, 0x2e, 0x52, 0x61, 0x74, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x43, 0x6d, 0x64, 0x52, 0x03, - 0x63, 0x6d, 0x64, 0x12, 0x5e, 0x0a, 0x15, 0x72, 0x61, 0x74, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, - 0x49, 0x6e, 0x69, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x70, 0x6f, 0x6c, 0x61, 0x72, 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x74, - 0x72, 0x69, 0x63, 0x2e, 0x76, 0x32, 0x2e, 0x52, 0x61, 0x74, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, - 0x49, 0x6e, 0x69, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x15, 0x72, 0x61, - 0x74, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x49, 0x6e, 0x69, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x12, 0x64, 0x0a, 0x17, 0x72, 0x61, 0x74, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, - 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x18, 0x03, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x70, 0x6f, 0x6c, 0x61, 0x72, 0x69, 0x73, 0x2e, 0x6d, - 0x65, 0x74, 0x72, 0x69, 0x63, 0x2e, 0x76, 0x32, 0x2e, 0x52, 0x61, 0x74, 0x65, 0x4c, 0x69, 0x6d, - 0x69, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x52, 0x17, 0x72, 0x61, 0x74, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x72, - 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6d, 0x0a, 0x1a, 0x72, 0x61, 0x74, - 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x42, 0x61, 0x74, 0x63, 0x68, 0x49, 0x6e, 0x69, 0x74, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, - 0x70, 0x6f, 0x6c, 0x61, 0x72, 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x2e, 0x76, - 0x32, 0x2e, 0x52, 0x61, 0x74, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x42, 0x61, 0x74, 0x63, 0x68, - 0x49, 0x6e, 0x69, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x1a, 0x72, 0x61, - 0x74, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x42, 0x61, 0x74, 0x63, 0x68, 0x49, 0x6e, 0x69, 0x74, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xee, 0x01, 0x0a, 0x14, 0x52, 0x61, 0x74, - 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x49, 0x6e, 0x69, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x12, 0x36, 0x0a, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x1e, 0x2e, 0x70, 0x6f, 0x6c, 0x61, 0x72, 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x74, 0x72, - 0x69, 0x63, 0x2e, 0x76, 0x32, 0x2e, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x54, 0x61, 0x72, 0x67, 0x65, - 0x74, 0x52, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x6c, 0x69, - 0x65, 0x6e, 0x74, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x63, 0x6c, 0x69, - 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x35, 0x0a, 0x06, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x73, 0x18, - 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x70, 0x6f, 0x6c, 0x61, 0x72, 0x69, 0x73, 0x2e, - 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x2e, 0x76, 0x32, 0x2e, 0x51, 0x75, 0x6f, 0x74, 0x61, 0x54, - 0x6f, 0x74, 0x61, 0x6c, 0x52, 0x06, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x73, 0x12, 0x1e, 0x0a, 0x0a, - 0x73, 0x6c, 0x69, 0x64, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, - 0x52, 0x0a, 0x73, 0x6c, 0x69, 0x64, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x2b, 0x0a, 0x04, - 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x17, 0x2e, 0x70, 0x6f, 0x6c, - 0x61, 0x72, 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x2e, 0x76, 0x32, 0x2e, 0x4d, - 0x6f, 0x64, 0x65, 0x52, 0x04, 0x6d, 0x6f, 0x64, 0x65, 0x22, 0xfc, 0x01, 0x0a, 0x15, 0x52, 0x61, - 0x74, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x49, 0x6e, 0x69, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x0d, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x36, 0x0a, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, - 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x70, 0x6f, 0x6c, 0x61, 0x72, 0x69, - 0x73, 0x2e, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x2e, 0x76, 0x32, 0x2e, 0x4c, 0x69, 0x6d, 0x69, - 0x74, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, - 0x1c, 0x0a, 0x09, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x4b, 0x65, 0x79, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x0d, 0x52, 0x09, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x4b, 0x65, 0x79, 0x12, 0x3b, 0x0a, - 0x08, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x72, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, - 0x1f, 0x2e, 0x70, 0x6f, 0x6c, 0x61, 0x72, 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, - 0x2e, 0x76, 0x32, 0x2e, 0x51, 0x75, 0x6f, 0x74, 0x61, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x72, - 0x52, 0x08, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x72, 0x73, 0x12, 0x1e, 0x0a, 0x0a, 0x73, 0x6c, - 0x69, 0x64, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, - 0x73, 0x6c, 0x69, 0x64, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, - 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x74, - 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x22, 0x7a, 0x0a, 0x19, 0x52, 0x61, 0x74, 0x65, - 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x42, 0x61, 0x74, 0x63, 0x68, 0x49, 0x6e, 0x69, 0x74, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x41, 0x0a, 0x07, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x70, 0x6f, 0x6c, 0x61, 0x72, 0x69, 0x73, - 0x2e, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x2e, 0x76, 0x32, 0x2e, 0x52, 0x61, 0x74, 0x65, 0x4c, - 0x69, 0x6d, 0x69, 0x74, 0x49, 0x6e, 0x69, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, - 0x07, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x6c, 0x69, 0x65, - 0x6e, 0x74, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x63, 0x6c, 0x69, 0x65, - 0x6e, 0x74, 0x49, 0x64, 0x22, 0x6a, 0x0a, 0x13, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x65, 0x64, 0x51, - 0x75, 0x6f, 0x74, 0x61, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x72, 0x12, 0x16, 0x0a, 0x06, 0x6c, - 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6c, 0x61, 0x62, - 0x65, 0x6c, 0x73, 0x12, 0x3b, 0x0a, 0x08, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x72, 0x73, 0x18, - 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x70, 0x6f, 0x6c, 0x61, 0x72, 0x69, 0x73, 0x2e, - 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x2e, 0x76, 0x32, 0x2e, 0x51, 0x75, 0x6f, 0x74, 0x61, 0x43, - 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x72, 0x52, 0x08, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x72, 0x73, - 0x22, 0xc1, 0x01, 0x0a, 0x0f, 0x42, 0x61, 0x74, 0x63, 0x68, 0x49, 0x6e, 0x69, 0x74, 0x52, 0x65, - 0x73, 0x75, 0x6c, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x0d, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x36, 0x0a, 0x06, 0x74, 0x61, 0x72, 0x67, - 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x70, 0x6f, 0x6c, 0x61, 0x72, - 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x2e, 0x76, 0x32, 0x2e, 0x4c, 0x69, 0x6d, - 0x69, 0x74, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, - 0x12, 0x42, 0x0a, 0x08, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x72, 0x73, 0x18, 0x03, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x70, 0x6f, 0x6c, 0x61, 0x72, 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x74, - 0x72, 0x69, 0x63, 0x2e, 0x76, 0x32, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x65, 0x64, 0x51, 0x75, - 0x6f, 0x74, 0x61, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x72, 0x52, 0x08, 0x63, 0x6f, 0x75, 0x6e, - 0x74, 0x65, 0x72, 0x73, 0x12, 0x1e, 0x0a, 0x0a, 0x73, 0x6c, 0x69, 0x64, 0x65, 0x43, 0x6f, 0x75, - 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x73, 0x6c, 0x69, 0x64, 0x65, 0x43, - 0x6f, 0x75, 0x6e, 0x74, 0x22, 0xa8, 0x01, 0x0a, 0x1a, 0x52, 0x61, 0x74, 0x65, 0x4c, 0x69, 0x6d, - 0x69, 0x74, 0x42, 0x61, 0x74, 0x63, 0x68, 0x49, 0x6e, 0x69, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x0d, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6c, 0x69, 0x65, 0x6e, - 0x74, 0x4b, 0x65, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x63, 0x6c, 0x69, 0x65, - 0x6e, 0x74, 0x4b, 0x65, 0x79, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, - 0x6d, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, - 0x61, 0x6d, 0x70, 0x12, 0x3a, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x04, 0x20, - 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x70, 0x6f, 0x6c, 0x61, 0x72, 0x69, 0x73, 0x2e, 0x6d, 0x65, - 0x74, 0x72, 0x69, 0x63, 0x2e, 0x76, 0x32, 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x49, 0x6e, 0x69, - 0x74, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22, - 0x8f, 0x01, 0x0a, 0x16, 0x52, 0x61, 0x74, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x52, 0x65, 0x70, - 0x6f, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6c, - 0x69, 0x65, 0x6e, 0x74, 0x4b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x63, - 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x4b, 0x65, 0x79, 0x12, 0x39, 0x0a, 0x09, 0x71, 0x75, 0x6f, 0x74, - 0x61, 0x55, 0x73, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x70, 0x6f, - 0x6c, 0x61, 0x72, 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x2e, 0x76, 0x32, 0x2e, - 0x51, 0x75, 0x6f, 0x74, 0x61, 0x53, 0x75, 0x6d, 0x52, 0x09, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x55, - 0x73, 0x65, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, - 0x70, 0x22, 0x89, 0x01, 0x0a, 0x17, 0x52, 0x61, 0x74, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x52, - 0x65, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, - 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x04, 0x63, 0x6f, 0x64, - 0x65, 0x12, 0x3c, 0x0a, 0x0a, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x4c, 0x65, 0x66, 0x74, 0x73, 0x18, - 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x70, 0x6f, 0x6c, 0x61, 0x72, 0x69, 0x73, 0x2e, - 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x2e, 0x76, 0x32, 0x2e, 0x51, 0x75, 0x6f, 0x74, 0x61, 0x4c, - 0x65, 0x66, 0x74, 0x52, 0x0a, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x4c, 0x65, 0x66, 0x74, 0x73, 0x12, - 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x03, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x22, 0x7e, 0x0a, - 0x0b, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x1c, 0x0a, 0x09, - 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x65, - 0x72, 0x76, 0x69, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x73, 0x65, 0x72, - 0x76, 0x69, 0x63, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 0x03, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x12, 0x1f, 0x0a, 0x0b, - 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x04, 0x20, 0x03, 0x28, - 0x09, 0x52, 0x0a, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x78, 0x0a, - 0x0a, 0x51, 0x75, 0x6f, 0x74, 0x61, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x12, 0x30, 0x0a, 0x04, 0x6d, - 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1c, 0x2e, 0x70, 0x6f, 0x6c, 0x61, - 0x72, 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x2e, 0x76, 0x32, 0x2e, 0x51, 0x75, - 0x6f, 0x74, 0x61, 0x4d, 0x6f, 0x64, 0x65, 0x52, 0x04, 0x6d, 0x6f, 0x64, 0x65, 0x12, 0x1a, 0x0a, - 0x08, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, - 0x08, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1c, 0x0a, 0x09, 0x6d, 0x61, 0x78, - 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x6d, 0x61, - 0x78, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0xad, 0x01, 0x0a, 0x0c, 0x51, 0x75, 0x6f, 0x74, - 0x61, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x64, 0x75, 0x72, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x64, 0x75, 0x72, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1e, 0x0a, 0x0a, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x72, 0x4b, - 0x65, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x65, - 0x72, 0x4b, 0x65, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x6c, 0x65, 0x66, 0x74, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x03, 0x52, 0x04, 0x6c, 0x65, 0x66, 0x74, 0x12, 0x2b, 0x0a, 0x04, 0x6d, 0x6f, 0x64, 0x65, - 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x17, 0x2e, 0x70, 0x6f, 0x6c, 0x61, 0x72, 0x69, 0x73, - 0x2e, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x2e, 0x76, 0x32, 0x2e, 0x4d, 0x6f, 0x64, 0x65, 0x52, - 0x04, 0x6d, 0x6f, 0x64, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x43, - 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x63, 0x6c, 0x69, 0x65, - 0x6e, 0x74, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x58, 0x0a, 0x08, 0x51, 0x75, 0x6f, 0x74, 0x61, - 0x53, 0x75, 0x6d, 0x12, 0x1e, 0x0a, 0x0a, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x72, 0x4b, 0x65, - 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x72, - 0x4b, 0x65, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x0d, 0x52, 0x04, 0x75, 0x73, 0x65, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x6c, 0x69, 0x6d, 0x69, 0x74, - 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x65, - 0x64, 0x22, 0x8e, 0x01, 0x0a, 0x09, 0x51, 0x75, 0x6f, 0x74, 0x61, 0x4c, 0x65, 0x66, 0x74, 0x12, - 0x1e, 0x0a, 0x0a, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x72, 0x4b, 0x65, 0x79, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x72, 0x4b, 0x65, 0x79, 0x12, - 0x12, 0x0a, 0x04, 0x6c, 0x65, 0x66, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x6c, - 0x65, 0x66, 0x74, 0x12, 0x2b, 0x0a, 0x04, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x0e, 0x32, 0x17, 0x2e, 0x70, 0x6f, 0x6c, 0x61, 0x72, 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x74, 0x72, - 0x69, 0x63, 0x2e, 0x76, 0x32, 0x2e, 0x4d, 0x6f, 0x64, 0x65, 0x52, 0x04, 0x6d, 0x6f, 0x64, 0x65, - 0x12, 0x20, 0x0a, 0x0b, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x18, - 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x75, - 0x6e, 0x74, 0x22, 0x13, 0x0a, 0x11, 0x54, 0x69, 0x6d, 0x65, 0x41, 0x64, 0x6a, 0x75, 0x73, 0x74, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x3e, 0x0a, 0x12, 0x54, 0x69, 0x6d, 0x65, 0x41, - 0x64, 0x6a, 0x75, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x28, 0x0a, - 0x0f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x54, 0x69, - 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2a, 0x48, 0x0a, 0x0c, 0x52, 0x61, 0x74, 0x65, 0x4c, - 0x69, 0x6d, 0x69, 0x74, 0x43, 0x6d, 0x64, 0x12, 0x08, 0x0a, 0x04, 0x49, 0x4e, 0x49, 0x54, 0x10, - 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x41, 0x43, 0x51, 0x55, 0x49, 0x52, 0x45, 0x10, 0x01, 0x12, 0x0e, - 0x0a, 0x0a, 0x42, 0x41, 0x54, 0x43, 0x48, 0x5f, 0x49, 0x4e, 0x49, 0x54, 0x10, 0x02, 0x12, 0x11, - 0x0a, 0x0d, 0x42, 0x41, 0x54, 0x43, 0x48, 0x5f, 0x41, 0x43, 0x51, 0x55, 0x49, 0x52, 0x45, 0x10, - 0x03, 0x2a, 0x37, 0x0a, 0x04, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x0c, 0x0a, 0x08, 0x41, 0x44, 0x41, - 0x50, 0x54, 0x49, 0x56, 0x45, 0x10, 0x00, 0x12, 0x10, 0x0a, 0x0c, 0x42, 0x41, 0x54, 0x43, 0x48, - 0x5f, 0x4f, 0x43, 0x43, 0x55, 0x50, 0x59, 0x10, 0x01, 0x12, 0x0f, 0x0a, 0x0b, 0x42, 0x41, 0x54, - 0x43, 0x48, 0x5f, 0x53, 0x48, 0x41, 0x52, 0x45, 0x10, 0x02, 0x2a, 0x22, 0x0a, 0x09, 0x51, 0x75, - 0x6f, 0x74, 0x61, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x09, 0x0a, 0x05, 0x57, 0x48, 0x4f, 0x4c, 0x45, - 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x44, 0x49, 0x56, 0x49, 0x44, 0x45, 0x10, 0x01, 0x42, 0xa9, - 0x01, 0x0a, 0x43, 0x63, 0x6f, 0x6d, 0x2e, 0x74, 0x65, 0x6e, 0x63, 0x65, 0x6e, 0x74, 0x2e, 0x70, - 0x6f, 0x6c, 0x61, 0x72, 0x69, 0x73, 0x2e, 0x73, 0x70, 0x65, 0x63, 0x69, 0x66, 0x69, 0x63, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x74, 0x72, 0x61, 0x66, - 0x66, 0x69, 0x63, 0x2e, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x2e, 0x72, 0x61, 0x74, 0x65, 0x6c, - 0x69, 0x6d, 0x69, 0x74, 0x65, 0x72, 0x42, 0x10, 0x52, 0x61, 0x74, 0x65, 0x4c, 0x69, 0x6d, 0x69, - 0x74, 0x65, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x5a, 0x50, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, - 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x6f, 0x6c, 0x61, 0x72, 0x69, 0x73, 0x6d, 0x65, 0x73, 0x68, - 0x2f, 0x73, 0x70, 0x65, 0x63, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x73, - 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2f, 0x67, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, - 0x74, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x5f, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x2f, 0x72, - 0x61, 0x74, 0x65, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x65, 0x72, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x33, -} - -var ( - file_ratelimiter_proto_rawDescOnce sync.Once - file_ratelimiter_proto_rawDescData = file_ratelimiter_proto_rawDesc -) - -func file_ratelimiter_proto_rawDescGZIP() []byte { - file_ratelimiter_proto_rawDescOnce.Do(func() { - file_ratelimiter_proto_rawDescData = protoimpl.X.CompressGZIP(file_ratelimiter_proto_rawDescData) - }) - return file_ratelimiter_proto_rawDescData -} - -var file_ratelimiter_proto_enumTypes = make([]protoimpl.EnumInfo, 3) -var file_ratelimiter_proto_msgTypes = make([]protoimpl.MessageInfo, 17) -var file_ratelimiter_proto_goTypes = []interface{}{ - (RateLimitCmd)(0), // 0: polaris.metric.v2.RateLimitCmd - (Mode)(0), // 1: polaris.metric.v2.Mode - (QuotaMode)(0), // 2: polaris.metric.v2.QuotaMode - (*RateLimitRequest)(nil), // 3: polaris.metric.v2.RateLimitRequest - (*RateLimitResponse)(nil), // 4: polaris.metric.v2.RateLimitResponse - (*RateLimitInitRequest)(nil), // 5: polaris.metric.v2.RateLimitInitRequest - (*RateLimitInitResponse)(nil), // 6: polaris.metric.v2.RateLimitInitResponse - (*RateLimitBatchInitRequest)(nil), // 7: polaris.metric.v2.RateLimitBatchInitRequest - (*LabeledQuotaCounter)(nil), // 8: polaris.metric.v2.LabeledQuotaCounter - (*BatchInitResult)(nil), // 9: polaris.metric.v2.BatchInitResult - (*RateLimitBatchInitResponse)(nil), // 10: polaris.metric.v2.RateLimitBatchInitResponse - (*RateLimitReportRequest)(nil), // 11: polaris.metric.v2.RateLimitReportRequest - (*RateLimitReportResponse)(nil), // 12: polaris.metric.v2.RateLimitReportResponse - (*LimitTarget)(nil), // 13: polaris.metric.v2.LimitTarget - (*QuotaTotal)(nil), // 14: polaris.metric.v2.QuotaTotal - (*QuotaCounter)(nil), // 15: polaris.metric.v2.QuotaCounter - (*QuotaSum)(nil), // 16: polaris.metric.v2.QuotaSum - (*QuotaLeft)(nil), // 17: polaris.metric.v2.QuotaLeft - (*TimeAdjustRequest)(nil), // 18: polaris.metric.v2.TimeAdjustRequest - (*TimeAdjustResponse)(nil), // 19: polaris.metric.v2.TimeAdjustResponse -} -var file_ratelimiter_proto_depIdxs = []int32{ - 0, // 0: polaris.metric.v2.RateLimitRequest.cmd:type_name -> polaris.metric.v2.RateLimitCmd - 5, // 1: polaris.metric.v2.RateLimitRequest.rateLimitInitRequest:type_name -> polaris.metric.v2.RateLimitInitRequest - 11, // 2: polaris.metric.v2.RateLimitRequest.rateLimitReportRequest:type_name -> polaris.metric.v2.RateLimitReportRequest - 7, // 3: polaris.metric.v2.RateLimitRequest.rateLimitBatchInitRequest:type_name -> polaris.metric.v2.RateLimitBatchInitRequest - 0, // 4: polaris.metric.v2.RateLimitResponse.cmd:type_name -> polaris.metric.v2.RateLimitCmd - 6, // 5: polaris.metric.v2.RateLimitResponse.rateLimitInitResponse:type_name -> polaris.metric.v2.RateLimitInitResponse - 12, // 6: polaris.metric.v2.RateLimitResponse.rateLimitReportResponse:type_name -> polaris.metric.v2.RateLimitReportResponse - 10, // 7: polaris.metric.v2.RateLimitResponse.rateLimitBatchInitResponse:type_name -> polaris.metric.v2.RateLimitBatchInitResponse - 13, // 8: polaris.metric.v2.RateLimitInitRequest.target:type_name -> polaris.metric.v2.LimitTarget - 14, // 9: polaris.metric.v2.RateLimitInitRequest.totals:type_name -> polaris.metric.v2.QuotaTotal - 1, // 10: polaris.metric.v2.RateLimitInitRequest.mode:type_name -> polaris.metric.v2.Mode - 13, // 11: polaris.metric.v2.RateLimitInitResponse.target:type_name -> polaris.metric.v2.LimitTarget - 15, // 12: polaris.metric.v2.RateLimitInitResponse.counters:type_name -> polaris.metric.v2.QuotaCounter - 5, // 13: polaris.metric.v2.RateLimitBatchInitRequest.request:type_name -> polaris.metric.v2.RateLimitInitRequest - 15, // 14: polaris.metric.v2.LabeledQuotaCounter.counters:type_name -> polaris.metric.v2.QuotaCounter - 13, // 15: polaris.metric.v2.BatchInitResult.target:type_name -> polaris.metric.v2.LimitTarget - 8, // 16: polaris.metric.v2.BatchInitResult.counters:type_name -> polaris.metric.v2.LabeledQuotaCounter - 9, // 17: polaris.metric.v2.RateLimitBatchInitResponse.result:type_name -> polaris.metric.v2.BatchInitResult - 16, // 18: polaris.metric.v2.RateLimitReportRequest.quotaUses:type_name -> polaris.metric.v2.QuotaSum - 17, // 19: polaris.metric.v2.RateLimitReportResponse.quotaLefts:type_name -> polaris.metric.v2.QuotaLeft - 2, // 20: polaris.metric.v2.QuotaTotal.mode:type_name -> polaris.metric.v2.QuotaMode - 1, // 21: polaris.metric.v2.QuotaCounter.mode:type_name -> polaris.metric.v2.Mode - 1, // 22: polaris.metric.v2.QuotaLeft.mode:type_name -> polaris.metric.v2.Mode - 23, // [23:23] is the sub-list for method output_type - 23, // [23:23] is the sub-list for method input_type - 23, // [23:23] is the sub-list for extension type_name - 23, // [23:23] is the sub-list for extension extendee - 0, // [0:23] is the sub-list for field type_name -} - -func init() { file_ratelimiter_proto_init() } -func file_ratelimiter_proto_init() { - if File_ratelimiter_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_ratelimiter_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RateLimitRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_ratelimiter_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RateLimitResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_ratelimiter_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RateLimitInitRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_ratelimiter_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RateLimitInitResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_ratelimiter_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RateLimitBatchInitRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_ratelimiter_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*LabeledQuotaCounter); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_ratelimiter_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BatchInitResult); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_ratelimiter_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RateLimitBatchInitResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_ratelimiter_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RateLimitReportRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_ratelimiter_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RateLimitReportResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_ratelimiter_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*LimitTarget); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_ratelimiter_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*QuotaTotal); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_ratelimiter_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*QuotaCounter); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_ratelimiter_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*QuotaSum); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_ratelimiter_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*QuotaLeft); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_ratelimiter_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TimeAdjustRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_ratelimiter_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TimeAdjustResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_ratelimiter_proto_rawDesc, - NumEnums: 3, - NumMessages: 17, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_ratelimiter_proto_goTypes, - DependencyIndexes: file_ratelimiter_proto_depIdxs, - EnumInfos: file_ratelimiter_proto_enumTypes, - MessageInfos: file_ratelimiter_proto_msgTypes, - }.Build() - File_ratelimiter_proto = out.File - file_ratelimiter_proto_rawDesc = nil - file_ratelimiter_proto_goTypes = nil - file_ratelimiter_proto_depIdxs = nil +func init() { + proto.RegisterType((*RateLimitRequest)(nil), "polaris.metric.v2.RateLimitRequest") + proto.RegisterType((*RateLimitResponse)(nil), "polaris.metric.v2.RateLimitResponse") + proto.RegisterType((*RateLimitInitRequest)(nil), "polaris.metric.v2.RateLimitInitRequest") + proto.RegisterType((*RateLimitInitResponse)(nil), "polaris.metric.v2.RateLimitInitResponse") + proto.RegisterType((*RateLimitBatchInitRequest)(nil), "polaris.metric.v2.RateLimitBatchInitRequest") + proto.RegisterType((*LabeledQuotaCounter)(nil), "polaris.metric.v2.LabeledQuotaCounter") + proto.RegisterType((*BatchInitResult)(nil), "polaris.metric.v2.BatchInitResult") + proto.RegisterType((*RateLimitBatchInitResponse)(nil), "polaris.metric.v2.RateLimitBatchInitResponse") + proto.RegisterType((*RateLimitReportRequest)(nil), "polaris.metric.v2.RateLimitReportRequest") + proto.RegisterType((*RateLimitReportResponse)(nil), "polaris.metric.v2.RateLimitReportResponse") + proto.RegisterType((*LimitTarget)(nil), "polaris.metric.v2.LimitTarget") + proto.RegisterType((*QuotaTotal)(nil), "polaris.metric.v2.QuotaTotal") + proto.RegisterType((*QuotaCounter)(nil), "polaris.metric.v2.QuotaCounter") + proto.RegisterType((*QuotaSum)(nil), "polaris.metric.v2.QuotaSum") + proto.RegisterType((*QuotaLeft)(nil), "polaris.metric.v2.QuotaLeft") + proto.RegisterType((*TimeAdjustRequest)(nil), "polaris.metric.v2.TimeAdjustRequest") + proto.RegisterType((*TimeAdjustResponse)(nil), "polaris.metric.v2.TimeAdjustResponse") + proto.RegisterEnum("polaris.metric.v2.RateLimitCmd", RateLimitCmd_name, RateLimitCmd_value) + proto.RegisterEnum("polaris.metric.v2.Mode", Mode_name, Mode_value) + proto.RegisterEnum("polaris.metric.v2.QuotaMode", QuotaMode_name, QuotaMode_value) +} + +func init() { proto.RegisterFile("ratelimiter.proto", fileDescriptor_ratelimiter_5c4f58d31f148d39) } + +var fileDescriptor_ratelimiter_5c4f58d31f148d39 = []byte{ + // 1078 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x57, 0x5d, 0x6f, 0xe3, 0x44, + 0x17, 0xde, 0x49, 0xd2, 0x34, 0x39, 0x69, 0xb7, 0xc9, 0xec, 0x6e, 0x9b, 0xed, 0xdb, 0xb7, 0x8d, + 0x7c, 0x01, 0xa1, 0x80, 0x43, 0x83, 0x00, 0xf1, 0x21, 0xa4, 0x24, 0xad, 0xd4, 0x88, 0xc0, 0x76, + 0x67, 0xd3, 0xe5, 0x4b, 0xa2, 0x72, 0xed, 0x49, 0xeb, 0xca, 0x8e, 0xb3, 0x9e, 0x71, 0xb5, 0x70, + 0xc1, 0x3d, 0x37, 0xf0, 0x37, 0xe0, 0x82, 0x1f, 0xc1, 0x1f, 0x42, 0xe2, 0x1a, 0x2e, 0x90, 0x67, + 0x26, 0x8e, 0xe3, 0xd8, 0xd9, 0xec, 0x8a, 0x3b, 0xcf, 0xc9, 0x39, 0xcf, 0x39, 0xe7, 0x39, 0xcf, + 0x99, 0xd8, 0x50, 0xf3, 0x0d, 0x4e, 0x1d, 0xdb, 0xb5, 0x39, 0xf5, 0xf5, 0x89, 0xef, 0x71, 0x0f, + 0xd7, 0x26, 0x9e, 0x63, 0xf8, 0x36, 0xd3, 0x5d, 0xca, 0x7d, 0xdb, 0xd4, 0x6f, 0xdb, 0xda, 0x5f, + 0x39, 0xa8, 0x12, 0x83, 0xd3, 0x41, 0xe8, 0x48, 0xe8, 0xb3, 0x80, 0x32, 0x8e, 0x8f, 0x20, 0x6f, + 0xba, 0x56, 0x1d, 0x35, 0x50, 0xf3, 0x6e, 0xfb, 0x40, 0x5f, 0x88, 0xd2, 0xa3, 0x88, 0x9e, 0x6b, + 0x91, 0xd0, 0x17, 0x7f, 0x0b, 0xf7, 0xfd, 0xa9, 0xb1, 0x3f, 0x8e, 0xa0, 0xea, 0xb9, 0x06, 0x6a, + 0x56, 0xda, 0xaf, 0x2f, 0xc3, 0x88, 0xb9, 0x93, 0x54, 0x10, 0x6c, 0xc0, 0xb6, 0x3f, 0xab, 0x71, + 0xe2, 0xf9, 0x11, 0x7c, 0x5e, 0xc0, 0xbf, 0xb1, 0x0c, 0x7e, 0x2e, 0x80, 0x64, 0x00, 0xe1, 0x1b, + 0x78, 0x18, 0xfd, 0xd2, 0x35, 0xb8, 0x79, 0x1d, 0x6f, 0xa2, 0x20, 0xb2, 0xbc, 0xb5, 0x2c, 0x4b, + 0x32, 0x86, 0x64, 0xc3, 0x69, 0x7f, 0xe7, 0xa0, 0x16, 0x2b, 0x8f, 0x4d, 0xbc, 0x31, 0xa3, 0xaf, + 0x42, 0xfa, 0x77, 0xf0, 0x20, 0xc1, 0x97, 0xc4, 0x52, 0xac, 0x37, 0x5f, 0xcc, 0xba, 0xf4, 0x27, + 0xe9, 0x30, 0xd8, 0x82, 0x9d, 0x05, 0xba, 0x54, 0x06, 0x49, 0xfc, 0xe1, 0x2a, 0xc4, 0xab, 0x1c, + 0x59, 0x50, 0xd8, 0x85, 0xdd, 0x34, 0xae, 0x54, 0x22, 0xc9, 0xfd, 0xdb, 0x2b, 0x72, 0xaf, 0x72, + 0x2d, 0x01, 0xd4, 0xfe, 0x44, 0x70, 0x3f, 0x4d, 0x7b, 0xf8, 0x7d, 0x28, 0x72, 0xc3, 0xbf, 0xa2, + 0x5c, 0xcc, 0xa0, 0xd2, 0xde, 0x4f, 0xc9, 0x29, 0x82, 0x86, 0xc2, 0x8b, 0x28, 0x6f, 0xbc, 0x0b, + 0x25, 0xd3, 0xb1, 0xe9, 0x98, 0xf7, 0x2d, 0x41, 0x7c, 0x99, 0x44, 0x67, 0xfc, 0x1e, 0x14, 0xb9, + 0xc7, 0x0d, 0x87, 0xd5, 0xf3, 0x8d, 0x7c, 0xb3, 0xd2, 0xfe, 0x7f, 0x0a, 0xe6, 0xe3, 0xc0, 0xe3, + 0xc6, 0x30, 0xf4, 0x22, 0xca, 0x19, 0xef, 0x03, 0x30, 0xc7, 0xb6, 0x68, 0xcf, 0x0b, 0xc6, 0x52, + 0x7e, 0x9b, 0x24, 0x66, 0xc1, 0x6f, 0x42, 0xc1, 0xf5, 0x2c, 0x5a, 0x5f, 0x13, 0x62, 0xd9, 0x49, + 0x01, 0xfd, 0xdc, 0xb3, 0x28, 0x11, 0x4e, 0xda, 0x3f, 0x08, 0x1e, 0xa4, 0x8e, 0x1d, 0x63, 0x28, + 0x98, 0x21, 0x0c, 0x12, 0x09, 0xc4, 0x73, 0x8c, 0x85, 0xdc, 0x4b, 0xb1, 0xb0, 0x07, 0x65, 0xd9, + 0xf5, 0x67, 0xf4, 0x7b, 0xa1, 0x8e, 0x4d, 0x32, 0x33, 0xe0, 0x8f, 0xa1, 0x64, 0x86, 0x95, 0x53, + 0x9f, 0xd5, 0xd7, 0x04, 0x13, 0x07, 0x59, 0x4c, 0xf4, 0xa4, 0x1f, 0x89, 0x02, 0x12, 0x6c, 0x14, + 0x17, 0xd8, 0xd8, 0x83, 0x32, 0xb7, 0x5d, 0xca, 0xb8, 0xe1, 0x4e, 0xea, 0xeb, 0x0d, 0xd4, 0xcc, + 0x93, 0x99, 0x41, 0xfb, 0x01, 0x1e, 0x66, 0x6e, 0x29, 0xee, 0xc0, 0xba, 0xaf, 0x96, 0x1c, 0x89, + 0xb2, 0x56, 0xbe, 0xa9, 0xa6, 0x71, 0xcb, 0xc6, 0xaf, 0xdd, 0xc0, 0xbd, 0x81, 0x71, 0x49, 0x1d, + 0x6a, 0xc5, 0x5b, 0xc3, 0xdb, 0x50, 0x74, 0x42, 0x33, 0x13, 0xcc, 0x97, 0x89, 0x3a, 0xcd, 0xb1, + 0x94, 0x7b, 0x49, 0x96, 0xb4, 0x3f, 0x10, 0x6c, 0xc5, 0xd5, 0x1e, 0x38, 0xfc, 0x3f, 0x1d, 0x70, + 0x37, 0x56, 0x9c, 0x14, 0xf3, 0x6b, 0x69, 0x91, 0x8b, 0xed, 0x66, 0x4e, 0x72, 0x41, 0xd7, 0xda, + 0xaf, 0x08, 0x76, 0xb3, 0xd7, 0x3a, 0xb5, 0x9d, 0x39, 0xdd, 0xe5, 0x92, 0xba, 0x9b, 0x93, 0x46, + 0x3e, 0x21, 0x0d, 0xfc, 0x11, 0x14, 0x7d, 0x41, 0x54, 0xbd, 0x20, 0x1a, 0xd2, 0x52, 0x1a, 0x4a, + 0x50, 0x4a, 0x54, 0x84, 0xf6, 0x0b, 0x82, 0xed, 0xf4, 0xff, 0x98, 0xf9, 0x92, 0x50, 0xb2, 0xa4, + 0x0f, 0xa1, 0xfc, 0x2c, 0x64, 0xe7, 0x9c, 0xd1, 0xe9, 0x94, 0xff, 0x97, 0x35, 0xe5, 0x27, 0x81, + 0x4b, 0x66, 0xde, 0xcb, 0xbb, 0xd1, 0x7e, 0x42, 0xb0, 0x93, 0x71, 0xf9, 0xa6, 0x32, 0xf7, 0x09, + 0x80, 0x80, 0x1e, 0xd0, 0x11, 0x9f, 0x56, 0xb2, 0x97, 0x55, 0x49, 0xe8, 0x44, 0x62, 0xfe, 0x2f, + 0xa8, 0xe5, 0x47, 0xa8, 0xc4, 0x34, 0x14, 0x3a, 0x8f, 0x0d, 0x97, 0xb2, 0x89, 0x61, 0x52, 0xa5, + 0xf9, 0x99, 0x01, 0xd7, 0x61, 0x9d, 0x51, 0xff, 0xd6, 0x36, 0xa9, 0x5a, 0xa0, 0xe9, 0x31, 0xb6, + 0x28, 0xf9, 0xb9, 0x45, 0x39, 0x80, 0x8a, 0x7c, 0xba, 0x70, 0x6c, 0x26, 0xa7, 0x57, 0x26, 0x20, + 0x4d, 0x03, 0x9b, 0x71, 0xed, 0x39, 0xc0, 0xec, 0x5a, 0xc5, 0xef, 0xa8, 0xeb, 0x52, 0xfe, 0xb7, + 0x66, 0xf6, 0x38, 0xbb, 0x33, 0xc3, 0xa5, 0xb6, 0x02, 0xdf, 0xe0, 0xb6, 0x37, 0x56, 0xa2, 0x8a, + 0xce, 0x61, 0x33, 0xae, 0xf1, 0xbc, 0xe3, 0x0a, 0x0d, 0xab, 0x9b, 0x2e, 0x32, 0x68, 0xbf, 0x23, + 0xd8, 0x98, 0x5b, 0xf6, 0x38, 0x14, 0x4a, 0x40, 0xed, 0x03, 0xa8, 0xdd, 0x98, 0xa9, 0x37, 0x66, + 0x09, 0xc7, 0xe6, 0xd0, 0x11, 0x57, 0xfc, 0x8a, 0xe7, 0xe8, 0xee, 0x2f, 0xac, 0x70, 0xf7, 0xe3, + 0x06, 0x54, 0xa4, 0xf2, 0xe4, 0xc6, 0xad, 0x89, 0x0c, 0x71, 0x93, 0xf6, 0x15, 0x94, 0xa6, 0x52, + 0x4b, 0x94, 0x83, 0xd2, 0xca, 0x09, 0x18, 0xb5, 0x54, 0xa1, 0xe2, 0x39, 0x1c, 0x9e, 0x7c, 0xc9, + 0xb4, 0x14, 0x17, 0xd3, 0xa3, 0xf6, 0x33, 0x82, 0x72, 0xa4, 0x9d, 0x55, 0xb0, 0x45, 0xab, 0xb9, + 0x94, 0x56, 0xf3, 0xaf, 0xd0, 0x6a, 0x61, 0xb1, 0xd5, 0x7b, 0x50, 0x1b, 0xda, 0x2e, 0xed, 0x58, + 0x37, 0x01, 0x8b, 0x5e, 0xc6, 0x3e, 0x05, 0x1c, 0x37, 0xaa, 0x7d, 0x69, 0xc2, 0x56, 0xa8, 0x41, + 0xea, 0x0f, 0x23, 0x8d, 0x23, 0x51, 0x58, 0xd2, 0x7c, 0x78, 0x0a, 0x1b, 0xf1, 0x17, 0x33, 0x5c, + 0x82, 0x42, 0xff, 0x8b, 0xfe, 0xb0, 0x7a, 0x07, 0x57, 0x60, 0xbd, 0xd3, 0x7b, 0x7c, 0xde, 0x27, + 0x27, 0x55, 0x84, 0xef, 0x02, 0x74, 0x3b, 0xc3, 0xde, 0xe9, 0x85, 0xf8, 0x31, 0x87, 0x6b, 0xb0, + 0x29, 0xcf, 0x53, 0x97, 0xfc, 0xe1, 0x07, 0x50, 0x08, 0xdb, 0xc1, 0x1b, 0x50, 0xea, 0x1c, 0x77, + 0xce, 0x86, 0xfd, 0xa7, 0x27, 0xd5, 0x3b, 0xb8, 0x0a, 0x1b, 0xd2, 0xf1, 0x51, 0xaf, 0x77, 0x7e, + 0xf6, 0x75, 0x15, 0xe1, 0x2d, 0xa8, 0x48, 0xcb, 0x93, 0xd3, 0x0e, 0x39, 0xa9, 0xe6, 0x0e, 0x35, + 0xc5, 0xb3, 0x88, 0x2e, 0xc3, 0xda, 0x97, 0xa7, 0x8f, 0x06, 0x61, 0x28, 0x40, 0xf1, 0xb8, 0xff, + 0xb4, 0x7f, 0x7c, 0x52, 0x45, 0xdd, 0xdf, 0x10, 0xf4, 0x4c, 0xcf, 0xd5, 0x39, 0x1d, 0x9b, 0x74, + 0xcc, 0x23, 0x2a, 0xd9, 0x84, 0x9a, 0xf6, 0xc8, 0x36, 0x85, 0x1e, 0x75, 0x63, 0x62, 0xeb, 0xb7, + 0x47, 0x3a, 0xf7, 0x8d, 0xd1, 0xc8, 0x36, 0x75, 0xd7, 0x18, 0x1b, 0x57, 0x54, 0x8f, 0x7d, 0x48, + 0x74, 0x67, 0x1f, 0x0b, 0xd4, 0x3f, 0x0b, 0x3f, 0x2a, 0xbe, 0x39, 0xbb, 0xb2, 0xf9, 0x75, 0x70, + 0xa9, 0x9b, 0x9e, 0xdb, 0x52, 0xa8, 0x2e, 0x65, 0xd7, 0xad, 0x39, 0xe4, 0x16, 0xf3, 0x02, 0xdf, + 0xa4, 0xad, 0x2b, 0xaf, 0x65, 0x4c, 0xec, 0xd6, 0xed, 0x51, 0x4b, 0xe5, 0xb8, 0x90, 0x39, 0x5a, + 0xb1, 0x1c, 0x97, 0x45, 0xf1, 0xb5, 0xf2, 0xee, 0xbf, 0x01, 0x00, 0x00, 0xff, 0xff, 0x46, 0x99, + 0xff, 0xcf, 0xc2, 0x0c, 0x00, 0x00, } diff --git a/source/go/api/v1/traffic_manage/routing.pb.go b/source/go/api/v1/traffic_manage/routing.pb.go index e06373e..732caa2 100644 --- a/source/go/api/v1/traffic_manage/routing.pb.go +++ b/source/go/api/v1/traffic_manage/routing.pb.go @@ -1,27 +1,25 @@ // Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.33.0 -// protoc v5.27.3 // source: routing.proto -package traffic_manage +package traffic_manage // import "github.com/polarismesh/specification/source/go/api/v1/traffic_manage" -import ( - model "github.com/polarismesh/specification/source/go/api/v1/model" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - anypb "google.golang.org/protobuf/types/known/anypb" - wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" - reflect "reflect" - sync "sync" -) +import proto "github.com/golang/protobuf/proto" +import fmt "fmt" +import math "math" +import model "github.com/polarismesh/specification/source/go/api/v1/model" +import anypb "google.golang.org/protobuf/types/known/anypb" +import wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package type RoutingPolicy int32 @@ -34,45 +32,22 @@ const ( RoutingPolicy_NearbyPolicy RoutingPolicy = 2 ) -// Enum value maps for RoutingPolicy. -var ( - RoutingPolicy_name = map[int32]string{ - 0: "RulePolicy", - 1: "MetadataPolicy", - 2: "NearbyPolicy", - } - RoutingPolicy_value = map[string]int32{ - "RulePolicy": 0, - "MetadataPolicy": 1, - "NearbyPolicy": 2, - } -) - -func (x RoutingPolicy) Enum() *RoutingPolicy { - p := new(RoutingPolicy) - *p = x - return p -} - -func (x RoutingPolicy) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (RoutingPolicy) Descriptor() protoreflect.EnumDescriptor { - return file_routing_proto_enumTypes[0].Descriptor() +var RoutingPolicy_name = map[int32]string{ + 0: "RulePolicy", + 1: "MetadataPolicy", + 2: "NearbyPolicy", } - -func (RoutingPolicy) Type() protoreflect.EnumType { - return &file_routing_proto_enumTypes[0] +var RoutingPolicy_value = map[string]int32{ + "RulePolicy": 0, + "MetadataPolicy": 1, + "NearbyPolicy": 2, } -func (x RoutingPolicy) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) +func (x RoutingPolicy) String() string { + return proto.EnumName(RoutingPolicy_name, int32(x)) } - -// Deprecated: Use RoutingPolicy.Descriptor instead. func (RoutingPolicy) EnumDescriptor() ([]byte, []int) { - return file_routing_proto_rawDescGZIP(), []int{0} + return fileDescriptor_routing_2bdd9afb93890eab, []int{0} } type MetadataFailover_FailoverRange int32 @@ -86,45 +61,22 @@ const ( MetadataFailover_OTHER_KEYS MetadataFailover_FailoverRange = 2 ) -// Enum value maps for MetadataFailover_FailoverRange. -var ( - MetadataFailover_FailoverRange_name = map[int32]string{ - 0: "ALL", - 1: "OTHERS", - 2: "OTHER_KEYS", - } - MetadataFailover_FailoverRange_value = map[string]int32{ - "ALL": 0, - "OTHERS": 1, - "OTHER_KEYS": 2, - } -) - -func (x MetadataFailover_FailoverRange) Enum() *MetadataFailover_FailoverRange { - p := new(MetadataFailover_FailoverRange) - *p = x - return p +var MetadataFailover_FailoverRange_name = map[int32]string{ + 0: "ALL", + 1: "OTHERS", + 2: "OTHER_KEYS", } - -func (x MetadataFailover_FailoverRange) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (MetadataFailover_FailoverRange) Descriptor() protoreflect.EnumDescriptor { - return file_routing_proto_enumTypes[1].Descriptor() -} - -func (MetadataFailover_FailoverRange) Type() protoreflect.EnumType { - return &file_routing_proto_enumTypes[1] +var MetadataFailover_FailoverRange_value = map[string]int32{ + "ALL": 0, + "OTHERS": 1, + "OTHER_KEYS": 2, } -func (x MetadataFailover_FailoverRange) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) +func (x MetadataFailover_FailoverRange) String() string { + return proto.EnumName(MetadataFailover_FailoverRange_name, int32(x)) } - -// Deprecated: Use MetadataFailover_FailoverRange.Descriptor instead. func (MetadataFailover_FailoverRange) EnumDescriptor() ([]byte, []int) { - return file_routing_proto_rawDescGZIP(), []int{5, 0} + return fileDescriptor_routing_2bdd9afb93890eab, []int{5, 0} } type NearbyRoutingConfig_LocationLevel int32 @@ -142,49 +94,26 @@ const ( NearbyRoutingConfig_ALL NearbyRoutingConfig_LocationLevel = 4 ) -// Enum value maps for NearbyRoutingConfig_LocationLevel. -var ( - NearbyRoutingConfig_LocationLevel_name = map[int32]string{ - 0: "UNKNOWN", - 1: "CAMPUS", - 2: "ZONE", - 3: "REGION", - 4: "ALL", - } - NearbyRoutingConfig_LocationLevel_value = map[string]int32{ - "UNKNOWN": 0, - "CAMPUS": 1, - "ZONE": 2, - "REGION": 3, - "ALL": 4, - } -) - -func (x NearbyRoutingConfig_LocationLevel) Enum() *NearbyRoutingConfig_LocationLevel { - p := new(NearbyRoutingConfig_LocationLevel) - *p = x - return p +var NearbyRoutingConfig_LocationLevel_name = map[int32]string{ + 0: "UNKNOWN", + 1: "CAMPUS", + 2: "ZONE", + 3: "REGION", + 4: "ALL", } - -func (x NearbyRoutingConfig_LocationLevel) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +var NearbyRoutingConfig_LocationLevel_value = map[string]int32{ + "UNKNOWN": 0, + "CAMPUS": 1, + "ZONE": 2, + "REGION": 3, + "ALL": 4, } -func (NearbyRoutingConfig_LocationLevel) Descriptor() protoreflect.EnumDescriptor { - return file_routing_proto_enumTypes[2].Descriptor() -} - -func (NearbyRoutingConfig_LocationLevel) Type() protoreflect.EnumType { - return &file_routing_proto_enumTypes[2] -} - -func (x NearbyRoutingConfig_LocationLevel) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) +func (x NearbyRoutingConfig_LocationLevel) String() string { + return proto.EnumName(NearbyRoutingConfig_LocationLevel_name, int32(x)) } - -// Deprecated: Use NearbyRoutingConfig_LocationLevel.Descriptor instead. func (NearbyRoutingConfig_LocationLevel) EnumDescriptor() ([]byte, []int) { - return file_routing_proto_rawDescGZIP(), []int{7, 0} + return fileDescriptor_routing_2bdd9afb93890eab, []int{7, 0} } // label type for gateway request @@ -209,62 +138,35 @@ const ( SourceMatch_CALLER_METADATA SourceMatch_Type = 7 ) -// Enum value maps for SourceMatch_Type. -var ( - SourceMatch_Type_name = map[int32]string{ - 0: "CUSTOM", - 1: "METHOD", - 2: "HEADER", - 3: "QUERY", - 4: "CALLER_IP", - 5: "PATH", - 6: "COOKIE", - 7: "CALLER_METADATA", - } - SourceMatch_Type_value = map[string]int32{ - "CUSTOM": 0, - "METHOD": 1, - "HEADER": 2, - "QUERY": 3, - "CALLER_IP": 4, - "PATH": 5, - "COOKIE": 6, - "CALLER_METADATA": 7, - } -) - -func (x SourceMatch_Type) Enum() *SourceMatch_Type { - p := new(SourceMatch_Type) - *p = x - return p +var SourceMatch_Type_name = map[int32]string{ + 0: "CUSTOM", + 1: "METHOD", + 2: "HEADER", + 3: "QUERY", + 4: "CALLER_IP", + 5: "PATH", + 6: "COOKIE", + 7: "CALLER_METADATA", +} +var SourceMatch_Type_value = map[string]int32{ + "CUSTOM": 0, + "METHOD": 1, + "HEADER": 2, + "QUERY": 3, + "CALLER_IP": 4, + "PATH": 5, + "COOKIE": 6, + "CALLER_METADATA": 7, } func (x SourceMatch_Type) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (SourceMatch_Type) Descriptor() protoreflect.EnumDescriptor { - return file_routing_proto_enumTypes[3].Descriptor() -} - -func (SourceMatch_Type) Type() protoreflect.EnumType { - return &file_routing_proto_enumTypes[3] + return proto.EnumName(SourceMatch_Type_name, int32(x)) } - -func (x SourceMatch_Type) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use SourceMatch_Type.Descriptor instead. func (SourceMatch_Type) EnumDescriptor() ([]byte, []int) { - return file_routing_proto_rawDescGZIP(), []int{12, 0} + return fileDescriptor_routing_2bdd9afb93890eab, []int{12, 0} } type Routing struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - Service *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"` Namespace *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"` // 每个服务可以配置多条入站或者出站规则 @@ -276,245 +178,218 @@ type Routing struct { Revision *wrapperspb.StringValue `protobuf:"bytes,7,opt,name=revision,proto3" json:"revision,omitempty"` ServiceToken *wrapperspb.StringValue `protobuf:"bytes,8,opt,name=service_token,proto3" json:"service_token,omitempty"` // route rules for current service - Rules []*RouteRule `protobuf:"bytes,21,rep,name=rules,proto3" json:"rules,omitempty"` + Rules []*RouteRule `protobuf:"bytes,21,rep,name=rules,proto3" json:"rules,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *Routing) Reset() { - *x = Routing{} - if protoimpl.UnsafeEnabled { - mi := &file_routing_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *Routing) Reset() { *m = Routing{} } +func (m *Routing) String() string { return proto.CompactTextString(m) } +func (*Routing) ProtoMessage() {} +func (*Routing) Descriptor() ([]byte, []int) { + return fileDescriptor_routing_2bdd9afb93890eab, []int{0} } - -func (x *Routing) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *Routing) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Routing.Unmarshal(m, b) } - -func (*Routing) ProtoMessage() {} - -func (x *Routing) ProtoReflect() protoreflect.Message { - mi := &file_routing_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *Routing) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Routing.Marshal(b, m, deterministic) } - -// Deprecated: Use Routing.ProtoReflect.Descriptor instead. -func (*Routing) Descriptor() ([]byte, []int) { - return file_routing_proto_rawDescGZIP(), []int{0} +func (dst *Routing) XXX_Merge(src proto.Message) { + xxx_messageInfo_Routing.Merge(dst, src) +} +func (m *Routing) XXX_Size() int { + return xxx_messageInfo_Routing.Size(m) } +func (m *Routing) XXX_DiscardUnknown() { + xxx_messageInfo_Routing.DiscardUnknown(m) +} + +var xxx_messageInfo_Routing proto.InternalMessageInfo -func (x *Routing) GetService() *wrapperspb.StringValue { - if x != nil { - return x.Service +func (m *Routing) GetService() *wrapperspb.StringValue { + if m != nil { + return m.Service } return nil } -func (x *Routing) GetNamespace() *wrapperspb.StringValue { - if x != nil { - return x.Namespace +func (m *Routing) GetNamespace() *wrapperspb.StringValue { + if m != nil { + return m.Namespace } return nil } -func (x *Routing) GetInbounds() []*Route { - if x != nil { - return x.Inbounds +func (m *Routing) GetInbounds() []*Route { + if m != nil { + return m.Inbounds } return nil } -func (x *Routing) GetOutbounds() []*Route { - if x != nil { - return x.Outbounds +func (m *Routing) GetOutbounds() []*Route { + if m != nil { + return m.Outbounds } return nil } -func (x *Routing) GetCtime() *wrapperspb.StringValue { - if x != nil { - return x.Ctime +func (m *Routing) GetCtime() *wrapperspb.StringValue { + if m != nil { + return m.Ctime } return nil } -func (x *Routing) GetMtime() *wrapperspb.StringValue { - if x != nil { - return x.Mtime +func (m *Routing) GetMtime() *wrapperspb.StringValue { + if m != nil { + return m.Mtime } return nil } -func (x *Routing) GetRevision() *wrapperspb.StringValue { - if x != nil { - return x.Revision +func (m *Routing) GetRevision() *wrapperspb.StringValue { + if m != nil { + return m.Revision } return nil } -func (x *Routing) GetServiceToken() *wrapperspb.StringValue { - if x != nil { - return x.ServiceToken +func (m *Routing) GetServiceToken() *wrapperspb.StringValue { + if m != nil { + return m.ServiceToken } return nil } -func (x *Routing) GetRules() []*RouteRule { - if x != nil { - return x.Rules +func (m *Routing) GetRules() []*RouteRule { + if m != nil { + return m.Rules } return nil } // deprecated: only for compatible to the old version server type Route struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // 如果匹配Source规则,按照Destination路由 // 多个Source之间的关系为或 Sources []*Source `protobuf:"bytes,1,rep,name=sources,proto3" json:"sources,omitempty"` Destinations []*Destination `protobuf:"bytes,2,rep,name=destinations,proto3" json:"destinations,omitempty"` // extendInfo 用于承载一些额外信息 // case 1: 升级到 v2 版本时,记录对应到 v2 版本的 id 信息 - ExtendInfo map[string]string `protobuf:"bytes,3,rep,name=extendInfo,proto3" json:"extendInfo,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + ExtendInfo map[string]string `protobuf:"bytes,3,rep,name=extendInfo,proto3" json:"extendInfo,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *Route) Reset() { - *x = Route{} - if protoimpl.UnsafeEnabled { - mi := &file_routing_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *Route) Reset() { *m = Route{} } +func (m *Route) String() string { return proto.CompactTextString(m) } +func (*Route) ProtoMessage() {} +func (*Route) Descriptor() ([]byte, []int) { + return fileDescriptor_routing_2bdd9afb93890eab, []int{1} } - -func (x *Route) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *Route) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Route.Unmarshal(m, b) } - -func (*Route) ProtoMessage() {} - -func (x *Route) ProtoReflect() protoreflect.Message { - mi := &file_routing_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *Route) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Route.Marshal(b, m, deterministic) } - -// Deprecated: Use Route.ProtoReflect.Descriptor instead. -func (*Route) Descriptor() ([]byte, []int) { - return file_routing_proto_rawDescGZIP(), []int{1} +func (dst *Route) XXX_Merge(src proto.Message) { + xxx_messageInfo_Route.Merge(dst, src) +} +func (m *Route) XXX_Size() int { + return xxx_messageInfo_Route.Size(m) +} +func (m *Route) XXX_DiscardUnknown() { + xxx_messageInfo_Route.DiscardUnknown(m) } -func (x *Route) GetSources() []*Source { - if x != nil { - return x.Sources +var xxx_messageInfo_Route proto.InternalMessageInfo + +func (m *Route) GetSources() []*Source { + if m != nil { + return m.Sources } return nil } -func (x *Route) GetDestinations() []*Destination { - if x != nil { - return x.Destinations +func (m *Route) GetDestinations() []*Destination { + if m != nil { + return m.Destinations } return nil } -func (x *Route) GetExtendInfo() map[string]string { - if x != nil { - return x.ExtendInfo +func (m *Route) GetExtendInfo() map[string]string { + if m != nil { + return m.ExtendInfo } return nil } // deprecated: only for compatible to the old version server type Source struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // 主调方服务以及命名空间 Service *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"` Namespace *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"` // 主调方服务实例标签或者请求标签 // value支持正则匹配 - Metadata map[string]*model.MatchString `protobuf:"bytes,3,rep,name=metadata,proto3" json:"metadata,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + Metadata map[string]*model.MatchString `protobuf:"bytes,3,rep,name=metadata,proto3" json:"metadata,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *Source) Reset() { - *x = Source{} - if protoimpl.UnsafeEnabled { - mi := &file_routing_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *Source) Reset() { *m = Source{} } +func (m *Source) String() string { return proto.CompactTextString(m) } +func (*Source) ProtoMessage() {} +func (*Source) Descriptor() ([]byte, []int) { + return fileDescriptor_routing_2bdd9afb93890eab, []int{2} } - -func (x *Source) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *Source) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Source.Unmarshal(m, b) } - -func (*Source) ProtoMessage() {} - -func (x *Source) ProtoReflect() protoreflect.Message { - mi := &file_routing_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) +func (m *Source) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Source.Marshal(b, m, deterministic) } - -// Deprecated: Use Source.ProtoReflect.Descriptor instead. -func (*Source) Descriptor() ([]byte, []int) { - return file_routing_proto_rawDescGZIP(), []int{2} +func (dst *Source) XXX_Merge(src proto.Message) { + xxx_messageInfo_Source.Merge(dst, src) +} +func (m *Source) XXX_Size() int { + return xxx_messageInfo_Source.Size(m) +} +func (m *Source) XXX_DiscardUnknown() { + xxx_messageInfo_Source.DiscardUnknown(m) } -func (x *Source) GetService() *wrapperspb.StringValue { - if x != nil { - return x.Service +var xxx_messageInfo_Source proto.InternalMessageInfo + +func (m *Source) GetService() *wrapperspb.StringValue { + if m != nil { + return m.Service } return nil } -func (x *Source) GetNamespace() *wrapperspb.StringValue { - if x != nil { - return x.Namespace +func (m *Source) GetNamespace() *wrapperspb.StringValue { + if m != nil { + return m.Namespace } return nil } -func (x *Source) GetMetadata() map[string]*model.MatchString { - if x != nil { - return x.Metadata +func (m *Source) GetMetadata() map[string]*model.MatchString { + if m != nil { + return m.Metadata } return nil } // deprecated: only for compatible to the old version server type Destination struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // 被调方服务以及命名空间 Service *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"` Namespace *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"` @@ -538,103 +413,94 @@ type Destination struct { // 是否对该set执行隔离,隔离后,不会再分配流量 Isolate *wrapperspb.BoolValue `protobuf:"bytes,7,opt,name=isolate,proto3" json:"isolate,omitempty"` // 实例分组名 - Name *wrapperspb.StringValue `protobuf:"bytes,8,opt,name=name,proto3" json:"name,omitempty"` + Name *wrapperspb.StringValue `protobuf:"bytes,8,opt,name=name,proto3" json:"name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *Destination) Reset() { - *x = Destination{} - if protoimpl.UnsafeEnabled { - mi := &file_routing_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *Destination) Reset() { *m = Destination{} } +func (m *Destination) String() string { return proto.CompactTextString(m) } +func (*Destination) ProtoMessage() {} +func (*Destination) Descriptor() ([]byte, []int) { + return fileDescriptor_routing_2bdd9afb93890eab, []int{3} } - -func (x *Destination) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *Destination) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Destination.Unmarshal(m, b) } - -func (*Destination) ProtoMessage() {} - -func (x *Destination) ProtoReflect() protoreflect.Message { - mi := &file_routing_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) +func (m *Destination) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Destination.Marshal(b, m, deterministic) } - -// Deprecated: Use Destination.ProtoReflect.Descriptor instead. -func (*Destination) Descriptor() ([]byte, []int) { - return file_routing_proto_rawDescGZIP(), []int{3} +func (dst *Destination) XXX_Merge(src proto.Message) { + xxx_messageInfo_Destination.Merge(dst, src) } +func (m *Destination) XXX_Size() int { + return xxx_messageInfo_Destination.Size(m) +} +func (m *Destination) XXX_DiscardUnknown() { + xxx_messageInfo_Destination.DiscardUnknown(m) +} + +var xxx_messageInfo_Destination proto.InternalMessageInfo -func (x *Destination) GetService() *wrapperspb.StringValue { - if x != nil { - return x.Service +func (m *Destination) GetService() *wrapperspb.StringValue { + if m != nil { + return m.Service } return nil } -func (x *Destination) GetNamespace() *wrapperspb.StringValue { - if x != nil { - return x.Namespace +func (m *Destination) GetNamespace() *wrapperspb.StringValue { + if m != nil { + return m.Namespace } return nil } -func (x *Destination) GetMetadata() map[string]*model.MatchString { - if x != nil { - return x.Metadata +func (m *Destination) GetMetadata() map[string]*model.MatchString { + if m != nil { + return m.Metadata } return nil } -func (x *Destination) GetPriority() *wrapperspb.UInt32Value { - if x != nil { - return x.Priority +func (m *Destination) GetPriority() *wrapperspb.UInt32Value { + if m != nil { + return m.Priority } return nil } -func (x *Destination) GetWeight() *wrapperspb.UInt32Value { - if x != nil { - return x.Weight +func (m *Destination) GetWeight() *wrapperspb.UInt32Value { + if m != nil { + return m.Weight } return nil } -func (x *Destination) GetTransfer() *wrapperspb.StringValue { - if x != nil { - return x.Transfer +func (m *Destination) GetTransfer() *wrapperspb.StringValue { + if m != nil { + return m.Transfer } return nil } -func (x *Destination) GetIsolate() *wrapperspb.BoolValue { - if x != nil { - return x.Isolate +func (m *Destination) GetIsolate() *wrapperspb.BoolValue { + if m != nil { + return m.Isolate } return nil } -func (x *Destination) GetName() *wrapperspb.StringValue { - if x != nil { - return x.Name +func (m *Destination) GetName() *wrapperspb.StringValue { + if m != nil { + return m.Name } return nil } // configuration root for route type RouteRule struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // route rule name Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` @@ -665,292 +531,265 @@ type RouteRule struct { // 路由规则标签数据 Metadata map[string]string `protobuf:"bytes,21,rep,name=metadata,proto3" json:"metadata,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // 操作标志位 - Editable bool `protobuf:"varint,30,opt,name=editable,proto3" json:"editable,omitempty"` - Deleteable bool `protobuf:"varint,31,opt,name=deleteable,proto3" json:"deleteable,omitempty"` + Editable bool `protobuf:"varint,30,opt,name=editable,proto3" json:"editable,omitempty"` + Deleteable bool `protobuf:"varint,31,opt,name=deleteable,proto3" json:"deleteable,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *RouteRule) Reset() { - *x = RouteRule{} - if protoimpl.UnsafeEnabled { - mi := &file_routing_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *RouteRule) Reset() { *m = RouteRule{} } +func (m *RouteRule) String() string { return proto.CompactTextString(m) } +func (*RouteRule) ProtoMessage() {} +func (*RouteRule) Descriptor() ([]byte, []int) { + return fileDescriptor_routing_2bdd9afb93890eab, []int{4} } - -func (x *RouteRule) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *RouteRule) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RouteRule.Unmarshal(m, b) } - -func (*RouteRule) ProtoMessage() {} - -func (x *RouteRule) ProtoReflect() protoreflect.Message { - mi := &file_routing_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) +func (m *RouteRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RouteRule.Marshal(b, m, deterministic) } - -// Deprecated: Use RouteRule.ProtoReflect.Descriptor instead. -func (*RouteRule) Descriptor() ([]byte, []int) { - return file_routing_proto_rawDescGZIP(), []int{4} +func (dst *RouteRule) XXX_Merge(src proto.Message) { + xxx_messageInfo_RouteRule.Merge(dst, src) +} +func (m *RouteRule) XXX_Size() int { + return xxx_messageInfo_RouteRule.Size(m) } +func (m *RouteRule) XXX_DiscardUnknown() { + xxx_messageInfo_RouteRule.DiscardUnknown(m) +} + +var xxx_messageInfo_RouteRule proto.InternalMessageInfo -func (x *RouteRule) GetId() string { - if x != nil { - return x.Id +func (m *RouteRule) GetId() string { + if m != nil { + return m.Id } return "" } -func (x *RouteRule) GetName() string { - if x != nil { - return x.Name +func (m *RouteRule) GetName() string { + if m != nil { + return m.Name } return "" } -func (x *RouteRule) GetNamespace() string { - if x != nil { - return x.Namespace +func (m *RouteRule) GetNamespace() string { + if m != nil { + return m.Namespace } return "" } -func (x *RouteRule) GetEnable() bool { - if x != nil { - return x.Enable +func (m *RouteRule) GetEnable() bool { + if m != nil { + return m.Enable } return false } -func (x *RouteRule) GetRoutingPolicy() RoutingPolicy { - if x != nil { - return x.RoutingPolicy +func (m *RouteRule) GetRoutingPolicy() RoutingPolicy { + if m != nil { + return m.RoutingPolicy } return RoutingPolicy_RulePolicy } -func (x *RouteRule) GetRoutingConfig() *anypb.Any { - if x != nil { - return x.RoutingConfig +func (m *RouteRule) GetRoutingConfig() *anypb.Any { + if m != nil { + return m.RoutingConfig } return nil } -func (x *RouteRule) GetRevision() string { - if x != nil { - return x.Revision +func (m *RouteRule) GetRevision() string { + if m != nil { + return m.Revision } return "" } -func (x *RouteRule) GetCtime() string { - if x != nil { - return x.Ctime +func (m *RouteRule) GetCtime() string { + if m != nil { + return m.Ctime } return "" } -func (x *RouteRule) GetMtime() string { - if x != nil { - return x.Mtime +func (m *RouteRule) GetMtime() string { + if m != nil { + return m.Mtime } return "" } -func (x *RouteRule) GetEtime() string { - if x != nil { - return x.Etime +func (m *RouteRule) GetEtime() string { + if m != nil { + return m.Etime } return "" } -func (x *RouteRule) GetPriority() uint32 { - if x != nil { - return x.Priority +func (m *RouteRule) GetPriority() uint32 { + if m != nil { + return m.Priority } return 0 } -func (x *RouteRule) GetDescription() string { - if x != nil { - return x.Description +func (m *RouteRule) GetDescription() string { + if m != nil { + return m.Description } return "" } -func (x *RouteRule) GetExtendInfo() map[string]string { - if x != nil { - return x.ExtendInfo +func (m *RouteRule) GetExtendInfo() map[string]string { + if m != nil { + return m.ExtendInfo } return nil } -func (x *RouteRule) GetMetadata() map[string]string { - if x != nil { - return x.Metadata +func (m *RouteRule) GetMetadata() map[string]string { + if m != nil { + return m.Metadata } return nil } -func (x *RouteRule) GetEditable() bool { - if x != nil { - return x.Editable +func (m *RouteRule) GetEditable() bool { + if m != nil { + return m.Editable } return false } -func (x *RouteRule) GetDeleteable() bool { - if x != nil { - return x.Deleteable +func (m *RouteRule) GetDeleteable() bool { + if m != nil { + return m.Deleteable } return false } type MetadataFailover struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // failover_range metadata route bottom type FailoverRange MetadataFailover_FailoverRange `protobuf:"varint,1,opt,name=failover_range,json=failoverRange,proto3,enum=v1.MetadataFailover_FailoverRange" json:"failover_range,omitempty"` // only use to failover_range == OTHER_KEYS - Labels map[string]string `protobuf:"bytes,2,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + Labels map[string]string `protobuf:"bytes,2,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *MetadataFailover) Reset() { - *x = MetadataFailover{} - if protoimpl.UnsafeEnabled { - mi := &file_routing_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *MetadataFailover) Reset() { *m = MetadataFailover{} } +func (m *MetadataFailover) String() string { return proto.CompactTextString(m) } +func (*MetadataFailover) ProtoMessage() {} +func (*MetadataFailover) Descriptor() ([]byte, []int) { + return fileDescriptor_routing_2bdd9afb93890eab, []int{5} } - -func (x *MetadataFailover) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *MetadataFailover) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MetadataFailover.Unmarshal(m, b) } - -func (*MetadataFailover) ProtoMessage() {} - -func (x *MetadataFailover) ProtoReflect() protoreflect.Message { - mi := &file_routing_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) +func (m *MetadataFailover) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MetadataFailover.Marshal(b, m, deterministic) } - -// Deprecated: Use MetadataFailover.ProtoReflect.Descriptor instead. -func (*MetadataFailover) Descriptor() ([]byte, []int) { - return file_routing_proto_rawDescGZIP(), []int{5} +func (dst *MetadataFailover) XXX_Merge(src proto.Message) { + xxx_messageInfo_MetadataFailover.Merge(dst, src) +} +func (m *MetadataFailover) XXX_Size() int { + return xxx_messageInfo_MetadataFailover.Size(m) +} +func (m *MetadataFailover) XXX_DiscardUnknown() { + xxx_messageInfo_MetadataFailover.DiscardUnknown(m) } -func (x *MetadataFailover) GetFailoverRange() MetadataFailover_FailoverRange { - if x != nil { - return x.FailoverRange +var xxx_messageInfo_MetadataFailover proto.InternalMessageInfo + +func (m *MetadataFailover) GetFailoverRange() MetadataFailover_FailoverRange { + if m != nil { + return m.FailoverRange } return MetadataFailover_ALL } -func (x *MetadataFailover) GetLabels() map[string]string { - if x != nil { - return x.Labels +func (m *MetadataFailover) GetLabels() map[string]string { + if m != nil { + return m.Labels } return nil } // MetadataRoutingConfig metadata routing configuration type MetadataRoutingConfig struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // service Service string `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"` // namespace Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"` Labels map[string]string `protobuf:"bytes,3,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // When metadata not found, it will fall back to the - Failover *MetadataFailover `protobuf:"bytes,4,opt,name=failover,proto3" json:"failover,omitempty"` + Failover *MetadataFailover `protobuf:"bytes,4,opt,name=failover,proto3" json:"failover,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *MetadataRoutingConfig) Reset() { - *x = MetadataRoutingConfig{} - if protoimpl.UnsafeEnabled { - mi := &file_routing_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *MetadataRoutingConfig) Reset() { *m = MetadataRoutingConfig{} } +func (m *MetadataRoutingConfig) String() string { return proto.CompactTextString(m) } +func (*MetadataRoutingConfig) ProtoMessage() {} +func (*MetadataRoutingConfig) Descriptor() ([]byte, []int) { + return fileDescriptor_routing_2bdd9afb93890eab, []int{6} } - -func (x *MetadataRoutingConfig) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *MetadataRoutingConfig) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MetadataRoutingConfig.Unmarshal(m, b) } - -func (*MetadataRoutingConfig) ProtoMessage() {} - -func (x *MetadataRoutingConfig) ProtoReflect() protoreflect.Message { - mi := &file_routing_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) +func (m *MetadataRoutingConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MetadataRoutingConfig.Marshal(b, m, deterministic) } - -// Deprecated: Use MetadataRoutingConfig.ProtoReflect.Descriptor instead. -func (*MetadataRoutingConfig) Descriptor() ([]byte, []int) { - return file_routing_proto_rawDescGZIP(), []int{6} +func (dst *MetadataRoutingConfig) XXX_Merge(src proto.Message) { + xxx_messageInfo_MetadataRoutingConfig.Merge(dst, src) +} +func (m *MetadataRoutingConfig) XXX_Size() int { + return xxx_messageInfo_MetadataRoutingConfig.Size(m) } +func (m *MetadataRoutingConfig) XXX_DiscardUnknown() { + xxx_messageInfo_MetadataRoutingConfig.DiscardUnknown(m) +} + +var xxx_messageInfo_MetadataRoutingConfig proto.InternalMessageInfo -func (x *MetadataRoutingConfig) GetService() string { - if x != nil { - return x.Service +func (m *MetadataRoutingConfig) GetService() string { + if m != nil { + return m.Service } return "" } -func (x *MetadataRoutingConfig) GetNamespace() string { - if x != nil { - return x.Namespace +func (m *MetadataRoutingConfig) GetNamespace() string { + if m != nil { + return m.Namespace } return "" } -func (x *MetadataRoutingConfig) GetLabels() map[string]string { - if x != nil { - return x.Labels +func (m *MetadataRoutingConfig) GetLabels() map[string]string { + if m != nil { + return m.Labels } return nil } -func (x *MetadataRoutingConfig) GetFailover() *MetadataFailover { - if x != nil { - return x.Failover +func (m *MetadataRoutingConfig) GetFailover() *MetadataFailover { + if m != nil { + return m.Failover } return nil } // NearbyRoutingConfig routing configuration type NearbyRoutingConfig struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // 被调服务名,支持*,代表全部服务 Service string `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"` // 被调命名空间 @@ -960,289 +799,249 @@ type NearbyRoutingConfig struct { // 最大就近级别 MaxMatchLevel NearbyRoutingConfig_LocationLevel `protobuf:"varint,4,opt,name=max_match_level,proto3,enum=v1.NearbyRoutingConfig_LocationLevel" json:"max_match_level,omitempty"` // 是否强制就近 - StrictNearby bool `protobuf:"varint,5,opt,name=strict_nearby,proto3" json:"strict_nearby,omitempty"` + StrictNearby bool `protobuf:"varint,5,opt,name=strict_nearby,proto3" json:"strict_nearby,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *NearbyRoutingConfig) Reset() { - *x = NearbyRoutingConfig{} - if protoimpl.UnsafeEnabled { - mi := &file_routing_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *NearbyRoutingConfig) Reset() { *m = NearbyRoutingConfig{} } +func (m *NearbyRoutingConfig) String() string { return proto.CompactTextString(m) } +func (*NearbyRoutingConfig) ProtoMessage() {} +func (*NearbyRoutingConfig) Descriptor() ([]byte, []int) { + return fileDescriptor_routing_2bdd9afb93890eab, []int{7} } - -func (x *NearbyRoutingConfig) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *NearbyRoutingConfig) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_NearbyRoutingConfig.Unmarshal(m, b) } - -func (*NearbyRoutingConfig) ProtoMessage() {} - -func (x *NearbyRoutingConfig) ProtoReflect() protoreflect.Message { - mi := &file_routing_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) +func (m *NearbyRoutingConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_NearbyRoutingConfig.Marshal(b, m, deterministic) } - -// Deprecated: Use NearbyRoutingConfig.ProtoReflect.Descriptor instead. -func (*NearbyRoutingConfig) Descriptor() ([]byte, []int) { - return file_routing_proto_rawDescGZIP(), []int{7} +func (dst *NearbyRoutingConfig) XXX_Merge(src proto.Message) { + xxx_messageInfo_NearbyRoutingConfig.Merge(dst, src) +} +func (m *NearbyRoutingConfig) XXX_Size() int { + return xxx_messageInfo_NearbyRoutingConfig.Size(m) +} +func (m *NearbyRoutingConfig) XXX_DiscardUnknown() { + xxx_messageInfo_NearbyRoutingConfig.DiscardUnknown(m) } -func (x *NearbyRoutingConfig) GetService() string { - if x != nil { - return x.Service +var xxx_messageInfo_NearbyRoutingConfig proto.InternalMessageInfo + +func (m *NearbyRoutingConfig) GetService() string { + if m != nil { + return m.Service } return "" } -func (x *NearbyRoutingConfig) GetNamespace() string { - if x != nil { - return x.Namespace +func (m *NearbyRoutingConfig) GetNamespace() string { + if m != nil { + return m.Namespace } return "" } -func (x *NearbyRoutingConfig) GetMatchLevel() NearbyRoutingConfig_LocationLevel { - if x != nil { - return x.MatchLevel +func (m *NearbyRoutingConfig) GetMatchLevel() NearbyRoutingConfig_LocationLevel { + if m != nil { + return m.MatchLevel } return NearbyRoutingConfig_UNKNOWN } -func (x *NearbyRoutingConfig) GetMaxMatchLevel() NearbyRoutingConfig_LocationLevel { - if x != nil { - return x.MaxMatchLevel +func (m *NearbyRoutingConfig) GetMaxMatchLevel() NearbyRoutingConfig_LocationLevel { + if m != nil { + return m.MaxMatchLevel } return NearbyRoutingConfig_UNKNOWN } -func (x *NearbyRoutingConfig) GetStrictNearby() bool { - if x != nil { - return x.StrictNearby +func (m *NearbyRoutingConfig) GetStrictNearby() bool { + if m != nil { + return m.StrictNearby } return false } // RuleRoutingConfig routing configuration type RuleRoutingConfig struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // source source info // deprecated_filed only for compatible to the old version server - // - // Deprecated: Marked as deprecated in routing.proto. - Sources []*SourceService `protobuf:"bytes,1,rep,name=sources,proto3" json:"sources,omitempty"` + Sources []*SourceService `protobuf:"bytes,1,rep,name=sources,proto3" json:"sources,omitempty"` // Deprecated: Do not use. // destination destinations info // deprecated_filed only for compatible to the old version server - // - // Deprecated: Marked as deprecated in routing.proto. - Destinations []*DestinationGroup `protobuf:"bytes,2,rep,name=destinations,proto3" json:"destinations,omitempty"` + Destinations []*DestinationGroup `protobuf:"bytes,2,rep,name=destinations,proto3" json:"destinations,omitempty"` // Deprecated: Do not use. // rule route chain - Rules []*SubRuleRouting `protobuf:"bytes,3,rep,name=rules,proto3" json:"rules,omitempty"` + Rules []*SubRuleRouting `protobuf:"bytes,3,rep,name=rules,proto3" json:"rules,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *RuleRoutingConfig) Reset() { - *x = RuleRoutingConfig{} - if protoimpl.UnsafeEnabled { - mi := &file_routing_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *RuleRoutingConfig) Reset() { *m = RuleRoutingConfig{} } +func (m *RuleRoutingConfig) String() string { return proto.CompactTextString(m) } +func (*RuleRoutingConfig) ProtoMessage() {} +func (*RuleRoutingConfig) Descriptor() ([]byte, []int) { + return fileDescriptor_routing_2bdd9afb93890eab, []int{8} } - -func (x *RuleRoutingConfig) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *RuleRoutingConfig) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RuleRoutingConfig.Unmarshal(m, b) } - -func (*RuleRoutingConfig) ProtoMessage() {} - -func (x *RuleRoutingConfig) ProtoReflect() protoreflect.Message { - mi := &file_routing_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) +func (m *RuleRoutingConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RuleRoutingConfig.Marshal(b, m, deterministic) } - -// Deprecated: Use RuleRoutingConfig.ProtoReflect.Descriptor instead. -func (*RuleRoutingConfig) Descriptor() ([]byte, []int) { - return file_routing_proto_rawDescGZIP(), []int{8} +func (dst *RuleRoutingConfig) XXX_Merge(src proto.Message) { + xxx_messageInfo_RuleRoutingConfig.Merge(dst, src) +} +func (m *RuleRoutingConfig) XXX_Size() int { + return xxx_messageInfo_RuleRoutingConfig.Size(m) } +func (m *RuleRoutingConfig) XXX_DiscardUnknown() { + xxx_messageInfo_RuleRoutingConfig.DiscardUnknown(m) +} + +var xxx_messageInfo_RuleRoutingConfig proto.InternalMessageInfo -// Deprecated: Marked as deprecated in routing.proto. -func (x *RuleRoutingConfig) GetSources() []*SourceService { - if x != nil { - return x.Sources +// Deprecated: Do not use. +func (m *RuleRoutingConfig) GetSources() []*SourceService { + if m != nil { + return m.Sources } return nil } -// Deprecated: Marked as deprecated in routing.proto. -func (x *RuleRoutingConfig) GetDestinations() []*DestinationGroup { - if x != nil { - return x.Destinations +// Deprecated: Do not use. +func (m *RuleRoutingConfig) GetDestinations() []*DestinationGroup { + if m != nil { + return m.Destinations } return nil } -func (x *RuleRoutingConfig) GetRules() []*SubRuleRouting { - if x != nil { - return x.Rules +func (m *RuleRoutingConfig) GetRules() []*SubRuleRouting { + if m != nil { + return m.Rules } return nil } // SubRuleRouting sub routing configuration type SubRuleRouting struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // sub routing rule name Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // source source info Sources []*SourceService `protobuf:"bytes,2,rep,name=sources,proto3" json:"sources,omitempty"` // destination destinations info - Destinations []*DestinationGroup `protobuf:"bytes,3,rep,name=destinations,proto3" json:"destinations,omitempty"` + Destinations []*DestinationGroup `protobuf:"bytes,3,rep,name=destinations,proto3" json:"destinations,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *SubRuleRouting) Reset() { - *x = SubRuleRouting{} - if protoimpl.UnsafeEnabled { - mi := &file_routing_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *SubRuleRouting) Reset() { *m = SubRuleRouting{} } +func (m *SubRuleRouting) String() string { return proto.CompactTextString(m) } +func (*SubRuleRouting) ProtoMessage() {} +func (*SubRuleRouting) Descriptor() ([]byte, []int) { + return fileDescriptor_routing_2bdd9afb93890eab, []int{9} } - -func (x *SubRuleRouting) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *SubRuleRouting) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SubRuleRouting.Unmarshal(m, b) } - -func (*SubRuleRouting) ProtoMessage() {} - -func (x *SubRuleRouting) ProtoReflect() protoreflect.Message { - mi := &file_routing_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *SubRuleRouting) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SubRuleRouting.Marshal(b, m, deterministic) } - -// Deprecated: Use SubRuleRouting.ProtoReflect.Descriptor instead. -func (*SubRuleRouting) Descriptor() ([]byte, []int) { - return file_routing_proto_rawDescGZIP(), []int{9} +func (dst *SubRuleRouting) XXX_Merge(src proto.Message) { + xxx_messageInfo_SubRuleRouting.Merge(dst, src) +} +func (m *SubRuleRouting) XXX_Size() int { + return xxx_messageInfo_SubRuleRouting.Size(m) +} +func (m *SubRuleRouting) XXX_DiscardUnknown() { + xxx_messageInfo_SubRuleRouting.DiscardUnknown(m) } -func (x *SubRuleRouting) GetName() string { - if x != nil { - return x.Name +var xxx_messageInfo_SubRuleRouting proto.InternalMessageInfo + +func (m *SubRuleRouting) GetName() string { + if m != nil { + return m.Name } return "" } -func (x *SubRuleRouting) GetSources() []*SourceService { - if x != nil { - return x.Sources +func (m *SubRuleRouting) GetSources() []*SourceService { + if m != nil { + return m.Sources } return nil } -func (x *SubRuleRouting) GetDestinations() []*DestinationGroup { - if x != nil { - return x.Destinations +func (m *SubRuleRouting) GetDestinations() []*DestinationGroup { + if m != nil { + return m.Destinations } return nil } type SourceService struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // Main tuning service and namespace Service string `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"` Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"` // Master Control Service Example Tag or Request Label // Value supports regular matching - Arguments []*SourceMatch `protobuf:"bytes,3,rep,name=arguments,proto3" json:"arguments,omitempty"` + Arguments []*SourceMatch `protobuf:"bytes,3,rep,name=arguments,proto3" json:"arguments,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *SourceService) Reset() { - *x = SourceService{} - if protoimpl.UnsafeEnabled { - mi := &file_routing_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *SourceService) Reset() { *m = SourceService{} } +func (m *SourceService) String() string { return proto.CompactTextString(m) } +func (*SourceService) ProtoMessage() {} +func (*SourceService) Descriptor() ([]byte, []int) { + return fileDescriptor_routing_2bdd9afb93890eab, []int{10} } - -func (x *SourceService) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *SourceService) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SourceService.Unmarshal(m, b) } - -func (*SourceService) ProtoMessage() {} - -func (x *SourceService) ProtoReflect() protoreflect.Message { - mi := &file_routing_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *SourceService) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SourceService.Marshal(b, m, deterministic) } - -// Deprecated: Use SourceService.ProtoReflect.Descriptor instead. -func (*SourceService) Descriptor() ([]byte, []int) { - return file_routing_proto_rawDescGZIP(), []int{10} +func (dst *SourceService) XXX_Merge(src proto.Message) { + xxx_messageInfo_SourceService.Merge(dst, src) } +func (m *SourceService) XXX_Size() int { + return xxx_messageInfo_SourceService.Size(m) +} +func (m *SourceService) XXX_DiscardUnknown() { + xxx_messageInfo_SourceService.DiscardUnknown(m) +} + +var xxx_messageInfo_SourceService proto.InternalMessageInfo -func (x *SourceService) GetService() string { - if x != nil { - return x.Service +func (m *SourceService) GetService() string { + if m != nil { + return m.Service } return "" } -func (x *SourceService) GetNamespace() string { - if x != nil { - return x.Namespace +func (m *SourceService) GetNamespace() string { + if m != nil { + return m.Namespace } return "" } -func (x *SourceService) GetArguments() []*SourceMatch { - if x != nil { - return x.Arguments +func (m *SourceService) GetArguments() []*SourceMatch { + if m != nil { + return m.Arguments } return nil } type DestinationGroup struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // Templated service and namespace Service string `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"` Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"` @@ -1267,721 +1066,270 @@ type DestinationGroup struct { // Whether to isolate the SET, after isolation, no traffic will be allocated Isolate bool `protobuf:"varint,7,opt,name=isolate,proto3" json:"isolate,omitempty"` // name desition name - Name string `protobuf:"bytes,8,opt,name=name,proto3" json:"name,omitempty"` + Name string `protobuf:"bytes,8,opt,name=name,proto3" json:"name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *DestinationGroup) Reset() { - *x = DestinationGroup{} - if protoimpl.UnsafeEnabled { - mi := &file_routing_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *DestinationGroup) Reset() { *m = DestinationGroup{} } +func (m *DestinationGroup) String() string { return proto.CompactTextString(m) } +func (*DestinationGroup) ProtoMessage() {} +func (*DestinationGroup) Descriptor() ([]byte, []int) { + return fileDescriptor_routing_2bdd9afb93890eab, []int{11} } - -func (x *DestinationGroup) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *DestinationGroup) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DestinationGroup.Unmarshal(m, b) } - -func (*DestinationGroup) ProtoMessage() {} - -func (x *DestinationGroup) ProtoReflect() protoreflect.Message { - mi := &file_routing_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *DestinationGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DestinationGroup.Marshal(b, m, deterministic) } - -// Deprecated: Use DestinationGroup.ProtoReflect.Descriptor instead. -func (*DestinationGroup) Descriptor() ([]byte, []int) { - return file_routing_proto_rawDescGZIP(), []int{11} +func (dst *DestinationGroup) XXX_Merge(src proto.Message) { + xxx_messageInfo_DestinationGroup.Merge(dst, src) +} +func (m *DestinationGroup) XXX_Size() int { + return xxx_messageInfo_DestinationGroup.Size(m) } +func (m *DestinationGroup) XXX_DiscardUnknown() { + xxx_messageInfo_DestinationGroup.DiscardUnknown(m) +} + +var xxx_messageInfo_DestinationGroup proto.InternalMessageInfo -func (x *DestinationGroup) GetService() string { - if x != nil { - return x.Service +func (m *DestinationGroup) GetService() string { + if m != nil { + return m.Service } return "" } -func (x *DestinationGroup) GetNamespace() string { - if x != nil { - return x.Namespace +func (m *DestinationGroup) GetNamespace() string { + if m != nil { + return m.Namespace } return "" } -func (x *DestinationGroup) GetLabels() map[string]*model.MatchString { - if x != nil { - return x.Labels +func (m *DestinationGroup) GetLabels() map[string]*model.MatchString { + if m != nil { + return m.Labels } return nil } -func (x *DestinationGroup) GetPriority() uint32 { - if x != nil { - return x.Priority +func (m *DestinationGroup) GetPriority() uint32 { + if m != nil { + return m.Priority } return 0 } -func (x *DestinationGroup) GetWeight() uint32 { - if x != nil { - return x.Weight +func (m *DestinationGroup) GetWeight() uint32 { + if m != nil { + return m.Weight } return 0 } -func (x *DestinationGroup) GetTransfer() string { - if x != nil { - return x.Transfer +func (m *DestinationGroup) GetTransfer() string { + if m != nil { + return m.Transfer } return "" } -func (x *DestinationGroup) GetIsolate() bool { - if x != nil { - return x.Isolate +func (m *DestinationGroup) GetIsolate() bool { + if m != nil { + return m.Isolate } return false } -func (x *DestinationGroup) GetName() string { - if x != nil { - return x.Name +func (m *DestinationGroup) GetName() string { + if m != nil { + return m.Name } return "" } // SourceMatch type SourceMatch struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - Type SourceMatch_Type `protobuf:"varint,1,opt,name=type,proto3,enum=v1.SourceMatch_Type" json:"type,omitempty"` // header key or query key Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` // header value or query value - Value *model.MatchString `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"` + Value *model.MatchString `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *SourceMatch) Reset() { - *x = SourceMatch{} - if protoimpl.UnsafeEnabled { - mi := &file_routing_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *SourceMatch) Reset() { *m = SourceMatch{} } +func (m *SourceMatch) String() string { return proto.CompactTextString(m) } +func (*SourceMatch) ProtoMessage() {} +func (*SourceMatch) Descriptor() ([]byte, []int) { + return fileDescriptor_routing_2bdd9afb93890eab, []int{12} } - -func (x *SourceMatch) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *SourceMatch) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SourceMatch.Unmarshal(m, b) } - -func (*SourceMatch) ProtoMessage() {} - -func (x *SourceMatch) ProtoReflect() protoreflect.Message { - mi := &file_routing_proto_msgTypes[12] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *SourceMatch) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SourceMatch.Marshal(b, m, deterministic) } - -// Deprecated: Use SourceMatch.ProtoReflect.Descriptor instead. -func (*SourceMatch) Descriptor() ([]byte, []int) { - return file_routing_proto_rawDescGZIP(), []int{12} +func (dst *SourceMatch) XXX_Merge(src proto.Message) { + xxx_messageInfo_SourceMatch.Merge(dst, src) +} +func (m *SourceMatch) XXX_Size() int { + return xxx_messageInfo_SourceMatch.Size(m) +} +func (m *SourceMatch) XXX_DiscardUnknown() { + xxx_messageInfo_SourceMatch.DiscardUnknown(m) } -func (x *SourceMatch) GetType() SourceMatch_Type { - if x != nil { - return x.Type +var xxx_messageInfo_SourceMatch proto.InternalMessageInfo + +func (m *SourceMatch) GetType() SourceMatch_Type { + if m != nil { + return m.Type } return SourceMatch_CUSTOM } -func (x *SourceMatch) GetKey() string { - if x != nil { - return x.Key +func (m *SourceMatch) GetKey() string { + if m != nil { + return m.Key } return "" } -func (x *SourceMatch) GetValue() *model.MatchString { - if x != nil { - return x.Value +func (m *SourceMatch) GetValue() *model.MatchString { + if m != nil { + return m.Value } return nil } -var File_routing_proto protoreflect.FileDescriptor - -var file_routing_proto_rawDesc = []byte{ - 0x0a, 0x0d, 0x72, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, - 0x02, 0x76, 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, 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, 0x0b, - 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xde, 0x03, 0x0a, 0x07, - 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x12, 0x36, 0x0a, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, - 0x63, 0x65, 0x18, 0x01, 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, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, - 0x3a, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x02, 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, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x25, 0x0a, 0x08, 0x69, - 0x6e, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x09, 0x2e, - 0x76, 0x31, 0x2e, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x52, 0x08, 0x69, 0x6e, 0x62, 0x6f, 0x75, 0x6e, - 0x64, 0x73, 0x12, 0x27, 0x0a, 0x09, 0x6f, 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x73, 0x18, - 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x09, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x6f, 0x75, 0x74, 0x65, - 0x52, 0x09, 0x6f, 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x73, 0x12, 0x32, 0x0a, 0x05, 0x63, - 0x74, 0x69, 0x6d, 0x65, 0x18, 0x05, 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, 0x05, 0x63, 0x74, 0x69, 0x6d, 0x65, 0x12, - 0x32, 0x0a, 0x05, 0x6d, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x06, 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, 0x05, 0x6d, 0x74, - 0x69, 0x6d, 0x65, 0x12, 0x38, 0x0a, 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x18, - 0x07, 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, 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x42, 0x0a, - 0x0d, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x08, - 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, 0x0d, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, - 0x6e, 0x12, 0x23, 0x0a, 0x05, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x15, 0x20, 0x03, 0x28, 0x0b, - 0x32, 0x0d, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x52, 0x75, 0x6c, 0x65, 0x52, - 0x05, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x4a, 0x04, 0x08, 0x09, 0x10, 0x15, 0x22, 0xdc, 0x01, 0x0a, - 0x05, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x12, 0x24, 0x0a, 0x07, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, - 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x6f, 0x75, - 0x72, 0x63, 0x65, 0x52, 0x07, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x12, 0x33, 0x0a, 0x0c, - 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x52, 0x0c, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x73, 0x12, 0x39, 0x0a, 0x0a, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x18, - 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x6f, 0x75, 0x74, 0x65, - 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x45, 0x6e, 0x74, 0x72, 0x79, - 0x52, 0x0a, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x1a, 0x3d, 0x0a, 0x0f, - 0x45, 0x78, 0x74, 0x65, 0x6e, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, - 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, - 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x80, 0x02, 0x0a, 0x06, - 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x36, 0x0a, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, - 0x65, 0x18, 0x01, 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, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x3a, - 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x02, 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, - 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x34, 0x0a, 0x08, 0x6d, 0x65, - 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x76, - 0x31, 0x2e, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, - 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, - 0x1a, 0x4c, 0x0a, 0x0d, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, - 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, - 0x6b, 0x65, 0x79, 0x12, 0x25, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x53, 0x74, 0x72, - 0x69, 0x6e, 0x67, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x9c, - 0x04, 0x0a, 0x0b, 0x44, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x36, - 0x0a, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x18, 0x01, 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, 0x07, 0x73, - 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x3a, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, - 0x61, 0x63, 0x65, 0x18, 0x02, 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, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, - 0x63, 0x65, 0x12, 0x39, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, - 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x73, 0x74, 0x69, 0x6e, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x45, 0x6e, - 0x74, 0x72, 0x79, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x38, 0x0a, - 0x08, 0x70, 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, - 0x66, 0x2e, 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x08, 0x70, - 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x12, 0x34, 0x0a, 0x06, 0x77, 0x65, 0x69, 0x67, 0x68, - 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, - 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x06, 0x77, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x38, 0x0a, - 0x08, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x18, 0x06, 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, 0x08, 0x74, - 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x12, 0x34, 0x0a, 0x07, 0x69, 0x73, 0x6f, 0x6c, 0x61, - 0x74, 0x65, 0x18, 0x07, 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, 0x07, 0x69, 0x73, 0x6f, 0x6c, 0x61, 0x74, 0x65, 0x12, 0x30, 0x0a, - 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x08, 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, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x1a, - 0x4c, 0x0a, 0x0d, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79, - 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, - 0x65, 0x79, 0x12, 0x25, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x0f, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x53, 0x74, 0x72, 0x69, - 0x6e, 0x67, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xaa, 0x05, - 0x0a, 0x09, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x52, 0x75, 0x6c, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, - 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 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, - 0x1c, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x16, 0x0a, - 0x06, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x65, - 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x39, 0x0a, 0x0e, 0x72, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, - 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x11, 0x2e, - 0x76, 0x31, 0x2e, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, - 0x52, 0x0e, 0x72, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, - 0x12, 0x3c, 0x0a, 0x0e, 0x72, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x63, 0x6f, 0x6e, 0x66, - 0x69, 0x67, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, - 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x41, 0x6e, 0x79, 0x52, 0x0e, - 0x72, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x1a, - 0x0a, 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x74, - 0x69, 0x6d, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x63, 0x74, 0x69, 0x6d, 0x65, - 0x12, 0x14, 0x0a, 0x05, 0x6d, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x05, 0x6d, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x74, 0x69, 0x6d, 0x65, 0x18, - 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, - 0x70, 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, - 0x70, 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, - 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, - 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x3d, 0x0a, 0x0a, 0x65, 0x78, - 0x74, 0x65, 0x6e, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x18, 0x14, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, - 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x52, 0x75, 0x6c, 0x65, 0x2e, 0x45, 0x78, - 0x74, 0x65, 0x6e, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x65, - 0x78, 0x74, 0x65, 0x6e, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x37, 0x0a, 0x08, 0x6d, 0x65, 0x74, - 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x15, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x76, 0x31, - 0x2e, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x52, 0x75, 0x6c, 0x65, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x64, - 0x61, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, - 0x74, 0x61, 0x12, 0x1a, 0x0a, 0x08, 0x65, 0x64, 0x69, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x1e, - 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x65, 0x64, 0x69, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x1e, - 0x0a, 0x0a, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x1f, 0x20, 0x01, - 0x28, 0x08, 0x52, 0x0a, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x61, 0x62, 0x6c, 0x65, 0x1a, 0x3d, - 0x0a, 0x0f, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x45, 0x6e, 0x74, 0x72, - 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, - 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x3b, 0x0a, - 0x0d, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, - 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, - 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x88, 0x02, 0x0a, 0x10, 0x4d, - 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x46, 0x61, 0x69, 0x6c, 0x6f, 0x76, 0x65, 0x72, 0x12, - 0x49, 0x0a, 0x0e, 0x66, 0x61, 0x69, 0x6c, 0x6f, 0x76, 0x65, 0x72, 0x5f, 0x72, 0x61, 0x6e, 0x67, - 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x22, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x65, 0x74, - 0x61, 0x64, 0x61, 0x74, 0x61, 0x46, 0x61, 0x69, 0x6c, 0x6f, 0x76, 0x65, 0x72, 0x2e, 0x46, 0x61, - 0x69, 0x6c, 0x6f, 0x76, 0x65, 0x72, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x0d, 0x66, 0x61, 0x69, - 0x6c, 0x6f, 0x76, 0x65, 0x72, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x38, 0x0a, 0x06, 0x6c, 0x61, - 0x62, 0x65, 0x6c, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x31, 0x2e, - 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x46, 0x61, 0x69, 0x6c, 0x6f, 0x76, 0x65, 0x72, - 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x6c, 0x61, - 0x62, 0x65, 0x6c, 0x73, 0x1a, 0x39, 0x0a, 0x0b, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, - 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, - 0x34, 0x0a, 0x0d, 0x46, 0x61, 0x69, 0x6c, 0x6f, 0x76, 0x65, 0x72, 0x52, 0x61, 0x6e, 0x67, 0x65, - 0x12, 0x07, 0x0a, 0x03, 0x41, 0x4c, 0x4c, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x4f, 0x54, 0x48, - 0x45, 0x52, 0x53, 0x10, 0x01, 0x12, 0x0e, 0x0a, 0x0a, 0x4f, 0x54, 0x48, 0x45, 0x52, 0x5f, 0x4b, - 0x45, 0x59, 0x53, 0x10, 0x02, 0x22, 0xfb, 0x01, 0x0a, 0x15, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, - 0x74, 0x61, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, - 0x18, 0x0a, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x6e, 0x61, 0x6d, - 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6e, 0x61, - 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x3d, 0x0a, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, - 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x65, 0x74, - 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x66, - 0x69, 0x67, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, - 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x12, 0x30, 0x0a, 0x08, 0x66, 0x61, 0x69, 0x6c, 0x6f, 0x76, - 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x65, - 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x46, 0x61, 0x69, 0x6c, 0x6f, 0x76, 0x65, 0x72, 0x52, 0x08, - 0x66, 0x61, 0x69, 0x6c, 0x6f, 0x76, 0x65, 0x72, 0x1a, 0x39, 0x0a, 0x0b, 0x4c, 0x61, 0x62, 0x65, - 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, - 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, - 0x02, 0x38, 0x01, 0x22, 0xd6, 0x02, 0x0a, 0x13, 0x4e, 0x65, 0x61, 0x72, 0x62, 0x79, 0x52, 0x6f, - 0x75, 0x74, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x18, 0x0a, 0x07, 0x73, - 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x73, 0x65, - 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, - 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, - 0x61, 0x63, 0x65, 0x12, 0x47, 0x0a, 0x0b, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x5f, 0x6c, 0x65, 0x76, - 0x65, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x25, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x65, - 0x61, 0x72, 0x62, 0x79, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, - 0x67, 0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x52, - 0x0b, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x4f, 0x0a, 0x0f, - 0x6d, 0x61, 0x78, 0x5f, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, - 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x25, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x65, 0x61, 0x72, 0x62, - 0x79, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x4c, - 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x52, 0x0f, 0x6d, 0x61, - 0x78, 0x5f, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x24, 0x0a, - 0x0d, 0x73, 0x74, 0x72, 0x69, 0x63, 0x74, 0x5f, 0x6e, 0x65, 0x61, 0x72, 0x62, 0x79, 0x18, 0x05, - 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x73, 0x74, 0x72, 0x69, 0x63, 0x74, 0x5f, 0x6e, 0x65, 0x61, - 0x72, 0x62, 0x79, 0x22, 0x47, 0x0a, 0x0d, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4c, - 0x65, 0x76, 0x65, 0x6c, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, - 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x43, 0x41, 0x4d, 0x50, 0x55, 0x53, 0x10, 0x01, 0x12, 0x08, 0x0a, - 0x04, 0x5a, 0x4f, 0x4e, 0x45, 0x10, 0x02, 0x12, 0x0a, 0x0a, 0x06, 0x52, 0x45, 0x47, 0x49, 0x4f, - 0x4e, 0x10, 0x03, 0x12, 0x07, 0x0a, 0x03, 0x41, 0x4c, 0x4c, 0x10, 0x04, 0x22, 0xac, 0x01, 0x0a, - 0x11, 0x52, 0x75, 0x6c, 0x65, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x66, - 0x69, 0x67, 0x12, 0x2f, 0x0a, 0x07, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x18, 0x01, 0x20, - 0x03, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x53, - 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x42, 0x02, 0x18, 0x01, 0x52, 0x07, 0x73, 0x6f, 0x75, 0x72, - 0x63, 0x65, 0x73, 0x12, 0x3c, 0x0a, 0x0c, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x76, 0x31, 0x2e, 0x44, - 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x42, - 0x02, 0x18, 0x01, 0x52, 0x0c, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x73, 0x12, 0x28, 0x0a, 0x05, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, - 0x32, 0x12, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x75, 0x62, 0x52, 0x75, 0x6c, 0x65, 0x52, 0x6f, 0x75, - 0x74, 0x69, 0x6e, 0x67, 0x52, 0x05, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x22, 0x8b, 0x01, 0x0a, 0x0e, - 0x53, 0x75, 0x62, 0x52, 0x75, 0x6c, 0x65, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x12, 0x12, - 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, - 0x6d, 0x65, 0x12, 0x2b, 0x0a, 0x07, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x18, 0x02, 0x20, - 0x03, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x53, - 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x07, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x12, - 0x38, 0x0a, 0x0c, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, - 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x73, 0x74, 0x69, - 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x0c, 0x64, 0x65, 0x73, - 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x76, 0x0a, 0x0d, 0x53, 0x6f, 0x75, - 0x72, 0x63, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x65, - 0x72, 0x76, 0x69, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x73, 0x65, 0x72, - 0x76, 0x69, 0x63, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, - 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, - 0x63, 0x65, 0x12, 0x2d, 0x0a, 0x09, 0x61, 0x72, 0x67, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, - 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x6f, 0x75, 0x72, 0x63, - 0x65, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x52, 0x09, 0x61, 0x72, 0x67, 0x75, 0x6d, 0x65, 0x6e, 0x74, - 0x73, 0x22, 0xce, 0x02, 0x0a, 0x10, 0x44, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, - 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, - 0x12, 0x1c, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x38, - 0x0a, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, - 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x47, - 0x72, 0x6f, 0x75, 0x70, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, - 0x52, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x69, 0x6f, - 0x72, 0x69, 0x74, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x70, 0x72, 0x69, 0x6f, - 0x72, 0x69, 0x74, 0x79, 0x12, 0x16, 0x0a, 0x06, 0x77, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x05, - 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x77, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x1a, 0x0a, 0x08, - 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, - 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x69, 0x73, 0x6f, 0x6c, - 0x61, 0x74, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x69, 0x73, 0x6f, 0x6c, 0x61, - 0x74, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x1a, 0x4a, 0x0a, 0x0b, 0x4c, 0x61, 0x62, 0x65, 0x6c, 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, 0x25, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x61, 0x74, 0x63, - 0x68, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, - 0x38, 0x01, 0x22, 0xe1, 0x01, 0x0a, 0x0b, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4d, 0x61, 0x74, - 0x63, 0x68, 0x12, 0x28, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, - 0x32, 0x14, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4d, 0x61, 0x74, 0x63, - 0x68, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x10, 0x0a, 0x03, - 0x6b, 0x65, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x25, - 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, - 0x76, 0x31, 0x2e, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x52, 0x05, - 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x6f, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0a, 0x0a, - 0x06, 0x43, 0x55, 0x53, 0x54, 0x4f, 0x4d, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x4d, 0x45, 0x54, - 0x48, 0x4f, 0x44, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x48, 0x45, 0x41, 0x44, 0x45, 0x52, 0x10, - 0x02, 0x12, 0x09, 0x0a, 0x05, 0x51, 0x55, 0x45, 0x52, 0x59, 0x10, 0x03, 0x12, 0x0d, 0x0a, 0x09, - 0x43, 0x41, 0x4c, 0x4c, 0x45, 0x52, 0x5f, 0x49, 0x50, 0x10, 0x04, 0x12, 0x08, 0x0a, 0x04, 0x50, - 0x41, 0x54, 0x48, 0x10, 0x05, 0x12, 0x0a, 0x0a, 0x06, 0x43, 0x4f, 0x4f, 0x4b, 0x49, 0x45, 0x10, - 0x06, 0x12, 0x13, 0x0a, 0x0f, 0x43, 0x41, 0x4c, 0x4c, 0x45, 0x52, 0x5f, 0x4d, 0x45, 0x54, 0x41, - 0x44, 0x41, 0x54, 0x41, 0x10, 0x07, 0x2a, 0x45, 0x0a, 0x0d, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, - 0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x0e, 0x0a, 0x0a, 0x52, 0x75, 0x6c, 0x65, 0x50, - 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x10, 0x00, 0x12, 0x12, 0x0a, 0x0e, 0x4d, 0x65, 0x74, 0x61, 0x64, - 0x61, 0x74, 0x61, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x10, 0x01, 0x12, 0x10, 0x0a, 0x0c, 0x4e, - 0x65, 0x61, 0x72, 0x62, 0x79, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x10, 0x02, 0x42, 0x8d, 0x01, - 0x0a, 0x37, 0x63, 0x6f, 0x6d, 0x2e, 0x74, 0x65, 0x6e, 0x63, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x6f, - 0x6c, 0x61, 0x72, 0x69, 0x73, 0x2e, 0x73, 0x70, 0x65, 0x63, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x74, 0x72, 0x61, 0x66, 0x66, - 0x69, 0x63, 0x2e, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x42, 0x0c, 0x52, 0x6f, 0x75, 0x74, 0x69, - 0x6e, 0x67, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x5a, 0x44, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, - 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x6f, 0x6c, 0x61, 0x72, 0x69, 0x73, 0x6d, 0x65, 0x73, 0x68, 0x2f, - 0x73, 0x70, 0x65, 0x63, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x73, 0x6f, - 0x75, 0x72, 0x63, 0x65, 0x2f, 0x67, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x74, - 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x5f, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x62, 0x06, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_routing_proto_rawDescOnce sync.Once - file_routing_proto_rawDescData = file_routing_proto_rawDesc -) - -func file_routing_proto_rawDescGZIP() []byte { - file_routing_proto_rawDescOnce.Do(func() { - file_routing_proto_rawDescData = protoimpl.X.CompressGZIP(file_routing_proto_rawDescData) - }) - return file_routing_proto_rawDescData -} - -var file_routing_proto_enumTypes = make([]protoimpl.EnumInfo, 4) -var file_routing_proto_msgTypes = make([]protoimpl.MessageInfo, 21) -var file_routing_proto_goTypes = []interface{}{ - (RoutingPolicy)(0), // 0: v1.RoutingPolicy - (MetadataFailover_FailoverRange)(0), // 1: v1.MetadataFailover.FailoverRange - (NearbyRoutingConfig_LocationLevel)(0), // 2: v1.NearbyRoutingConfig.LocationLevel - (SourceMatch_Type)(0), // 3: v1.SourceMatch.Type - (*Routing)(nil), // 4: v1.Routing - (*Route)(nil), // 5: v1.Route - (*Source)(nil), // 6: v1.Source - (*Destination)(nil), // 7: v1.Destination - (*RouteRule)(nil), // 8: v1.RouteRule - (*MetadataFailover)(nil), // 9: v1.MetadataFailover - (*MetadataRoutingConfig)(nil), // 10: v1.MetadataRoutingConfig - (*NearbyRoutingConfig)(nil), // 11: v1.NearbyRoutingConfig - (*RuleRoutingConfig)(nil), // 12: v1.RuleRoutingConfig - (*SubRuleRouting)(nil), // 13: v1.SubRuleRouting - (*SourceService)(nil), // 14: v1.SourceService - (*DestinationGroup)(nil), // 15: v1.DestinationGroup - (*SourceMatch)(nil), // 16: v1.SourceMatch - nil, // 17: v1.Route.ExtendInfoEntry - nil, // 18: v1.Source.MetadataEntry - nil, // 19: v1.Destination.MetadataEntry - nil, // 20: v1.RouteRule.ExtendInfoEntry - nil, // 21: v1.RouteRule.MetadataEntry - nil, // 22: v1.MetadataFailover.LabelsEntry - nil, // 23: v1.MetadataRoutingConfig.LabelsEntry - nil, // 24: v1.DestinationGroup.LabelsEntry - (*wrapperspb.StringValue)(nil), // 25: google.protobuf.StringValue - (*wrapperspb.UInt32Value)(nil), // 26: google.protobuf.UInt32Value - (*wrapperspb.BoolValue)(nil), // 27: google.protobuf.BoolValue - (*anypb.Any)(nil), // 28: google.protobuf.Any - (*model.MatchString)(nil), // 29: v1.MatchString -} -var file_routing_proto_depIdxs = []int32{ - 25, // 0: v1.Routing.service:type_name -> google.protobuf.StringValue - 25, // 1: v1.Routing.namespace:type_name -> google.protobuf.StringValue - 5, // 2: v1.Routing.inbounds:type_name -> v1.Route - 5, // 3: v1.Routing.outbounds:type_name -> v1.Route - 25, // 4: v1.Routing.ctime:type_name -> google.protobuf.StringValue - 25, // 5: v1.Routing.mtime:type_name -> google.protobuf.StringValue - 25, // 6: v1.Routing.revision:type_name -> google.protobuf.StringValue - 25, // 7: v1.Routing.service_token:type_name -> google.protobuf.StringValue - 8, // 8: v1.Routing.rules:type_name -> v1.RouteRule - 6, // 9: v1.Route.sources:type_name -> v1.Source - 7, // 10: v1.Route.destinations:type_name -> v1.Destination - 17, // 11: v1.Route.extendInfo:type_name -> v1.Route.ExtendInfoEntry - 25, // 12: v1.Source.service:type_name -> google.protobuf.StringValue - 25, // 13: v1.Source.namespace:type_name -> google.protobuf.StringValue - 18, // 14: v1.Source.metadata:type_name -> v1.Source.MetadataEntry - 25, // 15: v1.Destination.service:type_name -> google.protobuf.StringValue - 25, // 16: v1.Destination.namespace:type_name -> google.protobuf.StringValue - 19, // 17: v1.Destination.metadata:type_name -> v1.Destination.MetadataEntry - 26, // 18: v1.Destination.priority:type_name -> google.protobuf.UInt32Value - 26, // 19: v1.Destination.weight:type_name -> google.protobuf.UInt32Value - 25, // 20: v1.Destination.transfer:type_name -> google.protobuf.StringValue - 27, // 21: v1.Destination.isolate:type_name -> google.protobuf.BoolValue - 25, // 22: v1.Destination.name:type_name -> google.protobuf.StringValue - 0, // 23: v1.RouteRule.routing_policy:type_name -> v1.RoutingPolicy - 28, // 24: v1.RouteRule.routing_config:type_name -> google.protobuf.Any - 20, // 25: v1.RouteRule.extendInfo:type_name -> v1.RouteRule.ExtendInfoEntry - 21, // 26: v1.RouteRule.metadata:type_name -> v1.RouteRule.MetadataEntry - 1, // 27: v1.MetadataFailover.failover_range:type_name -> v1.MetadataFailover.FailoverRange - 22, // 28: v1.MetadataFailover.labels:type_name -> v1.MetadataFailover.LabelsEntry - 23, // 29: v1.MetadataRoutingConfig.labels:type_name -> v1.MetadataRoutingConfig.LabelsEntry - 9, // 30: v1.MetadataRoutingConfig.failover:type_name -> v1.MetadataFailover - 2, // 31: v1.NearbyRoutingConfig.match_level:type_name -> v1.NearbyRoutingConfig.LocationLevel - 2, // 32: v1.NearbyRoutingConfig.max_match_level:type_name -> v1.NearbyRoutingConfig.LocationLevel - 14, // 33: v1.RuleRoutingConfig.sources:type_name -> v1.SourceService - 15, // 34: v1.RuleRoutingConfig.destinations:type_name -> v1.DestinationGroup - 13, // 35: v1.RuleRoutingConfig.rules:type_name -> v1.SubRuleRouting - 14, // 36: v1.SubRuleRouting.sources:type_name -> v1.SourceService - 15, // 37: v1.SubRuleRouting.destinations:type_name -> v1.DestinationGroup - 16, // 38: v1.SourceService.arguments:type_name -> v1.SourceMatch - 24, // 39: v1.DestinationGroup.labels:type_name -> v1.DestinationGroup.LabelsEntry - 3, // 40: v1.SourceMatch.type:type_name -> v1.SourceMatch.Type - 29, // 41: v1.SourceMatch.value:type_name -> v1.MatchString - 29, // 42: v1.Source.MetadataEntry.value:type_name -> v1.MatchString - 29, // 43: v1.Destination.MetadataEntry.value:type_name -> v1.MatchString - 29, // 44: v1.DestinationGroup.LabelsEntry.value:type_name -> v1.MatchString - 45, // [45:45] is the sub-list for method output_type - 45, // [45:45] is the sub-list for method input_type - 45, // [45:45] is the sub-list for extension type_name - 45, // [45:45] is the sub-list for extension extendee - 0, // [0:45] is the sub-list for field type_name -} - -func init() { file_routing_proto_init() } -func file_routing_proto_init() { - if File_routing_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_routing_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Routing); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_routing_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Route); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_routing_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Source); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_routing_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Destination); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_routing_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RouteRule); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_routing_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MetadataFailover); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_routing_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MetadataRoutingConfig); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_routing_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NearbyRoutingConfig); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_routing_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RuleRoutingConfig); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_routing_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SubRuleRouting); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_routing_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SourceService); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_routing_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DestinationGroup); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_routing_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SourceMatch); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_routing_proto_rawDesc, - NumEnums: 4, - NumMessages: 21, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_routing_proto_goTypes, - DependencyIndexes: file_routing_proto_depIdxs, - EnumInfos: file_routing_proto_enumTypes, - MessageInfos: file_routing_proto_msgTypes, - }.Build() - File_routing_proto = out.File - file_routing_proto_rawDesc = nil - file_routing_proto_goTypes = nil - file_routing_proto_depIdxs = nil +func init() { + proto.RegisterType((*Routing)(nil), "v1.Routing") + proto.RegisterType((*Route)(nil), "v1.Route") + proto.RegisterMapType((map[string]string)(nil), "v1.Route.ExtendInfoEntry") + proto.RegisterType((*Source)(nil), "v1.Source") + proto.RegisterMapType((map[string]*model.MatchString)(nil), "v1.Source.MetadataEntry") + proto.RegisterType((*Destination)(nil), "v1.Destination") + proto.RegisterMapType((map[string]*model.MatchString)(nil), "v1.Destination.MetadataEntry") + proto.RegisterType((*RouteRule)(nil), "v1.RouteRule") + proto.RegisterMapType((map[string]string)(nil), "v1.RouteRule.ExtendInfoEntry") + proto.RegisterMapType((map[string]string)(nil), "v1.RouteRule.MetadataEntry") + proto.RegisterType((*MetadataFailover)(nil), "v1.MetadataFailover") + proto.RegisterMapType((map[string]string)(nil), "v1.MetadataFailover.LabelsEntry") + proto.RegisterType((*MetadataRoutingConfig)(nil), "v1.MetadataRoutingConfig") + proto.RegisterMapType((map[string]string)(nil), "v1.MetadataRoutingConfig.LabelsEntry") + proto.RegisterType((*NearbyRoutingConfig)(nil), "v1.NearbyRoutingConfig") + proto.RegisterType((*RuleRoutingConfig)(nil), "v1.RuleRoutingConfig") + proto.RegisterType((*SubRuleRouting)(nil), "v1.SubRuleRouting") + proto.RegisterType((*SourceService)(nil), "v1.SourceService") + proto.RegisterType((*DestinationGroup)(nil), "v1.DestinationGroup") + proto.RegisterMapType((map[string]*model.MatchString)(nil), "v1.DestinationGroup.LabelsEntry") + proto.RegisterType((*SourceMatch)(nil), "v1.SourceMatch") + proto.RegisterEnum("v1.RoutingPolicy", RoutingPolicy_name, RoutingPolicy_value) + proto.RegisterEnum("v1.MetadataFailover_FailoverRange", MetadataFailover_FailoverRange_name, MetadataFailover_FailoverRange_value) + proto.RegisterEnum("v1.NearbyRoutingConfig_LocationLevel", NearbyRoutingConfig_LocationLevel_name, NearbyRoutingConfig_LocationLevel_value) + proto.RegisterEnum("v1.SourceMatch_Type", SourceMatch_Type_name, SourceMatch_Type_value) +} + +func init() { proto.RegisterFile("routing.proto", fileDescriptor_routing_2bdd9afb93890eab) } + +var fileDescriptor_routing_2bdd9afb93890eab = []byte{ + // 1449 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x56, 0x4d, 0x6f, 0xdb, 0x46, + 0x13, 0x0e, 0xa9, 0xef, 0x91, 0x25, 0x33, 0x1b, 0x25, 0x60, 0xf4, 0xe6, 0xcd, 0x6b, 0xe8, 0x4d, + 0x50, 0xa3, 0x45, 0xa9, 0xc4, 0x31, 0x1a, 0x3b, 0x4d, 0x0e, 0x72, 0xac, 0xda, 0x4e, 0x64, 0xcb, + 0xa5, 0xed, 0x16, 0xc9, 0x45, 0xa0, 0xa8, 0x95, 0xbc, 0x08, 0x45, 0x0a, 0xe4, 0x4a, 0x89, 0x6e, + 0x3d, 0x16, 0x28, 0xfa, 0x0f, 0xfa, 0x0b, 0x8a, 0xfe, 0x96, 0x1e, 0x7b, 0x2a, 0x0a, 0xf4, 0x77, + 0xf4, 0x52, 0x70, 0x77, 0xf9, 0x19, 0x39, 0x51, 0x3e, 0x80, 0xdc, 0x76, 0x67, 0x9e, 0x99, 0x9d, + 0x9d, 0x9d, 0x79, 0x76, 0xa0, 0xe2, 0x3a, 0x53, 0x4a, 0xec, 0x91, 0x36, 0x71, 0x1d, 0xea, 0x20, + 0x79, 0x76, 0xb7, 0x7e, 0x73, 0xe4, 0x38, 0x23, 0x0b, 0x37, 0x99, 0xa4, 0x3f, 0x1d, 0x36, 0x5f, + 0xba, 0xc6, 0x64, 0x82, 0x5d, 0x8f, 0x63, 0xea, 0xd7, 0xd3, 0x7a, 0xc3, 0x9e, 0x0b, 0x55, 0x79, + 0xec, 0x0c, 0xb0, 0xc5, 0x37, 0x8d, 0xbf, 0x32, 0x50, 0xd0, 0xb9, 0x77, 0xf4, 0x15, 0x14, 0x3c, + 0xec, 0xce, 0x88, 0x89, 0x55, 0x69, 0x4d, 0x5a, 0x2f, 0x6f, 0xdc, 0xd0, 0xb8, 0x17, 0x2d, 0xf0, + 0xa2, 0x9d, 0x50, 0x97, 0xd8, 0xa3, 0xef, 0x0c, 0x6b, 0x8a, 0xf5, 0x00, 0x8c, 0x1e, 0x40, 0xc9, + 0x36, 0xc6, 0xd8, 0x9b, 0x18, 0x26, 0x56, 0xe5, 0x25, 0x2c, 0x23, 0x38, 0xba, 0x0d, 0x45, 0x62, + 0xf7, 0x9d, 0xa9, 0x3d, 0xf0, 0xd4, 0xcc, 0x5a, 0x66, 0xbd, 0xbc, 0x51, 0xd2, 0x66, 0x77, 0x35, + 0x3f, 0x24, 0xac, 0x87, 0x2a, 0xf4, 0x19, 0x94, 0x9c, 0x29, 0x15, 0xb8, 0x6c, 0x1a, 0x17, 0xe9, + 0xd0, 0x06, 0xe4, 0x4c, 0x4a, 0xc6, 0x58, 0xcd, 0x2d, 0x11, 0x07, 0x87, 0xfa, 0x36, 0x63, 0x66, + 0x93, 0x5f, 0xc6, 0x86, 0x41, 0xd1, 0x16, 0x14, 0x5d, 0x3c, 0x23, 0x1e, 0x71, 0x6c, 0xb5, 0xb0, + 0x84, 0x59, 0x88, 0x46, 0x3b, 0x50, 0x11, 0x89, 0xeb, 0x51, 0xe7, 0x05, 0xb6, 0xd5, 0xe2, 0x12, + 0xe6, 0x49, 0x13, 0xf4, 0x7f, 0xc8, 0xb9, 0x53, 0x0b, 0x7b, 0xea, 0x55, 0x96, 0x8a, 0x4a, 0x94, + 0x8a, 0xa9, 0x85, 0x75, 0xae, 0x7b, 0x92, 0x2d, 0x96, 0x94, 0xab, 0x8d, 0x3f, 0x25, 0xc8, 0x31, + 0x15, 0xba, 0x05, 0x05, 0xcf, 0x99, 0xba, 0x26, 0xf6, 0x54, 0x89, 0x99, 0x81, 0x6f, 0x76, 0xc2, + 0x44, 0x7a, 0xa0, 0x42, 0xf7, 0x60, 0x65, 0x80, 0x3d, 0x4a, 0x6c, 0x83, 0x12, 0xc7, 0xf6, 0x54, + 0x99, 0x41, 0x57, 0x7d, 0xe8, 0x6e, 0x24, 0xd7, 0x13, 0x20, 0xb4, 0x0d, 0x80, 0x5f, 0x51, 0x6c, + 0x0f, 0x0e, 0xec, 0xa1, 0x23, 0xde, 0xf1, 0x7a, 0x18, 0x94, 0xd6, 0x0e, 0x75, 0x6d, 0x9b, 0xba, + 0x73, 0x3d, 0x06, 0xae, 0x3f, 0x82, 0xd5, 0x94, 0x1a, 0x29, 0x90, 0x79, 0x81, 0xe7, 0xac, 0x06, + 0x4b, 0xba, 0xbf, 0x44, 0x35, 0xc8, 0xcd, 0xfc, 0x3c, 0xb0, 0xea, 0x2a, 0xe9, 0x7c, 0xf3, 0x40, + 0xde, 0x92, 0x1a, 0x3f, 0xc8, 0x90, 0xe7, 0x57, 0xf8, 0x24, 0xe5, 0xbb, 0x09, 0xc5, 0x31, 0xa6, + 0xc6, 0xc0, 0xa0, 0x86, 0xb8, 0xb6, 0x1a, 0x25, 0x55, 0x3b, 0x14, 0x2a, 0x7e, 0xeb, 0x10, 0x59, + 0xef, 0x40, 0x25, 0xa1, 0x5a, 0x70, 0xe3, 0xdb, 0xf1, 0x1b, 0x8b, 0xfc, 0x1f, 0x1a, 0xd4, 0x3c, + 0xe7, 0x81, 0xc4, 0x53, 0xf0, 0x4b, 0x16, 0xca, 0xb1, 0xa7, 0xf9, 0x24, 0x79, 0xd8, 0x7e, 0x2d, + 0x0f, 0xff, 0x4d, 0x55, 0xcc, 0x45, 0xc9, 0xf0, 0x3b, 0x69, 0xe2, 0x12, 0xc7, 0x25, 0x74, 0xae, + 0x66, 0x2f, 0x38, 0xf5, 0xec, 0xc0, 0xa6, 0xf7, 0x36, 0x44, 0x27, 0x05, 0x68, 0xb4, 0x09, 0xf9, + 0x97, 0x98, 0x8c, 0xce, 0xe9, 0x85, 0xcd, 0x1e, 0xb7, 0x13, 0x58, 0xff, 0x3c, 0xea, 0x1a, 0xb6, + 0x37, 0xc4, 0xee, 0x52, 0x0d, 0x1f, 0xa2, 0xd1, 0x26, 0x14, 0x88, 0xe7, 0x58, 0x06, 0xc5, 0xa2, + 0xe5, 0xeb, 0xaf, 0x19, 0xee, 0x38, 0x8e, 0x25, 0xd2, 0x2a, 0xa0, 0xe8, 0x0e, 0x64, 0xfd, 0x3c, + 0x2d, 0xd5, 0xe6, 0x0c, 0xf9, 0x91, 0xcb, 0xe3, 0xd7, 0x1c, 0x94, 0x42, 0x6e, 0x40, 0x55, 0x90, + 0xc9, 0x40, 0x78, 0x92, 0xc9, 0x00, 0x21, 0x11, 0x1d, 0x6f, 0x2c, 0xb6, 0x46, 0x37, 0xe2, 0x85, + 0x90, 0x61, 0x8a, 0xd8, 0x53, 0x5f, 0x83, 0x3c, 0xb6, 0x8d, 0xbe, 0x85, 0xd9, 0x6b, 0x15, 0x75, + 0xb1, 0x43, 0xdb, 0x50, 0x15, 0xdf, 0x54, 0x6f, 0xe2, 0x58, 0xc4, 0x9c, 0xb3, 0x57, 0xa9, 0x6e, + 0x5c, 0x0e, 0x78, 0x80, 0xd8, 0xa3, 0x63, 0xa6, 0xd0, 0x53, 0x40, 0xf4, 0x30, 0x32, 0x35, 0x1d, + 0x7b, 0x48, 0x46, 0xe2, 0x61, 0x6a, 0xaf, 0x25, 0xab, 0x65, 0xc7, 0xac, 0x39, 0x16, 0xd5, 0x53, + 0x54, 0x5c, 0x8a, 0x91, 0x6d, 0x2d, 0xf8, 0x0e, 0x8a, 0x9c, 0x38, 0x38, 0xe1, 0xd7, 0x02, 0xc2, + 0x2f, 0x71, 0xe9, 0x38, 0x90, 0x62, 0x26, 0x05, 0x2e, 0x65, 0x1b, 0xdf, 0x7b, 0x58, 0x9e, 0xe5, + 0x35, 0x69, 0xbd, 0x12, 0x2b, 0xc0, 0x35, 0x28, 0x0f, 0xb0, 0x67, 0xba, 0x64, 0xe2, 0x57, 0xb8, + 0xba, 0xc2, 0xec, 0xe2, 0x22, 0xf4, 0x28, 0x41, 0x8c, 0xb5, 0xa8, 0x33, 0xc2, 0x17, 0x79, 0x13, + 0x39, 0xa2, 0xfb, 0xb1, 0xb6, 0xe2, 0x54, 0xff, 0x9f, 0xa4, 0xf1, 0x45, 0x4d, 0x55, 0x87, 0x22, + 0x1e, 0x10, 0xca, 0x9e, 0xe9, 0x26, 0x7b, 0xa6, 0x70, 0x8f, 0x6e, 0x02, 0x0c, 0xb0, 0x85, 0x29, + 0x66, 0xda, 0xff, 0x31, 0x6d, 0x4c, 0xf2, 0x81, 0x8c, 0x5c, 0xff, 0xfa, 0xed, 0xd5, 0x7b, 0x31, + 0x9d, 0xff, 0x28, 0x83, 0x12, 0x58, 0x7f, 0x63, 0x10, 0xcb, 0x99, 0x61, 0x17, 0x1d, 0x40, 0x75, + 0x28, 0xd6, 0x3d, 0xd7, 0xb0, 0x47, 0x9c, 0xd7, 0xaa, 0x1b, 0x0d, 0x56, 0xf5, 0x29, 0xb4, 0x16, + 0x2c, 0x74, 0x1f, 0xa9, 0x57, 0x86, 0xf1, 0x2d, 0xda, 0x82, 0xbc, 0x65, 0xf4, 0xb1, 0x15, 0xfc, + 0x6b, 0x6b, 0x0b, 0x5d, 0x74, 0x18, 0x84, 0xe7, 0x54, 0xe0, 0xeb, 0xdb, 0x50, 0x8e, 0x89, 0xdf, + 0xe9, 0x52, 0x9b, 0x50, 0x49, 0x04, 0x85, 0x0a, 0x90, 0x69, 0x75, 0x3a, 0xca, 0x25, 0x04, 0x90, + 0xef, 0x9e, 0xee, 0xb7, 0xf5, 0x13, 0x45, 0x42, 0x55, 0x00, 0xb6, 0xee, 0x3d, 0x6d, 0x3f, 0x3b, + 0x51, 0xe4, 0xc6, 0x3f, 0x12, 0x5c, 0x0d, 0x22, 0x13, 0xed, 0xf3, 0x98, 0x17, 0xbc, 0x9a, 0x24, + 0xf8, 0x52, 0x44, 0xe1, 0x37, 0xd2, 0x14, 0x9e, 0xe8, 0xdc, 0x47, 0xe1, 0xe5, 0x39, 0x45, 0xdf, + 0x8e, 0x5f, 0x3e, 0x71, 0xc4, 0xa2, 0x0c, 0xa0, 0x3b, 0x50, 0x0c, 0x92, 0x29, 0x88, 0xba, 0xb6, + 0x28, 0x7b, 0x7a, 0x88, 0xfa, 0x90, 0x9c, 0xfd, 0x21, 0xc3, 0x95, 0x23, 0x6c, 0xb8, 0xfd, 0xf9, + 0xc7, 0xb9, 0xfb, 0x1e, 0x94, 0xc7, 0x3e, 0x3f, 0xf6, 0x2c, 0x3c, 0xc3, 0x16, 0x63, 0xb5, 0x2a, + 0x4f, 0xc0, 0x82, 0x53, 0xb4, 0x8e, 0x63, 0xb2, 0x4f, 0xab, 0xe3, 0x83, 0xf5, 0xb8, 0x25, 0xea, + 0xc2, 0xea, 0xd8, 0x78, 0xd5, 0x8b, 0x3b, 0xcb, 0xbe, 0x8b, 0xb3, 0xb4, 0x35, 0xba, 0x05, 0x15, + 0x8f, 0xba, 0xc4, 0xa4, 0x3d, 0x9b, 0x19, 0x33, 0xda, 0x2c, 0xea, 0x49, 0x61, 0x63, 0x0f, 0x2a, + 0x09, 0x3f, 0xa8, 0x0c, 0x85, 0xb3, 0xa3, 0xa7, 0x47, 0xdd, 0xef, 0x8f, 0x78, 0x1d, 0x3d, 0x6e, + 0x1d, 0x1e, 0x9f, 0xf9, 0x75, 0x54, 0x84, 0xec, 0xf3, 0xee, 0x51, 0x5b, 0x91, 0x7d, 0xa9, 0xde, + 0xde, 0x3b, 0xe8, 0x1e, 0x29, 0x99, 0xa0, 0xe4, 0xb2, 0x8d, 0xdf, 0x24, 0xb8, 0xcc, 0xa6, 0xc4, + 0x44, 0x5a, 0x9b, 0xe9, 0xd9, 0xf0, 0x72, 0x34, 0xc6, 0x9c, 0xf0, 0x04, 0xef, 0xc8, 0xaa, 0x14, + 0x8d, 0x89, 0x0f, 0x17, 0x8e, 0x89, 0xb5, 0xd4, 0xa7, 0xbf, 0xe7, 0x3a, 0xd3, 0x09, 0x33, 0x4c, + 0xce, 0x8b, 0xeb, 0xc1, 0xfc, 0xca, 0x0b, 0x11, 0xb1, 0xc3, 0xa6, 0xfd, 0x58, 0x5c, 0x62, 0x88, + 0x6d, 0xfc, 0x24, 0x41, 0x35, 0xa9, 0x09, 0xbf, 0x2c, 0x29, 0xf6, 0x65, 0x7d, 0x11, 0xc5, 0x2f, + 0x5f, 0x10, 0x7f, 0x14, 0xfb, 0x56, 0x2a, 0xf6, 0xcc, 0xc5, 0xb1, 0x27, 0xe3, 0x6e, 0xcc, 0xa0, + 0x92, 0xf0, 0xf9, 0xde, 0xe5, 0xf8, 0x25, 0x94, 0x0c, 0x77, 0x34, 0x1d, 0x63, 0x9b, 0x06, 0xe7, + 0xaf, 0x46, 0x11, 0xb3, 0x9f, 0x5c, 0x8f, 0x10, 0x8d, 0xdf, 0x65, 0x50, 0xd2, 0xa1, 0xbd, 0xf7, + 0xd9, 0x5b, 0x29, 0x1a, 0x58, 0x5b, 0x74, 0xf1, 0x85, 0x0c, 0x50, 0x4f, 0x8d, 0x6a, 0xf1, 0xbf, + 0xf0, 0x5a, 0x62, 0x18, 0xab, 0x84, 0xe3, 0x56, 0x3d, 0x35, 0x6e, 0x95, 0x62, 0x03, 0x95, 0x9a, + 0x1c, 0xa8, 0x8a, 0xd1, 0xd0, 0x84, 0x62, 0x43, 0x93, 0x78, 0xe3, 0xfa, 0x93, 0xb7, 0xb1, 0xc9, + 0x3b, 0x0c, 0x45, 0x7f, 0x4b, 0x50, 0x8e, 0xe5, 0x1a, 0xad, 0x43, 0x96, 0xce, 0x27, 0xc1, 0xc7, + 0x52, 0x4b, 0x3d, 0x85, 0x76, 0x3a, 0x9f, 0x60, 0x9d, 0x21, 0x82, 0x63, 0xe5, 0x05, 0xc7, 0x66, + 0xde, 0x74, 0x6c, 0xc3, 0x81, 0xac, 0xef, 0x86, 0xf5, 0xea, 0xd9, 0xc9, 0x69, 0xf7, 0x90, 0xf7, + 0xed, 0x61, 0xfb, 0x74, 0xbf, 0xbb, 0xab, 0x48, 0xfe, 0x7a, 0xbf, 0xdd, 0xda, 0x6d, 0xeb, 0x8a, + 0x8c, 0x4a, 0x90, 0xfb, 0xf6, 0xac, 0xad, 0x3f, 0x53, 0x32, 0xa8, 0x02, 0xa5, 0xc7, 0xad, 0x4e, + 0xa7, 0xad, 0xf7, 0x0e, 0x8e, 0x95, 0xac, 0xdf, 0xdd, 0xc7, 0xad, 0xd3, 0x7d, 0x25, 0xc7, 0xfc, + 0x74, 0xbb, 0x4f, 0x0f, 0xda, 0x4a, 0x1e, 0x5d, 0x81, 0x55, 0x01, 0x3a, 0x6c, 0x9f, 0xb6, 0x76, + 0x5b, 0xa7, 0x2d, 0xa5, 0xf0, 0x79, 0x1b, 0x2a, 0x89, 0xb1, 0xcb, 0xff, 0x61, 0xfc, 0x3e, 0xe2, + 0x3b, 0xe5, 0x12, 0x42, 0x50, 0x0d, 0xc8, 0x5b, 0xc8, 0x24, 0xa4, 0xc0, 0x0a, 0xe7, 0x30, 0x21, + 0x91, 0x77, 0x7e, 0x96, 0xe0, 0xbe, 0xe9, 0x8c, 0x35, 0x8a, 0x6d, 0x13, 0xdb, 0x54, 0x9b, 0x38, + 0x96, 0xe1, 0x12, 0x4f, 0xf3, 0x26, 0xd8, 0x24, 0x43, 0xc2, 0x39, 0x49, 0x33, 0x26, 0xc4, 0xbf, + 0x37, 0x75, 0x8d, 0xe1, 0x90, 0x98, 0xda, 0xd8, 0xb0, 0x8d, 0x11, 0xde, 0x59, 0x09, 0x02, 0xf0, + 0xe7, 0xb7, 0xe7, 0xbb, 0x23, 0x42, 0xcf, 0xa7, 0x7d, 0xcd, 0x74, 0xc6, 0x4d, 0xe1, 0x65, 0x8c, + 0xbd, 0xf3, 0x66, 0xc2, 0x53, 0x93, 0x77, 0x69, 0x73, 0xe4, 0x34, 0x8d, 0x09, 0x69, 0xce, 0xee, + 0x36, 0x85, 0xcf, 0x1e, 0xf7, 0xd9, 0xcf, 0xb3, 0x61, 0xf0, 0xde, 0xbf, 0x01, 0x00, 0x00, 0xff, + 0xff, 0xf6, 0xc9, 0x1e, 0xc7, 0x15, 0x11, 0x00, 0x00, }