• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright 2020 Google LLC
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *     https://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 // Generated by the protocol buffer compiler.  DO NOT EDIT!
17 // source: google/cloud/compute/v1/compute.proto
18 
19 package com.google.cloud.compute.v1;
20 
21 public interface NetworkEndpointGroupCloudFunctionOrBuilder
22     extends
23     // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.NetworkEndpointGroupCloudFunction)
24     com.google.protobuf.MessageOrBuilder {
25 
26   /**
27    *
28    *
29    * <pre>
30    * A user-defined name of the Cloud Function. The function name is case-sensitive and must be 1-63 characters long. Example value: "func1".
31    * </pre>
32    *
33    * <code>optional string function = 307196888;</code>
34    *
35    * @return Whether the function field is set.
36    */
hasFunction()37   boolean hasFunction();
38   /**
39    *
40    *
41    * <pre>
42    * A user-defined name of the Cloud Function. The function name is case-sensitive and must be 1-63 characters long. Example value: "func1".
43    * </pre>
44    *
45    * <code>optional string function = 307196888;</code>
46    *
47    * @return The function.
48    */
getFunction()49   java.lang.String getFunction();
50   /**
51    *
52    *
53    * <pre>
54    * A user-defined name of the Cloud Function. The function name is case-sensitive and must be 1-63 characters long. Example value: "func1".
55    * </pre>
56    *
57    * <code>optional string function = 307196888;</code>
58    *
59    * @return The bytes for function.
60    */
getFunctionBytes()61   com.google.protobuf.ByteString getFunctionBytes();
62 
63   /**
64    *
65    *
66    * <pre>
67    * A template to parse function field from a request URL. URL mask allows for routing to multiple Cloud Functions without having to create multiple Network Endpoint Groups and backend services. For example, request URLs " mydomain.com/function1" and "mydomain.com/function2" can be backed by the same Serverless NEG with URL mask "/&lt;function&gt;". The URL mask will parse them to { function = "function1" } and { function = "function2" } respectively.
68    * </pre>
69    *
70    * <code>optional string url_mask = 103352252;</code>
71    *
72    * @return Whether the urlMask field is set.
73    */
hasUrlMask()74   boolean hasUrlMask();
75   /**
76    *
77    *
78    * <pre>
79    * A template to parse function field from a request URL. URL mask allows for routing to multiple Cloud Functions without having to create multiple Network Endpoint Groups and backend services. For example, request URLs " mydomain.com/function1" and "mydomain.com/function2" can be backed by the same Serverless NEG with URL mask "/&lt;function&gt;". The URL mask will parse them to { function = "function1" } and { function = "function2" } respectively.
80    * </pre>
81    *
82    * <code>optional string url_mask = 103352252;</code>
83    *
84    * @return The urlMask.
85    */
getUrlMask()86   java.lang.String getUrlMask();
87   /**
88    *
89    *
90    * <pre>
91    * A template to parse function field from a request URL. URL mask allows for routing to multiple Cloud Functions without having to create multiple Network Endpoint Groups and backend services. For example, request URLs " mydomain.com/function1" and "mydomain.com/function2" can be backed by the same Serverless NEG with URL mask "/&lt;function&gt;". The URL mask will parse them to { function = "function1" } and { function = "function2" } respectively.
92    * </pre>
93    *
94    * <code>optional string url_mask = 103352252;</code>
95    *
96    * @return The bytes for urlMask.
97    */
getUrlMaskBytes()98   com.google.protobuf.ByteString getUrlMaskBytes();
99 }
100