Debian Codegraph @

envoy/config/core/v3/extension.pb.go

raw
1 // Code generated by protoc-gen-go. DO NOT EDIT.
2 // versions:
3 // protoc-gen-go v1.30.0
4 // protoc v5.29.1
5 // source: envoy/config/core/v3/extension.proto
6
7 package corev3
8
9 import (
10 _ "github.com/cncf/xds/go/udpa/annotations"
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 anypb "google.golang.org/protobuf/types/known/anypb"
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 // Message type for extension configuration.
27 // [#next-major-version: revisit all existing typed_config that doesn't use this wrapper.].
28 type TypedExtensionConfig struct {
29 state protoimpl.MessageState
30 sizeCache protoimpl.SizeCache
31 unknownFields protoimpl.UnknownFields
32
33 // The name of an extension. This is not used to select the extension, instead
34 // it serves the role of an opaque identifier.
35 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
36 // The typed config for the extension. The type URL will be used to identify
37 // the extension. In the case that the type URL is “xds.type.v3.TypedStruct“
38 // (or, for historical reasons, “udpa.type.v1.TypedStruct“), the inner type
39 // URL of “TypedStruct“ will be utilized. See the
40 // :ref:`extension configuration overview
41 // <config_overview_extension_configuration>` for further details.
42 TypedConfig *anypb.Any `protobuf:"bytes,2,opt,name=typed_config,json=typedConfig,proto3" json:"typed_config,omitempty"`
43 }
44
45 func (x *TypedExtensionConfig) Reset() {
46 *x = TypedExtensionConfig{}
47 if protoimpl.UnsafeEnabled {
48 mi := &file_envoy_config_core_v3_extension_proto_msgTypes[0]
49 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
50 ms.StoreMessageInfo(mi)
51 }
52 }
53
54 func (x *TypedExtensionConfig) String() string {
55 return protoimpl.X.MessageStringOf(x)
56 }
57
58 func (*TypedExtensionConfig) ProtoMessage() {}
59
60 func (x *TypedExtensionConfig) ProtoReflect() protoreflect.Message {
61 mi := &file_envoy_config_core_v3_extension_proto_msgTypes[0]
62 if protoimpl.UnsafeEnabled && x != nil {
63 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
64 if ms.LoadMessageInfo() == nil {
65 ms.StoreMessageInfo(mi)
66 }
67 return ms
68 }
69 return mi.MessageOf(x)
70 }
71
72 // Deprecated: Use TypedExtensionConfig.ProtoReflect.Descriptor instead.
73 func (*TypedExtensionConfig) Descriptor() ([]byte, []int) {
74 return file_envoy_config_core_v3_extension_proto_rawDescGZIP(), []int{0}
75 }
76
77 func (x *TypedExtensionConfig) GetName() string {
78 if x != nil {
79 return x.Name
80 }
81 return ""
82 }
83
84 func (x *TypedExtensionConfig) GetTypedConfig() *anypb.Any {
85 if x != nil {
86 return x.TypedConfig
87 }
88 return nil
89 }
90
91 var File_envoy_config_core_v3_extension_proto protoreflect.FileDescriptor
92
93 var file_envoy_config_core_v3_extension_proto_rawDesc = []byte{
94 0x0a, 0x24, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x63,
95 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x33, 0x2f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e,
96 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x14, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f,
97 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x33, 0x1a, 0x19, 0x67, 0x6f,
98 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6e,
99 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e,
100 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73,
101 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65,
102 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22,
103 0x76, 0x0a, 0x14, 0x54, 0x79, 0x70, 0x65, 0x64, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f,
104 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x1b, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18,
105 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x07, 0xfa, 0x42, 0x04, 0x72, 0x02, 0x10, 0x01, 0x52, 0x04,
106 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x41, 0x0a, 0x0c, 0x74, 0x79, 0x70, 0x65, 0x64, 0x5f, 0x63, 0x6f,
107 0x6e, 0x66, 0x69, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x6f, 0x6f,
108 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x41, 0x6e, 0x79,
109 0x42, 0x08, 0xfa, 0x42, 0x05, 0xa2, 0x01, 0x02, 0x08, 0x01, 0x52, 0x0b, 0x74, 0x79, 0x70, 0x65,
110 0x64, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x42, 0x82, 0x01, 0xba, 0x80, 0xc8, 0xd1, 0x06, 0x02,
111 0x10, 0x02, 0x0a, 0x22, 0x69, 0x6f, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78,
112 0x79, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x63,
113 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x33, 0x42, 0x0e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f,
114 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x42, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62,
115 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f,
116 0x67, 0x6f, 0x2d, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2d, 0x70, 0x6c, 0x61, 0x6e, 0x65,
117 0x2f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x63, 0x6f,
118 0x72, 0x65, 0x2f, 0x76, 0x33, 0x3b, 0x63, 0x6f, 0x72, 0x65, 0x76, 0x33, 0x62, 0x06, 0x70, 0x72,
119 0x6f, 0x74, 0x6f, 0x33,
120 }
121
122 var (
123 file_envoy_config_core_v3_extension_proto_rawDescOnce sync.Once
124 file_envoy_config_core_v3_extension_proto_rawDescData = file_envoy_config_core_v3_extension_proto_rawDesc
125 )
126
127 func file_envoy_config_core_v3_extension_proto_rawDescGZIP() []byte {
128 file_envoy_config_core_v3_extension_proto_rawDescOnce.Do(func() {
129 file_envoy_config_core_v3_extension_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_config_core_v3_extension_proto_rawDescData)
130 })
131 return file_envoy_config_core_v3_extension_proto_rawDescData
132 }
133
134 var file_envoy_config_core_v3_extension_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
135 var file_envoy_config_core_v3_extension_proto_goTypes = []interface{}{
136 (*TypedExtensionConfig)(nil), // 0: envoy.config.core.v3.TypedExtensionConfig
137 (*anypb.Any)(nil), // 1: google.protobuf.Any
138 }
139 var file_envoy_config_core_v3_extension_proto_depIdxs = []int32{
140 1, // 0: envoy.config.core.v3.TypedExtensionConfig.typed_config:type_name -> google.protobuf.Any
141 1, // [1:1] is the sub-list for method output_type
142 1, // [1:1] is the sub-list for method input_type
143 1, // [1:1] is the sub-list for extension type_name
144 1, // [1:1] is the sub-list for extension extendee
145 0, // [0:1] is the sub-list for field type_name
146 }
147
148 func init() { file_envoy_config_core_v3_extension_proto_init() }
149 func file_envoy_config_core_v3_extension_proto_init() {
150 if File_envoy_config_core_v3_extension_proto != nil {
151 return
152 }
153 if !protoimpl.UnsafeEnabled {
154 file_envoy_config_core_v3_extension_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
155 switch v := v.(*TypedExtensionConfig); i {
156 case 0:
157 return &v.state
158 case 1:
159 return &v.sizeCache
160 case 2:
161 return &v.unknownFields
162 default:
163 return nil
164 }
165 }
166 }
167 type x struct{}
168 out := protoimpl.TypeBuilder{
169 File: protoimpl.DescBuilder{
170 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
171 RawDescriptor: file_envoy_config_core_v3_extension_proto_rawDesc,
172 NumEnums: 0,
173 NumMessages: 1,
174 NumExtensions: 0,
175 NumServices: 0,
176 },
177 GoTypes: file_envoy_config_core_v3_extension_proto_goTypes,
178 DependencyIndexes: file_envoy_config_core_v3_extension_proto_depIdxs,
179 MessageInfos: file_envoy_config_core_v3_extension_proto_msgTypes,
180 }.Build()
181 File_envoy_config_core_v3_extension_proto = out.File
182 file_envoy_config_core_v3_extension_proto_rawDesc = nil
183 file_envoy_config_core_v3_extension_proto_goTypes = nil
184 file_envoy_config_core_v3_extension_proto_depIdxs = nil
185 }