| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
package v3 |
| 8 |
|
| 9 |
import ( |
| 10 |
_ "github.com/cncf/xds/go/xds/annotations/v3" |
| 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 |
unsafe "unsafe" |
| 17 |
) |
| 18 |
|
| 19 |
const ( |
| 20 |
|
| 21 |
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) |
| 22 |
|
| 23 |
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) |
| 24 |
) |
| 25 |
|
| 26 |
type Authority struct { |
| 27 |
state protoimpl.MessageState `protogen:"open.v1"` |
| 28 |
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` |
| 29 |
unknownFields protoimpl.UnknownFields |
| 30 |
sizeCache protoimpl.SizeCache |
| 31 |
} |
| 32 |
|
| 33 |
func (x *Authority) Reset() { |
| 34 |
*x = Authority{} |
| 35 |
mi := &file_xds_core_v3_authority_proto_msgTypes[0] |
| 36 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 37 |
ms.StoreMessageInfo(mi) |
| 38 |
} |
| 39 |
|
| 40 |
func (x *Authority) String() string { |
| 41 |
return protoimpl.X.MessageStringOf(x) |
| 42 |
} |
| 43 |
|
| 44 |
func (*Authority) ProtoMessage() {} |
| 45 |
|
| 46 |
func (x *Authority) ProtoReflect() protoreflect.Message { |
| 47 |
mi := &file_xds_core_v3_authority_proto_msgTypes[0] |
| 48 |
if x != nil { |
| 49 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 50 |
if ms.LoadMessageInfo() == nil { |
| 51 |
ms.StoreMessageInfo(mi) |
| 52 |
} |
| 53 |
return ms |
| 54 |
} |
| 55 |
return mi.MessageOf(x) |
| 56 |
} |
| 57 |
|
| 58 |
|
| 59 |
func (*Authority) Descriptor() ([]byte, []int) { |
| 60 |
return file_xds_core_v3_authority_proto_rawDescGZIP(), []int{0} |
| 61 |
} |
| 62 |
|
| 63 |
func (x *Authority) GetName() string { |
| 64 |
if x != nil { |
| 65 |
return x.Name |
| 66 |
} |
| 67 |
return "" |
| 68 |
} |
| 69 |
|
| 70 |
var File_xds_core_v3_authority_proto protoreflect.FileDescriptor |
| 71 |
|
| 72 |
const file_xds_core_v3_authority_proto_rawDesc = "" + |
| 73 |
"\n" + |
| 74 |
"\x1bxds/core/v3/authority.proto\x12\vxds.core.v3\x1a\x1fxds/annotations/v3/status.proto\x1a\x17validate/validate.proto\"(\n" + |
| 75 |
"\tAuthority\x12\x1b\n" + |
| 76 |
"\x04name\x18\x01 \x01(\tB\a\xfaB\x04r\x02\x10\x01R\x04nameBV\xd2Ƥ\xe1\x06\x02\b\x01\n" + |
| 77 |
"\x16com.github.xds.core.v3B\x0eAuthorityProtoP\x01Z\"github.com/cncf/xds/go/xds/core/v3b\x06proto3" |
| 78 |
|
| 79 |
var ( |
| 80 |
file_xds_core_v3_authority_proto_rawDescOnce sync.Once |
| 81 |
file_xds_core_v3_authority_proto_rawDescData []byte |
| 82 |
) |
| 83 |
|
| 84 |
func file_xds_core_v3_authority_proto_rawDescGZIP() []byte { |
| 85 |
file_xds_core_v3_authority_proto_rawDescOnce.Do(func() { |
| 86 |
file_xds_core_v3_authority_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_xds_core_v3_authority_proto_rawDesc), len(file_xds_core_v3_authority_proto_rawDesc))) |
| 87 |
}) |
| 88 |
return file_xds_core_v3_authority_proto_rawDescData |
| 89 |
} |
| 90 |
|
| 91 |
var file_xds_core_v3_authority_proto_msgTypes = make([]protoimpl.MessageInfo, 1) |
| 92 |
var file_xds_core_v3_authority_proto_goTypes = []any{ |
| 93 |
(*Authority)(nil), |
| 94 |
} |
| 95 |
var file_xds_core_v3_authority_proto_depIdxs = []int32{ |
| 96 |
0, |
| 97 |
0, |
| 98 |
0, |
| 99 |
0, |
| 100 |
0, |
| 101 |
} |
| 102 |
|
| 103 |
func init() { file_xds_core_v3_authority_proto_init() } |
| 104 |
func file_xds_core_v3_authority_proto_init() { |
| 105 |
if File_xds_core_v3_authority_proto != nil { |
| 106 |
return |
| 107 |
} |
| 108 |
type x struct{} |
| 109 |
out := protoimpl.TypeBuilder{ |
| 110 |
File: protoimpl.DescBuilder{ |
| 111 |
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| 112 |
RawDescriptor: unsafe.Slice(unsafe.StringData(file_xds_core_v3_authority_proto_rawDesc), len(file_xds_core_v3_authority_proto_rawDesc)), |
| 113 |
NumEnums: 0, |
| 114 |
NumMessages: 1, |
| 115 |
NumExtensions: 0, |
| 116 |
NumServices: 0, |
| 117 |
}, |
| 118 |
GoTypes: file_xds_core_v3_authority_proto_goTypes, |
| 119 |
DependencyIndexes: file_xds_core_v3_authority_proto_depIdxs, |
| 120 |
MessageInfos: file_xds_core_v3_authority_proto_msgTypes, |
| 121 |
}.Build() |
| 122 |
File_xds_core_v3_authority_proto = out.File |
| 123 |
file_xds_core_v3_authority_proto_goTypes = nil |
| 124 |
file_xds_core_v3_authority_proto_depIdxs = nil |
| 125 |
} |