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