mirror of https://github.com/status-im/consul.git
2398 lines
90 KiB
Go
2398 lines
90 KiB
Go
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||
|
// versions:
|
||
|
// protoc-gen-go v1.26.0-rc.1
|
||
|
// protoc (unknown)
|
||
|
// source: proto/pbconfigentry/config_entry.proto
|
||
|
|
||
|
package pbconfigentry
|
||
|
|
||
|
import (
|
||
|
pbcommon "github.com/hashicorp/consul/proto/pbcommon"
|
||
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||
|
durationpb "google.golang.org/protobuf/types/known/durationpb"
|
||
|
reflect "reflect"
|
||
|
sync "sync"
|
||
|
)
|
||
|
|
||
|
const (
|
||
|
// Verify that this generated code is sufficiently up-to-date.
|
||
|
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
||
|
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
||
|
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
||
|
)
|
||
|
|
||
|
type Kind int32
|
||
|
|
||
|
const (
|
||
|
Kind_KindUnknown Kind = 0
|
||
|
Kind_KindMeshConfig Kind = 1
|
||
|
Kind_KindServiceResolver Kind = 2
|
||
|
Kind_KindIngressGateway Kind = 3
|
||
|
)
|
||
|
|
||
|
// Enum value maps for Kind.
|
||
|
var (
|
||
|
Kind_name = map[int32]string{
|
||
|
0: "KindUnknown",
|
||
|
1: "KindMeshConfig",
|
||
|
2: "KindServiceResolver",
|
||
|
3: "KindIngressGateway",
|
||
|
}
|
||
|
Kind_value = map[string]int32{
|
||
|
"KindUnknown": 0,
|
||
|
"KindMeshConfig": 1,
|
||
|
"KindServiceResolver": 2,
|
||
|
"KindIngressGateway": 3,
|
||
|
}
|
||
|
)
|
||
|
|
||
|
func (x Kind) Enum() *Kind {
|
||
|
p := new(Kind)
|
||
|
*p = x
|
||
|
return p
|
||
|
}
|
||
|
|
||
|
func (x Kind) String() string {
|
||
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
||
|
}
|
||
|
|
||
|
func (Kind) Descriptor() protoreflect.EnumDescriptor {
|
||
|
return file_proto_pbconfigentry_config_entry_proto_enumTypes[0].Descriptor()
|
||
|
}
|
||
|
|
||
|
func (Kind) Type() protoreflect.EnumType {
|
||
|
return &file_proto_pbconfigentry_config_entry_proto_enumTypes[0]
|
||
|
}
|
||
|
|
||
|
func (x Kind) Number() protoreflect.EnumNumber {
|
||
|
return protoreflect.EnumNumber(x)
|
||
|
}
|
||
|
|
||
|
// Deprecated: Use Kind.Descriptor instead.
|
||
|
func (Kind) EnumDescriptor() ([]byte, []int) {
|
||
|
return file_proto_pbconfigentry_config_entry_proto_rawDescGZIP(), []int{0}
|
||
|
}
|
||
|
|
||
|
type ConfigEntry struct {
|
||
|
state protoimpl.MessageState
|
||
|
sizeCache protoimpl.SizeCache
|
||
|
unknownFields protoimpl.UnknownFields
|
||
|
|
||
|
Kind Kind `protobuf:"varint,1,opt,name=Kind,proto3,enum=configentry.Kind" json:"Kind,omitempty"`
|
||
|
Name string `protobuf:"bytes,2,opt,name=Name,proto3" json:"Name,omitempty"`
|
||
|
EnterpriseMeta *pbcommon.EnterpriseMeta `protobuf:"bytes,3,opt,name=EnterpriseMeta,proto3" json:"EnterpriseMeta,omitempty"`
|
||
|
RaftIndex *pbcommon.RaftIndex `protobuf:"bytes,4,opt,name=RaftIndex,proto3" json:"RaftIndex,omitempty"`
|
||
|
// Types that are assignable to Entry:
|
||
|
// *ConfigEntry_MeshConfig
|
||
|
// *ConfigEntry_ServiceResolver
|
||
|
// *ConfigEntry_IngressGateway
|
||
|
Entry isConfigEntry_Entry `protobuf_oneof:"Entry"`
|
||
|
}
|
||
|
|
||
|
func (x *ConfigEntry) Reset() {
|
||
|
*x = ConfigEntry{}
|
||
|
if protoimpl.UnsafeEnabled {
|
||
|
mi := &file_proto_pbconfigentry_config_entry_proto_msgTypes[0]
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func (x *ConfigEntry) String() string {
|
||
|
return protoimpl.X.MessageStringOf(x)
|
||
|
}
|
||
|
|
||
|
func (*ConfigEntry) ProtoMessage() {}
|
||
|
|
||
|
func (x *ConfigEntry) ProtoReflect() protoreflect.Message {
|
||
|
mi := &file_proto_pbconfigentry_config_entry_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 ConfigEntry.ProtoReflect.Descriptor instead.
|
||
|
func (*ConfigEntry) Descriptor() ([]byte, []int) {
|
||
|
return file_proto_pbconfigentry_config_entry_proto_rawDescGZIP(), []int{0}
|
||
|
}
|
||
|
|
||
|
func (x *ConfigEntry) GetKind() Kind {
|
||
|
if x != nil {
|
||
|
return x.Kind
|
||
|
}
|
||
|
return Kind_KindUnknown
|
||
|
}
|
||
|
|
||
|
func (x *ConfigEntry) GetName() string {
|
||
|
if x != nil {
|
||
|
return x.Name
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (x *ConfigEntry) GetEnterpriseMeta() *pbcommon.EnterpriseMeta {
|
||
|
if x != nil {
|
||
|
return x.EnterpriseMeta
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (x *ConfigEntry) GetRaftIndex() *pbcommon.RaftIndex {
|
||
|
if x != nil {
|
||
|
return x.RaftIndex
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (m *ConfigEntry) GetEntry() isConfigEntry_Entry {
|
||
|
if m != nil {
|
||
|
return m.Entry
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (x *ConfigEntry) GetMeshConfig() *MeshConfig {
|
||
|
if x, ok := x.GetEntry().(*ConfigEntry_MeshConfig); ok {
|
||
|
return x.MeshConfig
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (x *ConfigEntry) GetServiceResolver() *ServiceResolver {
|
||
|
if x, ok := x.GetEntry().(*ConfigEntry_ServiceResolver); ok {
|
||
|
return x.ServiceResolver
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (x *ConfigEntry) GetIngressGateway() *IngressGateway {
|
||
|
if x, ok := x.GetEntry().(*ConfigEntry_IngressGateway); ok {
|
||
|
return x.IngressGateway
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
type isConfigEntry_Entry interface {
|
||
|
isConfigEntry_Entry()
|
||
|
}
|
||
|
|
||
|
type ConfigEntry_MeshConfig struct {
|
||
|
MeshConfig *MeshConfig `protobuf:"bytes,5,opt,name=MeshConfig,proto3,oneof"`
|
||
|
}
|
||
|
|
||
|
type ConfigEntry_ServiceResolver struct {
|
||
|
ServiceResolver *ServiceResolver `protobuf:"bytes,6,opt,name=ServiceResolver,proto3,oneof"`
|
||
|
}
|
||
|
|
||
|
type ConfigEntry_IngressGateway struct {
|
||
|
IngressGateway *IngressGateway `protobuf:"bytes,7,opt,name=IngressGateway,proto3,oneof"`
|
||
|
}
|
||
|
|
||
|
func (*ConfigEntry_MeshConfig) isConfigEntry_Entry() {}
|
||
|
|
||
|
func (*ConfigEntry_ServiceResolver) isConfigEntry_Entry() {}
|
||
|
|
||
|
func (*ConfigEntry_IngressGateway) isConfigEntry_Entry() {}
|
||
|
|
||
|
// mog annotation:
|
||
|
//
|
||
|
// target=github.com/hashicorp/consul/agent/structs.MeshConfigEntry
|
||
|
// output=config_entry.gen.go
|
||
|
// name=Structs
|
||
|
// ignore-fields=RaftIndex,EnterpriseMeta
|
||
|
type MeshConfig struct {
|
||
|
state protoimpl.MessageState
|
||
|
sizeCache protoimpl.SizeCache
|
||
|
unknownFields protoimpl.UnknownFields
|
||
|
|
||
|
TransparentProxy *TransparentProxyMeshConfig `protobuf:"bytes,1,opt,name=TransparentProxy,proto3" json:"TransparentProxy,omitempty"`
|
||
|
TLS *MeshTLSConfig `protobuf:"bytes,2,opt,name=TLS,proto3" json:"TLS,omitempty"`
|
||
|
HTTP *MeshHTTPConfig `protobuf:"bytes,3,opt,name=HTTP,proto3" json:"HTTP,omitempty"`
|
||
|
Meta map[string]string `protobuf:"bytes,4,rep,name=Meta,proto3" json:"Meta,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
||
|
}
|
||
|
|
||
|
func (x *MeshConfig) Reset() {
|
||
|
*x = MeshConfig{}
|
||
|
if protoimpl.UnsafeEnabled {
|
||
|
mi := &file_proto_pbconfigentry_config_entry_proto_msgTypes[1]
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func (x *MeshConfig) String() string {
|
||
|
return protoimpl.X.MessageStringOf(x)
|
||
|
}
|
||
|
|
||
|
func (*MeshConfig) ProtoMessage() {}
|
||
|
|
||
|
func (x *MeshConfig) ProtoReflect() protoreflect.Message {
|
||
|
mi := &file_proto_pbconfigentry_config_entry_proto_msgTypes[1]
|
||
|
if protoimpl.UnsafeEnabled && x != nil {
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
if ms.LoadMessageInfo() == nil {
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
return ms
|
||
|
}
|
||
|
return mi.MessageOf(x)
|
||
|
}
|
||
|
|
||
|
// Deprecated: Use MeshConfig.ProtoReflect.Descriptor instead.
|
||
|
func (*MeshConfig) Descriptor() ([]byte, []int) {
|
||
|
return file_proto_pbconfigentry_config_entry_proto_rawDescGZIP(), []int{1}
|
||
|
}
|
||
|
|
||
|
func (x *MeshConfig) GetTransparentProxy() *TransparentProxyMeshConfig {
|
||
|
if x != nil {
|
||
|
return x.TransparentProxy
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (x *MeshConfig) GetTLS() *MeshTLSConfig {
|
||
|
if x != nil {
|
||
|
return x.TLS
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (x *MeshConfig) GetHTTP() *MeshHTTPConfig {
|
||
|
if x != nil {
|
||
|
return x.HTTP
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (x *MeshConfig) GetMeta() map[string]string {
|
||
|
if x != nil {
|
||
|
return x.Meta
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
// mog annotation:
|
||
|
//
|
||
|
// target=github.com/hashicorp/consul/agent/structs.TransparentProxyMeshConfig
|
||
|
// output=config_entry.gen.go
|
||
|
// name=Structs
|
||
|
type TransparentProxyMeshConfig struct {
|
||
|
state protoimpl.MessageState
|
||
|
sizeCache protoimpl.SizeCache
|
||
|
unknownFields protoimpl.UnknownFields
|
||
|
|
||
|
MeshDestinationsOnly bool `protobuf:"varint,1,opt,name=MeshDestinationsOnly,proto3" json:"MeshDestinationsOnly,omitempty"`
|
||
|
}
|
||
|
|
||
|
func (x *TransparentProxyMeshConfig) Reset() {
|
||
|
*x = TransparentProxyMeshConfig{}
|
||
|
if protoimpl.UnsafeEnabled {
|
||
|
mi := &file_proto_pbconfigentry_config_entry_proto_msgTypes[2]
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func (x *TransparentProxyMeshConfig) String() string {
|
||
|
return protoimpl.X.MessageStringOf(x)
|
||
|
}
|
||
|
|
||
|
func (*TransparentProxyMeshConfig) ProtoMessage() {}
|
||
|
|
||
|
func (x *TransparentProxyMeshConfig) ProtoReflect() protoreflect.Message {
|
||
|
mi := &file_proto_pbconfigentry_config_entry_proto_msgTypes[2]
|
||
|
if protoimpl.UnsafeEnabled && x != nil {
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
if ms.LoadMessageInfo() == nil {
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
return ms
|
||
|
}
|
||
|
return mi.MessageOf(x)
|
||
|
}
|
||
|
|
||
|
// Deprecated: Use TransparentProxyMeshConfig.ProtoReflect.Descriptor instead.
|
||
|
func (*TransparentProxyMeshConfig) Descriptor() ([]byte, []int) {
|
||
|
return file_proto_pbconfigentry_config_entry_proto_rawDescGZIP(), []int{2}
|
||
|
}
|
||
|
|
||
|
func (x *TransparentProxyMeshConfig) GetMeshDestinationsOnly() bool {
|
||
|
if x != nil {
|
||
|
return x.MeshDestinationsOnly
|
||
|
}
|
||
|
return false
|
||
|
}
|
||
|
|
||
|
// mog annotation:
|
||
|
//
|
||
|
// target=github.com/hashicorp/consul/agent/structs.MeshTLSConfig
|
||
|
// output=config_entry.gen.go
|
||
|
// name=Structs
|
||
|
type MeshTLSConfig struct {
|
||
|
state protoimpl.MessageState
|
||
|
sizeCache protoimpl.SizeCache
|
||
|
unknownFields protoimpl.UnknownFields
|
||
|
|
||
|
Incoming *MeshDirectionalTLSConfig `protobuf:"bytes,1,opt,name=Incoming,proto3" json:"Incoming,omitempty"`
|
||
|
Outgoing *MeshDirectionalTLSConfig `protobuf:"bytes,2,opt,name=Outgoing,proto3" json:"Outgoing,omitempty"`
|
||
|
}
|
||
|
|
||
|
func (x *MeshTLSConfig) Reset() {
|
||
|
*x = MeshTLSConfig{}
|
||
|
if protoimpl.UnsafeEnabled {
|
||
|
mi := &file_proto_pbconfigentry_config_entry_proto_msgTypes[3]
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func (x *MeshTLSConfig) String() string {
|
||
|
return protoimpl.X.MessageStringOf(x)
|
||
|
}
|
||
|
|
||
|
func (*MeshTLSConfig) ProtoMessage() {}
|
||
|
|
||
|
func (x *MeshTLSConfig) ProtoReflect() protoreflect.Message {
|
||
|
mi := &file_proto_pbconfigentry_config_entry_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 MeshTLSConfig.ProtoReflect.Descriptor instead.
|
||
|
func (*MeshTLSConfig) Descriptor() ([]byte, []int) {
|
||
|
return file_proto_pbconfigentry_config_entry_proto_rawDescGZIP(), []int{3}
|
||
|
}
|
||
|
|
||
|
func (x *MeshTLSConfig) GetIncoming() *MeshDirectionalTLSConfig {
|
||
|
if x != nil {
|
||
|
return x.Incoming
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (x *MeshTLSConfig) GetOutgoing() *MeshDirectionalTLSConfig {
|
||
|
if x != nil {
|
||
|
return x.Outgoing
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
// mog annotation:
|
||
|
//
|
||
|
// target=github.com/hashicorp/consul/agent/structs.MeshDirectionalTLSConfig
|
||
|
// output=config_entry.gen.go
|
||
|
// name=Structs
|
||
|
type MeshDirectionalTLSConfig struct {
|
||
|
state protoimpl.MessageState
|
||
|
sizeCache protoimpl.SizeCache
|
||
|
unknownFields protoimpl.UnknownFields
|
||
|
|
||
|
// mog: func-from=tlsVersionFromStructs func-to=tlsVersionToStructs
|
||
|
TLSMinVersion string `protobuf:"bytes,1,opt,name=TLSMinVersion,proto3" json:"TLSMinVersion,omitempty"`
|
||
|
// mog: func-from=tlsVersionFromStructs func-to=tlsVersionToStructs
|
||
|
TLSMaxVersion string `protobuf:"bytes,2,opt,name=TLSMaxVersion,proto3" json:"TLSMaxVersion,omitempty"`
|
||
|
// mog: func-from=cipherSuitesFromStructs func-to=cipherSuitesToStructs
|
||
|
CipherSuites []string `protobuf:"bytes,3,rep,name=CipherSuites,proto3" json:"CipherSuites,omitempty"`
|
||
|
}
|
||
|
|
||
|
func (x *MeshDirectionalTLSConfig) Reset() {
|
||
|
*x = MeshDirectionalTLSConfig{}
|
||
|
if protoimpl.UnsafeEnabled {
|
||
|
mi := &file_proto_pbconfigentry_config_entry_proto_msgTypes[4]
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func (x *MeshDirectionalTLSConfig) String() string {
|
||
|
return protoimpl.X.MessageStringOf(x)
|
||
|
}
|
||
|
|
||
|
func (*MeshDirectionalTLSConfig) ProtoMessage() {}
|
||
|
|
||
|
func (x *MeshDirectionalTLSConfig) ProtoReflect() protoreflect.Message {
|
||
|
mi := &file_proto_pbconfigentry_config_entry_proto_msgTypes[4]
|
||
|
if protoimpl.UnsafeEnabled && x != nil {
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
if ms.LoadMessageInfo() == nil {
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
return ms
|
||
|
}
|
||
|
return mi.MessageOf(x)
|
||
|
}
|
||
|
|
||
|
// Deprecated: Use MeshDirectionalTLSConfig.ProtoReflect.Descriptor instead.
|
||
|
func (*MeshDirectionalTLSConfig) Descriptor() ([]byte, []int) {
|
||
|
return file_proto_pbconfigentry_config_entry_proto_rawDescGZIP(), []int{4}
|
||
|
}
|
||
|
|
||
|
func (x *MeshDirectionalTLSConfig) GetTLSMinVersion() string {
|
||
|
if x != nil {
|
||
|
return x.TLSMinVersion
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (x *MeshDirectionalTLSConfig) GetTLSMaxVersion() string {
|
||
|
if x != nil {
|
||
|
return x.TLSMaxVersion
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (x *MeshDirectionalTLSConfig) GetCipherSuites() []string {
|
||
|
if x != nil {
|
||
|
return x.CipherSuites
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
// mog annotation:
|
||
|
//
|
||
|
// target=github.com/hashicorp/consul/agent/structs.MeshHTTPConfig
|
||
|
// output=config_entry.gen.go
|
||
|
// name=Structs
|
||
|
type MeshHTTPConfig struct {
|
||
|
state protoimpl.MessageState
|
||
|
sizeCache protoimpl.SizeCache
|
||
|
unknownFields protoimpl.UnknownFields
|
||
|
|
||
|
SanitizeXForwardedClientCert bool `protobuf:"varint,1,opt,name=SanitizeXForwardedClientCert,proto3" json:"SanitizeXForwardedClientCert,omitempty"`
|
||
|
}
|
||
|
|
||
|
func (x *MeshHTTPConfig) Reset() {
|
||
|
*x = MeshHTTPConfig{}
|
||
|
if protoimpl.UnsafeEnabled {
|
||
|
mi := &file_proto_pbconfigentry_config_entry_proto_msgTypes[5]
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func (x *MeshHTTPConfig) String() string {
|
||
|
return protoimpl.X.MessageStringOf(x)
|
||
|
}
|
||
|
|
||
|
func (*MeshHTTPConfig) ProtoMessage() {}
|
||
|
|
||
|
func (x *MeshHTTPConfig) ProtoReflect() protoreflect.Message {
|
||
|
mi := &file_proto_pbconfigentry_config_entry_proto_msgTypes[5]
|
||
|
if protoimpl.UnsafeEnabled && x != nil {
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
if ms.LoadMessageInfo() == nil {
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
return ms
|
||
|
}
|
||
|
return mi.MessageOf(x)
|
||
|
}
|
||
|
|
||
|
// Deprecated: Use MeshHTTPConfig.ProtoReflect.Descriptor instead.
|
||
|
func (*MeshHTTPConfig) Descriptor() ([]byte, []int) {
|
||
|
return file_proto_pbconfigentry_config_entry_proto_rawDescGZIP(), []int{5}
|
||
|
}
|
||
|
|
||
|
func (x *MeshHTTPConfig) GetSanitizeXForwardedClientCert() bool {
|
||
|
if x != nil {
|
||
|
return x.SanitizeXForwardedClientCert
|
||
|
}
|
||
|
return false
|
||
|
}
|
||
|
|
||
|
// mog annotation:
|
||
|
//
|
||
|
// target=github.com/hashicorp/consul/agent/structs.ServiceResolverConfigEntry
|
||
|
// output=config_entry.gen.go
|
||
|
// name=Structs
|
||
|
// ignore-fields=Kind,Name,RaftIndex,EnterpriseMeta
|
||
|
type ServiceResolver struct {
|
||
|
state protoimpl.MessageState
|
||
|
sizeCache protoimpl.SizeCache
|
||
|
unknownFields protoimpl.UnknownFields
|
||
|
|
||
|
DefaultSubset string `protobuf:"bytes,1,opt,name=DefaultSubset,proto3" json:"DefaultSubset,omitempty"`
|
||
|
Subsets map[string]*ServiceResolverSubset `protobuf:"bytes,2,rep,name=Subsets,proto3" json:"Subsets,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
||
|
Redirect *ServiceResolverRedirect `protobuf:"bytes,3,opt,name=Redirect,proto3" json:"Redirect,omitempty"`
|
||
|
Failover map[string]*ServiceResolverFailover `protobuf:"bytes,4,rep,name=Failover,proto3" json:"Failover,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
||
|
// mog: func-to=structs.DurationFromProto func-from=structs.DurationToProto
|
||
|
ConnectTimeout *durationpb.Duration `protobuf:"bytes,5,opt,name=ConnectTimeout,proto3" json:"ConnectTimeout,omitempty"`
|
||
|
LoadBalancer *LoadBalancer `protobuf:"bytes,6,opt,name=LoadBalancer,proto3" json:"LoadBalancer,omitempty"`
|
||
|
Meta map[string]string `protobuf:"bytes,7,rep,name=Meta,proto3" json:"Meta,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
||
|
}
|
||
|
|
||
|
func (x *ServiceResolver) Reset() {
|
||
|
*x = ServiceResolver{}
|
||
|
if protoimpl.UnsafeEnabled {
|
||
|
mi := &file_proto_pbconfigentry_config_entry_proto_msgTypes[6]
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func (x *ServiceResolver) String() string {
|
||
|
return protoimpl.X.MessageStringOf(x)
|
||
|
}
|
||
|
|
||
|
func (*ServiceResolver) ProtoMessage() {}
|
||
|
|
||
|
func (x *ServiceResolver) ProtoReflect() protoreflect.Message {
|
||
|
mi := &file_proto_pbconfigentry_config_entry_proto_msgTypes[6]
|
||
|
if protoimpl.UnsafeEnabled && x != nil {
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
if ms.LoadMessageInfo() == nil {
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
return ms
|
||
|
}
|
||
|
return mi.MessageOf(x)
|
||
|
}
|
||
|
|
||
|
// Deprecated: Use ServiceResolver.ProtoReflect.Descriptor instead.
|
||
|
func (*ServiceResolver) Descriptor() ([]byte, []int) {
|
||
|
return file_proto_pbconfigentry_config_entry_proto_rawDescGZIP(), []int{6}
|
||
|
}
|
||
|
|
||
|
func (x *ServiceResolver) GetDefaultSubset() string {
|
||
|
if x != nil {
|
||
|
return x.DefaultSubset
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (x *ServiceResolver) GetSubsets() map[string]*ServiceResolverSubset {
|
||
|
if x != nil {
|
||
|
return x.Subsets
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (x *ServiceResolver) GetRedirect() *ServiceResolverRedirect {
|
||
|
if x != nil {
|
||
|
return x.Redirect
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (x *ServiceResolver) GetFailover() map[string]*ServiceResolverFailover {
|
||
|
if x != nil {
|
||
|
return x.Failover
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (x *ServiceResolver) GetConnectTimeout() *durationpb.Duration {
|
||
|
if x != nil {
|
||
|
return x.ConnectTimeout
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (x *ServiceResolver) GetLoadBalancer() *LoadBalancer {
|
||
|
if x != nil {
|
||
|
return x.LoadBalancer
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (x *ServiceResolver) GetMeta() map[string]string {
|
||
|
if x != nil {
|
||
|
return x.Meta
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
// mog annotation:
|
||
|
//
|
||
|
// target=github.com/hashicorp/consul/agent/structs.ServiceResolverSubset
|
||
|
// output=config_entry.gen.go
|
||
|
// name=Structs
|
||
|
type ServiceResolverSubset struct {
|
||
|
state protoimpl.MessageState
|
||
|
sizeCache protoimpl.SizeCache
|
||
|
unknownFields protoimpl.UnknownFields
|
||
|
|
||
|
Filter string `protobuf:"bytes,1,opt,name=Filter,proto3" json:"Filter,omitempty"`
|
||
|
OnlyPassing bool `protobuf:"varint,2,opt,name=OnlyPassing,proto3" json:"OnlyPassing,omitempty"`
|
||
|
}
|
||
|
|
||
|
func (x *ServiceResolverSubset) Reset() {
|
||
|
*x = ServiceResolverSubset{}
|
||
|
if protoimpl.UnsafeEnabled {
|
||
|
mi := &file_proto_pbconfigentry_config_entry_proto_msgTypes[7]
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func (x *ServiceResolverSubset) String() string {
|
||
|
return protoimpl.X.MessageStringOf(x)
|
||
|
}
|
||
|
|
||
|
func (*ServiceResolverSubset) ProtoMessage() {}
|
||
|
|
||
|
func (x *ServiceResolverSubset) ProtoReflect() protoreflect.Message {
|
||
|
mi := &file_proto_pbconfigentry_config_entry_proto_msgTypes[7]
|
||
|
if protoimpl.UnsafeEnabled && x != nil {
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
if ms.LoadMessageInfo() == nil {
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
return ms
|
||
|
}
|
||
|
return mi.MessageOf(x)
|
||
|
}
|
||
|
|
||
|
// Deprecated: Use ServiceResolverSubset.ProtoReflect.Descriptor instead.
|
||
|
func (*ServiceResolverSubset) Descriptor() ([]byte, []int) {
|
||
|
return file_proto_pbconfigentry_config_entry_proto_rawDescGZIP(), []int{7}
|
||
|
}
|
||
|
|
||
|
func (x *ServiceResolverSubset) GetFilter() string {
|
||
|
if x != nil {
|
||
|
return x.Filter
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (x *ServiceResolverSubset) GetOnlyPassing() bool {
|
||
|
if x != nil {
|
||
|
return x.OnlyPassing
|
||
|
}
|
||
|
return false
|
||
|
}
|
||
|
|
||
|
// mog annotation:
|
||
|
//
|
||
|
// target=github.com/hashicorp/consul/agent/structs.ServiceResolverRedirect
|
||
|
// output=config_entry.gen.go
|
||
|
// name=Structs
|
||
|
type ServiceResolverRedirect struct {
|
||
|
state protoimpl.MessageState
|
||
|
sizeCache protoimpl.SizeCache
|
||
|
unknownFields protoimpl.UnknownFields
|
||
|
|
||
|
Service string `protobuf:"bytes,1,opt,name=Service,proto3" json:"Service,omitempty"`
|
||
|
ServiceSubset string `protobuf:"bytes,2,opt,name=ServiceSubset,proto3" json:"ServiceSubset,omitempty"`
|
||
|
Namespace string `protobuf:"bytes,3,opt,name=Namespace,proto3" json:"Namespace,omitempty"`
|
||
|
Partition string `protobuf:"bytes,4,opt,name=Partition,proto3" json:"Partition,omitempty"`
|
||
|
Datacenter string `protobuf:"bytes,5,opt,name=Datacenter,proto3" json:"Datacenter,omitempty"`
|
||
|
}
|
||
|
|
||
|
func (x *ServiceResolverRedirect) Reset() {
|
||
|
*x = ServiceResolverRedirect{}
|
||
|
if protoimpl.UnsafeEnabled {
|
||
|
mi := &file_proto_pbconfigentry_config_entry_proto_msgTypes[8]
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func (x *ServiceResolverRedirect) String() string {
|
||
|
return protoimpl.X.MessageStringOf(x)
|
||
|
}
|
||
|
|
||
|
func (*ServiceResolverRedirect) ProtoMessage() {}
|
||
|
|
||
|
func (x *ServiceResolverRedirect) ProtoReflect() protoreflect.Message {
|
||
|
mi := &file_proto_pbconfigentry_config_entry_proto_msgTypes[8]
|
||
|
if protoimpl.UnsafeEnabled && x != nil {
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
if ms.LoadMessageInfo() == nil {
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
return ms
|
||
|
}
|
||
|
return mi.MessageOf(x)
|
||
|
}
|
||
|
|
||
|
// Deprecated: Use ServiceResolverRedirect.ProtoReflect.Descriptor instead.
|
||
|
func (*ServiceResolverRedirect) Descriptor() ([]byte, []int) {
|
||
|
return file_proto_pbconfigentry_config_entry_proto_rawDescGZIP(), []int{8}
|
||
|
}
|
||
|
|
||
|
func (x *ServiceResolverRedirect) GetService() string {
|
||
|
if x != nil {
|
||
|
return x.Service
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (x *ServiceResolverRedirect) GetServiceSubset() string {
|
||
|
if x != nil {
|
||
|
return x.ServiceSubset
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (x *ServiceResolverRedirect) GetNamespace() string {
|
||
|
if x != nil {
|
||
|
return x.Namespace
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (x *ServiceResolverRedirect) GetPartition() string {
|
||
|
if x != nil {
|
||
|
return x.Partition
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (x *ServiceResolverRedirect) GetDatacenter() string {
|
||
|
if x != nil {
|
||
|
return x.Datacenter
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
// mog annotation:
|
||
|
//
|
||
|
// target=github.com/hashicorp/consul/agent/structs.ServiceResolverFailover
|
||
|
// output=config_entry.gen.go
|
||
|
// name=Structs
|
||
|
type ServiceResolverFailover struct {
|
||
|
state protoimpl.MessageState
|
||
|
sizeCache protoimpl.SizeCache
|
||
|
unknownFields protoimpl.UnknownFields
|
||
|
|
||
|
Service string `protobuf:"bytes,1,opt,name=Service,proto3" json:"Service,omitempty"`
|
||
|
ServiceSubset string `protobuf:"bytes,2,opt,name=ServiceSubset,proto3" json:"ServiceSubset,omitempty"`
|
||
|
Namespace string `protobuf:"bytes,3,opt,name=Namespace,proto3" json:"Namespace,omitempty"`
|
||
|
Datacenters []string `protobuf:"bytes,4,rep,name=Datacenters,proto3" json:"Datacenters,omitempty"`
|
||
|
}
|
||
|
|
||
|
func (x *ServiceResolverFailover) Reset() {
|
||
|
*x = ServiceResolverFailover{}
|
||
|
if protoimpl.UnsafeEnabled {
|
||
|
mi := &file_proto_pbconfigentry_config_entry_proto_msgTypes[9]
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func (x *ServiceResolverFailover) String() string {
|
||
|
return protoimpl.X.MessageStringOf(x)
|
||
|
}
|
||
|
|
||
|
func (*ServiceResolverFailover) ProtoMessage() {}
|
||
|
|
||
|
func (x *ServiceResolverFailover) ProtoReflect() protoreflect.Message {
|
||
|
mi := &file_proto_pbconfigentry_config_entry_proto_msgTypes[9]
|
||
|
if protoimpl.UnsafeEnabled && x != nil {
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
if ms.LoadMessageInfo() == nil {
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
return ms
|
||
|
}
|
||
|
return mi.MessageOf(x)
|
||
|
}
|
||
|
|
||
|
// Deprecated: Use ServiceResolverFailover.ProtoReflect.Descriptor instead.
|
||
|
func (*ServiceResolverFailover) Descriptor() ([]byte, []int) {
|
||
|
return file_proto_pbconfigentry_config_entry_proto_rawDescGZIP(), []int{9}
|
||
|
}
|
||
|
|
||
|
func (x *ServiceResolverFailover) GetService() string {
|
||
|
if x != nil {
|
||
|
return x.Service
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (x *ServiceResolverFailover) GetServiceSubset() string {
|
||
|
if x != nil {
|
||
|
return x.ServiceSubset
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (x *ServiceResolverFailover) GetNamespace() string {
|
||
|
if x != nil {
|
||
|
return x.Namespace
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (x *ServiceResolverFailover) GetDatacenters() []string {
|
||
|
if x != nil {
|
||
|
return x.Datacenters
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
// mog annotation:
|
||
|
//
|
||
|
// target=github.com/hashicorp/consul/agent/structs.LoadBalancer
|
||
|
// output=config_entry.gen.go
|
||
|
// name=Structs
|
||
|
type LoadBalancer struct {
|
||
|
state protoimpl.MessageState
|
||
|
sizeCache protoimpl.SizeCache
|
||
|
unknownFields protoimpl.UnknownFields
|
||
|
|
||
|
Policy string `protobuf:"bytes,1,opt,name=Policy,proto3" json:"Policy,omitempty"`
|
||
|
RingHashConfig *RingHashConfig `protobuf:"bytes,2,opt,name=RingHashConfig,proto3" json:"RingHashConfig,omitempty"`
|
||
|
LeastRequestConfig *LeastRequestConfig `protobuf:"bytes,3,opt,name=LeastRequestConfig,proto3" json:"LeastRequestConfig,omitempty"`
|
||
|
HashPolicies []*HashPolicy `protobuf:"bytes,4,rep,name=HashPolicies,proto3" json:"HashPolicies,omitempty"`
|
||
|
}
|
||
|
|
||
|
func (x *LoadBalancer) Reset() {
|
||
|
*x = LoadBalancer{}
|
||
|
if protoimpl.UnsafeEnabled {
|
||
|
mi := &file_proto_pbconfigentry_config_entry_proto_msgTypes[10]
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func (x *LoadBalancer) String() string {
|
||
|
return protoimpl.X.MessageStringOf(x)
|
||
|
}
|
||
|
|
||
|
func (*LoadBalancer) ProtoMessage() {}
|
||
|
|
||
|
func (x *LoadBalancer) ProtoReflect() protoreflect.Message {
|
||
|
mi := &file_proto_pbconfigentry_config_entry_proto_msgTypes[10]
|
||
|
if protoimpl.UnsafeEnabled && x != nil {
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
if ms.LoadMessageInfo() == nil {
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
return ms
|
||
|
}
|
||
|
return mi.MessageOf(x)
|
||
|
}
|
||
|
|
||
|
// Deprecated: Use LoadBalancer.ProtoReflect.Descriptor instead.
|
||
|
func (*LoadBalancer) Descriptor() ([]byte, []int) {
|
||
|
return file_proto_pbconfigentry_config_entry_proto_rawDescGZIP(), []int{10}
|
||
|
}
|
||
|
|
||
|
func (x *LoadBalancer) GetPolicy() string {
|
||
|
if x != nil {
|
||
|
return x.Policy
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (x *LoadBalancer) GetRingHashConfig() *RingHashConfig {
|
||
|
if x != nil {
|
||
|
return x.RingHashConfig
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (x *LoadBalancer) GetLeastRequestConfig() *LeastRequestConfig {
|
||
|
if x != nil {
|
||
|
return x.LeastRequestConfig
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (x *LoadBalancer) GetHashPolicies() []*HashPolicy {
|
||
|
if x != nil {
|
||
|
return x.HashPolicies
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
// mog annotation:
|
||
|
//
|
||
|
// target=github.com/hashicorp/consul/agent/structs.RingHashConfig
|
||
|
// output=config_entry.gen.go
|
||
|
// name=Structs
|
||
|
type RingHashConfig struct {
|
||
|
state protoimpl.MessageState
|
||
|
sizeCache protoimpl.SizeCache
|
||
|
unknownFields protoimpl.UnknownFields
|
||
|
|
||
|
MinimumRingSize uint64 `protobuf:"varint,1,opt,name=MinimumRingSize,proto3" json:"MinimumRingSize,omitempty"`
|
||
|
MaximumRingSize uint64 `protobuf:"varint,2,opt,name=MaximumRingSize,proto3" json:"MaximumRingSize,omitempty"`
|
||
|
}
|
||
|
|
||
|
func (x *RingHashConfig) Reset() {
|
||
|
*x = RingHashConfig{}
|
||
|
if protoimpl.UnsafeEnabled {
|
||
|
mi := &file_proto_pbconfigentry_config_entry_proto_msgTypes[11]
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func (x *RingHashConfig) String() string {
|
||
|
return protoimpl.X.MessageStringOf(x)
|
||
|
}
|
||
|
|
||
|
func (*RingHashConfig) ProtoMessage() {}
|
||
|
|
||
|
func (x *RingHashConfig) ProtoReflect() protoreflect.Message {
|
||
|
mi := &file_proto_pbconfigentry_config_entry_proto_msgTypes[11]
|
||
|
if protoimpl.UnsafeEnabled && x != nil {
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
if ms.LoadMessageInfo() == nil {
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
return ms
|
||
|
}
|
||
|
return mi.MessageOf(x)
|
||
|
}
|
||
|
|
||
|
// Deprecated: Use RingHashConfig.ProtoReflect.Descriptor instead.
|
||
|
func (*RingHashConfig) Descriptor() ([]byte, []int) {
|
||
|
return file_proto_pbconfigentry_config_entry_proto_rawDescGZIP(), []int{11}
|
||
|
}
|
||
|
|
||
|
func (x *RingHashConfig) GetMinimumRingSize() uint64 {
|
||
|
if x != nil {
|
||
|
return x.MinimumRingSize
|
||
|
}
|
||
|
return 0
|
||
|
}
|
||
|
|
||
|
func (x *RingHashConfig) GetMaximumRingSize() uint64 {
|
||
|
if x != nil {
|
||
|
return x.MaximumRingSize
|
||
|
}
|
||
|
return 0
|
||
|
}
|
||
|
|
||
|
// mog annotation:
|
||
|
//
|
||
|
// target=github.com/hashicorp/consul/agent/structs.LeastRequestConfig
|
||
|
// output=config_entry.gen.go
|
||
|
// name=Structs
|
||
|
type LeastRequestConfig struct {
|
||
|
state protoimpl.MessageState
|
||
|
sizeCache protoimpl.SizeCache
|
||
|
unknownFields protoimpl.UnknownFields
|
||
|
|
||
|
ChoiceCount uint32 `protobuf:"varint,1,opt,name=ChoiceCount,proto3" json:"ChoiceCount,omitempty"`
|
||
|
}
|
||
|
|
||
|
func (x *LeastRequestConfig) Reset() {
|
||
|
*x = LeastRequestConfig{}
|
||
|
if protoimpl.UnsafeEnabled {
|
||
|
mi := &file_proto_pbconfigentry_config_entry_proto_msgTypes[12]
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func (x *LeastRequestConfig) String() string {
|
||
|
return protoimpl.X.MessageStringOf(x)
|
||
|
}
|
||
|
|
||
|
func (*LeastRequestConfig) ProtoMessage() {}
|
||
|
|
||
|
func (x *LeastRequestConfig) ProtoReflect() protoreflect.Message {
|
||
|
mi := &file_proto_pbconfigentry_config_entry_proto_msgTypes[12]
|
||
|
if protoimpl.UnsafeEnabled && x != nil {
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
if ms.LoadMessageInfo() == nil {
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
return ms
|
||
|
}
|
||
|
return mi.MessageOf(x)
|
||
|
}
|
||
|
|
||
|
// Deprecated: Use LeastRequestConfig.ProtoReflect.Descriptor instead.
|
||
|
func (*LeastRequestConfig) Descriptor() ([]byte, []int) {
|
||
|
return file_proto_pbconfigentry_config_entry_proto_rawDescGZIP(), []int{12}
|
||
|
}
|
||
|
|
||
|
func (x *LeastRequestConfig) GetChoiceCount() uint32 {
|
||
|
if x != nil {
|
||
|
return x.ChoiceCount
|
||
|
}
|
||
|
return 0
|
||
|
}
|
||
|
|
||
|
// mog annotation:
|
||
|
//
|
||
|
// target=github.com/hashicorp/consul/agent/structs.HashPolicy
|
||
|
// output=config_entry.gen.go
|
||
|
// name=Structs
|
||
|
type HashPolicy struct {
|
||
|
state protoimpl.MessageState
|
||
|
sizeCache protoimpl.SizeCache
|
||
|
unknownFields protoimpl.UnknownFields
|
||
|
|
||
|
Field string `protobuf:"bytes,1,opt,name=Field,proto3" json:"Field,omitempty"`
|
||
|
FieldValue string `protobuf:"bytes,2,opt,name=FieldValue,proto3" json:"FieldValue,omitempty"`
|
||
|
CookieConfig *CookieConfig `protobuf:"bytes,3,opt,name=CookieConfig,proto3" json:"CookieConfig,omitempty"`
|
||
|
SourceIP bool `protobuf:"varint,4,opt,name=SourceIP,proto3" json:"SourceIP,omitempty"`
|
||
|
Terminal bool `protobuf:"varint,5,opt,name=Terminal,proto3" json:"Terminal,omitempty"`
|
||
|
}
|
||
|
|
||
|
func (x *HashPolicy) Reset() {
|
||
|
*x = HashPolicy{}
|
||
|
if protoimpl.UnsafeEnabled {
|
||
|
mi := &file_proto_pbconfigentry_config_entry_proto_msgTypes[13]
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func (x *HashPolicy) String() string {
|
||
|
return protoimpl.X.MessageStringOf(x)
|
||
|
}
|
||
|
|
||
|
func (*HashPolicy) ProtoMessage() {}
|
||
|
|
||
|
func (x *HashPolicy) ProtoReflect() protoreflect.Message {
|
||
|
mi := &file_proto_pbconfigentry_config_entry_proto_msgTypes[13]
|
||
|
if protoimpl.UnsafeEnabled && x != nil {
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
if ms.LoadMessageInfo() == nil {
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
return ms
|
||
|
}
|
||
|
return mi.MessageOf(x)
|
||
|
}
|
||
|
|
||
|
// Deprecated: Use HashPolicy.ProtoReflect.Descriptor instead.
|
||
|
func (*HashPolicy) Descriptor() ([]byte, []int) {
|
||
|
return file_proto_pbconfigentry_config_entry_proto_rawDescGZIP(), []int{13}
|
||
|
}
|
||
|
|
||
|
func (x *HashPolicy) GetField() string {
|
||
|
if x != nil {
|
||
|
return x.Field
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (x *HashPolicy) GetFieldValue() string {
|
||
|
if x != nil {
|
||
|
return x.FieldValue
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (x *HashPolicy) GetCookieConfig() *CookieConfig {
|
||
|
if x != nil {
|
||
|
return x.CookieConfig
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (x *HashPolicy) GetSourceIP() bool {
|
||
|
if x != nil {
|
||
|
return x.SourceIP
|
||
|
}
|
||
|
return false
|
||
|
}
|
||
|
|
||
|
func (x *HashPolicy) GetTerminal() bool {
|
||
|
if x != nil {
|
||
|
return x.Terminal
|
||
|
}
|
||
|
return false
|
||
|
}
|
||
|
|
||
|
// mog annotation:
|
||
|
//
|
||
|
// target=github.com/hashicorp/consul/agent/structs.CookieConfig
|
||
|
// output=config_entry.gen.go
|
||
|
// name=Structs
|
||
|
type CookieConfig struct {
|
||
|
state protoimpl.MessageState
|
||
|
sizeCache protoimpl.SizeCache
|
||
|
unknownFields protoimpl.UnknownFields
|
||
|
|
||
|
Session bool `protobuf:"varint,1,opt,name=Session,proto3" json:"Session,omitempty"`
|
||
|
// mog: func-to=structs.DurationFromProto func-from=structs.DurationToProto
|
||
|
TTL *durationpb.Duration `protobuf:"bytes,2,opt,name=TTL,proto3" json:"TTL,omitempty"`
|
||
|
Path string `protobuf:"bytes,3,opt,name=Path,proto3" json:"Path,omitempty"`
|
||
|
}
|
||
|
|
||
|
func (x *CookieConfig) Reset() {
|
||
|
*x = CookieConfig{}
|
||
|
if protoimpl.UnsafeEnabled {
|
||
|
mi := &file_proto_pbconfigentry_config_entry_proto_msgTypes[14]
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func (x *CookieConfig) String() string {
|
||
|
return protoimpl.X.MessageStringOf(x)
|
||
|
}
|
||
|
|
||
|
func (*CookieConfig) ProtoMessage() {}
|
||
|
|
||
|
func (x *CookieConfig) ProtoReflect() protoreflect.Message {
|
||
|
mi := &file_proto_pbconfigentry_config_entry_proto_msgTypes[14]
|
||
|
if protoimpl.UnsafeEnabled && x != nil {
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
if ms.LoadMessageInfo() == nil {
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
return ms
|
||
|
}
|
||
|
return mi.MessageOf(x)
|
||
|
}
|
||
|
|
||
|
// Deprecated: Use CookieConfig.ProtoReflect.Descriptor instead.
|
||
|
func (*CookieConfig) Descriptor() ([]byte, []int) {
|
||
|
return file_proto_pbconfigentry_config_entry_proto_rawDescGZIP(), []int{14}
|
||
|
}
|
||
|
|
||
|
func (x *CookieConfig) GetSession() bool {
|
||
|
if x != nil {
|
||
|
return x.Session
|
||
|
}
|
||
|
return false
|
||
|
}
|
||
|
|
||
|
func (x *CookieConfig) GetTTL() *durationpb.Duration {
|
||
|
if x != nil {
|
||
|
return x.TTL
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (x *CookieConfig) GetPath() string {
|
||
|
if x != nil {
|
||
|
return x.Path
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
// mog annotation:
|
||
|
//
|
||
|
// target=github.com/hashicorp/consul/agent/structs.IngressGatewayConfigEntry
|
||
|
// output=config_entry.gen.go
|
||
|
// name=Structs
|
||
|
// ignore-fields=Kind,Name,RaftIndex,EnterpriseMeta
|
||
|
type IngressGateway struct {
|
||
|
state protoimpl.MessageState
|
||
|
sizeCache protoimpl.SizeCache
|
||
|
unknownFields protoimpl.UnknownFields
|
||
|
|
||
|
TLS *GatewayTLSConfig `protobuf:"bytes,1,opt,name=TLS,proto3" json:"TLS,omitempty"`
|
||
|
Listeners []*IngressListener `protobuf:"bytes,2,rep,name=Listeners,proto3" json:"Listeners,omitempty"`
|
||
|
Meta map[string]string `protobuf:"bytes,3,rep,name=Meta,proto3" json:"Meta,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
||
|
}
|
||
|
|
||
|
func (x *IngressGateway) Reset() {
|
||
|
*x = IngressGateway{}
|
||
|
if protoimpl.UnsafeEnabled {
|
||
|
mi := &file_proto_pbconfigentry_config_entry_proto_msgTypes[15]
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func (x *IngressGateway) String() string {
|
||
|
return protoimpl.X.MessageStringOf(x)
|
||
|
}
|
||
|
|
||
|
func (*IngressGateway) ProtoMessage() {}
|
||
|
|
||
|
func (x *IngressGateway) ProtoReflect() protoreflect.Message {
|
||
|
mi := &file_proto_pbconfigentry_config_entry_proto_msgTypes[15]
|
||
|
if protoimpl.UnsafeEnabled && x != nil {
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
if ms.LoadMessageInfo() == nil {
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
return ms
|
||
|
}
|
||
|
return mi.MessageOf(x)
|
||
|
}
|
||
|
|
||
|
// Deprecated: Use IngressGateway.ProtoReflect.Descriptor instead.
|
||
|
func (*IngressGateway) Descriptor() ([]byte, []int) {
|
||
|
return file_proto_pbconfigentry_config_entry_proto_rawDescGZIP(), []int{15}
|
||
|
}
|
||
|
|
||
|
func (x *IngressGateway) GetTLS() *GatewayTLSConfig {
|
||
|
if x != nil {
|
||
|
return x.TLS
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (x *IngressGateway) GetListeners() []*IngressListener {
|
||
|
if x != nil {
|
||
|
return x.Listeners
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (x *IngressGateway) GetMeta() map[string]string {
|
||
|
if x != nil {
|
||
|
return x.Meta
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
// mog annotation:
|
||
|
//
|
||
|
// target=github.com/hashicorp/consul/agent/structs.GatewayTLSConfig
|
||
|
// output=config_entry.gen.go
|
||
|
// name=Structs
|
||
|
type GatewayTLSConfig struct {
|
||
|
state protoimpl.MessageState
|
||
|
sizeCache protoimpl.SizeCache
|
||
|
unknownFields protoimpl.UnknownFields
|
||
|
|
||
|
Enabled bool `protobuf:"varint,1,opt,name=Enabled,proto3" json:"Enabled,omitempty"`
|
||
|
SDS *GatewayTLSSDSConfig `protobuf:"bytes,2,opt,name=SDS,proto3" json:"SDS,omitempty"`
|
||
|
// mog: func-from=tlsVersionFromStructs func-to=tlsVersionToStructs
|
||
|
TLSMinVersion string `protobuf:"bytes,3,opt,name=TLSMinVersion,proto3" json:"TLSMinVersion,omitempty"`
|
||
|
// mog: func-from=tlsVersionFromStructs func-to=tlsVersionToStructs
|
||
|
TLSMaxVersion string `protobuf:"bytes,4,opt,name=TLSMaxVersion,proto3" json:"TLSMaxVersion,omitempty"`
|
||
|
// mog: func-from=cipherSuitesFromStructs func-to=cipherSuitesToStructs
|
||
|
CipherSuites []string `protobuf:"bytes,5,rep,name=CipherSuites,proto3" json:"CipherSuites,omitempty"`
|
||
|
}
|
||
|
|
||
|
func (x *GatewayTLSConfig) Reset() {
|
||
|
*x = GatewayTLSConfig{}
|
||
|
if protoimpl.UnsafeEnabled {
|
||
|
mi := &file_proto_pbconfigentry_config_entry_proto_msgTypes[16]
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func (x *GatewayTLSConfig) String() string {
|
||
|
return protoimpl.X.MessageStringOf(x)
|
||
|
}
|
||
|
|
||
|
func (*GatewayTLSConfig) ProtoMessage() {}
|
||
|
|
||
|
func (x *GatewayTLSConfig) ProtoReflect() protoreflect.Message {
|
||
|
mi := &file_proto_pbconfigentry_config_entry_proto_msgTypes[16]
|
||
|
if protoimpl.UnsafeEnabled && x != nil {
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
if ms.LoadMessageInfo() == nil {
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
return ms
|
||
|
}
|
||
|
return mi.MessageOf(x)
|
||
|
}
|
||
|
|
||
|
// Deprecated: Use GatewayTLSConfig.ProtoReflect.Descriptor instead.
|
||
|
func (*GatewayTLSConfig) Descriptor() ([]byte, []int) {
|
||
|
return file_proto_pbconfigentry_config_entry_proto_rawDescGZIP(), []int{16}
|
||
|
}
|
||
|
|
||
|
func (x *GatewayTLSConfig) GetEnabled() bool {
|
||
|
if x != nil {
|
||
|
return x.Enabled
|
||
|
}
|
||
|
return false
|
||
|
}
|
||
|
|
||
|
func (x *GatewayTLSConfig) GetSDS() *GatewayTLSSDSConfig {
|
||
|
if x != nil {
|
||
|
return x.SDS
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (x *GatewayTLSConfig) GetTLSMinVersion() string {
|
||
|
if x != nil {
|
||
|
return x.TLSMinVersion
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (x *GatewayTLSConfig) GetTLSMaxVersion() string {
|
||
|
if x != nil {
|
||
|
return x.TLSMaxVersion
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (x *GatewayTLSConfig) GetCipherSuites() []string {
|
||
|
if x != nil {
|
||
|
return x.CipherSuites
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
// mog annotation:
|
||
|
//
|
||
|
// target=github.com/hashicorp/consul/agent/structs.GatewayTLSSDSConfig
|
||
|
// output=config_entry.gen.go
|
||
|
// name=Structs
|
||
|
type GatewayTLSSDSConfig struct {
|
||
|
state protoimpl.MessageState
|
||
|
sizeCache protoimpl.SizeCache
|
||
|
unknownFields protoimpl.UnknownFields
|
||
|
|
||
|
ClusterName string `protobuf:"bytes,1,opt,name=ClusterName,proto3" json:"ClusterName,omitempty"`
|
||
|
CertResource string `protobuf:"bytes,2,opt,name=CertResource,proto3" json:"CertResource,omitempty"`
|
||
|
}
|
||
|
|
||
|
func (x *GatewayTLSSDSConfig) Reset() {
|
||
|
*x = GatewayTLSSDSConfig{}
|
||
|
if protoimpl.UnsafeEnabled {
|
||
|
mi := &file_proto_pbconfigentry_config_entry_proto_msgTypes[17]
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func (x *GatewayTLSSDSConfig) String() string {
|
||
|
return protoimpl.X.MessageStringOf(x)
|
||
|
}
|
||
|
|
||
|
func (*GatewayTLSSDSConfig) ProtoMessage() {}
|
||
|
|
||
|
func (x *GatewayTLSSDSConfig) ProtoReflect() protoreflect.Message {
|
||
|
mi := &file_proto_pbconfigentry_config_entry_proto_msgTypes[17]
|
||
|
if protoimpl.UnsafeEnabled && x != nil {
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
if ms.LoadMessageInfo() == nil {
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
return ms
|
||
|
}
|
||
|
return mi.MessageOf(x)
|
||
|
}
|
||
|
|
||
|
// Deprecated: Use GatewayTLSSDSConfig.ProtoReflect.Descriptor instead.
|
||
|
func (*GatewayTLSSDSConfig) Descriptor() ([]byte, []int) {
|
||
|
return file_proto_pbconfigentry_config_entry_proto_rawDescGZIP(), []int{17}
|
||
|
}
|
||
|
|
||
|
func (x *GatewayTLSSDSConfig) GetClusterName() string {
|
||
|
if x != nil {
|
||
|
return x.ClusterName
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (x *GatewayTLSSDSConfig) GetCertResource() string {
|
||
|
if x != nil {
|
||
|
return x.CertResource
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
// mog annotation:
|
||
|
//
|
||
|
// target=github.com/hashicorp/consul/agent/structs.IngressListener
|
||
|
// output=config_entry.gen.go
|
||
|
// name=Structs
|
||
|
type IngressListener struct {
|
||
|
state protoimpl.MessageState
|
||
|
sizeCache protoimpl.SizeCache
|
||
|
unknownFields protoimpl.UnknownFields
|
||
|
|
||
|
// mog: func-to=int func-from=int32
|
||
|
Port int32 `protobuf:"varint,1,opt,name=Port,proto3" json:"Port,omitempty"`
|
||
|
Protocol string `protobuf:"bytes,2,opt,name=Protocol,proto3" json:"Protocol,omitempty"`
|
||
|
Services []*IngressService `protobuf:"bytes,3,rep,name=Services,proto3" json:"Services,omitempty"`
|
||
|
TLS *GatewayTLSConfig `protobuf:"bytes,4,opt,name=TLS,proto3" json:"TLS,omitempty"`
|
||
|
}
|
||
|
|
||
|
func (x *IngressListener) Reset() {
|
||
|
*x = IngressListener{}
|
||
|
if protoimpl.UnsafeEnabled {
|
||
|
mi := &file_proto_pbconfigentry_config_entry_proto_msgTypes[18]
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func (x *IngressListener) String() string {
|
||
|
return protoimpl.X.MessageStringOf(x)
|
||
|
}
|
||
|
|
||
|
func (*IngressListener) ProtoMessage() {}
|
||
|
|
||
|
func (x *IngressListener) ProtoReflect() protoreflect.Message {
|
||
|
mi := &file_proto_pbconfigentry_config_entry_proto_msgTypes[18]
|
||
|
if protoimpl.UnsafeEnabled && x != nil {
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
if ms.LoadMessageInfo() == nil {
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
return ms
|
||
|
}
|
||
|
return mi.MessageOf(x)
|
||
|
}
|
||
|
|
||
|
// Deprecated: Use IngressListener.ProtoReflect.Descriptor instead.
|
||
|
func (*IngressListener) Descriptor() ([]byte, []int) {
|
||
|
return file_proto_pbconfigentry_config_entry_proto_rawDescGZIP(), []int{18}
|
||
|
}
|
||
|
|
||
|
func (x *IngressListener) GetPort() int32 {
|
||
|
if x != nil {
|
||
|
return x.Port
|
||
|
}
|
||
|
return 0
|
||
|
}
|
||
|
|
||
|
func (x *IngressListener) GetProtocol() string {
|
||
|
if x != nil {
|
||
|
return x.Protocol
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (x *IngressListener) GetServices() []*IngressService {
|
||
|
if x != nil {
|
||
|
return x.Services
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (x *IngressListener) GetTLS() *GatewayTLSConfig {
|
||
|
if x != nil {
|
||
|
return x.TLS
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
// mog annotation:
|
||
|
//
|
||
|
// target=github.com/hashicorp/consul/agent/structs.IngressService
|
||
|
// output=config_entry.gen.go
|
||
|
// name=Structs
|
||
|
type IngressService struct {
|
||
|
state protoimpl.MessageState
|
||
|
sizeCache protoimpl.SizeCache
|
||
|
unknownFields protoimpl.UnknownFields
|
||
|
|
||
|
Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"`
|
||
|
Hosts []string `protobuf:"bytes,2,rep,name=Hosts,proto3" json:"Hosts,omitempty"`
|
||
|
TLS *GatewayServiceTLSConfig `protobuf:"bytes,3,opt,name=TLS,proto3" json:"TLS,omitempty"`
|
||
|
RequestHeaders *HTTPHeaderModifiers `protobuf:"bytes,4,opt,name=RequestHeaders,proto3" json:"RequestHeaders,omitempty"`
|
||
|
ResponseHeaders *HTTPHeaderModifiers `protobuf:"bytes,5,opt,name=ResponseHeaders,proto3" json:"ResponseHeaders,omitempty"`
|
||
|
Meta map[string]string `protobuf:"bytes,6,rep,name=Meta,proto3" json:"Meta,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
||
|
// mog: func-to=enterpriseMetaToStructs func-from=enterpriseMetaFromStructs
|
||
|
EnterpriseMeta *pbcommon.EnterpriseMeta `protobuf:"bytes,7,opt,name=EnterpriseMeta,proto3" json:"EnterpriseMeta,omitempty"`
|
||
|
}
|
||
|
|
||
|
func (x *IngressService) Reset() {
|
||
|
*x = IngressService{}
|
||
|
if protoimpl.UnsafeEnabled {
|
||
|
mi := &file_proto_pbconfigentry_config_entry_proto_msgTypes[19]
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func (x *IngressService) String() string {
|
||
|
return protoimpl.X.MessageStringOf(x)
|
||
|
}
|
||
|
|
||
|
func (*IngressService) ProtoMessage() {}
|
||
|
|
||
|
func (x *IngressService) ProtoReflect() protoreflect.Message {
|
||
|
mi := &file_proto_pbconfigentry_config_entry_proto_msgTypes[19]
|
||
|
if protoimpl.UnsafeEnabled && x != nil {
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
if ms.LoadMessageInfo() == nil {
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
return ms
|
||
|
}
|
||
|
return mi.MessageOf(x)
|
||
|
}
|
||
|
|
||
|
// Deprecated: Use IngressService.ProtoReflect.Descriptor instead.
|
||
|
func (*IngressService) Descriptor() ([]byte, []int) {
|
||
|
return file_proto_pbconfigentry_config_entry_proto_rawDescGZIP(), []int{19}
|
||
|
}
|
||
|
|
||
|
func (x *IngressService) GetName() string {
|
||
|
if x != nil {
|
||
|
return x.Name
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (x *IngressService) GetHosts() []string {
|
||
|
if x != nil {
|
||
|
return x.Hosts
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (x *IngressService) GetTLS() *GatewayServiceTLSConfig {
|
||
|
if x != nil {
|
||
|
return x.TLS
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (x *IngressService) GetRequestHeaders() *HTTPHeaderModifiers {
|
||
|
if x != nil {
|
||
|
return x.RequestHeaders
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (x *IngressService) GetResponseHeaders() *HTTPHeaderModifiers {
|
||
|
if x != nil {
|
||
|
return x.ResponseHeaders
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (x *IngressService) GetMeta() map[string]string {
|
||
|
if x != nil {
|
||
|
return x.Meta
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (x *IngressService) GetEnterpriseMeta() *pbcommon.EnterpriseMeta {
|
||
|
if x != nil {
|
||
|
return x.EnterpriseMeta
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
// mog annotation:
|
||
|
//
|
||
|
// target=github.com/hashicorp/consul/agent/structs.GatewayServiceTLSConfig
|
||
|
// output=config_entry.gen.go
|
||
|
// name=Structs
|
||
|
type GatewayServiceTLSConfig struct {
|
||
|
state protoimpl.MessageState
|
||
|
sizeCache protoimpl.SizeCache
|
||
|
unknownFields protoimpl.UnknownFields
|
||
|
|
||
|
SDS *GatewayTLSSDSConfig `protobuf:"bytes,1,opt,name=SDS,proto3" json:"SDS,omitempty"`
|
||
|
}
|
||
|
|
||
|
func (x *GatewayServiceTLSConfig) Reset() {
|
||
|
*x = GatewayServiceTLSConfig{}
|
||
|
if protoimpl.UnsafeEnabled {
|
||
|
mi := &file_proto_pbconfigentry_config_entry_proto_msgTypes[20]
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func (x *GatewayServiceTLSConfig) String() string {
|
||
|
return protoimpl.X.MessageStringOf(x)
|
||
|
}
|
||
|
|
||
|
func (*GatewayServiceTLSConfig) ProtoMessage() {}
|
||
|
|
||
|
func (x *GatewayServiceTLSConfig) ProtoReflect() protoreflect.Message {
|
||
|
mi := &file_proto_pbconfigentry_config_entry_proto_msgTypes[20]
|
||
|
if protoimpl.UnsafeEnabled && x != nil {
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
if ms.LoadMessageInfo() == nil {
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
return ms
|
||
|
}
|
||
|
return mi.MessageOf(x)
|
||
|
}
|
||
|
|
||
|
// Deprecated: Use GatewayServiceTLSConfig.ProtoReflect.Descriptor instead.
|
||
|
func (*GatewayServiceTLSConfig) Descriptor() ([]byte, []int) {
|
||
|
return file_proto_pbconfigentry_config_entry_proto_rawDescGZIP(), []int{20}
|
||
|
}
|
||
|
|
||
|
func (x *GatewayServiceTLSConfig) GetSDS() *GatewayTLSSDSConfig {
|
||
|
if x != nil {
|
||
|
return x.SDS
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
// mog annotation:
|
||
|
//
|
||
|
// target=github.com/hashicorp/consul/agent/structs.HTTPHeaderModifiers
|
||
|
// output=config_entry.gen.go
|
||
|
// name=Structs
|
||
|
type HTTPHeaderModifiers struct {
|
||
|
state protoimpl.MessageState
|
||
|
sizeCache protoimpl.SizeCache
|
||
|
unknownFields protoimpl.UnknownFields
|
||
|
|
||
|
Add map[string]string `protobuf:"bytes,1,rep,name=Add,proto3" json:"Add,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
||
|
Set map[string]string `protobuf:"bytes,2,rep,name=Set,proto3" json:"Set,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
||
|
Remove []string `protobuf:"bytes,3,rep,name=Remove,proto3" json:"Remove,omitempty"`
|
||
|
}
|
||
|
|
||
|
func (x *HTTPHeaderModifiers) Reset() {
|
||
|
*x = HTTPHeaderModifiers{}
|
||
|
if protoimpl.UnsafeEnabled {
|
||
|
mi := &file_proto_pbconfigentry_config_entry_proto_msgTypes[21]
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func (x *HTTPHeaderModifiers) String() string {
|
||
|
return protoimpl.X.MessageStringOf(x)
|
||
|
}
|
||
|
|
||
|
func (*HTTPHeaderModifiers) ProtoMessage() {}
|
||
|
|
||
|
func (x *HTTPHeaderModifiers) ProtoReflect() protoreflect.Message {
|
||
|
mi := &file_proto_pbconfigentry_config_entry_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)
|
||
|
}
|
||
|
|
||
|
// Deprecated: Use HTTPHeaderModifiers.ProtoReflect.Descriptor instead.
|
||
|
func (*HTTPHeaderModifiers) Descriptor() ([]byte, []int) {
|
||
|
return file_proto_pbconfigentry_config_entry_proto_rawDescGZIP(), []int{21}
|
||
|
}
|
||
|
|
||
|
func (x *HTTPHeaderModifiers) GetAdd() map[string]string {
|
||
|
if x != nil {
|
||
|
return x.Add
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (x *HTTPHeaderModifiers) GetSet() map[string]string {
|
||
|
if x != nil {
|
||
|
return x.Set
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (x *HTTPHeaderModifiers) GetRemove() []string {
|
||
|
if x != nil {
|
||
|
return x.Remove
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
var File_proto_pbconfigentry_config_entry_proto protoreflect.FileDescriptor
|
||
|
|
||
|
var file_proto_pbconfigentry_config_entry_proto_rawDesc = []byte{
|
||
|
0x0a, 0x26, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x70, 0x62, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67,
|
||
|
0x65, 0x6e, 0x74, 0x72, 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x65, 0x6e, 0x74,
|
||
|
0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0b, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67,
|
||
|
0x65, 0x6e, 0x74, 0x72, 0x79, 0x1a, 0x1b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x70, 0x62, 0x63,
|
||
|
0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 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, 0x22, 0x8e, 0x03, 0x0a, 0x0b, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x45, 0x6e, 0x74,
|
||
|
0x72, 0x79, 0x12, 0x25, 0x0a, 0x04, 0x4b, 0x69, 0x6e, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e,
|
||
|
0x32, 0x11, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x4b,
|
||
|
0x69, 0x6e, 0x64, 0x52, 0x04, 0x4b, 0x69, 0x6e, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x4e, 0x61, 0x6d,
|
||
|
0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x3e, 0x0a,
|
||
|
0x0e, 0x45, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x69, 0x73, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x18,
|
||
|
0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x45,
|
||
|
0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x69, 0x73, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x52, 0x0e, 0x45,
|
||
|
0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x69, 0x73, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x12, 0x2f, 0x0a,
|
||
|
0x09, 0x52, 0x61, 0x66, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b,
|
||
|
0x32, 0x11, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x52, 0x61, 0x66, 0x74, 0x49, 0x6e,
|
||
|
0x64, 0x65, 0x78, 0x52, 0x09, 0x52, 0x61, 0x66, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x39,
|
||
|
0x0a, 0x0a, 0x4d, 0x65, 0x73, 0x68, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x05, 0x20, 0x01,
|
||
|
0x28, 0x0b, 0x32, 0x17, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x65, 0x6e, 0x74, 0x72, 0x79,
|
||
|
0x2e, 0x4d, 0x65, 0x73, 0x68, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x48, 0x00, 0x52, 0x0a, 0x4d,
|
||
|
0x65, 0x73, 0x68, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x48, 0x0a, 0x0f, 0x53, 0x65, 0x72,
|
||
|
0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x72, 0x18, 0x06, 0x20, 0x01,
|
||
|
0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x65, 0x6e, 0x74, 0x72, 0x79,
|
||
|
0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x72,
|
||
|
0x48, 0x00, 0x52, 0x0f, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x6f, 0x6c,
|
||
|
0x76, 0x65, 0x72, 0x12, 0x45, 0x0a, 0x0e, 0x49, 0x6e, 0x67, 0x72, 0x65, 0x73, 0x73, 0x47, 0x61,
|
||
|
0x74, 0x65, 0x77, 0x61, 0x79, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x63, 0x6f,
|
||
|
0x6e, 0x66, 0x69, 0x67, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x49, 0x6e, 0x67, 0x72, 0x65, 0x73,
|
||
|
0x73, 0x47, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x48, 0x00, 0x52, 0x0e, 0x49, 0x6e, 0x67, 0x72,
|
||
|
0x65, 0x73, 0x73, 0x47, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x42, 0x07, 0x0a, 0x05, 0x45, 0x6e,
|
||
|
0x74, 0x72, 0x79, 0x22, 0xb0, 0x02, 0x0a, 0x0a, 0x4d, 0x65, 0x73, 0x68, 0x43, 0x6f, 0x6e, 0x66,
|
||
|
0x69, 0x67, 0x12, 0x53, 0x0a, 0x10, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x61, 0x72, 0x65, 0x6e,
|
||
|
0x74, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x63,
|
||
|
0x6f, 0x6e, 0x66, 0x69, 0x67, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73,
|
||
|
0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x4d, 0x65, 0x73, 0x68, 0x43,
|
||
|
0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x10, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x61, 0x72, 0x65,
|
||
|
0x6e, 0x74, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x12, 0x2c, 0x0a, 0x03, 0x54, 0x4c, 0x53, 0x18, 0x02,
|
||
|
0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x65, 0x6e, 0x74,
|
||
|
0x72, 0x79, 0x2e, 0x4d, 0x65, 0x73, 0x68, 0x54, 0x4c, 0x53, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67,
|
||
|
0x52, 0x03, 0x54, 0x4c, 0x53, 0x12, 0x2f, 0x0a, 0x04, 0x48, 0x54, 0x54, 0x50, 0x18, 0x03, 0x20,
|
||
|
0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x65, 0x6e, 0x74, 0x72,
|
||
|
0x79, 0x2e, 0x4d, 0x65, 0x73, 0x68, 0x48, 0x54, 0x54, 0x50, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67,
|
||
|
0x52, 0x04, 0x48, 0x54, 0x54, 0x50, 0x12, 0x35, 0x0a, 0x04, 0x4d, 0x65, 0x74, 0x61, 0x18, 0x04,
|
||
|
0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x65, 0x6e, 0x74,
|
||
|
0x72, 0x79, 0x2e, 0x4d, 0x65, 0x73, 0x68, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x4d, 0x65,
|
||
|
0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x04, 0x4d, 0x65, 0x74, 0x61, 0x1a, 0x37, 0x0a,
|
||
|
0x09, 0x4d, 0x65, 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, 0x50, 0x0a, 0x1a, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x70,
|
||
|
0x61, 0x72, 0x65, 0x6e, 0x74, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x4d, 0x65, 0x73, 0x68, 0x43, 0x6f,
|
||
|
0x6e, 0x66, 0x69, 0x67, 0x12, 0x32, 0x0a, 0x14, 0x4d, 0x65, 0x73, 0x68, 0x44, 0x65, 0x73, 0x74,
|
||
|
0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x4f, 0x6e, 0x6c, 0x79, 0x18, 0x01, 0x20, 0x01,
|
||
|
0x28, 0x08, 0x52, 0x14, 0x4d, 0x65, 0x73, 0x68, 0x44, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74,
|
||
|
0x69, 0x6f, 0x6e, 0x73, 0x4f, 0x6e, 0x6c, 0x79, 0x22, 0x95, 0x01, 0x0a, 0x0d, 0x4d, 0x65, 0x73,
|
||
|
0x68, 0x54, 0x4c, 0x53, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x41, 0x0a, 0x08, 0x49, 0x6e,
|
||
|
0x63, 0x6f, 0x6d, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x63,
|
||
|
0x6f, 0x6e, 0x66, 0x69, 0x67, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x4d, 0x65, 0x73, 0x68, 0x44,
|
||
|
0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x54, 0x4c, 0x53, 0x43, 0x6f, 0x6e,
|
||
|
0x66, 0x69, 0x67, 0x52, 0x08, 0x49, 0x6e, 0x63, 0x6f, 0x6d, 0x69, 0x6e, 0x67, 0x12, 0x41, 0x0a,
|
||
|
0x08, 0x4f, 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32,
|
||
|
0x25, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x4d, 0x65,
|
||
|
0x73, 0x68, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x54, 0x4c, 0x53,
|
||
|
0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x08, 0x4f, 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67,
|
||
|
0x22, 0x8a, 0x01, 0x0a, 0x18, 0x4d, 0x65, 0x73, 0x68, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69,
|
||
|
0x6f, 0x6e, 0x61, 0x6c, 0x54, 0x4c, 0x53, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x24, 0x0a,
|
||
|
0x0d, 0x54, 0x4c, 0x53, 0x4d, 0x69, 0x6e, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01,
|
||
|
0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x54, 0x4c, 0x53, 0x4d, 0x69, 0x6e, 0x56, 0x65, 0x72, 0x73,
|
||
|
0x69, 0x6f, 0x6e, 0x12, 0x24, 0x0a, 0x0d, 0x54, 0x4c, 0x53, 0x4d, 0x61, 0x78, 0x56, 0x65, 0x72,
|
||
|
0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x54, 0x4c, 0x53, 0x4d,
|
||
|
0x61, 0x78, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x22, 0x0a, 0x0c, 0x43, 0x69, 0x70,
|
||
|
0x68, 0x65, 0x72, 0x53, 0x75, 0x69, 0x74, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52,
|
||
|
0x0c, 0x43, 0x69, 0x70, 0x68, 0x65, 0x72, 0x53, 0x75, 0x69, 0x74, 0x65, 0x73, 0x22, 0x54, 0x0a,
|
||
|
0x0e, 0x4d, 0x65, 0x73, 0x68, 0x48, 0x54, 0x54, 0x50, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12,
|
||
|
0x42, 0x0a, 0x1c, 0x53, 0x61, 0x6e, 0x69, 0x74, 0x69, 0x7a, 0x65, 0x58, 0x46, 0x6f, 0x72, 0x77,
|
||
|
0x61, 0x72, 0x64, 0x65, 0x64, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x43, 0x65, 0x72, 0x74, 0x18,
|
||
|
0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x1c, 0x53, 0x61, 0x6e, 0x69, 0x74, 0x69, 0x7a, 0x65, 0x58,
|
||
|
0x46, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x65, 0x64, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x43,
|
||
|
0x65, 0x72, 0x74, 0x22, 0xc0, 0x05, 0x0a, 0x0f, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52,
|
||
|
0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x72, 0x12, 0x24, 0x0a, 0x0d, 0x44, 0x65, 0x66, 0x61, 0x75,
|
||
|
0x6c, 0x74, 0x53, 0x75, 0x62, 0x73, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d,
|
||
|
0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x53, 0x75, 0x62, 0x73, 0x65, 0x74, 0x12, 0x43, 0x0a,
|
||
|
0x07, 0x53, 0x75, 0x62, 0x73, 0x65, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29,
|
||
|
0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x53, 0x65, 0x72,
|
||
|
0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x72, 0x2e, 0x53, 0x75, 0x62,
|
||
|
0x73, 0x65, 0x74, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x07, 0x53, 0x75, 0x62, 0x73, 0x65,
|
||
|
0x74, 0x73, 0x12, 0x40, 0x0a, 0x08, 0x52, 0x65, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x18, 0x03,
|
||
|
0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x65, 0x6e, 0x74,
|
||
|
0x72, 0x79, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x6f, 0x6c, 0x76,
|
||
|
0x65, 0x72, 0x52, 0x65, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x52, 0x08, 0x52, 0x65, 0x64, 0x69,
|
||
|
0x72, 0x65, 0x63, 0x74, 0x12, 0x46, 0x0a, 0x08, 0x46, 0x61, 0x69, 0x6c, 0x6f, 0x76, 0x65, 0x72,
|
||
|
0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x65,
|
||
|
0x6e, 0x74, 0x72, 0x79, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x6f,
|
||
|
0x6c, 0x76, 0x65, 0x72, 0x2e, 0x46, 0x61, 0x69, 0x6c, 0x6f, 0x76, 0x65, 0x72, 0x45, 0x6e, 0x74,
|
||
|
0x72, 0x79, 0x52, 0x08, 0x46, 0x61, 0x69, 0x6c, 0x6f, 0x76, 0x65, 0x72, 0x12, 0x41, 0x0a, 0x0e,
|
||
|
0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x18, 0x05,
|
||
|
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, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x12,
|
||
|
0x3d, 0x0a, 0x0c, 0x4c, 0x6f, 0x61, 0x64, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x18,
|
||
|
0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x65, 0x6e,
|
||
|
0x74, 0x72, 0x79, 0x2e, 0x4c, 0x6f, 0x61, 0x64, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72,
|
||
|
0x52, 0x0c, 0x4c, 0x6f, 0x61, 0x64, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x12, 0x3a,
|
||
|
0x0a, 0x04, 0x4d, 0x65, 0x74, 0x61, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x63,
|
||
|
0x6f, 0x6e, 0x66, 0x69, 0x67, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69,
|
||
|
0x63, 0x65, 0x52, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x72, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x45,
|
||
|
0x6e, 0x74, 0x72, 0x79, 0x52, 0x04, 0x4d, 0x65, 0x74, 0x61, 0x1a, 0x5e, 0x0a, 0x0c, 0x53, 0x75,
|
||
|
0x62, 0x73, 0x65, 0x74, 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, 0x38, 0x0a, 0x05,
|
||
|
0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x63, 0x6f,
|
||
|
0x6e, 0x66, 0x69, 0x67, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63,
|
||
|
0x65, 0x52, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x72, 0x53, 0x75, 0x62, 0x73, 0x65, 0x74, 0x52,
|
||
|
0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x61, 0x0a, 0x0d, 0x46, 0x61,
|
||
|
0x69, 0x6c, 0x6f, 0x76, 0x65, 0x72, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b,
|
||
|
0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x3a, 0x0a,
|
||
|
0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x63,
|
||
|
0x6f, 0x6e, 0x66, 0x69, 0x67, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69,
|
||
|
0x63, 0x65, 0x52, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x72, 0x46, 0x61, 0x69, 0x6c, 0x6f, 0x76,
|
||
|
0x65, 0x72, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x37, 0x0a,
|
||
|
0x09, 0x4d, 0x65, 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, 0x51, 0x0a, 0x15, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63,
|
||
|
0x65, 0x52, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x72, 0x53, 0x75, 0x62, 0x73, 0x65, 0x74, 0x12,
|
||
|
0x16, 0x0a, 0x06, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
|
||
|
0x06, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x20, 0x0a, 0x0b, 0x4f, 0x6e, 0x6c, 0x79, 0x50,
|
||
|
0x61, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x4f, 0x6e,
|
||
|
0x6c, 0x79, 0x50, 0x61, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x22, 0xb5, 0x01, 0x0a, 0x17, 0x53, 0x65,
|
||
|
0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x72, 0x52, 0x65, 0x64,
|
||
|
0x69, 0x72, 0x65, 0x63, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65,
|
||
|
0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12,
|
||
|
0x24, 0x0a, 0x0d, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x53, 0x75, 0x62, 0x73, 0x65, 0x74,
|
||
|
0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x53,
|
||
|
0x75, 0x62, 0x73, 0x65, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61,
|
||
|
0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70,
|
||
|
0x61, 0x63, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e,
|
||
|
0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f,
|
||
|
0x6e, 0x12, 0x1e, 0x0a, 0x0a, 0x44, 0x61, 0x74, 0x61, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x18,
|
||
|
0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x44, 0x61, 0x74, 0x61, 0x63, 0x65, 0x6e, 0x74, 0x65,
|
||
|
0x72, 0x22, 0x99, 0x01, 0x0a, 0x17, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73,
|
||
|
0x6f, 0x6c, 0x76, 0x65, 0x72, 0x46, 0x61, 0x69, 0x6c, 0x6f, 0x76, 0x65, 0x72, 0x12, 0x18, 0x0a,
|
||
|
0x07, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07,
|
||
|
0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x24, 0x0a, 0x0d, 0x53, 0x65, 0x72, 0x76, 0x69,
|
||
|
0x63, 0x65, 0x53, 0x75, 0x62, 0x73, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d,
|
||
|
0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x53, 0x75, 0x62, 0x73, 0x65, 0x74, 0x12, 0x1c, 0x0a,
|
||
|
0x09, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,
|
||
|
0x52, 0x09, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x44,
|
||
|
0x61, 0x74, 0x61, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09,
|
||
|
0x52, 0x0b, 0x44, 0x61, 0x74, 0x61, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x73, 0x22, 0xf9, 0x01,
|
||
|
0x0a, 0x0c, 0x4c, 0x6f, 0x61, 0x64, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x12, 0x16,
|
||
|
0x0a, 0x06, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06,
|
||
|
0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x43, 0x0a, 0x0e, 0x52, 0x69, 0x6e, 0x67, 0x48, 0x61,
|
||
|
0x73, 0x68, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b,
|
||
|
0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x52, 0x69, 0x6e,
|
||
|
0x67, 0x48, 0x61, 0x73, 0x68, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x0e, 0x52, 0x69, 0x6e,
|
||
|
0x67, 0x48, 0x61, 0x73, 0x68, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x4f, 0x0a, 0x12, 0x4c,
|
||
|
0x65, 0x61, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69,
|
||
|
0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67,
|
||
|
0x65, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x4c, 0x65, 0x61, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65,
|
||
|
0x73, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x12, 0x4c, 0x65, 0x61, 0x73, 0x74, 0x52,
|
||
|
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x3b, 0x0a, 0x0c,
|
||
|
0x48, 0x61, 0x73, 0x68, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x18, 0x04, 0x20, 0x03,
|
||
|
0x28, 0x0b, 0x32, 0x17, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x65, 0x6e, 0x74, 0x72, 0x79,
|
||
|
0x2e, 0x48, 0x61, 0x73, 0x68, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x0c, 0x48, 0x61, 0x73,
|
||
|
0x68, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x22, 0x64, 0x0a, 0x0e, 0x52, 0x69, 0x6e,
|
||
|
0x67, 0x48, 0x61, 0x73, 0x68, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x28, 0x0a, 0x0f, 0x4d,
|
||
|
0x69, 0x6e, 0x69, 0x6d, 0x75, 0x6d, 0x52, 0x69, 0x6e, 0x67, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x01,
|
||
|
0x20, 0x01, 0x28, 0x04, 0x52, 0x0f, 0x4d, 0x69, 0x6e, 0x69, 0x6d, 0x75, 0x6d, 0x52, 0x69, 0x6e,
|
||
|
0x67, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x28, 0x0a, 0x0f, 0x4d, 0x61, 0x78, 0x69, 0x6d, 0x75, 0x6d,
|
||
|
0x52, 0x69, 0x6e, 0x67, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0f,
|
||
|
0x4d, 0x61, 0x78, 0x69, 0x6d, 0x75, 0x6d, 0x52, 0x69, 0x6e, 0x67, 0x53, 0x69, 0x7a, 0x65, 0x22,
|
||
|
0x36, 0x0a, 0x12, 0x4c, 0x65, 0x61, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x43,
|
||
|
0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x20, 0x0a, 0x0b, 0x43, 0x68, 0x6f, 0x69, 0x63, 0x65, 0x43,
|
||
|
0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x43, 0x68, 0x6f, 0x69,
|
||
|
0x63, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0xb9, 0x01, 0x0a, 0x0a, 0x48, 0x61, 0x73, 0x68,
|
||
|
0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x18,
|
||
|
0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x12, 0x1e, 0x0a, 0x0a,
|
||
|
0x46, 0x69, 0x65, 0x6c, 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
|
||
|
0x52, 0x0a, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x3d, 0x0a, 0x0c,
|
||
|
0x43, 0x6f, 0x6f, 0x6b, 0x69, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x03, 0x20, 0x01,
|
||
|
0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x65, 0x6e, 0x74, 0x72, 0x79,
|
||
|
0x2e, 0x43, 0x6f, 0x6f, 0x6b, 0x69, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x0c, 0x43,
|
||
|
0x6f, 0x6f, 0x6b, 0x69, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x1a, 0x0a, 0x08, 0x53,
|
||
|
0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x50, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x53,
|
||
|
0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x50, 0x12, 0x1a, 0x0a, 0x08, 0x54, 0x65, 0x72, 0x6d, 0x69,
|
||
|
0x6e, 0x61, 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x54, 0x65, 0x72, 0x6d, 0x69,
|
||
|
0x6e, 0x61, 0x6c, 0x22, 0x69, 0x0a, 0x0c, 0x43, 0x6f, 0x6f, 0x6b, 0x69, 0x65, 0x43, 0x6f, 0x6e,
|
||
|
0x66, 0x69, 0x67, 0x12, 0x18, 0x0a, 0x07, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01,
|
||
|
0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x2b, 0x0a,
|
||
|
0x03, 0x54, 0x54, 0x4c, 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, 0x03, 0x54, 0x54, 0x4c, 0x12, 0x12, 0x0a, 0x04, 0x50, 0x61,
|
||
|
0x74, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x50, 0x61, 0x74, 0x68, 0x22, 0xf1,
|
||
|
0x01, 0x0a, 0x0e, 0x49, 0x6e, 0x67, 0x72, 0x65, 0x73, 0x73, 0x47, 0x61, 0x74, 0x65, 0x77, 0x61,
|
||
|
0x79, 0x12, 0x2f, 0x0a, 0x03, 0x54, 0x4c, 0x53, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d,
|
||
|
0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x47, 0x61, 0x74,
|
||
|
0x65, 0x77, 0x61, 0x79, 0x54, 0x4c, 0x53, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x03, 0x54,
|
||
|
0x4c, 0x53, 0x12, 0x3a, 0x0a, 0x09, 0x4c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x65, 0x72, 0x73, 0x18,
|
||
|
0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x65, 0x6e,
|
||
|
0x74, 0x72, 0x79, 0x2e, 0x49, 0x6e, 0x67, 0x72, 0x65, 0x73, 0x73, 0x4c, 0x69, 0x73, 0x74, 0x65,
|
||
|
0x6e, 0x65, 0x72, 0x52, 0x09, 0x4c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x65, 0x72, 0x73, 0x12, 0x39,
|
||
|
0x0a, 0x04, 0x4d, 0x65, 0x74, 0x61, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x63,
|
||
|
0x6f, 0x6e, 0x66, 0x69, 0x67, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x49, 0x6e, 0x67, 0x72, 0x65,
|
||
|
0x73, 0x73, 0x47, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x45, 0x6e,
|
||
|
0x74, 0x72, 0x79, 0x52, 0x04, 0x4d, 0x65, 0x74, 0x61, 0x1a, 0x37, 0x0a, 0x09, 0x4d, 0x65, 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, 0xd0, 0x01, 0x0a, 0x10, 0x47, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x54, 0x4c,
|
||
|
0x53, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x18, 0x0a, 0x07, 0x45, 0x6e, 0x61, 0x62, 0x6c,
|
||
|
0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65,
|
||
|
0x64, 0x12, 0x32, 0x0a, 0x03, 0x53, 0x44, 0x53, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20,
|
||
|
0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x47, 0x61, 0x74,
|
||
|
0x65, 0x77, 0x61, 0x79, 0x54, 0x4c, 0x53, 0x53, 0x44, 0x53, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67,
|
||
|
0x52, 0x03, 0x53, 0x44, 0x53, 0x12, 0x24, 0x0a, 0x0d, 0x54, 0x4c, 0x53, 0x4d, 0x69, 0x6e, 0x56,
|
||
|
0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x54, 0x4c,
|
||
|
0x53, 0x4d, 0x69, 0x6e, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x24, 0x0a, 0x0d, 0x54,
|
||
|
0x4c, 0x53, 0x4d, 0x61, 0x78, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01,
|
||
|
0x28, 0x09, 0x52, 0x0d, 0x54, 0x4c, 0x53, 0x4d, 0x61, 0x78, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f,
|
||
|
0x6e, 0x12, 0x22, 0x0a, 0x0c, 0x43, 0x69, 0x70, 0x68, 0x65, 0x72, 0x53, 0x75, 0x69, 0x74, 0x65,
|
||
|
0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0c, 0x43, 0x69, 0x70, 0x68, 0x65, 0x72, 0x53,
|
||
|
0x75, 0x69, 0x74, 0x65, 0x73, 0x22, 0x5b, 0x0a, 0x13, 0x47, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79,
|
||
|
0x54, 0x4c, 0x53, 0x53, 0x44, 0x53, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x20, 0x0a, 0x0b,
|
||
|
0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
|
||
|
0x09, 0x52, 0x0b, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x22,
|
||
|
0x0a, 0x0c, 0x43, 0x65, 0x72, 0x74, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x02,
|
||
|
0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x43, 0x65, 0x72, 0x74, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72,
|
||
|
0x63, 0x65, 0x22, 0xab, 0x01, 0x0a, 0x0f, 0x49, 0x6e, 0x67, 0x72, 0x65, 0x73, 0x73, 0x4c, 0x69,
|
||
|
0x73, 0x74, 0x65, 0x6e, 0x65, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x50, 0x6f, 0x72, 0x74, 0x18, 0x01,
|
||
|
0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x50, 0x6f, 0x72, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x50, 0x72,
|
||
|
0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x50, 0x72,
|
||
|
0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x12, 0x37, 0x0a, 0x08, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63,
|
||
|
0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69,
|
||
|
0x67, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x49, 0x6e, 0x67, 0x72, 0x65, 0x73, 0x73, 0x53, 0x65,
|
||
|
0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x08, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x12,
|
||
|
0x2f, 0x0a, 0x03, 0x54, 0x4c, 0x53, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x63,
|
||
|
0x6f, 0x6e, 0x66, 0x69, 0x67, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x47, 0x61, 0x74, 0x65, 0x77,
|
||
|
0x61, 0x79, 0x54, 0x4c, 0x53, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x03, 0x54, 0x4c, 0x53,
|
||
|
0x22, 0xbc, 0x03, 0x0a, 0x0e, 0x49, 0x6e, 0x67, 0x72, 0x65, 0x73, 0x73, 0x53, 0x65, 0x72, 0x76,
|
||
|
0x69, 0x63, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
|
||
|
0x09, 0x52, 0x04, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x48, 0x6f, 0x73, 0x74, 0x73,
|
||
|
0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x48, 0x6f, 0x73, 0x74, 0x73, 0x12, 0x36, 0x0a,
|
||
|
0x03, 0x54, 0x4c, 0x53, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x63, 0x6f, 0x6e,
|
||
|
0x66, 0x69, 0x67, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x47, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79,
|
||
|
0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x54, 0x4c, 0x53, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67,
|
||
|
0x52, 0x03, 0x54, 0x4c, 0x53, 0x12, 0x48, 0x0a, 0x0e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
||
|
0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e,
|
||
|
0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x48, 0x54, 0x54, 0x50,
|
||
|
0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x72, 0x73, 0x52,
|
||
|
0x0e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x12,
|
||
|
0x4a, 0x0a, 0x0f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x48, 0x65, 0x61, 0x64, 0x65,
|
||
|
0x72, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69,
|
||
|
0x67, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x48, 0x54, 0x54, 0x50, 0x48, 0x65, 0x61, 0x64, 0x65,
|
||
|
0x72, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x72, 0x73, 0x52, 0x0f, 0x52, 0x65, 0x73, 0x70,
|
||
|
0x6f, 0x6e, 0x73, 0x65, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x12, 0x39, 0x0a, 0x04, 0x4d,
|
||
|
0x65, 0x74, 0x61, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x63, 0x6f, 0x6e, 0x66,
|
||
|
0x69, 0x67, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x49, 0x6e, 0x67, 0x72, 0x65, 0x73, 0x73, 0x53,
|
||
|
0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79,
|
||
|
0x52, 0x04, 0x4d, 0x65, 0x74, 0x61, 0x12, 0x3e, 0x0a, 0x0e, 0x45, 0x6e, 0x74, 0x65, 0x72, 0x70,
|
||
|
0x72, 0x69, 0x73, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16,
|
||
|
0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x45, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x69,
|
||
|
0x73, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x52, 0x0e, 0x45, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x69,
|
||
|
0x73, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x1a, 0x37, 0x0a, 0x09, 0x4d, 0x65, 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,
|
||
|
0x4d, 0x0a, 0x17, 0x47, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63,
|
||
|
0x65, 0x54, 0x4c, 0x53, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x32, 0x0a, 0x03, 0x53, 0x44,
|
||
|
0x53, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67,
|
||
|
0x65, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x47, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x54, 0x4c, 0x53,
|
||
|
0x53, 0x44, 0x53, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x03, 0x53, 0x44, 0x53, 0x22, 0x97,
|
||
|
0x02, 0x0a, 0x13, 0x48, 0x54, 0x54, 0x50, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x4d, 0x6f, 0x64,
|
||
|
0x69, 0x66, 0x69, 0x65, 0x72, 0x73, 0x12, 0x3b, 0x0a, 0x03, 0x41, 0x64, 0x64, 0x18, 0x01, 0x20,
|
||
|
0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x65, 0x6e, 0x74, 0x72,
|
||
|
0x79, 0x2e, 0x48, 0x54, 0x54, 0x50, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x4d, 0x6f, 0x64, 0x69,
|
||
|
0x66, 0x69, 0x65, 0x72, 0x73, 0x2e, 0x41, 0x64, 0x64, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x03,
|
||
|
0x41, 0x64, 0x64, 0x12, 0x3b, 0x0a, 0x03, 0x53, 0x65, 0x74, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b,
|
||
|
0x32, 0x29, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x48,
|
||
|
0x54, 0x54, 0x50, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65,
|
||
|
0x72, 0x73, 0x2e, 0x53, 0x65, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x03, 0x53, 0x65, 0x74,
|
||
|
0x12, 0x16, 0x0a, 0x06, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09,
|
||
|
0x52, 0x06, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x1a, 0x36, 0x0a, 0x08, 0x41, 0x64, 0x64, 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, 0x36, 0x0a, 0x08, 0x53, 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, 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, 0x5c, 0x0a, 0x04, 0x4b, 0x69, 0x6e, 0x64,
|
||
|
0x12, 0x0f, 0x0a, 0x0b, 0x4b, 0x69, 0x6e, 0x64, 0x55, 0x6e, 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x10,
|
||
|
0x00, 0x12, 0x12, 0x0a, 0x0e, 0x4b, 0x69, 0x6e, 0x64, 0x4d, 0x65, 0x73, 0x68, 0x43, 0x6f, 0x6e,
|
||
|
0x66, 0x69, 0x67, 0x10, 0x01, 0x12, 0x17, 0x0a, 0x13, 0x4b, 0x69, 0x6e, 0x64, 0x53, 0x65, 0x72,
|
||
|
0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x72, 0x10, 0x02, 0x12, 0x16,
|
||
|
0x0a, 0x12, 0x4b, 0x69, 0x6e, 0x64, 0x49, 0x6e, 0x67, 0x72, 0x65, 0x73, 0x73, 0x47, 0x61, 0x74,
|
||
|
0x65, 0x77, 0x61, 0x79, 0x10, 0x03, 0x42, 0xa0, 0x01, 0x0a, 0x0f, 0x63, 0x6f, 0x6d, 0x2e, 0x63,
|
||
|
0x6f, 0x6e, 0x66, 0x69, 0x67, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x42, 0x10, 0x43, 0x6f, 0x6e, 0x66,
|
||
|
0x69, 0x67, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x2f,
|
||
|
0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x68, 0x61, 0x73, 0x68, 0x69,
|
||
|
0x63, 0x6f, 0x72, 0x70, 0x2f, 0x63, 0x6f, 0x6e, 0x73, 0x75, 0x6c, 0x2f, 0x70, 0x72, 0x6f, 0x74,
|
||
|
0x6f, 0x2f, 0x70, 0x62, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x65, 0x6e, 0x74, 0x72, 0x79, 0xa2,
|
||
|
0x02, 0x03, 0x43, 0x58, 0x58, 0xaa, 0x02, 0x0b, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x65, 0x6e,
|
||
|
0x74, 0x72, 0x79, 0xca, 0x02, 0x0b, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x65, 0x6e, 0x74, 0x72,
|
||
|
0x79, 0xe2, 0x02, 0x17, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x5c,
|
||
|
0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x0b, 0x43, 0x6f,
|
||
|
0x6e, 0x66, 0x69, 0x67, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f,
|
||
|
0x33,
|
||
|
}
|
||
|
|
||
|
var (
|
||
|
file_proto_pbconfigentry_config_entry_proto_rawDescOnce sync.Once
|
||
|
file_proto_pbconfigentry_config_entry_proto_rawDescData = file_proto_pbconfigentry_config_entry_proto_rawDesc
|
||
|
)
|
||
|
|
||
|
func file_proto_pbconfigentry_config_entry_proto_rawDescGZIP() []byte {
|
||
|
file_proto_pbconfigentry_config_entry_proto_rawDescOnce.Do(func() {
|
||
|
file_proto_pbconfigentry_config_entry_proto_rawDescData = protoimpl.X.CompressGZIP(file_proto_pbconfigentry_config_entry_proto_rawDescData)
|
||
|
})
|
||
|
return file_proto_pbconfigentry_config_entry_proto_rawDescData
|
||
|
}
|
||
|
|
||
|
var file_proto_pbconfigentry_config_entry_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
|
||
|
var file_proto_pbconfigentry_config_entry_proto_msgTypes = make([]protoimpl.MessageInfo, 30)
|
||
|
var file_proto_pbconfigentry_config_entry_proto_goTypes = []interface{}{
|
||
|
(Kind)(0), // 0: configentry.Kind
|
||
|
(*ConfigEntry)(nil), // 1: configentry.ConfigEntry
|
||
|
(*MeshConfig)(nil), // 2: configentry.MeshConfig
|
||
|
(*TransparentProxyMeshConfig)(nil), // 3: configentry.TransparentProxyMeshConfig
|
||
|
(*MeshTLSConfig)(nil), // 4: configentry.MeshTLSConfig
|
||
|
(*MeshDirectionalTLSConfig)(nil), // 5: configentry.MeshDirectionalTLSConfig
|
||
|
(*MeshHTTPConfig)(nil), // 6: configentry.MeshHTTPConfig
|
||
|
(*ServiceResolver)(nil), // 7: configentry.ServiceResolver
|
||
|
(*ServiceResolverSubset)(nil), // 8: configentry.ServiceResolverSubset
|
||
|
(*ServiceResolverRedirect)(nil), // 9: configentry.ServiceResolverRedirect
|
||
|
(*ServiceResolverFailover)(nil), // 10: configentry.ServiceResolverFailover
|
||
|
(*LoadBalancer)(nil), // 11: configentry.LoadBalancer
|
||
|
(*RingHashConfig)(nil), // 12: configentry.RingHashConfig
|
||
|
(*LeastRequestConfig)(nil), // 13: configentry.LeastRequestConfig
|
||
|
(*HashPolicy)(nil), // 14: configentry.HashPolicy
|
||
|
(*CookieConfig)(nil), // 15: configentry.CookieConfig
|
||
|
(*IngressGateway)(nil), // 16: configentry.IngressGateway
|
||
|
(*GatewayTLSConfig)(nil), // 17: configentry.GatewayTLSConfig
|
||
|
(*GatewayTLSSDSConfig)(nil), // 18: configentry.GatewayTLSSDSConfig
|
||
|
(*IngressListener)(nil), // 19: configentry.IngressListener
|
||
|
(*IngressService)(nil), // 20: configentry.IngressService
|
||
|
(*GatewayServiceTLSConfig)(nil), // 21: configentry.GatewayServiceTLSConfig
|
||
|
(*HTTPHeaderModifiers)(nil), // 22: configentry.HTTPHeaderModifiers
|
||
|
nil, // 23: configentry.MeshConfig.MetaEntry
|
||
|
nil, // 24: configentry.ServiceResolver.SubsetsEntry
|
||
|
nil, // 25: configentry.ServiceResolver.FailoverEntry
|
||
|
nil, // 26: configentry.ServiceResolver.MetaEntry
|
||
|
nil, // 27: configentry.IngressGateway.MetaEntry
|
||
|
nil, // 28: configentry.IngressService.MetaEntry
|
||
|
nil, // 29: configentry.HTTPHeaderModifiers.AddEntry
|
||
|
nil, // 30: configentry.HTTPHeaderModifiers.SetEntry
|
||
|
(*pbcommon.EnterpriseMeta)(nil), // 31: common.EnterpriseMeta
|
||
|
(*pbcommon.RaftIndex)(nil), // 32: common.RaftIndex
|
||
|
(*durationpb.Duration)(nil), // 33: google.protobuf.Duration
|
||
|
}
|
||
|
var file_proto_pbconfigentry_config_entry_proto_depIdxs = []int32{
|
||
|
0, // 0: configentry.ConfigEntry.Kind:type_name -> configentry.Kind
|
||
|
31, // 1: configentry.ConfigEntry.EnterpriseMeta:type_name -> common.EnterpriseMeta
|
||
|
32, // 2: configentry.ConfigEntry.RaftIndex:type_name -> common.RaftIndex
|
||
|
2, // 3: configentry.ConfigEntry.MeshConfig:type_name -> configentry.MeshConfig
|
||
|
7, // 4: configentry.ConfigEntry.ServiceResolver:type_name -> configentry.ServiceResolver
|
||
|
16, // 5: configentry.ConfigEntry.IngressGateway:type_name -> configentry.IngressGateway
|
||
|
3, // 6: configentry.MeshConfig.TransparentProxy:type_name -> configentry.TransparentProxyMeshConfig
|
||
|
4, // 7: configentry.MeshConfig.TLS:type_name -> configentry.MeshTLSConfig
|
||
|
6, // 8: configentry.MeshConfig.HTTP:type_name -> configentry.MeshHTTPConfig
|
||
|
23, // 9: configentry.MeshConfig.Meta:type_name -> configentry.MeshConfig.MetaEntry
|
||
|
5, // 10: configentry.MeshTLSConfig.Incoming:type_name -> configentry.MeshDirectionalTLSConfig
|
||
|
5, // 11: configentry.MeshTLSConfig.Outgoing:type_name -> configentry.MeshDirectionalTLSConfig
|
||
|
24, // 12: configentry.ServiceResolver.Subsets:type_name -> configentry.ServiceResolver.SubsetsEntry
|
||
|
9, // 13: configentry.ServiceResolver.Redirect:type_name -> configentry.ServiceResolverRedirect
|
||
|
25, // 14: configentry.ServiceResolver.Failover:type_name -> configentry.ServiceResolver.FailoverEntry
|
||
|
33, // 15: configentry.ServiceResolver.ConnectTimeout:type_name -> google.protobuf.Duration
|
||
|
11, // 16: configentry.ServiceResolver.LoadBalancer:type_name -> configentry.LoadBalancer
|
||
|
26, // 17: configentry.ServiceResolver.Meta:type_name -> configentry.ServiceResolver.MetaEntry
|
||
|
12, // 18: configentry.LoadBalancer.RingHashConfig:type_name -> configentry.RingHashConfig
|
||
|
13, // 19: configentry.LoadBalancer.LeastRequestConfig:type_name -> configentry.LeastRequestConfig
|
||
|
14, // 20: configentry.LoadBalancer.HashPolicies:type_name -> configentry.HashPolicy
|
||
|
15, // 21: configentry.HashPolicy.CookieConfig:type_name -> configentry.CookieConfig
|
||
|
33, // 22: configentry.CookieConfig.TTL:type_name -> google.protobuf.Duration
|
||
|
17, // 23: configentry.IngressGateway.TLS:type_name -> configentry.GatewayTLSConfig
|
||
|
19, // 24: configentry.IngressGateway.Listeners:type_name -> configentry.IngressListener
|
||
|
27, // 25: configentry.IngressGateway.Meta:type_name -> configentry.IngressGateway.MetaEntry
|
||
|
18, // 26: configentry.GatewayTLSConfig.SDS:type_name -> configentry.GatewayTLSSDSConfig
|
||
|
20, // 27: configentry.IngressListener.Services:type_name -> configentry.IngressService
|
||
|
17, // 28: configentry.IngressListener.TLS:type_name -> configentry.GatewayTLSConfig
|
||
|
21, // 29: configentry.IngressService.TLS:type_name -> configentry.GatewayServiceTLSConfig
|
||
|
22, // 30: configentry.IngressService.RequestHeaders:type_name -> configentry.HTTPHeaderModifiers
|
||
|
22, // 31: configentry.IngressService.ResponseHeaders:type_name -> configentry.HTTPHeaderModifiers
|
||
|
28, // 32: configentry.IngressService.Meta:type_name -> configentry.IngressService.MetaEntry
|
||
|
31, // 33: configentry.IngressService.EnterpriseMeta:type_name -> common.EnterpriseMeta
|
||
|
18, // 34: configentry.GatewayServiceTLSConfig.SDS:type_name -> configentry.GatewayTLSSDSConfig
|
||
|
29, // 35: configentry.HTTPHeaderModifiers.Add:type_name -> configentry.HTTPHeaderModifiers.AddEntry
|
||
|
30, // 36: configentry.HTTPHeaderModifiers.Set:type_name -> configentry.HTTPHeaderModifiers.SetEntry
|
||
|
8, // 37: configentry.ServiceResolver.SubsetsEntry.value:type_name -> configentry.ServiceResolverSubset
|
||
|
10, // 38: configentry.ServiceResolver.FailoverEntry.value:type_name -> configentry.ServiceResolverFailover
|
||
|
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_proto_pbconfigentry_config_entry_proto_init() }
|
||
|
func file_proto_pbconfigentry_config_entry_proto_init() {
|
||
|
if File_proto_pbconfigentry_config_entry_proto != nil {
|
||
|
return
|
||
|
}
|
||
|
if !protoimpl.UnsafeEnabled {
|
||
|
file_proto_pbconfigentry_config_entry_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
||
|
switch v := v.(*ConfigEntry); i {
|
||
|
case 0:
|
||
|
return &v.state
|
||
|
case 1:
|
||
|
return &v.sizeCache
|
||
|
case 2:
|
||
|
return &v.unknownFields
|
||
|
default:
|
||
|
return nil
|
||
|
}
|
||
|
}
|
||
|
file_proto_pbconfigentry_config_entry_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
||
|
switch v := v.(*MeshConfig); i {
|
||
|
case 0:
|
||
|
return &v.state
|
||
|
case 1:
|
||
|
return &v.sizeCache
|
||
|
case 2:
|
||
|
return &v.unknownFields
|
||
|
default:
|
||
|
return nil
|
||
|
}
|
||
|
}
|
||
|
file_proto_pbconfigentry_config_entry_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
||
|
switch v := v.(*TransparentProxyMeshConfig); i {
|
||
|
case 0:
|
||
|
return &v.state
|
||
|
case 1:
|
||
|
return &v.sizeCache
|
||
|
case 2:
|
||
|
return &v.unknownFields
|
||
|
default:
|
||
|
return nil
|
||
|
}
|
||
|
}
|
||
|
file_proto_pbconfigentry_config_entry_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
||
|
switch v := v.(*MeshTLSConfig); i {
|
||
|
case 0:
|
||
|
return &v.state
|
||
|
case 1:
|
||
|
return &v.sizeCache
|
||
|
case 2:
|
||
|
return &v.unknownFields
|
||
|
default:
|
||
|
return nil
|
||
|
}
|
||
|
}
|
||
|
file_proto_pbconfigentry_config_entry_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
||
|
switch v := v.(*MeshDirectionalTLSConfig); i {
|
||
|
case 0:
|
||
|
return &v.state
|
||
|
case 1:
|
||
|
return &v.sizeCache
|
||
|
case 2:
|
||
|
return &v.unknownFields
|
||
|
default:
|
||
|
return nil
|
||
|
}
|
||
|
}
|
||
|
file_proto_pbconfigentry_config_entry_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
||
|
switch v := v.(*MeshHTTPConfig); i {
|
||
|
case 0:
|
||
|
return &v.state
|
||
|
case 1:
|
||
|
return &v.sizeCache
|
||
|
case 2:
|
||
|
return &v.unknownFields
|
||
|
default:
|
||
|
return nil
|
||
|
}
|
||
|
}
|
||
|
file_proto_pbconfigentry_config_entry_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
||
|
switch v := v.(*ServiceResolver); i {
|
||
|
case 0:
|
||
|
return &v.state
|
||
|
case 1:
|
||
|
return &v.sizeCache
|
||
|
case 2:
|
||
|
return &v.unknownFields
|
||
|
default:
|
||
|
return nil
|
||
|
}
|
||
|
}
|
||
|
file_proto_pbconfigentry_config_entry_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
||
|
switch v := v.(*ServiceResolverSubset); i {
|
||
|
case 0:
|
||
|
return &v.state
|
||
|
case 1:
|
||
|
return &v.sizeCache
|
||
|
case 2:
|
||
|
return &v.unknownFields
|
||
|
default:
|
||
|
return nil
|
||
|
}
|
||
|
}
|
||
|
file_proto_pbconfigentry_config_entry_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
||
|
switch v := v.(*ServiceResolverRedirect); i {
|
||
|
case 0:
|
||
|
return &v.state
|
||
|
case 1:
|
||
|
return &v.sizeCache
|
||
|
case 2:
|
||
|
return &v.unknownFields
|
||
|
default:
|
||
|
return nil
|
||
|
}
|
||
|
}
|
||
|
file_proto_pbconfigentry_config_entry_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
|
||
|
switch v := v.(*ServiceResolverFailover); i {
|
||
|
case 0:
|
||
|
return &v.state
|
||
|
case 1:
|
||
|
return &v.sizeCache
|
||
|
case 2:
|
||
|
return &v.unknownFields
|
||
|
default:
|
||
|
return nil
|
||
|
}
|
||
|
}
|
||
|
file_proto_pbconfigentry_config_entry_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
|
||
|
switch v := v.(*LoadBalancer); i {
|
||
|
case 0:
|
||
|
return &v.state
|
||
|
case 1:
|
||
|
return &v.sizeCache
|
||
|
case 2:
|
||
|
return &v.unknownFields
|
||
|
default:
|
||
|
return nil
|
||
|
}
|
||
|
}
|
||
|
file_proto_pbconfigentry_config_entry_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
|
||
|
switch v := v.(*RingHashConfig); i {
|
||
|
case 0:
|
||
|
return &v.state
|
||
|
case 1:
|
||
|
return &v.sizeCache
|
||
|
case 2:
|
||
|
return &v.unknownFields
|
||
|
default:
|
||
|
return nil
|
||
|
}
|
||
|
}
|
||
|
file_proto_pbconfigentry_config_entry_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
|
||
|
switch v := v.(*LeastRequestConfig); i {
|
||
|
case 0:
|
||
|
return &v.state
|
||
|
case 1:
|
||
|
return &v.sizeCache
|
||
|
case 2:
|
||
|
return &v.unknownFields
|
||
|
default:
|
||
|
return nil
|
||
|
}
|
||
|
}
|
||
|
file_proto_pbconfigentry_config_entry_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
|
||
|
switch v := v.(*HashPolicy); i {
|
||
|
case 0:
|
||
|
return &v.state
|
||
|
case 1:
|
||
|
return &v.sizeCache
|
||
|
case 2:
|
||
|
return &v.unknownFields
|
||
|
default:
|
||
|
return nil
|
||
|
}
|
||
|
}
|
||
|
file_proto_pbconfigentry_config_entry_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
|
||
|
switch v := v.(*CookieConfig); i {
|
||
|
case 0:
|
||
|
return &v.state
|
||
|
case 1:
|
||
|
return &v.sizeCache
|
||
|
case 2:
|
||
|
return &v.unknownFields
|
||
|
default:
|
||
|
return nil
|
||
|
}
|
||
|
}
|
||
|
file_proto_pbconfigentry_config_entry_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
|
||
|
switch v := v.(*IngressGateway); i {
|
||
|
case 0:
|
||
|
return &v.state
|
||
|
case 1:
|
||
|
return &v.sizeCache
|
||
|
case 2:
|
||
|
return &v.unknownFields
|
||
|
default:
|
||
|
return nil
|
||
|
}
|
||
|
}
|
||
|
file_proto_pbconfigentry_config_entry_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
|
||
|
switch v := v.(*GatewayTLSConfig); i {
|
||
|
case 0:
|
||
|
return &v.state
|
||
|
case 1:
|
||
|
return &v.sizeCache
|
||
|
case 2:
|
||
|
return &v.unknownFields
|
||
|
default:
|
||
|
return nil
|
||
|
}
|
||
|
}
|
||
|
file_proto_pbconfigentry_config_entry_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
|
||
|
switch v := v.(*GatewayTLSSDSConfig); i {
|
||
|
case 0:
|
||
|
return &v.state
|
||
|
case 1:
|
||
|
return &v.sizeCache
|
||
|
case 2:
|
||
|
return &v.unknownFields
|
||
|
default:
|
||
|
return nil
|
||
|
}
|
||
|
}
|
||
|
file_proto_pbconfigentry_config_entry_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} {
|
||
|
switch v := v.(*IngressListener); i {
|
||
|
case 0:
|
||
|
return &v.state
|
||
|
case 1:
|
||
|
return &v.sizeCache
|
||
|
case 2:
|
||
|
return &v.unknownFields
|
||
|
default:
|
||
|
return nil
|
||
|
}
|
||
|
}
|
||
|
file_proto_pbconfigentry_config_entry_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} {
|
||
|
switch v := v.(*IngressService); i {
|
||
|
case 0:
|
||
|
return &v.state
|
||
|
case 1:
|
||
|
return &v.sizeCache
|
||
|
case 2:
|
||
|
return &v.unknownFields
|
||
|
default:
|
||
|
return nil
|
||
|
}
|
||
|
}
|
||
|
file_proto_pbconfigentry_config_entry_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} {
|
||
|
switch v := v.(*GatewayServiceTLSConfig); i {
|
||
|
case 0:
|
||
|
return &v.state
|
||
|
case 1:
|
||
|
return &v.sizeCache
|
||
|
case 2:
|
||
|
return &v.unknownFields
|
||
|
default:
|
||
|
return nil
|
||
|
}
|
||
|
}
|
||
|
file_proto_pbconfigentry_config_entry_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} {
|
||
|
switch v := v.(*HTTPHeaderModifiers); i {
|
||
|
case 0:
|
||
|
return &v.state
|
||
|
case 1:
|
||
|
return &v.sizeCache
|
||
|
case 2:
|
||
|
return &v.unknownFields
|
||
|
default:
|
||
|
return nil
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
file_proto_pbconfigentry_config_entry_proto_msgTypes[0].OneofWrappers = []interface{}{
|
||
|
(*ConfigEntry_MeshConfig)(nil),
|
||
|
(*ConfigEntry_ServiceResolver)(nil),
|
||
|
(*ConfigEntry_IngressGateway)(nil),
|
||
|
}
|
||
|
type x struct{}
|
||
|
out := protoimpl.TypeBuilder{
|
||
|
File: protoimpl.DescBuilder{
|
||
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||
|
RawDescriptor: file_proto_pbconfigentry_config_entry_proto_rawDesc,
|
||
|
NumEnums: 1,
|
||
|
NumMessages: 30,
|
||
|
NumExtensions: 0,
|
||
|
NumServices: 0,
|
||
|
},
|
||
|
GoTypes: file_proto_pbconfigentry_config_entry_proto_goTypes,
|
||
|
DependencyIndexes: file_proto_pbconfigentry_config_entry_proto_depIdxs,
|
||
|
EnumInfos: file_proto_pbconfigentry_config_entry_proto_enumTypes,
|
||
|
MessageInfos: file_proto_pbconfigentry_config_entry_proto_msgTypes,
|
||
|
}.Build()
|
||
|
File_proto_pbconfigentry_config_entry_proto = out.File
|
||
|
file_proto_pbconfigentry_config_entry_proto_rawDesc = nil
|
||
|
file_proto_pbconfigentry_config_entry_proto_goTypes = nil
|
||
|
file_proto_pbconfigentry_config_entry_proto_depIdxs = nil
|
||
|
}
|