Debian Codegraph @

googleapis/api/serviceconfig/backend.pb.go

raw
1 // Copyright 2026 Google LLC
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
6 //
7 // http://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
14
15 // Code generated by protoc-gen-go. DO NOT EDIT.
16 // versions:
17 // protoc-gen-go v1.26.0
18 // protoc v4.24.4
19 // source: google/api/backend.proto
20
21 package serviceconfig
22
23 import (
24 reflect "reflect"
25 sync "sync"
26
27 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
28 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
29 )
30
31 const (
32 // Verify that this generated code is sufficiently up-to-date.
33 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
34 // Verify that runtime/protoimpl is sufficiently up-to-date.
35 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
36 )
37
38 // Path Translation specifies how to combine the backend address with the
39 // request path in order to produce the appropriate forwarding URL for the
40 // request.
41 //
42 // Path Translation is applicable only to HTTP-based backends. Backends which
43 // do not accept requests over HTTP/HTTPS should leave `path_translation`
44 // unspecified.
45 type BackendRule_PathTranslation int32
46
47 const (
48 BackendRule_PATH_TRANSLATION_UNSPECIFIED BackendRule_PathTranslation = 0
49 // Use the backend address as-is, with no modification to the path. If the
50 // URL pattern contains variables, the variable names and values will be
51 // appended to the query string. If a query string parameter and a URL
52 // pattern variable have the same name, this may result in duplicate keys in
53 // the query string.
54 //
55 // # Examples
56 //
57 // Given the following operation config:
58 //
59 // Method path: /api/company/{cid}/user/{uid}
60 // Backend address: https://example.cloudfunctions.net/getUser
61 //
62 // Requests to the following request paths will call the backend at the
63 // translated path:
64 //
65 // Request path: /api/company/widgetworks/user/johndoe
66 // Translated:
67 // https://example.cloudfunctions.net/getUser?cid=widgetworks&uid=johndoe
68 //
69 // Request path: /api/company/widgetworks/user/johndoe?timezone=EST
70 // Translated:
71 // https://example.cloudfunctions.net/getUser?timezone=EST&cid=widgetworks&uid=johndoe
72 BackendRule_CONSTANT_ADDRESS BackendRule_PathTranslation = 1
73 // The request path will be appended to the backend address.
74 //
75 // # Examples
76 //
77 // Given the following operation config:
78 //
79 // Method path: /api/company/{cid}/user/{uid}
80 // Backend address: https://example.appspot.com
81 //
82 // Requests to the following request paths will call the backend at the
83 // translated path:
84 //
85 // Request path: /api/company/widgetworks/user/johndoe
86 // Translated:
87 // https://example.appspot.com/api/company/widgetworks/user/johndoe
88 //
89 // Request path: /api/company/widgetworks/user/johndoe?timezone=EST
90 // Translated:
91 // https://example.appspot.com/api/company/widgetworks/user/johndoe?timezone=EST
92 BackendRule_APPEND_PATH_TO_ADDRESS BackendRule_PathTranslation = 2
93 )
94
95 // Enum value maps for BackendRule_PathTranslation.
96 var (
97 BackendRule_PathTranslation_name = map[int32]string{
98 0: "PATH_TRANSLATION_UNSPECIFIED",
99 1: "CONSTANT_ADDRESS",
100 2: "APPEND_PATH_TO_ADDRESS",
101 }
102 BackendRule_PathTranslation_value = map[string]int32{
103 "PATH_TRANSLATION_UNSPECIFIED": 0,
104 "CONSTANT_ADDRESS": 1,
105 "APPEND_PATH_TO_ADDRESS": 2,
106 }
107 )
108
109 func (x BackendRule_PathTranslation) Enum() *BackendRule_PathTranslation {
110 p := new(BackendRule_PathTranslation)
111 *p = x
112 return p
113 }
114
115 func (x BackendRule_PathTranslation) String() string {
116 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
117 }
118
119 func (BackendRule_PathTranslation) Descriptor() protoreflect.EnumDescriptor {
120 return file_google_api_backend_proto_enumTypes[0].Descriptor()
121 }
122
123 func (BackendRule_PathTranslation) Type() protoreflect.EnumType {
124 return &file_google_api_backend_proto_enumTypes[0]
125 }
126
127 func (x BackendRule_PathTranslation) Number() protoreflect.EnumNumber {
128 return protoreflect.EnumNumber(x)
129 }
130
131 // Deprecated: Use BackendRule_PathTranslation.Descriptor instead.
132 func (BackendRule_PathTranslation) EnumDescriptor() ([]byte, []int) {
133 return file_google_api_backend_proto_rawDescGZIP(), []int{1, 0}
134 }
135
136 // `Backend` defines the backend configuration for a service.
137 type Backend struct {
138 state protoimpl.MessageState
139 sizeCache protoimpl.SizeCache
140 unknownFields protoimpl.UnknownFields
141
142 // A list of API backend rules that apply to individual API methods.
143 //
144 // **NOTE:** All service configuration rules follow "last one wins" order.
145 Rules []*BackendRule `protobuf:"bytes,1,rep,name=rules,proto3" json:"rules,omitempty"`
146 }
147
148 func (x *Backend) Reset() {
149 *x = Backend{}
150 if protoimpl.UnsafeEnabled {
151 mi := &file_google_api_backend_proto_msgTypes[0]
152 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
153 ms.StoreMessageInfo(mi)
154 }
155 }
156
157 func (x *Backend) String() string {
158 return protoimpl.X.MessageStringOf(x)
159 }
160
161 func (*Backend) ProtoMessage() {}
162
163 func (x *Backend) ProtoReflect() protoreflect.Message {
164 mi := &file_google_api_backend_proto_msgTypes[0]
165 if protoimpl.UnsafeEnabled && x != nil {
166 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
167 if ms.LoadMessageInfo() == nil {
168 ms.StoreMessageInfo(mi)
169 }
170 return ms
171 }
172 return mi.MessageOf(x)
173 }
174
175 // Deprecated: Use Backend.ProtoReflect.Descriptor instead.
176 func (*Backend) Descriptor() ([]byte, []int) {
177 return file_google_api_backend_proto_rawDescGZIP(), []int{0}
178 }
179
180 func (x *Backend) GetRules() []*BackendRule {
181 if x != nil {
182 return x.Rules
183 }
184 return nil
185 }
186
187 // A backend rule provides configuration for an individual API element.
188 type BackendRule struct {
189 state protoimpl.MessageState
190 sizeCache protoimpl.SizeCache
191 unknownFields protoimpl.UnknownFields
192
193 // Selects the methods to which this rule applies.
194 //
195 // Refer to [selector][google.api.DocumentationRule.selector] for syntax
196 // details.
197 Selector string `protobuf:"bytes,1,opt,name=selector,proto3" json:"selector,omitempty"`
198 // The address of the API backend.
199 //
200 // The scheme is used to determine the backend protocol and security.
201 // The following schemes are accepted:
202 //
203 // SCHEME PROTOCOL SECURITY
204 // http:// HTTP None
205 // https:// HTTP TLS
206 // grpc:// gRPC None
207 // grpcs:// gRPC TLS
208 //
209 // It is recommended to explicitly include a scheme. Leaving out the scheme
210 // may cause constrasting behaviors across platforms.
211 //
212 // If the port is unspecified, the default is:
213 // - 80 for schemes without TLS
214 // - 443 for schemes with TLS
215 //
216 // For HTTP backends, use [protocol][google.api.BackendRule.protocol]
217 // to specify the protocol version.
218 Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
219 // The number of seconds to wait for a response from a request. The default
220 // varies based on the request protocol and deployment environment.
221 Deadline float64 `protobuf:"fixed64,3,opt,name=deadline,proto3" json:"deadline,omitempty"`
222 // Deprecated, do not use.
223 //
224 // Deprecated: Do not use.
225 MinDeadline float64 `protobuf:"fixed64,4,opt,name=min_deadline,json=minDeadline,proto3" json:"min_deadline,omitempty"`
226 // The number of seconds to wait for the completion of a long running
227 // operation. The default is no deadline.
228 OperationDeadline float64 `protobuf:"fixed64,5,opt,name=operation_deadline,json=operationDeadline,proto3" json:"operation_deadline,omitempty"`
229 // Path translation specifies how to combine the backend address with the
230 // request path in order to produce the appropriate forwarding URL for the
231 // request. See [PathTranslation][google.api.BackendRule.PathTranslation] for
232 // more details.
233 PathTranslation BackendRule_PathTranslation `protobuf:"varint,6,opt,name=path_translation,json=pathTranslation,proto3,enum=google.api.BackendRule_PathTranslation" json:"path_translation,omitempty"`
234 // Authentication settings used by the backend.
235 //
236 // These are typically used to provide service management functionality to
237 // a backend served on a publicly-routable URL. The `authentication`
238 // details should match the authentication behavior used by the backend.
239 //
240 // For example, specifying `jwt_audience` implies that the backend expects
241 // authentication via a JWT.
242 //
243 // When authentication is unspecified, the resulting behavior is the same
244 // as `disable_auth` set to `true`.
245 //
246 // Refer to https://developers.google.com/identity/protocols/OpenIDConnect for
247 // JWT ID token.
248 //
249 // Types that are assignable to Authentication:
250 //
251 // *BackendRule_JwtAudience
252 // *BackendRule_DisableAuth
253 Authentication isBackendRule_Authentication `protobuf_oneof:"authentication"`
254 // The protocol used for sending a request to the backend.
255 // The supported values are "http/1.1" and "h2".
256 //
257 // The default value is inferred from the scheme in the
258 // [address][google.api.BackendRule.address] field:
259 //
260 // SCHEME PROTOCOL
261 // http:// http/1.1
262 // https:// http/1.1
263 // grpc:// h2
264 // grpcs:// h2
265 //
266 // For secure HTTP backends (https://) that support HTTP/2, set this field
267 // to "h2" for improved performance.
268 //
269 // Configuring this field to non-default values is only supported for secure
270 // HTTP backends. This field will be ignored for all other backends.
271 //
272 // See
273 // https://www.iana.org/assignments/tls-extensiontype-values/tls-extensiontype-values.xhtml#alpn-protocol-ids
274 // for more details on the supported values.
275 Protocol string `protobuf:"bytes,9,opt,name=protocol,proto3" json:"protocol,omitempty"`
276 // The map between request protocol and the backend address.
277 OverridesByRequestProtocol map[string]*BackendRule `protobuf:"bytes,10,rep,name=overrides_by_request_protocol,json=overridesByRequestProtocol,proto3" json:"overrides_by_request_protocol,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
278 // The load balancing policy used for connection to the application backend.
279 //
280 // Defined as an arbitrary string to accomondate custom load balancing
281 // policies supported by the underlying channel, but suggest most users use
282 // one of the standard policies, such as the default, "RoundRobin".
283 LoadBalancingPolicy string `protobuf:"bytes,11,opt,name=load_balancing_policy,json=loadBalancingPolicy,proto3" json:"load_balancing_policy,omitempty"`
284 }
285
286 func (x *BackendRule) Reset() {
287 *x = BackendRule{}
288 if protoimpl.UnsafeEnabled {
289 mi := &file_google_api_backend_proto_msgTypes[1]
290 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
291 ms.StoreMessageInfo(mi)
292 }
293 }
294
295 func (x *BackendRule) String() string {
296 return protoimpl.X.MessageStringOf(x)
297 }
298
299 func (*BackendRule) ProtoMessage() {}
300
301 func (x *BackendRule) ProtoReflect() protoreflect.Message {
302 mi := &file_google_api_backend_proto_msgTypes[1]
303 if protoimpl.UnsafeEnabled && x != nil {
304 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
305 if ms.LoadMessageInfo() == nil {
306 ms.StoreMessageInfo(mi)
307 }
308 return ms
309 }
310 return mi.MessageOf(x)
311 }
312
313 // Deprecated: Use BackendRule.ProtoReflect.Descriptor instead.
314 func (*BackendRule) Descriptor() ([]byte, []int) {
315 return file_google_api_backend_proto_rawDescGZIP(), []int{1}
316 }
317
318 func (x *BackendRule) GetSelector() string {
319 if x != nil {
320 return x.Selector
321 }
322 return ""
323 }
324
325 func (x *BackendRule) GetAddress() string {
326 if x != nil {
327 return x.Address
328 }
329 return ""
330 }
331
332 func (x *BackendRule) GetDeadline() float64 {
333 if x != nil {
334 return x.Deadline
335 }
336 return 0
337 }
338
339 // Deprecated: Do not use.
340 func (x *BackendRule) GetMinDeadline() float64 {
341 if x != nil {
342 return x.MinDeadline
343 }
344 return 0
345 }
346
347 func (x *BackendRule) GetOperationDeadline() float64 {
348 if x != nil {
349 return x.OperationDeadline
350 }
351 return 0
352 }
353
354 func (x *BackendRule) GetPathTranslation() BackendRule_PathTranslation {
355 if x != nil {
356 return x.PathTranslation
357 }
358 return BackendRule_PATH_TRANSLATION_UNSPECIFIED
359 }
360
361 func (m *BackendRule) GetAuthentication() isBackendRule_Authentication {
362 if m != nil {
363 return m.Authentication
364 }
365 return nil
366 }
367
368 func (x *BackendRule) GetJwtAudience() string {
369 if x, ok := x.GetAuthentication().(*BackendRule_JwtAudience); ok {
370 return x.JwtAudience
371 }
372 return ""
373 }
374
375 func (x *BackendRule) GetDisableAuth() bool {
376 if x, ok := x.GetAuthentication().(*BackendRule_DisableAuth); ok {
377 return x.DisableAuth
378 }
379 return false
380 }
381
382 func (x *BackendRule) GetProtocol() string {
383 if x != nil {
384 return x.Protocol
385 }
386 return ""
387 }
388
389 func (x *BackendRule) GetOverridesByRequestProtocol() map[string]*BackendRule {
390 if x != nil {
391 return x.OverridesByRequestProtocol
392 }
393 return nil
394 }
395
396 func (x *BackendRule) GetLoadBalancingPolicy() string {
397 if x != nil {
398 return x.LoadBalancingPolicy
399 }
400 return ""
401 }
402
403 type isBackendRule_Authentication interface {
404 isBackendRule_Authentication()
405 }
406
407 type BackendRule_JwtAudience struct {
408 // The JWT audience is used when generating a JWT ID token for the backend.
409 // This ID token will be added in the HTTP "authorization" header, and sent
410 // to the backend.
411 JwtAudience string `protobuf:"bytes,7,opt,name=jwt_audience,json=jwtAudience,proto3,oneof"`
412 }
413
414 type BackendRule_DisableAuth struct {
415 // When disable_auth is true, a JWT ID token won't be generated and the
416 // original "Authorization" HTTP header will be preserved. If the header is
417 // used to carry the original token and is expected by the backend, this
418 // field must be set to true to preserve the header.
419 DisableAuth bool `protobuf:"varint,8,opt,name=disable_auth,json=disableAuth,proto3,oneof"`
420 }
421
422 func (*BackendRule_JwtAudience) isBackendRule_Authentication() {}
423
424 func (*BackendRule_DisableAuth) isBackendRule_Authentication() {}
425
426 var File_google_api_backend_proto protoreflect.FileDescriptor
427
428 var file_google_api_backend_proto_rawDesc = []byte{
429 0x0a, 0x18, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x62, 0x61, 0x63,
430 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0a, 0x67, 0x6f, 0x6f, 0x67,
431 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x22, 0x38, 0x0a, 0x07, 0x42, 0x61, 0x63, 0x6b, 0x65, 0x6e,
432 0x64, 0x12, 0x2d, 0x0a, 0x05, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b,
433 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x42, 0x61,
434 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x52, 0x75, 0x6c, 0x65, 0x52, 0x05, 0x72, 0x75, 0x6c, 0x65, 0x73,
435 0x22, 0x80, 0x06, 0x0a, 0x0b, 0x42, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x52, 0x75, 0x6c, 0x65,
436 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01,
437 0x28, 0x09, 0x52, 0x08, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x12, 0x18, 0x0a, 0x07,
438 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61,
439 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x64, 0x65, 0x61, 0x64, 0x6c, 0x69,
440 0x6e, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x01, 0x52, 0x08, 0x64, 0x65, 0x61, 0x64, 0x6c, 0x69,
441 0x6e, 0x65, 0x12, 0x25, 0x0a, 0x0c, 0x6d, 0x69, 0x6e, 0x5f, 0x64, 0x65, 0x61, 0x64, 0x6c, 0x69,
442 0x6e, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x01, 0x42, 0x02, 0x18, 0x01, 0x52, 0x0b, 0x6d, 0x69,
443 0x6e, 0x44, 0x65, 0x61, 0x64, 0x6c, 0x69, 0x6e, 0x65, 0x12, 0x2d, 0x0a, 0x12, 0x6f, 0x70, 0x65,
444 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x64, 0x65, 0x61, 0x64, 0x6c, 0x69, 0x6e, 0x65, 0x18,
445 0x05, 0x20, 0x01, 0x28, 0x01, 0x52, 0x11, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e,
446 0x44, 0x65, 0x61, 0x64, 0x6c, 0x69, 0x6e, 0x65, 0x12, 0x52, 0x0a, 0x10, 0x70, 0x61, 0x74, 0x68,
447 0x5f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01,
448 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e,
449 0x42, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x52, 0x75, 0x6c, 0x65, 0x2e, 0x50, 0x61, 0x74, 0x68,
450 0x54, 0x72, 0x61, 0x6e, 0x73, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0f, 0x70, 0x61, 0x74,
451 0x68, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x23, 0x0a, 0x0c,
452 0x6a, 0x77, 0x74, 0x5f, 0x61, 0x75, 0x64, 0x69, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x07, 0x20, 0x01,
453 0x28, 0x09, 0x48, 0x00, 0x52, 0x0b, 0x6a, 0x77, 0x74, 0x41, 0x75, 0x64, 0x69, 0x65, 0x6e, 0x63,
454 0x65, 0x12, 0x23, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x61, 0x75, 0x74,
455 0x68, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x48, 0x00, 0x52, 0x0b, 0x64, 0x69, 0x73, 0x61, 0x62,
456 0x6c, 0x65, 0x41, 0x75, 0x74, 0x68, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63,
457 0x6f, 0x6c, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63,
458 0x6f, 0x6c, 0x12, 0x7a, 0x0a, 0x1d, 0x6f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x73, 0x5f,
459 0x62, 0x79, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
460 0x63, 0x6f, 0x6c, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x37, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
461 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x42, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x52, 0x75,
462 0x6c, 0x65, 0x2e, 0x4f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x73, 0x42, 0x79, 0x52, 0x65,
463 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x45, 0x6e, 0x74,
464 0x72, 0x79, 0x52, 0x1a, 0x6f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x73, 0x42, 0x79, 0x52,
465 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x12, 0x32,
466 0x0a, 0x15, 0x6c, 0x6f, 0x61, 0x64, 0x5f, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x69, 0x6e, 0x67,
467 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x13, 0x6c,
468 0x6f, 0x61, 0x64, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x6c, 0x69,
469 0x63, 0x79, 0x1a, 0x66, 0x0a, 0x1f, 0x4f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x73, 0x42,
470 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c,
471 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01,
472 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x2d, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65,
473 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
474 0x61, 0x70, 0x69, 0x2e, 0x42, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x52, 0x75, 0x6c, 0x65, 0x52,
475 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x65, 0x0a, 0x0f, 0x50, 0x61,
476 0x74, 0x68, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x20, 0x0a,
477 0x1c, 0x50, 0x41, 0x54, 0x48, 0x5f, 0x54, 0x52, 0x41, 0x4e, 0x53, 0x4c, 0x41, 0x54, 0x49, 0x4f,
478 0x4e, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12,
479 0x14, 0x0a, 0x10, 0x43, 0x4f, 0x4e, 0x53, 0x54, 0x41, 0x4e, 0x54, 0x5f, 0x41, 0x44, 0x44, 0x52,
480 0x45, 0x53, 0x53, 0x10, 0x01, 0x12, 0x1a, 0x0a, 0x16, 0x41, 0x50, 0x50, 0x45, 0x4e, 0x44, 0x5f,
481 0x50, 0x41, 0x54, 0x48, 0x5f, 0x54, 0x4f, 0x5f, 0x41, 0x44, 0x44, 0x52, 0x45, 0x53, 0x53, 0x10,
482 0x02, 0x42, 0x10, 0x0a, 0x0e, 0x61, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74,
483 0x69, 0x6f, 0x6e, 0x42, 0x6e, 0x0a, 0x0e, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
484 0x65, 0x2e, 0x61, 0x70, 0x69, 0x42, 0x0c, 0x42, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x50, 0x72,
485 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x45, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f,
486 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74,
487 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x61, 0x70, 0x69,
488 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x3b, 0x73,
489 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0xa2, 0x02, 0x04, 0x47,
490 0x41, 0x50, 0x49, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
491 }
492
493 var (
494 file_google_api_backend_proto_rawDescOnce sync.Once
495 file_google_api_backend_proto_rawDescData = file_google_api_backend_proto_rawDesc
496 )
497
498 func file_google_api_backend_proto_rawDescGZIP() []byte {
499 file_google_api_backend_proto_rawDescOnce.Do(func() {
500 file_google_api_backend_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_api_backend_proto_rawDescData)
501 })
502 return file_google_api_backend_proto_rawDescData
503 }
504
505 var file_google_api_backend_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
506 var file_google_api_backend_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
507 var file_google_api_backend_proto_goTypes = []interface{}{
508 (BackendRule_PathTranslation)(0), // 0: google.api.BackendRule.PathTranslation
509 (*Backend)(nil), // 1: google.api.Backend
510 (*BackendRule)(nil), // 2: google.api.BackendRule
511 nil, // 3: google.api.BackendRule.OverridesByRequestProtocolEntry
512 }
513 var file_google_api_backend_proto_depIdxs = []int32{
514 2, // 0: google.api.Backend.rules:type_name -> google.api.BackendRule
515 0, // 1: google.api.BackendRule.path_translation:type_name -> google.api.BackendRule.PathTranslation
516 3, // 2: google.api.BackendRule.overrides_by_request_protocol:type_name -> google.api.BackendRule.OverridesByRequestProtocolEntry
517 2, // 3: google.api.BackendRule.OverridesByRequestProtocolEntry.value:type_name -> google.api.BackendRule
518 4, // [4:4] is the sub-list for method output_type
519 4, // [4:4] is the sub-list for method input_type
520 4, // [4:4] is the sub-list for extension type_name
521 4, // [4:4] is the sub-list for extension extendee
522 0, // [0:4] is the sub-list for field type_name
523 }
524
525 func init() { file_google_api_backend_proto_init() }
526 func file_google_api_backend_proto_init() {
527 if File_google_api_backend_proto != nil {
528 return
529 }
530 if !protoimpl.UnsafeEnabled {
531 file_google_api_backend_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
532 switch v := v.(*Backend); i {
533 case 0:
534 return &v.state
535 case 1:
536 return &v.sizeCache
537 case 2:
538 return &v.unknownFields
539 default:
540 return nil
541 }
542 }
543 file_google_api_backend_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
544 switch v := v.(*BackendRule); i {
545 case 0:
546 return &v.state
547 case 1:
548 return &v.sizeCache
549 case 2:
550 return &v.unknownFields
551 default:
552 return nil
553 }
554 }
555 }
556 file_google_api_backend_proto_msgTypes[1].OneofWrappers = []interface{}{
557 (*BackendRule_JwtAudience)(nil),
558 (*BackendRule_DisableAuth)(nil),
559 }
560 type x struct{}
561 out := protoimpl.TypeBuilder{
562 File: protoimpl.DescBuilder{
563 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
564 RawDescriptor: file_google_api_backend_proto_rawDesc,
565 NumEnums: 1,
566 NumMessages: 3,
567 NumExtensions: 0,
568 NumServices: 0,
569 },
570 GoTypes: file_google_api_backend_proto_goTypes,
571 DependencyIndexes: file_google_api_backend_proto_depIdxs,
572 EnumInfos: file_google_api_backend_proto_enumTypes,
573 MessageInfos: file_google_api_backend_proto_msgTypes,
574 }.Build()
575 File_google_api_backend_proto = out.File
576 file_google_api_backend_proto_rawDesc = nil
577 file_google_api_backend_proto_goTypes = nil
578 file_google_api_backend_proto_depIdxs = nil
579 }