Package com.google.cloud.compute.v1
Interface NetworkEndpointGroupCloudFunctionOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
NetworkEndpointGroupCloudFunction
,NetworkEndpointGroupCloudFunction.Builder
public interface NetworkEndpointGroupCloudFunctionOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getFunction()
A user-defined name of the Cloud Function.com.google.protobuf.ByteString
getFunctionBytes()
A user-defined name of the Cloud Function.String
getUrlMask()
A template to parse function field from a request URL.com.google.protobuf.ByteString
getUrlMaskBytes()
A template to parse function field from a request URL.boolean
hasFunction()
A user-defined name of the Cloud Function.boolean
hasUrlMask()
A template to parse function field from a request URL.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasFunction
boolean hasFunction()
A user-defined name of the Cloud Function. The function name is case-sensitive and must be 1-63 characters long. Example value: "func1".
optional string function = 307196888;
- Returns:
- Whether the function field is set.
-
getFunction
String getFunction()
A user-defined name of the Cloud Function. The function name is case-sensitive and must be 1-63 characters long. Example value: "func1".
optional string function = 307196888;
- Returns:
- The function.
-
getFunctionBytes
com.google.protobuf.ByteString getFunctionBytes()
A user-defined name of the Cloud Function. The function name is case-sensitive and must be 1-63 characters long. Example value: "func1".
optional string function = 307196888;
- Returns:
- The bytes for function.
-
hasUrlMask
boolean hasUrlMask()
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 "/<function>". The URL mask will parse them to { function = "function1" } and { function = "function2" } respectively.
optional string url_mask = 103352252;
- Returns:
- Whether the urlMask field is set.
-
getUrlMask
String getUrlMask()
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 "/<function>". The URL mask will parse them to { function = "function1" } and { function = "function2" } respectively.
optional string url_mask = 103352252;
- Returns:
- The urlMask.
-
getUrlMaskBytes
com.google.protobuf.ByteString getUrlMaskBytes()
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 "/<function>". The URL mask will parse them to { function = "function1" } and { function = "function2" } respectively.
optional string url_mask = 103352252;
- Returns:
- The bytes for urlMask.
-
-