Debian Codegraph @

envoy/config/transport_socket/alts/v2alpha/alts.pb.go

raw
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/config/transport_socket/alts/v2alpha/alts.proto
6
7 package v2alpha
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 // https://cloud.google.com/security/encryption-in-transit/application-layer-transport-security/
27 type Alts struct {
28 state protoimpl.MessageState
29 sizeCache protoimpl.SizeCache
30 unknownFields protoimpl.UnknownFields
31
32 // The location of a handshaker service, this is usually 169.254.169.254:8080
33 // on GCE.
34 HandshakerService string `protobuf:"bytes,1,opt,name=handshaker_service,json=handshakerService,proto3" json:"handshaker_service,omitempty"`
35 // The acceptable service accounts from peer, peers not in the list will be rejected in the
36 // handshake validation step. If empty, no validation will be performed.
37 PeerServiceAccounts []string `protobuf:"bytes,2,rep,name=peer_service_accounts,json=peerServiceAccounts,proto3" json:"peer_service_accounts,omitempty"`
38 }
39
40 func (x *Alts) Reset() {
41 *x = Alts{}
42 if protoimpl.UnsafeEnabled {
43 mi := &file_envoy_config_transport_socket_alts_v2alpha_alts_proto_msgTypes[0]
44 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
45 ms.StoreMessageInfo(mi)
46 }
47 }
48
49 func (x *Alts) String() string {
50 return protoimpl.X.MessageStringOf(x)
51 }
52
53 func (*Alts) ProtoMessage() {}
54
55 func (x *Alts) ProtoReflect() protoreflect.Message {
56 mi := &file_envoy_config_transport_socket_alts_v2alpha_alts_proto_msgTypes[0]
57 if protoimpl.UnsafeEnabled && x != nil {
58 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
59 if ms.LoadMessageInfo() == nil {
60 ms.StoreMessageInfo(mi)
61 }
62 return ms
63 }
64 return mi.MessageOf(x)
65 }
66
67 // Deprecated: Use Alts.ProtoReflect.Descriptor instead.
68 func (*Alts) Descriptor() ([]byte, []int) {
69 return file_envoy_config_transport_socket_alts_v2alpha_alts_proto_rawDescGZIP(), []int{0}
70 }
71
72 func (x *Alts) GetHandshakerService() string {
73 if x != nil {
74 return x.HandshakerService
75 }
76 return ""
77 }
78
79 func (x *Alts) GetPeerServiceAccounts() []string {
80 if x != nil {
81 return x.PeerServiceAccounts
82 }
83 return nil
84 }
85
86 var File_envoy_config_transport_socket_alts_v2alpha_alts_proto protoreflect.FileDescriptor
87
88 var file_envoy_config_transport_socket_alts_v2alpha_alts_proto_rawDesc = []byte{
89 0x0a, 0x35, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x74,
90 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x2f,
91 0x61, 0x6c, 0x74, 0x73, 0x2f, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x61, 0x6c, 0x74,
92 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x2a, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63,
93 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x5f,
94 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x2e, 0x61, 0x6c, 0x74, 0x73, 0x2e, 0x76, 0x32, 0x61, 0x6c,
95 0x70, 0x68, 0x61, 0x1a, 0x1e, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61,
96 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72,
97 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61,
98 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f,
99 0x74, 0x6f, 0x1a, 0x17, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x76, 0x61, 0x6c,
100 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x72, 0x0a, 0x04, 0x41,
101 0x6c, 0x74, 0x73, 0x12, 0x36, 0x0a, 0x12, 0x68, 0x61, 0x6e, 0x64, 0x73, 0x68, 0x61, 0x6b, 0x65,
102 0x72, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42,
103 0x07, 0xfa, 0x42, 0x04, 0x72, 0x02, 0x20, 0x01, 0x52, 0x11, 0x68, 0x61, 0x6e, 0x64, 0x73, 0x68,
104 0x61, 0x6b, 0x65, 0x72, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x32, 0x0a, 0x15, 0x70,
105 0x65, 0x65, 0x72, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x61, 0x63, 0x63, 0x6f,
106 0x75, 0x6e, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x13, 0x70, 0x65, 0x65, 0x72,
107 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x42,
108 0xd4, 0x01, 0xf2, 0x98, 0xfe, 0x8f, 0x05, 0x2c, 0x12, 0x2a, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e,
109 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73,
110 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x73, 0x2e, 0x61, 0x6c, 0x74,
111 0x73, 0x2e, 0x76, 0x33, 0xba, 0x80, 0xc8, 0xd1, 0x06, 0x02, 0x10, 0x01, 0x0a, 0x38, 0x69, 0x6f,
112 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x65, 0x6e, 0x76, 0x6f,
113 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f,
114 0x72, 0x74, 0x5f, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x2e, 0x61, 0x6c, 0x74, 0x73, 0x2e, 0x76,
115 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x42, 0x09, 0x41, 0x6c, 0x74, 0x73, 0x50, 0x72, 0x6f, 0x74,
116 0x6f, 0x50, 0x01, 0x5a, 0x51, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f,
117 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x67, 0x6f, 0x2d, 0x63, 0x6f,
118 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2d, 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x2f, 0x65, 0x6e, 0x76, 0x6f,
119 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f,
120 0x72, 0x74, 0x5f, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x2f, 0x61, 0x6c, 0x74, 0x73, 0x2f, 0x76,
121 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 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 }