github.com/hxx258456/ccgo@v0.0.5-0.20230213014102-48b35f46f66f/go-control-plane/envoy/extensions/transport_sockets/alts/v3/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/extensions/transport_sockets/alts/v3/alts.proto
     6  
     7  package envoy_extensions_transport_sockets_alts_v3
     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  // Store the peer identity in dynamic metadata, namespace is "envoy.transport_socket.peer_information", key is "peer_identity".
    32  // https://cloud.google.com/security/encryption-in-transit/application-layer-transport-security/
    33  type Alts struct {
    34  	state         protoimpl.MessageState
    35  	sizeCache     protoimpl.SizeCache
    36  	unknownFields protoimpl.UnknownFields
    37  
    38  	// The location of a handshaker service, this is usually 169.254.169.254:8080
    39  	// on GCE.
    40  	HandshakerService string `protobuf:"bytes,1,opt,name=handshaker_service,json=handshakerService,proto3" json:"handshaker_service,omitempty"`
    41  	// The acceptable service accounts from peer, peers not in the list will be rejected in the
    42  	// handshake validation step. If empty, no validation will be performed.
    43  	PeerServiceAccounts []string `protobuf:"bytes,2,rep,name=peer_service_accounts,json=peerServiceAccounts,proto3" json:"peer_service_accounts,omitempty"`
    44  }
    45  
    46  func (x *Alts) Reset() {
    47  	*x = Alts{}
    48  	if protoimpl.UnsafeEnabled {
    49  		mi := &file_envoy_extensions_transport_sockets_alts_v3_alts_proto_msgTypes[0]
    50  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    51  		ms.StoreMessageInfo(mi)
    52  	}
    53  }
    54  
    55  func (x *Alts) String() string {
    56  	return protoimpl.X.MessageStringOf(x)
    57  }
    58  
    59  func (*Alts) ProtoMessage() {}
    60  
    61  func (x *Alts) ProtoReflect() protoreflect.Message {
    62  	mi := &file_envoy_extensions_transport_sockets_alts_v3_alts_proto_msgTypes[0]
    63  	if protoimpl.UnsafeEnabled && x != nil {
    64  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    65  		if ms.LoadMessageInfo() == nil {
    66  			ms.StoreMessageInfo(mi)
    67  		}
    68  		return ms
    69  	}
    70  	return mi.MessageOf(x)
    71  }
    72  
    73  // Deprecated: Use Alts.ProtoReflect.Descriptor instead.
    74  func (*Alts) Descriptor() ([]byte, []int) {
    75  	return file_envoy_extensions_transport_sockets_alts_v3_alts_proto_rawDescGZIP(), []int{0}
    76  }
    77  
    78  func (x *Alts) GetHandshakerService() string {
    79  	if x != nil {
    80  		return x.HandshakerService
    81  	}
    82  	return ""
    83  }
    84  
    85  func (x *Alts) GetPeerServiceAccounts() []string {
    86  	if x != nil {
    87  		return x.PeerServiceAccounts
    88  	}
    89  	return nil
    90  }
    91  
    92  var File_envoy_extensions_transport_sockets_alts_v3_alts_proto protoreflect.FileDescriptor
    93  
    94  var file_envoy_extensions_transport_sockets_alts_v3_alts_proto_rawDesc = []byte{
    95  	0x0a, 0x35, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f,
    96  	0x6e, 0x73, 0x2f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x73, 0x6f, 0x63,
    97  	0x6b, 0x65, 0x74, 0x73, 0x2f, 0x61, 0x6c, 0x74, 0x73, 0x2f, 0x76, 0x33, 0x2f, 0x61, 0x6c, 0x74,
    98  	0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x2a, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x65,
    99  	0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70,
   100  	0x6f, 0x72, 0x74, 0x5f, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x73, 0x2e, 0x61, 0x6c, 0x74, 0x73,
   101  	0x2e, 0x76, 0x33, 0x1a, 0x1d, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61,
   102  	0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f,
   103  	0x74, 0x6f, 0x1a, 0x21, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74,
   104  	0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x2e,
   105  	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f,
   106  	0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xaa,
   107  	0x01, 0x0a, 0x04, 0x41, 0x6c, 0x74, 0x73, 0x12, 0x36, 0x0a, 0x12, 0x68, 0x61, 0x6e, 0x64, 0x73,
   108  	0x68, 0x61, 0x6b, 0x65, 0x72, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x18, 0x01, 0x20,
   109  	0x01, 0x28, 0x09, 0x42, 0x07, 0xfa, 0x42, 0x04, 0x72, 0x02, 0x10, 0x01, 0x52, 0x11, 0x68, 0x61,
   110  	0x6e, 0x64, 0x73, 0x68, 0x61, 0x6b, 0x65, 0x72, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12,
   111  	0x32, 0x0a, 0x15, 0x70, 0x65, 0x65, 0x72, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f,
   112  	0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x13,
   113  	0x70, 0x65, 0x65, 0x72, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75,
   114  	0x6e, 0x74, 0x73, 0x3a, 0x36, 0x9a, 0xc5, 0x88, 0x1e, 0x31, 0x0a, 0x2f, 0x65, 0x6e, 0x76, 0x6f,
   115  	0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f,
   116  	0x72, 0x74, 0x5f, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x2e, 0x61, 0x6c, 0x74, 0x73, 0x2e, 0x76,
   117  	0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x41, 0x6c, 0x74, 0x73, 0x42, 0x4f, 0x0a, 0x38, 0x69,
   118  	0x6f, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x65, 0x6e, 0x76,
   119  	0x6f, 0x79, 0x2e, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x74, 0x72,
   120  	0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x73, 0x2e,
   121  	0x61, 0x6c, 0x74, 0x73, 0x2e, 0x76, 0x33, 0x42, 0x09, 0x41, 0x6c, 0x74, 0x73, 0x50, 0x72, 0x6f,
   122  	0x74, 0x6f, 0x50, 0x01, 0xba, 0x80, 0xc8, 0xd1, 0x06, 0x02, 0x10, 0x02, 0x62, 0x06, 0x70, 0x72,
   123  	0x6f, 0x74, 0x6f, 0x33,
   124  }
   125  
   126  var (
   127  	file_envoy_extensions_transport_sockets_alts_v3_alts_proto_rawDescOnce sync.Once
   128  	file_envoy_extensions_transport_sockets_alts_v3_alts_proto_rawDescData = file_envoy_extensions_transport_sockets_alts_v3_alts_proto_rawDesc
   129  )
   130  
   131  func file_envoy_extensions_transport_sockets_alts_v3_alts_proto_rawDescGZIP() []byte {
   132  	file_envoy_extensions_transport_sockets_alts_v3_alts_proto_rawDescOnce.Do(func() {
   133  		file_envoy_extensions_transport_sockets_alts_v3_alts_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_extensions_transport_sockets_alts_v3_alts_proto_rawDescData)
   134  	})
   135  	return file_envoy_extensions_transport_sockets_alts_v3_alts_proto_rawDescData
   136  }
   137  
   138  var file_envoy_extensions_transport_sockets_alts_v3_alts_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
   139  var file_envoy_extensions_transport_sockets_alts_v3_alts_proto_goTypes = []interface{}{
   140  	(*Alts)(nil), // 0: envoy.extensions.transport_sockets.alts.v3.Alts
   141  }
   142  var file_envoy_extensions_transport_sockets_alts_v3_alts_proto_depIdxs = []int32{
   143  	0, // [0:0] is the sub-list for method output_type
   144  	0, // [0:0] is the sub-list for method input_type
   145  	0, // [0:0] is the sub-list for extension type_name
   146  	0, // [0:0] is the sub-list for extension extendee
   147  	0, // [0:0] is the sub-list for field type_name
   148  }
   149  
   150  func init() { file_envoy_extensions_transport_sockets_alts_v3_alts_proto_init() }
   151  func file_envoy_extensions_transport_sockets_alts_v3_alts_proto_init() {
   152  	if File_envoy_extensions_transport_sockets_alts_v3_alts_proto != nil {
   153  		return
   154  	}
   155  	if !protoimpl.UnsafeEnabled {
   156  		file_envoy_extensions_transport_sockets_alts_v3_alts_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   157  			switch v := v.(*Alts); i {
   158  			case 0:
   159  				return &v.state
   160  			case 1:
   161  				return &v.sizeCache
   162  			case 2:
   163  				return &v.unknownFields
   164  			default:
   165  				return nil
   166  			}
   167  		}
   168  	}
   169  	type x struct{}
   170  	out := protoimpl.TypeBuilder{
   171  		File: protoimpl.DescBuilder{
   172  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   173  			RawDescriptor: file_envoy_extensions_transport_sockets_alts_v3_alts_proto_rawDesc,
   174  			NumEnums:      0,
   175  			NumMessages:   1,
   176  			NumExtensions: 0,
   177  			NumServices:   0,
   178  		},
   179  		GoTypes:           file_envoy_extensions_transport_sockets_alts_v3_alts_proto_goTypes,
   180  		DependencyIndexes: file_envoy_extensions_transport_sockets_alts_v3_alts_proto_depIdxs,
   181  		MessageInfos:      file_envoy_extensions_transport_sockets_alts_v3_alts_proto_msgTypes,
   182  	}.Build()
   183  	File_envoy_extensions_transport_sockets_alts_v3_alts_proto = out.File
   184  	file_envoy_extensions_transport_sockets_alts_v3_alts_proto_rawDesc = nil
   185  	file_envoy_extensions_transport_sockets_alts_v3_alts_proto_goTypes = nil
   186  	file_envoy_extensions_transport_sockets_alts_v3_alts_proto_depIdxs = nil
   187  }