Debian Codegraph @

envoy/config/core/v3/substitution_format_string.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/substitution_format_string.proto
6
7 package corev3
8
9 import (
10 _ "github.com/cncf/xds/go/udpa/annotations"
11 _ "github.com/envoyproxy/go-control-plane/envoy/annotations"
12 _ "github.com/envoyproxy/protoc-gen-validate/validate"
13 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
14 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
15 structpb "google.golang.org/protobuf/types/known/structpb"
16 reflect "reflect"
17 sync "sync"
18 )
19
20 const (
21 // Verify that this generated code is sufficiently up-to-date.
22 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
23 // Verify that runtime/protoimpl is sufficiently up-to-date.
24 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
25 )
26
27 // Optional configuration options to be used with json_format.
28 type JsonFormatOptions struct {
29 state protoimpl.MessageState
30 sizeCache protoimpl.SizeCache
31 unknownFields protoimpl.UnknownFields
32
33 // The output JSON string properties will be sorted.
34 SortProperties bool `protobuf:"varint,1,opt,name=sort_properties,json=sortProperties,proto3" json:"sort_properties,omitempty"`
35 }
36
37 func (x *JsonFormatOptions) Reset() {
38 *x = JsonFormatOptions{}
39 if protoimpl.UnsafeEnabled {
40 mi := &file_envoy_config_core_v3_substitution_format_string_proto_msgTypes[0]
41 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
42 ms.StoreMessageInfo(mi)
43 }
44 }
45
46 func (x *JsonFormatOptions) String() string {
47 return protoimpl.X.MessageStringOf(x)
48 }
49
50 func (*JsonFormatOptions) ProtoMessage() {}
51
52 func (x *JsonFormatOptions) ProtoReflect() protoreflect.Message {
53 mi := &file_envoy_config_core_v3_substitution_format_string_proto_msgTypes[0]
54 if protoimpl.UnsafeEnabled && x != nil {
55 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
56 if ms.LoadMessageInfo() == nil {
57 ms.StoreMessageInfo(mi)
58 }
59 return ms
60 }
61 return mi.MessageOf(x)
62 }
63
64 // Deprecated: Use JsonFormatOptions.ProtoReflect.Descriptor instead.
65 func (*JsonFormatOptions) Descriptor() ([]byte, []int) {
66 return file_envoy_config_core_v3_substitution_format_string_proto_rawDescGZIP(), []int{0}
67 }
68
69 func (x *JsonFormatOptions) GetSortProperties() bool {
70 if x != nil {
71 return x.SortProperties
72 }
73 return false
74 }
75
76 // Configuration to use multiple :ref:`command operators <config_access_log_command_operators>`
77 // to generate a new string in either plain text or JSON format.
78 // [#next-free-field: 8]
79 type SubstitutionFormatString struct {
80 state protoimpl.MessageState
81 sizeCache protoimpl.SizeCache
82 unknownFields protoimpl.UnknownFields
83
84 // Types that are assignable to Format:
85 //
86 // *SubstitutionFormatString_TextFormat
87 // *SubstitutionFormatString_JsonFormat
88 // *SubstitutionFormatString_TextFormatSource
89 Format isSubstitutionFormatString_Format `protobuf_oneof:"format"`
90 // If set to true, when command operators are evaluated to null,
91 //
92 // - for “text_format“, the output of the empty operator is changed from “-“ to an
93 // empty string, so that empty values are omitted entirely.
94 // - for “json_format“ the keys with null values are omitted in the output structure.
95 OmitEmptyValues bool `protobuf:"varint,3,opt,name=omit_empty_values,json=omitEmptyValues,proto3" json:"omit_empty_values,omitempty"`
96 // Specify a “content_type“ field.
97 // If this field is not set then “text/plain“ is used for “text_format“ and
98 // “application/json“ is used for “json_format“.
99 //
100 // .. validated-code-block:: yaml
101 //
102 // :type-name: envoy.config.core.v3.SubstitutionFormatString
103 //
104 // content_type: "text/html; charset=UTF-8"
105 ContentType string `protobuf:"bytes,4,opt,name=content_type,json=contentType,proto3" json:"content_type,omitempty"`
106 // Specifies a collection of Formatter plugins that can be called from the access log configuration.
107 // See the formatters extensions documentation for details.
108 // [#extension-category: envoy.formatter]
109 Formatters []*TypedExtensionConfig `protobuf:"bytes,6,rep,name=formatters,proto3" json:"formatters,omitempty"`
110 // If json_format is used, the options will be applied to the output JSON string.
111 JsonFormatOptions *JsonFormatOptions `protobuf:"bytes,7,opt,name=json_format_options,json=jsonFormatOptions,proto3" json:"json_format_options,omitempty"`
112 }
113
114 func (x *SubstitutionFormatString) Reset() {
115 *x = SubstitutionFormatString{}
116 if protoimpl.UnsafeEnabled {
117 mi := &file_envoy_config_core_v3_substitution_format_string_proto_msgTypes[1]
118 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
119 ms.StoreMessageInfo(mi)
120 }
121 }
122
123 func (x *SubstitutionFormatString) String() string {
124 return protoimpl.X.MessageStringOf(x)
125 }
126
127 func (*SubstitutionFormatString) ProtoMessage() {}
128
129 func (x *SubstitutionFormatString) ProtoReflect() protoreflect.Message {
130 mi := &file_envoy_config_core_v3_substitution_format_string_proto_msgTypes[1]
131 if protoimpl.UnsafeEnabled && x != nil {
132 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
133 if ms.LoadMessageInfo() == nil {
134 ms.StoreMessageInfo(mi)
135 }
136 return ms
137 }
138 return mi.MessageOf(x)
139 }
140
141 // Deprecated: Use SubstitutionFormatString.ProtoReflect.Descriptor instead.
142 func (*SubstitutionFormatString) Descriptor() ([]byte, []int) {
143 return file_envoy_config_core_v3_substitution_format_string_proto_rawDescGZIP(), []int{1}
144 }
145
146 func (m *SubstitutionFormatString) GetFormat() isSubstitutionFormatString_Format {
147 if m != nil {
148 return m.Format
149 }
150 return nil
151 }
152
153 // Deprecated: Marked as deprecated in envoy/config/core/v3/substitution_format_string.proto.
154 func (x *SubstitutionFormatString) GetTextFormat() string {
155 if x, ok := x.GetFormat().(*SubstitutionFormatString_TextFormat); ok {
156 return x.TextFormat
157 }
158 return ""
159 }
160
161 func (x *SubstitutionFormatString) GetJsonFormat() *structpb.Struct {
162 if x, ok := x.GetFormat().(*SubstitutionFormatString_JsonFormat); ok {
163 return x.JsonFormat
164 }
165 return nil
166 }
167
168 func (x *SubstitutionFormatString) GetTextFormatSource() *DataSource {
169 if x, ok := x.GetFormat().(*SubstitutionFormatString_TextFormatSource); ok {
170 return x.TextFormatSource
171 }
172 return nil
173 }
174
175 func (x *SubstitutionFormatString) GetOmitEmptyValues() bool {
176 if x != nil {
177 return x.OmitEmptyValues
178 }
179 return false
180 }
181
182 func (x *SubstitutionFormatString) GetContentType() string {
183 if x != nil {
184 return x.ContentType
185 }
186 return ""
187 }
188
189 func (x *SubstitutionFormatString) GetFormatters() []*TypedExtensionConfig {
190 if x != nil {
191 return x.Formatters
192 }
193 return nil
194 }
195
196 func (x *SubstitutionFormatString) GetJsonFormatOptions() *JsonFormatOptions {
197 if x != nil {
198 return x.JsonFormatOptions
199 }
200 return nil
201 }
202
203 type isSubstitutionFormatString_Format interface {
204 isSubstitutionFormatString_Format()
205 }
206
207 type SubstitutionFormatString_TextFormat struct {
208 // Specify a format with command operators to form a text string.
209 // Its details is described in :ref:`format string<config_access_log_format_strings>`.
210 //
211 // For example, setting “text_format“ like below,
212 //
213 // .. validated-code-block:: yaml
214 //
215 // :type-name: envoy.config.core.v3.SubstitutionFormatString
216 //
217 // text_format: "%LOCAL_REPLY_BODY%:%RESPONSE_CODE%:path=%REQ(:path)%\n"
218 //
219 // generates plain text similar to:
220 //
221 // .. code-block:: text
222 //
223 // upstream connect error:503:path=/foo
224 //
225 // Deprecated in favor of :ref:`text_format_source <envoy_v3_api_field_config.core.v3.SubstitutionFormatString.text_format_source>`. To migrate text format strings, use the :ref:`inline_string <envoy_v3_api_field_config.core.v3.DataSource.inline_string>` field.
226 //
227 // Deprecated: Marked as deprecated in envoy/config/core/v3/substitution_format_string.proto.
228 TextFormat string `protobuf:"bytes,1,opt,name=text_format,json=textFormat,proto3,oneof"`
229 }
230
231 type SubstitutionFormatString_JsonFormat struct {
232 // Specify a format with command operators to form a JSON string.
233 // Its details is described in :ref:`format dictionary<config_access_log_format_dictionaries>`.
234 // Values are rendered as strings, numbers, or boolean values as appropriate.
235 // Nested JSON objects may be produced by some command operators (e.g. FILTER_STATE or DYNAMIC_METADATA).
236 // See the documentation for a specific command operator for details.
237 //
238 // .. validated-code-block:: yaml
239 //
240 // :type-name: envoy.config.core.v3.SubstitutionFormatString
241 //
242 // json_format:
243 // status: "%RESPONSE_CODE%"
244 // message: "%LOCAL_REPLY_BODY%"
245 //
246 // The following JSON object would be created:
247 //
248 // .. code-block:: json
249 //
250 // {
251 // "status": 500,
252 // "message": "My error message"
253 // }
254 JsonFormat *structpb.Struct `protobuf:"bytes,2,opt,name=json_format,json=jsonFormat,proto3,oneof"`
255 }
256
257 type SubstitutionFormatString_TextFormatSource struct {
258 // Specify a format with command operators to form a text string.
259 // Its details is described in :ref:`format string<config_access_log_format_strings>`.
260 //
261 // For example, setting “text_format“ like below,
262 //
263 // .. validated-code-block:: yaml
264 //
265 // :type-name: envoy.config.core.v3.SubstitutionFormatString
266 //
267 // text_format_source:
268 // inline_string: "%LOCAL_REPLY_BODY%:%RESPONSE_CODE%:path=%REQ(:path)%\n"
269 //
270 // generates plain text similar to:
271 //
272 // .. code-block:: text
273 //
274 // upstream connect error:503:path=/foo
275 TextFormatSource *DataSource `protobuf:"bytes,5,opt,name=text_format_source,json=textFormatSource,proto3,oneof"`
276 }
277
278 func (*SubstitutionFormatString_TextFormat) isSubstitutionFormatString_Format() {}
279
280 func (*SubstitutionFormatString_JsonFormat) isSubstitutionFormatString_Format() {}
281
282 func (*SubstitutionFormatString_TextFormatSource) isSubstitutionFormatString_Format() {}
283
284 var File_envoy_config_core_v3_substitution_format_string_proto protoreflect.FileDescriptor
285
286 var file_envoy_config_core_v3_substitution_format_string_proto_rawDesc = []byte{
287 0x0a, 0x35, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x63,
288 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x33, 0x2f, 0x73, 0x75, 0x62, 0x73, 0x74, 0x69, 0x74, 0x75, 0x74,
289 0x69, 0x6f, 0x6e, 0x5f, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e,
290 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x14, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63,
291 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x33, 0x1a, 0x1f, 0x65,
292 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x63, 0x6f, 0x72, 0x65,
293 0x2f, 0x76, 0x33, 0x2f, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x24,
294 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x63, 0x6f, 0x72,
295 0x65, 0x2f, 0x76, 0x33, 0x2f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x70,
296 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f,
297 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f,
298 0x74, 0x6f, 0x1a, 0x23, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61,
299 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x69, 0x6f,
300 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e,
301 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73,
302 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65,
303 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22,
304 0x3c, 0x0a, 0x11, 0x4a, 0x73, 0x6f, 0x6e, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x4f, 0x70, 0x74,
305 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x27, 0x0a, 0x0f, 0x73, 0x6f, 0x72, 0x74, 0x5f, 0x70, 0x72, 0x6f,
306 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x73,
307 0x6f, 0x72, 0x74, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x22, 0xf2, 0x03,
308 0x0a, 0x18, 0x53, 0x75, 0x62, 0x73, 0x74, 0x69, 0x74, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x6f,
309 0x72, 0x6d, 0x61, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x2e, 0x0a, 0x0b, 0x74, 0x65,
310 0x78, 0x74, 0x5f, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42,
311 0x0b, 0x92, 0xc7, 0x86, 0xd8, 0x04, 0x03, 0x33, 0x2e, 0x30, 0x18, 0x01, 0x48, 0x00, 0x52, 0x0a,
312 0x74, 0x65, 0x78, 0x74, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x12, 0x44, 0x0a, 0x0b, 0x6a, 0x73,
313 0x6f, 0x6e, 0x5f, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32,
314 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
315 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x42, 0x08, 0xfa, 0x42, 0x05, 0x8a, 0x01, 0x02,
316 0x10, 0x01, 0x48, 0x00, 0x52, 0x0a, 0x6a, 0x73, 0x6f, 0x6e, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74,
317 0x12, 0x50, 0x0a, 0x12, 0x74, 0x65, 0x78, 0x74, 0x5f, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x5f,
318 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x65,
319 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x63, 0x6f, 0x72, 0x65,
320 0x2e, 0x76, 0x33, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x48, 0x00,
321 0x52, 0x10, 0x74, 0x65, 0x78, 0x74, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x53, 0x6f, 0x75, 0x72,
322 0x63, 0x65, 0x12, 0x2a, 0x0a, 0x11, 0x6f, 0x6d, 0x69, 0x74, 0x5f, 0x65, 0x6d, 0x70, 0x74, 0x79,
323 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x6f,
324 0x6d, 0x69, 0x74, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x12, 0x2e,
325 0x0a, 0x0c, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x04,
326 0x20, 0x01, 0x28, 0x09, 0x42, 0x0b, 0xfa, 0x42, 0x08, 0x72, 0x06, 0xc8, 0x01, 0x00, 0xc0, 0x01,
327 0x02, 0x52, 0x0b, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x4a,
328 0x0a, 0x0a, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x74, 0x65, 0x72, 0x73, 0x18, 0x06, 0x20, 0x03,
329 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69,
330 0x67, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x33, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x64, 0x45,
331 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x0a,
332 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x74, 0x65, 0x72, 0x73, 0x12, 0x57, 0x0a, 0x13, 0x6a, 0x73,
333 0x6f, 0x6e, 0x5f, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e,
334 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e,
335 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x33, 0x2e, 0x4a,
336 0x73, 0x6f, 0x6e, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73,
337 0x52, 0x11, 0x6a, 0x73, 0x6f, 0x6e, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x4f, 0x70, 0x74, 0x69,
338 0x6f, 0x6e, 0x73, 0x42, 0x0d, 0x0a, 0x06, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x12, 0x03, 0xf8,
339 0x42, 0x01, 0x42, 0x91, 0x01, 0xba, 0x80, 0xc8, 0xd1, 0x06, 0x02, 0x10, 0x02, 0x0a, 0x22, 0x69,
340 0x6f, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x65, 0x6e, 0x76,
341 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76,
342 0x33, 0x42, 0x1d, 0x53, 0x75, 0x62, 0x73, 0x74, 0x69, 0x74, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x46,
343 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x50, 0x72, 0x6f, 0x74, 0x6f,
344 0x50, 0x01, 0x5a, 0x42, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x65,
345 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x67, 0x6f, 0x2d, 0x63, 0x6f, 0x6e,
346 0x74, 0x72, 0x6f, 0x6c, 0x2d, 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x2f, 0x65, 0x6e, 0x76, 0x6f, 0x79,
347 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x33, 0x3b,
348 0x63, 0x6f, 0x72, 0x65, 0x76, 0x33, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
349 }
350
351 var (
352 file_envoy_config_core_v3_substitution_format_string_proto_rawDescOnce sync.Once
353 file_envoy_config_core_v3_substitution_format_string_proto_rawDescData = file_envoy_config_core_v3_substitution_format_string_proto_rawDesc
354 )
355
356 func file_envoy_config_core_v3_substitution_format_string_proto_rawDescGZIP() []byte {
357 file_envoy_config_core_v3_substitution_format_string_proto_rawDescOnce.Do(func() {
358 file_envoy_config_core_v3_substitution_format_string_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_config_core_v3_substitution_format_string_proto_rawDescData)
359 })
360 return file_envoy_config_core_v3_substitution_format_string_proto_rawDescData
361 }
362
363 var file_envoy_config_core_v3_substitution_format_string_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
364 var file_envoy_config_core_v3_substitution_format_string_proto_goTypes = []interface{}{
365 (*JsonFormatOptions)(nil), // 0: envoy.config.core.v3.JsonFormatOptions
366 (*SubstitutionFormatString)(nil), // 1: envoy.config.core.v3.SubstitutionFormatString
367 (*structpb.Struct)(nil), // 2: google.protobuf.Struct
368 (*DataSource)(nil), // 3: envoy.config.core.v3.DataSource
369 (*TypedExtensionConfig)(nil), // 4: envoy.config.core.v3.TypedExtensionConfig
370 }
371 var file_envoy_config_core_v3_substitution_format_string_proto_depIdxs = []int32{
372 2, // 0: envoy.config.core.v3.SubstitutionFormatString.json_format:type_name -> google.protobuf.Struct
373 3, // 1: envoy.config.core.v3.SubstitutionFormatString.text_format_source:type_name -> envoy.config.core.v3.DataSource
374 4, // 2: envoy.config.core.v3.SubstitutionFormatString.formatters:type_name -> envoy.config.core.v3.TypedExtensionConfig
375 0, // 3: envoy.config.core.v3.SubstitutionFormatString.json_format_options:type_name -> envoy.config.core.v3.JsonFormatOptions
376 4, // [4:4] is the sub-list for method output_type
377 4, // [4:4] is the sub-list for method input_type
378 4, // [4:4] is the sub-list for extension type_name
379 4, // [4:4] is the sub-list for extension extendee
380 0, // [0:4] is the sub-list for field type_name
381 }
382
383 func init() { file_envoy_config_core_v3_substitution_format_string_proto_init() }
384 func file_envoy_config_core_v3_substitution_format_string_proto_init() {
385 if File_envoy_config_core_v3_substitution_format_string_proto != nil {
386 return
387 }
388 file_envoy_config_core_v3_base_proto_init()
389 file_envoy_config_core_v3_extension_proto_init()
390 if !protoimpl.UnsafeEnabled {
391 file_envoy_config_core_v3_substitution_format_string_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
392 switch v := v.(*JsonFormatOptions); i {
393 case 0:
394 return &v.state
395 case 1:
396 return &v.sizeCache
397 case 2:
398 return &v.unknownFields
399 default:
400 return nil
401 }
402 }
403 file_envoy_config_core_v3_substitution_format_string_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
404 switch v := v.(*SubstitutionFormatString); i {
405 case 0:
406 return &v.state
407 case 1:
408 return &v.sizeCache
409 case 2:
410 return &v.unknownFields
411 default:
412 return nil
413 }
414 }
415 }
416 file_envoy_config_core_v3_substitution_format_string_proto_msgTypes[1].OneofWrappers = []interface{}{
417 (*SubstitutionFormatString_TextFormat)(nil),
418 (*SubstitutionFormatString_JsonFormat)(nil),
419 (*SubstitutionFormatString_TextFormatSource)(nil),
420 }
421 type x struct{}
422 out := protoimpl.TypeBuilder{
423 File: protoimpl.DescBuilder{
424 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
425 RawDescriptor: file_envoy_config_core_v3_substitution_format_string_proto_rawDesc,
426 NumEnums: 0,
427 NumMessages: 2,
428 NumExtensions: 0,
429 NumServices: 0,
430 },
431 GoTypes: file_envoy_config_core_v3_substitution_format_string_proto_goTypes,
432 DependencyIndexes: file_envoy_config_core_v3_substitution_format_string_proto_depIdxs,
433 MessageInfos: file_envoy_config_core_v3_substitution_format_string_proto_msgTypes,
434 }.Build()
435 File_envoy_config_core_v3_substitution_format_string_proto = out.File
436 file_envoy_config_core_v3_substitution_format_string_proto_rawDesc = nil
437 file_envoy_config_core_v3_substitution_format_string_proto_goTypes = nil
438 file_envoy_config_core_v3_substitution_format_string_proto_depIdxs = nil
439 }