gitee.com/zhaochuninhefei/gmgo@v0.0.31-0.20240209061119-069254a02979/go-control-plane/envoy/config/transport_socket/alts/v2alpha/alts.pb.go (about)

     1  // Code generated by protoc-gen-go. DO NOT EDIT.
     2  // versions:
     3  // 	protoc-gen-go v1.25.0
     4  // 	protoc        v3.16.0
     5  // source: envoy/config/transport_socket/alts/v2alpha/alts.proto
     6  
     7  package envoy_config_transport_socket_alts_v2alpha
     8  
     9  import (
    10  	_ "github.com/cncf/xds/go/udpa/annotations"
    11  	_ "github.com/envoyproxy/protoc-gen-validate/validate"
    12  	proto "github.com/golang/protobuf/proto"
    13  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    14  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    15  	reflect "reflect"
    16  	sync "sync"
    17  )
    18  
    19  const (
    20  	// Verify that this generated code is sufficiently up-to-date.
    21  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    22  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    23  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    24  )
    25  
    26  // This is a compile-time assertion that a sufficiently up-to-date version
    27  // of the legacy proto package is being used.
    28  const _ = proto.ProtoPackageIsVersion4
    29  
    30  // Configuration for ALTS transport socket. This provides Google's ALTS protocol to Envoy.
    31  // https://cloud.google.com/security/encryption-in-transit/application-layer-transport-security/
    32  type Alts struct {
    33  	state         protoimpl.MessageState
    34  	sizeCache     protoimpl.SizeCache
    35  	unknownFields protoimpl.UnknownFields
    36  
    37  	// The location of a handshaker service, this is usually 169.254.169.254:8080
    38  	// on GCE.
    39  	HandshakerService string `protobuf:"bytes,1,opt,name=handshaker_service,json=handshakerService,proto3" json:"handshaker_service,omitempty"`
    40  	// The acceptable service accounts from peer, peers not in the list will be rejected in the
    41  	// handshake validation step. If empty, no validation will be performed.
    42  	PeerServiceAccounts []string `protobuf:"bytes,2,rep,name=peer_service_accounts,json=peerServiceAccounts,proto3" json:"peer_service_accounts,omitempty"`
    43  }
    44  
    45  func (x *Alts) Reset() {
    46  	*x = Alts{}
    47  	if protoimpl.UnsafeEnabled {
    48  		mi := &file_envoy_config_transport_socket_alts_v2alpha_alts_proto_msgTypes[0]
    49  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    50  		ms.StoreMessageInfo(mi)
    51  	}
    52  }
    53  
    54  func (x *Alts) String() string {
    55  	return protoimpl.X.MessageStringOf(x)
    56  }
    57  
    58  func (*Alts) ProtoMessage() {}
    59  
    60  func (x *Alts) ProtoReflect() protoreflect.Message {
    61  	mi := &file_envoy_config_transport_socket_alts_v2alpha_alts_proto_msgTypes[0]
    62  	if protoimpl.UnsafeEnabled && x != nil {
    63  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    64  		if ms.LoadMessageInfo() == nil {
    65  			ms.StoreMessageInfo(mi)
    66  		}
    67  		return ms
    68  	}
    69  	return mi.MessageOf(x)
    70  }
    71  
    72  // Deprecated: Use Alts.ProtoReflect.Descriptor instead.
    73  func (*Alts) Descriptor() ([]byte, []int) {
    74  	return file_envoy_config_transport_socket_alts_v2alpha_alts_proto_rawDescGZIP(), []int{0}
    75  }
    76  
    77  func (x *Alts) GetHandshakerService() string {
    78  	if x != nil {
    79  		return x.HandshakerService
    80  	}
    81  	return ""
    82  }
    83  
    84  func (x *Alts) GetPeerServiceAccounts() []string {
    85  	if x != nil {
    86  		return x.PeerServiceAccounts
    87  	}
    88  	return nil
    89  }
    90  
    91  var File_envoy_config_transport_socket_alts_v2alpha_alts_proto protoreflect.FileDescriptor
    92  
    93  var file_envoy_config_transport_socket_alts_v2alpha_alts_proto_rawDesc = []byte{
    94  	0x0a, 0x35, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x74,
    95  	0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x2f,
    96  	0x61, 0x6c, 0x74, 0x73, 0x2f, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x61, 0x6c, 0x74,
    97  	0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x2a, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63,
    98  	0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x5f,
    99  	0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x2e, 0x61, 0x6c, 0x74, 0x73, 0x2e, 0x76, 0x32, 0x61, 0x6c,
   100  	0x70, 0x68, 0x61, 0x1a, 0x1e, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61,
   101  	0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72,
   102  	0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61,
   103  	0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f,
   104  	0x74, 0x6f, 0x1a, 0x17, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x76, 0x61, 0x6c,
   105  	0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x72, 0x0a, 0x04, 0x41,
   106  	0x6c, 0x74, 0x73, 0x12, 0x36, 0x0a, 0x12, 0x68, 0x61, 0x6e, 0x64, 0x73, 0x68, 0x61, 0x6b, 0x65,
   107  	0x72, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42,
   108  	0x07, 0xfa, 0x42, 0x04, 0x72, 0x02, 0x20, 0x01, 0x52, 0x11, 0x68, 0x61, 0x6e, 0x64, 0x73, 0x68,
   109  	0x61, 0x6b, 0x65, 0x72, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x32, 0x0a, 0x15, 0x70,
   110  	0x65, 0x65, 0x72, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x61, 0x63, 0x63, 0x6f,
   111  	0x75, 0x6e, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x13, 0x70, 0x65, 0x65, 0x72,
   112  	0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x42,
   113  	0x81, 0x01, 0x0a, 0x38, 0x69, 0x6f, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78,
   114  	0x79, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x74,
   115  	0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x2e,
   116  	0x61, 0x6c, 0x74, 0x73, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x42, 0x09, 0x41, 0x6c,
   117  	0x74, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0xf2, 0x98, 0xfe, 0x8f, 0x05, 0x2c, 0x12,
   118  	0x2a, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e,
   119  	0x73, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x73, 0x6f, 0x63, 0x6b,
   120  	0x65, 0x74, 0x73, 0x2e, 0x61, 0x6c, 0x74, 0x73, 0x2e, 0x76, 0x33, 0xba, 0x80, 0xc8, 0xd1, 0x06,
   121  	0x02, 0x10, 0x01, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   122  }
   123  
   124  var (
   125  	file_envoy_config_transport_socket_alts_v2alpha_alts_proto_rawDescOnce sync.Once
   126  	file_envoy_config_transport_socket_alts_v2alpha_alts_proto_rawDescData = file_envoy_config_transport_socket_alts_v2alpha_alts_proto_rawDesc
   127  )
   128  
   129  func file_envoy_config_transport_socket_alts_v2alpha_alts_proto_rawDescGZIP() []byte {
   130  	file_envoy_config_transport_socket_alts_v2alpha_alts_proto_rawDescOnce.Do(func() {
   131  		file_envoy_config_transport_socket_alts_v2alpha_alts_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_config_transport_socket_alts_v2alpha_alts_proto_rawDescData)
   132  	})
   133  	return file_envoy_config_transport_socket_alts_v2alpha_alts_proto_rawDescData
   134  }
   135  
   136  var file_envoy_config_transport_socket_alts_v2alpha_alts_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
   137  var file_envoy_config_transport_socket_alts_v2alpha_alts_proto_goTypes = []interface{}{
   138  	(*Alts)(nil), // 0: envoy.config.transport_socket.alts.v2alpha.Alts
   139  }
   140  var file_envoy_config_transport_socket_alts_v2alpha_alts_proto_depIdxs = []int32{
   141  	0, // [0:0] is the sub-list for method output_type
   142  	0, // [0:0] is the sub-list for method input_type
   143  	0, // [0:0] is the sub-list for extension type_name
   144  	0, // [0:0] is the sub-list for extension extendee
   145  	0, // [0:0] is the sub-list for field type_name
   146  }
   147  
   148  func init() { file_envoy_config_transport_socket_alts_v2alpha_alts_proto_init() }
   149  func file_envoy_config_transport_socket_alts_v2alpha_alts_proto_init() {
   150  	if File_envoy_config_transport_socket_alts_v2alpha_alts_proto != nil {
   151  		return
   152  	}
   153  	if !protoimpl.UnsafeEnabled {
   154  		file_envoy_config_transport_socket_alts_v2alpha_alts_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   155  			switch v := v.(*Alts); i {
   156  			case 0:
   157  				return &v.state
   158  			case 1:
   159  				return &v.sizeCache
   160  			case 2:
   161  				return &v.unknownFields
   162  			default:
   163  				return nil
   164  			}
   165  		}
   166  	}
   167  	type x struct{}
   168  	out := protoimpl.TypeBuilder{
   169  		File: protoimpl.DescBuilder{
   170  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   171  			RawDescriptor: file_envoy_config_transport_socket_alts_v2alpha_alts_proto_rawDesc,
   172  			NumEnums:      0,
   173  			NumMessages:   1,
   174  			NumExtensions: 0,
   175  			NumServices:   0,
   176  		},
   177  		GoTypes:           file_envoy_config_transport_socket_alts_v2alpha_alts_proto_goTypes,
   178  		DependencyIndexes: file_envoy_config_transport_socket_alts_v2alpha_alts_proto_depIdxs,
   179  		MessageInfos:      file_envoy_config_transport_socket_alts_v2alpha_alts_proto_msgTypes,
   180  	}.Build()
   181  	File_envoy_config_transport_socket_alts_v2alpha_alts_proto = out.File
   182  	file_envoy_config_transport_socket_alts_v2alpha_alts_proto_rawDesc = nil
   183  	file_envoy_config_transport_socket_alts_v2alpha_alts_proto_goTypes = nil
   184  	file_envoy_config_transport_socket_alts_v2alpha_alts_proto_depIdxs = nil
   185  }