Debian Codegraph @

go/xds/core/v3/extension.pb.go

raw symbols SCIP
1 // Code generated by protoc-gen-go. DO NOT EDIT.
2 // versions:
3 // protoc-gen-go v1.36.10
4 // protoc v5.29.3
5 // source: xds/core/v3/extension.proto
6
7 package v3
8
9 import (
10 _ "github.com/envoyproxy/protoc-gen-validate/validate"
11 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
12 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
13 anypb "google.golang.org/protobuf/types/known/anypb"
14 reflect "reflect"
15 sync "sync"
16 unsafe "unsafe"
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 type TypedExtensionConfig struct {
27 state protoimpl.MessageState `protogen:"open.v1"`
28 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
29 TypedConfig *anypb.Any `protobuf:"bytes,2,opt,name=typed_config,json=typedConfig,proto3" json:"typed_config,omitempty"`
30 unknownFields protoimpl.UnknownFields
31 sizeCache protoimpl.SizeCache
32 }
33
34 func (x *TypedExtensionConfig) Reset() {
35 *x = TypedExtensionConfig{}
36 mi := &file_xds_core_v3_extension_proto_msgTypes[0]
37 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
38 ms.StoreMessageInfo(mi)
39 }
40
41 func (x *TypedExtensionConfig) String() string {
42 return protoimpl.X.MessageStringOf(x)
43 }
44
45 func (*TypedExtensionConfig) ProtoMessage() {}
46
47 func (x *TypedExtensionConfig) ProtoReflect() protoreflect.Message {
48 mi := &file_xds_core_v3_extension_proto_msgTypes[0]
49 if x != nil {
50 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
51 if ms.LoadMessageInfo() == nil {
52 ms.StoreMessageInfo(mi)
53 }
54 return ms
55 }
56 return mi.MessageOf(x)
57 }
58
59 // Deprecated: Use TypedExtensionConfig.ProtoReflect.Descriptor instead.
60 func (*TypedExtensionConfig) Descriptor() ([]byte, []int) {
61 return file_xds_core_v3_extension_proto_rawDescGZIP(), []int{0}
62 }
63
64 func (x *TypedExtensionConfig) GetName() string {
65 if x != nil {
66 return x.Name
67 }
68 return ""
69 }
70
71 func (x *TypedExtensionConfig) GetTypedConfig() *anypb.Any {
72 if x != nil {
73 return x.TypedConfig
74 }
75 return nil
76 }
77
78 var File_xds_core_v3_extension_proto protoreflect.FileDescriptor
79
80 const file_xds_core_v3_extension_proto_rawDesc = "" +
81 "\n" +
82 "\x1bxds/core/v3/extension.proto\x12\vxds.core.v3\x1a\x17validate/validate.proto\x1a\x19google/protobuf/any.proto\"v\n" +
83 "\x14TypedExtensionConfig\x12\x1b\n" +
84 "\x04name\x18\x01 \x01(\tB\a\xfaB\x04r\x02\x10\x01R\x04name\x12A\n" +
85 "\ftyped_config\x18\x02 \x01(\v2\x14.google.protobuf.AnyB\b\xfaB\x05\xa2\x01\x02\b\x01R\vtypedConfigBN\n" +
86 "\x16com.github.xds.core.v3B\x0eExtensionProtoP\x01Z\"github.com/cncf/xds/go/xds/core/v3b\x06proto3"
87
88 var (
89 file_xds_core_v3_extension_proto_rawDescOnce sync.Once
90 file_xds_core_v3_extension_proto_rawDescData []byte
91 )
92
93 func file_xds_core_v3_extension_proto_rawDescGZIP() []byte {
94 file_xds_core_v3_extension_proto_rawDescOnce.Do(func() {
95 file_xds_core_v3_extension_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_xds_core_v3_extension_proto_rawDesc), len(file_xds_core_v3_extension_proto_rawDesc)))
96 })
97 return file_xds_core_v3_extension_proto_rawDescData
98 }
99
100 var file_xds_core_v3_extension_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
101 var file_xds_core_v3_extension_proto_goTypes = []any{
102 (*TypedExtensionConfig)(nil), // 0: xds.core.v3.TypedExtensionConfig
103 (*anypb.Any)(nil), // 1: google.protobuf.Any
104 }
105 var file_xds_core_v3_extension_proto_depIdxs = []int32{
106 1, // 0: xds.core.v3.TypedExtensionConfig.typed_config:type_name -> google.protobuf.Any
107 1, // [1:1] is the sub-list for method output_type
108 1, // [1:1] is the sub-list for method input_type
109 1, // [1:1] is the sub-list for extension type_name
110 1, // [1:1] is the sub-list for extension extendee
111 0, // [0:1] is the sub-list for field type_name
112 }
113
114 func init() { file_xds_core_v3_extension_proto_init() }
115 func file_xds_core_v3_extension_proto_init() {
116 if File_xds_core_v3_extension_proto != nil {
117 return
118 }
119 type x struct{}
120 out := protoimpl.TypeBuilder{
121 File: protoimpl.DescBuilder{
122 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
123 RawDescriptor: unsafe.Slice(unsafe.StringData(file_xds_core_v3_extension_proto_rawDesc), len(file_xds_core_v3_extension_proto_rawDesc)),
124 NumEnums: 0,
125 NumMessages: 1,
126 NumExtensions: 0,
127 NumServices: 0,
128 },
129 GoTypes: file_xds_core_v3_extension_proto_goTypes,
130 DependencyIndexes: file_xds_core_v3_extension_proto_depIdxs,
131 MessageInfos: file_xds_core_v3_extension_proto_msgTypes,
132 }.Build()
133 File_xds_core_v3_extension_proto = out.File
134 file_xds_core_v3_extension_proto_goTypes = nil
135 file_xds_core_v3_extension_proto_depIdxs = nil
136 }