Debian Codegraph @

envoy/extensions/transport_sockets/alts/v3/alts.pb.go

raw symbols SCIP
1 // Code generated by protoc-gen-go. DO NOT EDIT.
2 // versions:
3 // protoc-gen-go v1.30.0
4 // protoc v5.29.1
5 // source: envoy/extensions/transport_sockets/alts/v3/alts.proto
6
7 package altsv3
8
9 import (
10 _ "github.com/cncf/xds/go/udpa/annotations"
11 _ "github.com/envoyproxy/protoc-gen-validate/validate"
12 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
13 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
14 reflect "reflect"
15 sync "sync"
16 )
17
18 const (
19 // Verify that this generated code is sufficiently up-to-date.
20 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
21 // Verify that runtime/protoimpl is sufficiently up-to-date.
22 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
23 )
24
25 // Configuration for ALTS transport socket. This provides Google's ALTS protocol to Envoy.
26 // Store the peer identity in dynamic metadata, namespace is "envoy.transport_socket.peer_information", key is "peer_identity".
27 // https://cloud.google.com/security/encryption-in-transit/application-layer-transport-security/
28 type Alts struct {
29 state protoimpl.MessageState
30 sizeCache protoimpl.SizeCache
31 unknownFields protoimpl.UnknownFields
32
33 // The location of a handshaker service, this is usually 169.254.169.254:8080
34 // on GCE.
35 HandshakerService string `protobuf:"bytes,1,opt,name=handshaker_service,json=handshakerService,proto3" json:"handshaker_service,omitempty"`
36 // The acceptable service accounts from peer, peers not in the list will be rejected in the
37 // handshake validation step. If empty, no validation will be performed.
38 PeerServiceAccounts []string `protobuf:"bytes,2,rep,name=peer_service_accounts,json=peerServiceAccounts,proto3" json:"peer_service_accounts,omitempty"`
39 }
40
41 func (x *Alts) Reset() {
42 *x = Alts{}
43 if protoimpl.UnsafeEnabled {
44 mi := &file_envoy_extensions_transport_sockets_alts_v3_alts_proto_msgTypes[0]
45 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
46 ms.StoreMessageInfo(mi)
47 }
48 }
49
50 func (x *Alts) String() string {
51 return protoimpl.X.MessageStringOf(x)
52 }
53
54 func (*Alts) ProtoMessage() {}
55
56 func (x *Alts) ProtoReflect() protoreflect.Message {
57 mi := &file_envoy_extensions_transport_sockets_alts_v3_alts_proto_msgTypes[0]
58 if protoimpl.UnsafeEnabled && x != nil {
59 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
60 if ms.LoadMessageInfo() == nil {
61 ms.StoreMessageInfo(mi)
62 }
63 return ms
64 }
65 return mi.MessageOf(x)
66 }
67
68 // Deprecated: Use Alts.ProtoReflect.Descriptor instead.
69 func (*Alts) Descriptor() ([]byte, []int) {
70 return file_envoy_extensions_transport_sockets_alts_v3_alts_proto_rawDescGZIP(), []int{0}
71 }
72
73 func (x *Alts) GetHandshakerService() string {
74 if x != nil {
75 return x.HandshakerService
76 }
77 return ""
78 }
79
80 func (x *Alts) GetPeerServiceAccounts() []string {
81 if x != nil {
82 return x.PeerServiceAccounts
83 }
84 return nil
85 }
86
87 var File_envoy_extensions_transport_sockets_alts_v3_alts_proto protoreflect.FileDescriptor
88
89 var file_envoy_extensions_transport_sockets_alts_v3_alts_proto_rawDesc = []byte{
90 0x0a, 0x35, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f,
91 0x6e, 0x73, 0x2f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x73, 0x6f, 0x63,
92 0x6b, 0x65, 0x74, 0x73, 0x2f, 0x61, 0x6c, 0x74, 0x73, 0x2f, 0x76, 0x33, 0x2f, 0x61, 0x6c, 0x74,
93 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x2a, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x65,
94 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70,
95 0x6f, 0x72, 0x74, 0x5f, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x73, 0x2e, 0x61, 0x6c, 0x74, 0x73,
96 0x2e, 0x76, 0x33, 0x1a, 0x1d, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61,
97 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f,
98 0x74, 0x6f, 0x1a, 0x21, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74,
99 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x2e,
100 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f,
101 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xaa,
102 0x01, 0x0a, 0x04, 0x41, 0x6c, 0x74, 0x73, 0x12, 0x36, 0x0a, 0x12, 0x68, 0x61, 0x6e, 0x64, 0x73,
103 0x68, 0x61, 0x6b, 0x65, 0x72, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x18, 0x01, 0x20,
104 0x01, 0x28, 0x09, 0x42, 0x07, 0xfa, 0x42, 0x04, 0x72, 0x02, 0x10, 0x01, 0x52, 0x11, 0x68, 0x61,
105 0x6e, 0x64, 0x73, 0x68, 0x61, 0x6b, 0x65, 0x72, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12,
106 0x32, 0x0a, 0x15, 0x70, 0x65, 0x65, 0x72, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f,
107 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x13,
108 0x70, 0x65, 0x65, 0x72, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75,
109 0x6e, 0x74, 0x73, 0x3a, 0x36, 0x9a, 0xc5, 0x88, 0x1e, 0x31, 0x0a, 0x2f, 0x65, 0x6e, 0x76, 0x6f,
110 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f,
111 0x72, 0x74, 0x5f, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x2e, 0x61, 0x6c, 0x74, 0x73, 0x2e, 0x76,
112 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x41, 0x6c, 0x74, 0x73, 0x42, 0xa9, 0x01, 0xba, 0x80,
113 0xc8, 0xd1, 0x06, 0x02, 0x10, 0x02, 0x0a, 0x38, 0x69, 0x6f, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79,
114 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x65, 0x78, 0x74, 0x65,
115 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74,
116 0x5f, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x73, 0x2e, 0x61, 0x6c, 0x74, 0x73, 0x2e, 0x76, 0x33,
117 0x42, 0x09, 0x41, 0x6c, 0x74, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x58, 0x67,
118 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70,
119 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x67, 0x6f, 0x2d, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2d,
120 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x2f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x65, 0x78, 0x74, 0x65,
121 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74,
122 0x5f, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x73, 0x2f, 0x61, 0x6c, 0x74, 0x73, 0x2f, 0x76, 0x33,
123 0x3b, 0x61, 0x6c, 0x74, 0x73, 0x76, 0x33, 0x62, 0x06, 0x70, 0x72, 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 }