1// Code generated by protoc-gen-go. DO NOT EDIT. 2// versions: 3// protoc-gen-go v1.25.0 4// protoc v3.14.0 5// source: envoy/admin/v2alpha/certs.proto 6 7package envoy_admin_v2alpha 8 9import ( 10 _ "github.com/cncf/xds/go/udpa/annotations" 11 proto "github.com/golang/protobuf/proto" 12 timestamp "github.com/golang/protobuf/ptypes/timestamp" 13 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 14 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 15 reflect "reflect" 16 sync "sync" 17) 18 19const ( 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. 28const _ = proto.ProtoPackageIsVersion4 29 30// Proto representation of certificate details. Admin endpoint uses this wrapper for `/certs` to 31// display certificate information. See :ref:`/certs <operations_admin_interface_certs>` for more 32// information. 33type Certificates struct { 34 state protoimpl.MessageState 35 sizeCache protoimpl.SizeCache 36 unknownFields protoimpl.UnknownFields 37 38 // List of certificates known to an Envoy. 39 Certificates []*Certificate `protobuf:"bytes,1,rep,name=certificates,proto3" json:"certificates,omitempty"` 40} 41 42func (x *Certificates) Reset() { 43 *x = Certificates{} 44 if protoimpl.UnsafeEnabled { 45 mi := &file_envoy_admin_v2alpha_certs_proto_msgTypes[0] 46 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 47 ms.StoreMessageInfo(mi) 48 } 49} 50 51func (x *Certificates) String() string { 52 return protoimpl.X.MessageStringOf(x) 53} 54 55func (*Certificates) ProtoMessage() {} 56 57func (x *Certificates) ProtoReflect() protoreflect.Message { 58 mi := &file_envoy_admin_v2alpha_certs_proto_msgTypes[0] 59 if protoimpl.UnsafeEnabled && x != nil { 60 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 61 if ms.LoadMessageInfo() == nil { 62 ms.StoreMessageInfo(mi) 63 } 64 return ms 65 } 66 return mi.MessageOf(x) 67} 68 69// Deprecated: Use Certificates.ProtoReflect.Descriptor instead. 70func (*Certificates) Descriptor() ([]byte, []int) { 71 return file_envoy_admin_v2alpha_certs_proto_rawDescGZIP(), []int{0} 72} 73 74func (x *Certificates) GetCertificates() []*Certificate { 75 if x != nil { 76 return x.Certificates 77 } 78 return nil 79} 80 81type Certificate struct { 82 state protoimpl.MessageState 83 sizeCache protoimpl.SizeCache 84 unknownFields protoimpl.UnknownFields 85 86 // Details of CA certificate. 87 CaCert []*CertificateDetails `protobuf:"bytes,1,rep,name=ca_cert,json=caCert,proto3" json:"ca_cert,omitempty"` 88 // Details of Certificate Chain 89 CertChain []*CertificateDetails `protobuf:"bytes,2,rep,name=cert_chain,json=certChain,proto3" json:"cert_chain,omitempty"` 90} 91 92func (x *Certificate) Reset() { 93 *x = Certificate{} 94 if protoimpl.UnsafeEnabled { 95 mi := &file_envoy_admin_v2alpha_certs_proto_msgTypes[1] 96 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 97 ms.StoreMessageInfo(mi) 98 } 99} 100 101func (x *Certificate) String() string { 102 return protoimpl.X.MessageStringOf(x) 103} 104 105func (*Certificate) ProtoMessage() {} 106 107func (x *Certificate) ProtoReflect() protoreflect.Message { 108 mi := &file_envoy_admin_v2alpha_certs_proto_msgTypes[1] 109 if protoimpl.UnsafeEnabled && x != nil { 110 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 111 if ms.LoadMessageInfo() == nil { 112 ms.StoreMessageInfo(mi) 113 } 114 return ms 115 } 116 return mi.MessageOf(x) 117} 118 119// Deprecated: Use Certificate.ProtoReflect.Descriptor instead. 120func (*Certificate) Descriptor() ([]byte, []int) { 121 return file_envoy_admin_v2alpha_certs_proto_rawDescGZIP(), []int{1} 122} 123 124func (x *Certificate) GetCaCert() []*CertificateDetails { 125 if x != nil { 126 return x.CaCert 127 } 128 return nil 129} 130 131func (x *Certificate) GetCertChain() []*CertificateDetails { 132 if x != nil { 133 return x.CertChain 134 } 135 return nil 136} 137 138// [#next-free-field: 7] 139type CertificateDetails struct { 140 state protoimpl.MessageState 141 sizeCache protoimpl.SizeCache 142 unknownFields protoimpl.UnknownFields 143 144 // Path of the certificate. 145 Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` 146 // Certificate Serial Number. 147 SerialNumber string `protobuf:"bytes,2,opt,name=serial_number,json=serialNumber,proto3" json:"serial_number,omitempty"` 148 // List of Subject Alternate names. 149 SubjectAltNames []*SubjectAlternateName `protobuf:"bytes,3,rep,name=subject_alt_names,json=subjectAltNames,proto3" json:"subject_alt_names,omitempty"` 150 // Minimum of days until expiration of certificate and it's chain. 151 DaysUntilExpiration uint64 `protobuf:"varint,4,opt,name=days_until_expiration,json=daysUntilExpiration,proto3" json:"days_until_expiration,omitempty"` 152 // Indicates the time from which the certificate is valid. 153 ValidFrom *timestamp.Timestamp `protobuf:"bytes,5,opt,name=valid_from,json=validFrom,proto3" json:"valid_from,omitempty"` 154 // Indicates the time at which the certificate expires. 155 ExpirationTime *timestamp.Timestamp `protobuf:"bytes,6,opt,name=expiration_time,json=expirationTime,proto3" json:"expiration_time,omitempty"` 156} 157 158func (x *CertificateDetails) Reset() { 159 *x = CertificateDetails{} 160 if protoimpl.UnsafeEnabled { 161 mi := &file_envoy_admin_v2alpha_certs_proto_msgTypes[2] 162 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 163 ms.StoreMessageInfo(mi) 164 } 165} 166 167func (x *CertificateDetails) String() string { 168 return protoimpl.X.MessageStringOf(x) 169} 170 171func (*CertificateDetails) ProtoMessage() {} 172 173func (x *CertificateDetails) ProtoReflect() protoreflect.Message { 174 mi := &file_envoy_admin_v2alpha_certs_proto_msgTypes[2] 175 if protoimpl.UnsafeEnabled && x != nil { 176 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 177 if ms.LoadMessageInfo() == nil { 178 ms.StoreMessageInfo(mi) 179 } 180 return ms 181 } 182 return mi.MessageOf(x) 183} 184 185// Deprecated: Use CertificateDetails.ProtoReflect.Descriptor instead. 186func (*CertificateDetails) Descriptor() ([]byte, []int) { 187 return file_envoy_admin_v2alpha_certs_proto_rawDescGZIP(), []int{2} 188} 189 190func (x *CertificateDetails) GetPath() string { 191 if x != nil { 192 return x.Path 193 } 194 return "" 195} 196 197func (x *CertificateDetails) GetSerialNumber() string { 198 if x != nil { 199 return x.SerialNumber 200 } 201 return "" 202} 203 204func (x *CertificateDetails) GetSubjectAltNames() []*SubjectAlternateName { 205 if x != nil { 206 return x.SubjectAltNames 207 } 208 return nil 209} 210 211func (x *CertificateDetails) GetDaysUntilExpiration() uint64 { 212 if x != nil { 213 return x.DaysUntilExpiration 214 } 215 return 0 216} 217 218func (x *CertificateDetails) GetValidFrom() *timestamp.Timestamp { 219 if x != nil { 220 return x.ValidFrom 221 } 222 return nil 223} 224 225func (x *CertificateDetails) GetExpirationTime() *timestamp.Timestamp { 226 if x != nil { 227 return x.ExpirationTime 228 } 229 return nil 230} 231 232type SubjectAlternateName struct { 233 state protoimpl.MessageState 234 sizeCache protoimpl.SizeCache 235 unknownFields protoimpl.UnknownFields 236 237 // Subject Alternate Name. 238 // 239 // Types that are assignable to Name: 240 // *SubjectAlternateName_Dns 241 // *SubjectAlternateName_Uri 242 // *SubjectAlternateName_IpAddress 243 Name isSubjectAlternateName_Name `protobuf_oneof:"name"` 244} 245 246func (x *SubjectAlternateName) Reset() { 247 *x = SubjectAlternateName{} 248 if protoimpl.UnsafeEnabled { 249 mi := &file_envoy_admin_v2alpha_certs_proto_msgTypes[3] 250 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 251 ms.StoreMessageInfo(mi) 252 } 253} 254 255func (x *SubjectAlternateName) String() string { 256 return protoimpl.X.MessageStringOf(x) 257} 258 259func (*SubjectAlternateName) ProtoMessage() {} 260 261func (x *SubjectAlternateName) ProtoReflect() protoreflect.Message { 262 mi := &file_envoy_admin_v2alpha_certs_proto_msgTypes[3] 263 if protoimpl.UnsafeEnabled && x != nil { 264 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 265 if ms.LoadMessageInfo() == nil { 266 ms.StoreMessageInfo(mi) 267 } 268 return ms 269 } 270 return mi.MessageOf(x) 271} 272 273// Deprecated: Use SubjectAlternateName.ProtoReflect.Descriptor instead. 274func (*SubjectAlternateName) Descriptor() ([]byte, []int) { 275 return file_envoy_admin_v2alpha_certs_proto_rawDescGZIP(), []int{3} 276} 277 278func (m *SubjectAlternateName) GetName() isSubjectAlternateName_Name { 279 if m != nil { 280 return m.Name 281 } 282 return nil 283} 284 285func (x *SubjectAlternateName) GetDns() string { 286 if x, ok := x.GetName().(*SubjectAlternateName_Dns); ok { 287 return x.Dns 288 } 289 return "" 290} 291 292func (x *SubjectAlternateName) GetUri() string { 293 if x, ok := x.GetName().(*SubjectAlternateName_Uri); ok { 294 return x.Uri 295 } 296 return "" 297} 298 299func (x *SubjectAlternateName) GetIpAddress() string { 300 if x, ok := x.GetName().(*SubjectAlternateName_IpAddress); ok { 301 return x.IpAddress 302 } 303 return "" 304} 305 306type isSubjectAlternateName_Name interface { 307 isSubjectAlternateName_Name() 308} 309 310type SubjectAlternateName_Dns struct { 311 Dns string `protobuf:"bytes,1,opt,name=dns,proto3,oneof"` 312} 313 314type SubjectAlternateName_Uri struct { 315 Uri string `protobuf:"bytes,2,opt,name=uri,proto3,oneof"` 316} 317 318type SubjectAlternateName_IpAddress struct { 319 IpAddress string `protobuf:"bytes,3,opt,name=ip_address,json=ipAddress,proto3,oneof"` 320} 321 322func (*SubjectAlternateName_Dns) isSubjectAlternateName_Name() {} 323 324func (*SubjectAlternateName_Uri) isSubjectAlternateName_Name() {} 325 326func (*SubjectAlternateName_IpAddress) isSubjectAlternateName_Name() {} 327 328var File_envoy_admin_v2alpha_certs_proto protoreflect.FileDescriptor 329 330var file_envoy_admin_v2alpha_certs_proto_rawDesc = []byte{ 331 0x0a, 0x1f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2f, 0x76, 0x32, 332 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x63, 0x65, 0x72, 0x74, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 333 0x6f, 0x12, 0x13, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 334 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 335 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 336 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 337 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 338 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x54, 0x0a, 0x0c, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 339 0x69, 0x63, 0x61, 0x74, 0x65, 0x73, 0x12, 0x44, 0x0a, 0x0c, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 340 0x69, 0x63, 0x61, 0x74, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x65, 341 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 342 0x68, 0x61, 0x2e, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x52, 0x0c, 343 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x73, 0x22, 0x97, 0x01, 0x0a, 344 0x0b, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x12, 0x40, 0x0a, 0x07, 345 0x63, 0x61, 0x5f, 0x63, 0x65, 0x72, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e, 346 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x32, 0x61, 0x6c, 347 0x70, 0x68, 0x61, 0x2e, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x44, 348 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x52, 0x06, 0x63, 0x61, 0x43, 0x65, 0x72, 0x74, 0x12, 0x46, 349 0x0a, 0x0a, 0x63, 0x65, 0x72, 0x74, 0x5f, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x18, 0x02, 0x20, 0x03, 350 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 351 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 352 0x63, 0x61, 0x74, 0x65, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x52, 0x09, 0x63, 0x65, 0x72, 353 0x74, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x22, 0xd8, 0x02, 0x0a, 0x12, 0x43, 0x65, 0x72, 0x74, 0x69, 354 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x12, 0x12, 0x0a, 355 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 356 0x68, 0x12, 0x23, 0x0a, 0x0d, 0x73, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 357 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x65, 0x72, 0x69, 0x61, 0x6c, 358 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x55, 0x0a, 0x11, 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, 359 0x74, 0x5f, 0x61, 0x6c, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 360 0x0b, 0x32, 0x29, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 361 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x53, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x41, 362 0x6c, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x74, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x0f, 0x73, 0x75, 363 0x62, 0x6a, 0x65, 0x63, 0x74, 0x41, 0x6c, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x12, 0x32, 0x0a, 364 0x15, 0x64, 0x61, 0x79, 0x73, 0x5f, 0x75, 0x6e, 0x74, 0x69, 0x6c, 0x5f, 0x65, 0x78, 0x70, 0x69, 365 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x13, 0x64, 0x61, 366 0x79, 0x73, 0x55, 0x6e, 0x74, 0x69, 0x6c, 0x45, 0x78, 0x70, 0x69, 0x72, 0x61, 0x74, 0x69, 0x6f, 367 0x6e, 0x12, 0x39, 0x0a, 0x0a, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x5f, 0x66, 0x72, 0x6f, 0x6d, 0x18, 368 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 369 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 370 0x70, 0x52, 0x09, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x46, 0x72, 0x6f, 0x6d, 0x12, 0x43, 0x0a, 0x0f, 371 0x65, 0x78, 0x70, 0x69, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 372 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 373 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 374 0x70, 0x52, 0x0e, 0x65, 0x78, 0x70, 0x69, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x69, 0x6d, 375 0x65, 0x22, 0x67, 0x0a, 0x14, 0x53, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x41, 0x6c, 0x74, 0x65, 376 0x72, 0x6e, 0x61, 0x74, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x03, 0x64, 0x6e, 0x73, 377 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x03, 0x64, 0x6e, 0x73, 0x12, 0x12, 0x0a, 378 0x03, 0x75, 0x72, 0x69, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x03, 0x75, 0x72, 379 0x69, 0x12, 0x1f, 0x0a, 0x0a, 0x69, 0x70, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 380 0x03, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x09, 0x69, 0x70, 0x41, 0x64, 0x64, 0x72, 0x65, 381 0x73, 0x73, 0x42, 0x06, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x42, 0x39, 0x0a, 0x21, 0x69, 0x6f, 382 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 383 0x79, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x42, 384 0x0a, 0x43, 0x65, 0x72, 0x74, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0xba, 0x80, 0xc8, 385 0xd1, 0x06, 0x02, 0x10, 0x01, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 386} 387 388var ( 389 file_envoy_admin_v2alpha_certs_proto_rawDescOnce sync.Once 390 file_envoy_admin_v2alpha_certs_proto_rawDescData = file_envoy_admin_v2alpha_certs_proto_rawDesc 391) 392 393func file_envoy_admin_v2alpha_certs_proto_rawDescGZIP() []byte { 394 file_envoy_admin_v2alpha_certs_proto_rawDescOnce.Do(func() { 395 file_envoy_admin_v2alpha_certs_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_admin_v2alpha_certs_proto_rawDescData) 396 }) 397 return file_envoy_admin_v2alpha_certs_proto_rawDescData 398} 399 400var file_envoy_admin_v2alpha_certs_proto_msgTypes = make([]protoimpl.MessageInfo, 4) 401var file_envoy_admin_v2alpha_certs_proto_goTypes = []interface{}{ 402 (*Certificates)(nil), // 0: envoy.admin.v2alpha.Certificates 403 (*Certificate)(nil), // 1: envoy.admin.v2alpha.Certificate 404 (*CertificateDetails)(nil), // 2: envoy.admin.v2alpha.CertificateDetails 405 (*SubjectAlternateName)(nil), // 3: envoy.admin.v2alpha.SubjectAlternateName 406 (*timestamp.Timestamp)(nil), // 4: google.protobuf.Timestamp 407} 408var file_envoy_admin_v2alpha_certs_proto_depIdxs = []int32{ 409 1, // 0: envoy.admin.v2alpha.Certificates.certificates:type_name -> envoy.admin.v2alpha.Certificate 410 2, // 1: envoy.admin.v2alpha.Certificate.ca_cert:type_name -> envoy.admin.v2alpha.CertificateDetails 411 2, // 2: envoy.admin.v2alpha.Certificate.cert_chain:type_name -> envoy.admin.v2alpha.CertificateDetails 412 3, // 3: envoy.admin.v2alpha.CertificateDetails.subject_alt_names:type_name -> envoy.admin.v2alpha.SubjectAlternateName 413 4, // 4: envoy.admin.v2alpha.CertificateDetails.valid_from:type_name -> google.protobuf.Timestamp 414 4, // 5: envoy.admin.v2alpha.CertificateDetails.expiration_time:type_name -> google.protobuf.Timestamp 415 6, // [6:6] is the sub-list for method output_type 416 6, // [6:6] is the sub-list for method input_type 417 6, // [6:6] is the sub-list for extension type_name 418 6, // [6:6] is the sub-list for extension extendee 419 0, // [0:6] is the sub-list for field type_name 420} 421 422func init() { file_envoy_admin_v2alpha_certs_proto_init() } 423func file_envoy_admin_v2alpha_certs_proto_init() { 424 if File_envoy_admin_v2alpha_certs_proto != nil { 425 return 426 } 427 if !protoimpl.UnsafeEnabled { 428 file_envoy_admin_v2alpha_certs_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 429 switch v := v.(*Certificates); i { 430 case 0: 431 return &v.state 432 case 1: 433 return &v.sizeCache 434 case 2: 435 return &v.unknownFields 436 default: 437 return nil 438 } 439 } 440 file_envoy_admin_v2alpha_certs_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 441 switch v := v.(*Certificate); i { 442 case 0: 443 return &v.state 444 case 1: 445 return &v.sizeCache 446 case 2: 447 return &v.unknownFields 448 default: 449 return nil 450 } 451 } 452 file_envoy_admin_v2alpha_certs_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 453 switch v := v.(*CertificateDetails); i { 454 case 0: 455 return &v.state 456 case 1: 457 return &v.sizeCache 458 case 2: 459 return &v.unknownFields 460 default: 461 return nil 462 } 463 } 464 file_envoy_admin_v2alpha_certs_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 465 switch v := v.(*SubjectAlternateName); i { 466 case 0: 467 return &v.state 468 case 1: 469 return &v.sizeCache 470 case 2: 471 return &v.unknownFields 472 default: 473 return nil 474 } 475 } 476 } 477 file_envoy_admin_v2alpha_certs_proto_msgTypes[3].OneofWrappers = []interface{}{ 478 (*SubjectAlternateName_Dns)(nil), 479 (*SubjectAlternateName_Uri)(nil), 480 (*SubjectAlternateName_IpAddress)(nil), 481 } 482 type x struct{} 483 out := protoimpl.TypeBuilder{ 484 File: protoimpl.DescBuilder{ 485 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 486 RawDescriptor: file_envoy_admin_v2alpha_certs_proto_rawDesc, 487 NumEnums: 0, 488 NumMessages: 4, 489 NumExtensions: 0, 490 NumServices: 0, 491 }, 492 GoTypes: file_envoy_admin_v2alpha_certs_proto_goTypes, 493 DependencyIndexes: file_envoy_admin_v2alpha_certs_proto_depIdxs, 494 MessageInfos: file_envoy_admin_v2alpha_certs_proto_msgTypes, 495 }.Build() 496 File_envoy_admin_v2alpha_certs_proto = out.File 497 file_envoy_admin_v2alpha_certs_proto_rawDesc = nil 498 file_envoy_admin_v2alpha_certs_proto_goTypes = nil 499 file_envoy_admin_v2alpha_certs_proto_depIdxs = nil 500} 501