github.com/hxx258456/ccgo@v0.0.5-0.20230213014102-48b35f46f66f/go-control-plane/envoy/extensions/transport_sockets/tls/v3/secret.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/tls/v3/secret.proto 6 7 package envoy_extensions_transport_sockets_tls_v3 8 9 import ( 10 _ "github.com/cncf/xds/go/udpa/annotations" 11 v3 "github.com/hxx258456/ccgo/go-control-plane/envoy/config/core/v3" 12 _ "github.com/envoyproxy/protoc-gen-validate/validate" 13 proto "github.com/golang/protobuf/proto" 14 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 15 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 16 reflect "reflect" 17 sync "sync" 18 ) 19 20 const ( 21 // Verify that this generated code is sufficiently up-to-date. 22 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 23 // Verify that runtime/protoimpl is sufficiently up-to-date. 24 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 25 ) 26 27 // This is a compile-time assertion that a sufficiently up-to-date version 28 // of the legacy proto package is being used. 29 const _ = proto.ProtoPackageIsVersion4 30 31 type GenericSecret struct { 32 state protoimpl.MessageState 33 sizeCache protoimpl.SizeCache 34 unknownFields protoimpl.UnknownFields 35 36 // Secret of generic type and is available to filters. 37 Secret *v3.DataSource `protobuf:"bytes,1,opt,name=secret,proto3" json:"secret,omitempty"` 38 } 39 40 func (x *GenericSecret) Reset() { 41 *x = GenericSecret{} 42 if protoimpl.UnsafeEnabled { 43 mi := &file_envoy_extensions_transport_sockets_tls_v3_secret_proto_msgTypes[0] 44 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 45 ms.StoreMessageInfo(mi) 46 } 47 } 48 49 func (x *GenericSecret) String() string { 50 return protoimpl.X.MessageStringOf(x) 51 } 52 53 func (*GenericSecret) ProtoMessage() {} 54 55 func (x *GenericSecret) ProtoReflect() protoreflect.Message { 56 mi := &file_envoy_extensions_transport_sockets_tls_v3_secret_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 GenericSecret.ProtoReflect.Descriptor instead. 68 func (*GenericSecret) Descriptor() ([]byte, []int) { 69 return file_envoy_extensions_transport_sockets_tls_v3_secret_proto_rawDescGZIP(), []int{0} 70 } 71 72 func (x *GenericSecret) GetSecret() *v3.DataSource { 73 if x != nil { 74 return x.Secret 75 } 76 return nil 77 } 78 79 type SdsSecretConfig struct { 80 state protoimpl.MessageState 81 sizeCache protoimpl.SizeCache 82 unknownFields protoimpl.UnknownFields 83 84 // Name by which the secret can be uniquely referred to. When both name and config are specified, 85 // then secret can be fetched and/or reloaded via SDS. When only name is specified, then secret 86 // will be loaded from static resources. 87 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 88 SdsConfig *v3.ConfigSource `protobuf:"bytes,2,opt,name=sds_config,json=sdsConfig,proto3" json:"sds_config,omitempty"` 89 } 90 91 func (x *SdsSecretConfig) Reset() { 92 *x = SdsSecretConfig{} 93 if protoimpl.UnsafeEnabled { 94 mi := &file_envoy_extensions_transport_sockets_tls_v3_secret_proto_msgTypes[1] 95 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 96 ms.StoreMessageInfo(mi) 97 } 98 } 99 100 func (x *SdsSecretConfig) String() string { 101 return protoimpl.X.MessageStringOf(x) 102 } 103 104 func (*SdsSecretConfig) ProtoMessage() {} 105 106 func (x *SdsSecretConfig) ProtoReflect() protoreflect.Message { 107 mi := &file_envoy_extensions_transport_sockets_tls_v3_secret_proto_msgTypes[1] 108 if protoimpl.UnsafeEnabled && x != nil { 109 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 110 if ms.LoadMessageInfo() == nil { 111 ms.StoreMessageInfo(mi) 112 } 113 return ms 114 } 115 return mi.MessageOf(x) 116 } 117 118 // Deprecated: Use SdsSecretConfig.ProtoReflect.Descriptor instead. 119 func (*SdsSecretConfig) Descriptor() ([]byte, []int) { 120 return file_envoy_extensions_transport_sockets_tls_v3_secret_proto_rawDescGZIP(), []int{1} 121 } 122 123 func (x *SdsSecretConfig) GetName() string { 124 if x != nil { 125 return x.Name 126 } 127 return "" 128 } 129 130 func (x *SdsSecretConfig) GetSdsConfig() *v3.ConfigSource { 131 if x != nil { 132 return x.SdsConfig 133 } 134 return nil 135 } 136 137 // [#next-free-field: 6] 138 type Secret struct { 139 state protoimpl.MessageState 140 sizeCache protoimpl.SizeCache 141 unknownFields protoimpl.UnknownFields 142 143 // Name (FQDN, UUID, SPKI, SHA256, etc.) by which the secret can be uniquely referred to. 144 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 145 // Types that are assignable to Type: 146 // *Secret_TlsCertificate 147 // *Secret_SessionTicketKeys 148 // *Secret_ValidationContext 149 // *Secret_GenericSecret 150 Type isSecret_Type `protobuf_oneof:"type"` 151 } 152 153 func (x *Secret) Reset() { 154 *x = Secret{} 155 if protoimpl.UnsafeEnabled { 156 mi := &file_envoy_extensions_transport_sockets_tls_v3_secret_proto_msgTypes[2] 157 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 158 ms.StoreMessageInfo(mi) 159 } 160 } 161 162 func (x *Secret) String() string { 163 return protoimpl.X.MessageStringOf(x) 164 } 165 166 func (*Secret) ProtoMessage() {} 167 168 func (x *Secret) ProtoReflect() protoreflect.Message { 169 mi := &file_envoy_extensions_transport_sockets_tls_v3_secret_proto_msgTypes[2] 170 if protoimpl.UnsafeEnabled && x != nil { 171 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 172 if ms.LoadMessageInfo() == nil { 173 ms.StoreMessageInfo(mi) 174 } 175 return ms 176 } 177 return mi.MessageOf(x) 178 } 179 180 // Deprecated: Use Secret.ProtoReflect.Descriptor instead. 181 func (*Secret) Descriptor() ([]byte, []int) { 182 return file_envoy_extensions_transport_sockets_tls_v3_secret_proto_rawDescGZIP(), []int{2} 183 } 184 185 func (x *Secret) GetName() string { 186 if x != nil { 187 return x.Name 188 } 189 return "" 190 } 191 192 func (m *Secret) GetType() isSecret_Type { 193 if m != nil { 194 return m.Type 195 } 196 return nil 197 } 198 199 func (x *Secret) GetTlsCertificate() *TlsCertificate { 200 if x, ok := x.GetType().(*Secret_TlsCertificate); ok { 201 return x.TlsCertificate 202 } 203 return nil 204 } 205 206 func (x *Secret) GetSessionTicketKeys() *TlsSessionTicketKeys { 207 if x, ok := x.GetType().(*Secret_SessionTicketKeys); ok { 208 return x.SessionTicketKeys 209 } 210 return nil 211 } 212 213 func (x *Secret) GetValidationContext() *CertificateValidationContext { 214 if x, ok := x.GetType().(*Secret_ValidationContext); ok { 215 return x.ValidationContext 216 } 217 return nil 218 } 219 220 func (x *Secret) GetGenericSecret() *GenericSecret { 221 if x, ok := x.GetType().(*Secret_GenericSecret); ok { 222 return x.GenericSecret 223 } 224 return nil 225 } 226 227 type isSecret_Type interface { 228 isSecret_Type() 229 } 230 231 type Secret_TlsCertificate struct { 232 TlsCertificate *TlsCertificate `protobuf:"bytes,2,opt,name=tls_certificate,json=tlsCertificate,proto3,oneof"` 233 } 234 235 type Secret_SessionTicketKeys struct { 236 SessionTicketKeys *TlsSessionTicketKeys `protobuf:"bytes,3,opt,name=session_ticket_keys,json=sessionTicketKeys,proto3,oneof"` 237 } 238 239 type Secret_ValidationContext struct { 240 ValidationContext *CertificateValidationContext `protobuf:"bytes,4,opt,name=validation_context,json=validationContext,proto3,oneof"` 241 } 242 243 type Secret_GenericSecret struct { 244 GenericSecret *GenericSecret `protobuf:"bytes,5,opt,name=generic_secret,json=genericSecret,proto3,oneof"` 245 } 246 247 func (*Secret_TlsCertificate) isSecret_Type() {} 248 249 func (*Secret_SessionTicketKeys) isSecret_Type() {} 250 251 func (*Secret_ValidationContext) isSecret_Type() {} 252 253 func (*Secret_GenericSecret) isSecret_Type() {} 254 255 var File_envoy_extensions_transport_sockets_tls_v3_secret_proto protoreflect.FileDescriptor 256 257 var file_envoy_extensions_transport_sockets_tls_v3_secret_proto_rawDesc = []byte{ 258 0x0a, 0x36, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 259 0x6e, 0x73, 0x2f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x73, 0x6f, 0x63, 260 0x6b, 0x65, 0x74, 0x73, 0x2f, 0x74, 0x6c, 0x73, 0x2f, 0x76, 0x33, 0x2f, 0x73, 0x65, 0x63, 0x72, 261 0x65, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x29, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 262 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 263 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x73, 0x2e, 0x74, 0x6c, 0x73, 264 0x2e, 0x76, 0x33, 0x1a, 0x1f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 265 0x67, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x33, 0x2f, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x70, 266 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x28, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 267 0x69, 0x67, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x33, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 268 0x67, 0x5f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x36, 269 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 270 0x2f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x73, 0x6f, 0x63, 0x6b, 0x65, 271 0x74, 0x73, 0x2f, 0x74, 0x6c, 0x73, 0x2f, 0x76, 0x33, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 272 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 273 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x65, 0x6e, 0x73, 0x69, 0x74, 0x69, 274 0x76, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 275 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 276 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x21, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 277 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 278 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x76, 0x61, 0x6c, 0x69, 279 0x64, 0x61, 0x74, 0x65, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 280 0x6f, 0x74, 0x6f, 0x22, 0x79, 0x0a, 0x0d, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x69, 0x63, 0x53, 0x65, 281 0x63, 0x72, 0x65, 0x74, 0x12, 0x40, 0x0a, 0x06, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x18, 0x01, 282 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 283 0x66, 0x69, 0x67, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x33, 0x2e, 0x44, 0x61, 0x74, 0x61, 284 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x42, 0x06, 0xb8, 0xb7, 0x8b, 0xa4, 0x02, 0x01, 0x52, 0x06, 285 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x3a, 0x26, 0x9a, 0xc5, 0x88, 0x1e, 0x21, 0x0a, 0x1f, 0x65, 286 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x61, 0x75, 0x74, 0x68, 287 0x2e, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x69, 0x63, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x22, 0x9b, 288 0x01, 0x0a, 0x0f, 0x53, 0x64, 0x73, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x66, 289 0x69, 0x67, 0x12, 0x1b, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 290 0x42, 0x07, 0xfa, 0x42, 0x04, 0x72, 0x02, 0x10, 0x01, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 291 0x41, 0x0a, 0x0a, 0x73, 0x64, 0x73, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x02, 0x20, 292 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 293 0x69, 0x67, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x33, 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 294 0x67, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x09, 0x73, 0x64, 0x73, 0x43, 0x6f, 0x6e, 0x66, 295 0x69, 0x67, 0x3a, 0x28, 0x9a, 0xc5, 0x88, 0x1e, 0x23, 0x0a, 0x21, 0x65, 0x6e, 0x76, 0x6f, 0x79, 296 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x53, 0x64, 0x73, 297 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0xfb, 0x03, 0x0a, 298 0x06, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 299 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x64, 0x0a, 0x0f, 0x74, 300 0x6c, 0x73, 0x5f, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x18, 0x02, 301 0x20, 0x01, 0x28, 0x0b, 0x32, 0x39, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x65, 0x78, 0x74, 302 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 303 0x74, 0x5f, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x73, 0x2e, 0x74, 0x6c, 0x73, 0x2e, 0x76, 0x33, 304 0x2e, 0x54, 0x6c, 0x73, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x48, 305 0x00, 0x52, 0x0e, 0x74, 0x6c, 0x73, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 306 0x65, 0x12, 0x71, 0x0a, 0x13, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x69, 0x63, 307 0x6b, 0x65, 0x74, 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3f, 308 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 309 0x73, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x73, 0x6f, 0x63, 0x6b, 310 0x65, 0x74, 0x73, 0x2e, 0x74, 0x6c, 0x73, 0x2e, 0x76, 0x33, 0x2e, 0x54, 0x6c, 0x73, 0x53, 0x65, 311 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x54, 0x69, 0x63, 0x6b, 0x65, 0x74, 0x4b, 0x65, 0x79, 0x73, 0x48, 312 0x00, 0x52, 0x11, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x54, 0x69, 0x63, 0x6b, 0x65, 0x74, 313 0x4b, 0x65, 0x79, 0x73, 0x12, 0x78, 0x0a, 0x12, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 314 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 315 0x32, 0x47, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 316 0x6f, 0x6e, 0x73, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x73, 0x6f, 317 0x63, 0x6b, 0x65, 0x74, 0x73, 0x2e, 0x74, 0x6c, 0x73, 0x2e, 0x76, 0x33, 0x2e, 0x43, 0x65, 0x72, 318 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 319 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x48, 0x00, 0x52, 0x11, 0x76, 0x61, 0x6c, 320 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x12, 0x61, 321 0x0a, 0x0e, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x69, 0x63, 0x5f, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 322 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x38, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x65, 323 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 324 0x6f, 0x72, 0x74, 0x5f, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x73, 0x2e, 0x74, 0x6c, 0x73, 0x2e, 325 0x76, 0x33, 0x2e, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x69, 0x63, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 326 0x48, 0x00, 0x52, 0x0d, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x69, 0x63, 0x53, 0x65, 0x63, 0x72, 0x65, 327 0x74, 0x3a, 0x1f, 0x9a, 0xc5, 0x88, 0x1e, 0x1a, 0x0a, 0x18, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 328 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x53, 0x65, 0x63, 0x72, 329 0x65, 0x74, 0x42, 0x06, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x42, 0x50, 0x0a, 0x37, 0x69, 0x6f, 330 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 331 0x79, 0x2e, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x74, 0x72, 0x61, 332 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x73, 0x2e, 0x74, 333 0x6c, 0x73, 0x2e, 0x76, 0x33, 0x42, 0x0b, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x50, 0x72, 0x6f, 334 0x74, 0x6f, 0x50, 0x01, 0xba, 0x80, 0xc8, 0xd1, 0x06, 0x02, 0x10, 0x02, 0x62, 0x06, 0x70, 0x72, 335 0x6f, 0x74, 0x6f, 0x33, 336 } 337 338 var ( 339 file_envoy_extensions_transport_sockets_tls_v3_secret_proto_rawDescOnce sync.Once 340 file_envoy_extensions_transport_sockets_tls_v3_secret_proto_rawDescData = file_envoy_extensions_transport_sockets_tls_v3_secret_proto_rawDesc 341 ) 342 343 func file_envoy_extensions_transport_sockets_tls_v3_secret_proto_rawDescGZIP() []byte { 344 file_envoy_extensions_transport_sockets_tls_v3_secret_proto_rawDescOnce.Do(func() { 345 file_envoy_extensions_transport_sockets_tls_v3_secret_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_extensions_transport_sockets_tls_v3_secret_proto_rawDescData) 346 }) 347 return file_envoy_extensions_transport_sockets_tls_v3_secret_proto_rawDescData 348 } 349 350 var file_envoy_extensions_transport_sockets_tls_v3_secret_proto_msgTypes = make([]protoimpl.MessageInfo, 3) 351 var file_envoy_extensions_transport_sockets_tls_v3_secret_proto_goTypes = []interface{}{ 352 (*GenericSecret)(nil), // 0: envoy.extensions.transport_sockets.tls.v3.GenericSecret 353 (*SdsSecretConfig)(nil), // 1: envoy.extensions.transport_sockets.tls.v3.SdsSecretConfig 354 (*Secret)(nil), // 2: envoy.extensions.transport_sockets.tls.v3.Secret 355 (*v3.DataSource)(nil), // 3: envoy.config.core.v3.DataSource 356 (*v3.ConfigSource)(nil), // 4: envoy.config.core.v3.ConfigSource 357 (*TlsCertificate)(nil), // 5: envoy.extensions.transport_sockets.tls.v3.TlsCertificate 358 (*TlsSessionTicketKeys)(nil), // 6: envoy.extensions.transport_sockets.tls.v3.TlsSessionTicketKeys 359 (*CertificateValidationContext)(nil), // 7: envoy.extensions.transport_sockets.tls.v3.CertificateValidationContext 360 } 361 var file_envoy_extensions_transport_sockets_tls_v3_secret_proto_depIdxs = []int32{ 362 3, // 0: envoy.extensions.transport_sockets.tls.v3.GenericSecret.secret:type_name -> envoy.config.core.v3.DataSource 363 4, // 1: envoy.extensions.transport_sockets.tls.v3.SdsSecretConfig.sds_config:type_name -> envoy.config.core.v3.ConfigSource 364 5, // 2: envoy.extensions.transport_sockets.tls.v3.Secret.tls_certificate:type_name -> envoy.extensions.transport_sockets.tls.v3.TlsCertificate 365 6, // 3: envoy.extensions.transport_sockets.tls.v3.Secret.session_ticket_keys:type_name -> envoy.extensions.transport_sockets.tls.v3.TlsSessionTicketKeys 366 7, // 4: envoy.extensions.transport_sockets.tls.v3.Secret.validation_context:type_name -> envoy.extensions.transport_sockets.tls.v3.CertificateValidationContext 367 0, // 5: envoy.extensions.transport_sockets.tls.v3.Secret.generic_secret:type_name -> envoy.extensions.transport_sockets.tls.v3.GenericSecret 368 6, // [6:6] is the sub-list for method output_type 369 6, // [6:6] is the sub-list for method input_type 370 6, // [6:6] is the sub-list for extension type_name 371 6, // [6:6] is the sub-list for extension extendee 372 0, // [0:6] is the sub-list for field type_name 373 } 374 375 func init() { file_envoy_extensions_transport_sockets_tls_v3_secret_proto_init() } 376 func file_envoy_extensions_transport_sockets_tls_v3_secret_proto_init() { 377 if File_envoy_extensions_transport_sockets_tls_v3_secret_proto != nil { 378 return 379 } 380 file_envoy_extensions_transport_sockets_tls_v3_common_proto_init() 381 if !protoimpl.UnsafeEnabled { 382 file_envoy_extensions_transport_sockets_tls_v3_secret_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 383 switch v := v.(*GenericSecret); i { 384 case 0: 385 return &v.state 386 case 1: 387 return &v.sizeCache 388 case 2: 389 return &v.unknownFields 390 default: 391 return nil 392 } 393 } 394 file_envoy_extensions_transport_sockets_tls_v3_secret_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 395 switch v := v.(*SdsSecretConfig); i { 396 case 0: 397 return &v.state 398 case 1: 399 return &v.sizeCache 400 case 2: 401 return &v.unknownFields 402 default: 403 return nil 404 } 405 } 406 file_envoy_extensions_transport_sockets_tls_v3_secret_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 407 switch v := v.(*Secret); i { 408 case 0: 409 return &v.state 410 case 1: 411 return &v.sizeCache 412 case 2: 413 return &v.unknownFields 414 default: 415 return nil 416 } 417 } 418 } 419 file_envoy_extensions_transport_sockets_tls_v3_secret_proto_msgTypes[2].OneofWrappers = []interface{}{ 420 (*Secret_TlsCertificate)(nil), 421 (*Secret_SessionTicketKeys)(nil), 422 (*Secret_ValidationContext)(nil), 423 (*Secret_GenericSecret)(nil), 424 } 425 type x struct{} 426 out := protoimpl.TypeBuilder{ 427 File: protoimpl.DescBuilder{ 428 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 429 RawDescriptor: file_envoy_extensions_transport_sockets_tls_v3_secret_proto_rawDesc, 430 NumEnums: 0, 431 NumMessages: 3, 432 NumExtensions: 0, 433 NumServices: 0, 434 }, 435 GoTypes: file_envoy_extensions_transport_sockets_tls_v3_secret_proto_goTypes, 436 DependencyIndexes: file_envoy_extensions_transport_sockets_tls_v3_secret_proto_depIdxs, 437 MessageInfos: file_envoy_extensions_transport_sockets_tls_v3_secret_proto_msgTypes, 438 }.Build() 439 File_envoy_extensions_transport_sockets_tls_v3_secret_proto = out.File 440 file_envoy_extensions_transport_sockets_tls_v3_secret_proto_rawDesc = nil 441 file_envoy_extensions_transport_sockets_tls_v3_secret_proto_goTypes = nil 442 file_envoy_extensions_transport_sockets_tls_v3_secret_proto_depIdxs = nil 443 }