Package com.google.cloud.compute.v1
Interface NetworkEndpointGroupAppEngineOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
NetworkEndpointGroupAppEngine
,NetworkEndpointGroupAppEngine.Builder
public interface NetworkEndpointGroupAppEngineOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getService()
Optional serving service.com.google.protobuf.ByteString
getServiceBytes()
Optional serving service.String
getUrlMask()
A template to parse service and version fields from a request URL.com.google.protobuf.ByteString
getUrlMaskBytes()
A template to parse service and version fields from a request URL.String
getVersion()
Optional serving version.com.google.protobuf.ByteString
getVersionBytes()
Optional serving version.boolean
hasService()
Optional serving service.boolean
hasUrlMask()
A template to parse service and version fields from a request URL.boolean
hasVersion()
Optional serving version.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasService
boolean hasService()
Optional serving service. The service name is case-sensitive and must be 1-63 characters long. Example value: "default", "my-service".
optional string service = 373540533;
- Returns:
- Whether the service field is set.
-
getService
String getService()
Optional serving service. The service name is case-sensitive and must be 1-63 characters long. Example value: "default", "my-service".
optional string service = 373540533;
- Returns:
- The service.
-
getServiceBytes
com.google.protobuf.ByteString getServiceBytes()
Optional serving service. The service name is case-sensitive and must be 1-63 characters long. Example value: "default", "my-service".
optional string service = 373540533;
- Returns:
- The bytes for service.
-
hasUrlMask
boolean hasUrlMask()
A template to parse service and version fields from a request URL. URL mask allows for routing to multiple App Engine services without having to create multiple Network Endpoint Groups and backend services. For example, the request URLs "foo1-dot-appname.appspot.com/v1" and "foo1-dot-appname.appspot.com/v2" can be backed by the same Serverless NEG with URL mask "<service>-dot-appname.appspot.com/<version>". The URL mask will parse them to { service = "foo1", version = "v1" } and { service = "foo1", version = "v2" } respectively.
optional string url_mask = 103352252;
- Returns:
- Whether the urlMask field is set.
-
getUrlMask
String getUrlMask()
A template to parse service and version fields from a request URL. URL mask allows for routing to multiple App Engine services without having to create multiple Network Endpoint Groups and backend services. For example, the request URLs "foo1-dot-appname.appspot.com/v1" and "foo1-dot-appname.appspot.com/v2" can be backed by the same Serverless NEG with URL mask "<service>-dot-appname.appspot.com/<version>". The URL mask will parse them to { service = "foo1", version = "v1" } and { service = "foo1", version = "v2" } respectively.
optional string url_mask = 103352252;
- Returns:
- The urlMask.
-
getUrlMaskBytes
com.google.protobuf.ByteString getUrlMaskBytes()
A template to parse service and version fields from a request URL. URL mask allows for routing to multiple App Engine services without having to create multiple Network Endpoint Groups and backend services. For example, the request URLs "foo1-dot-appname.appspot.com/v1" and "foo1-dot-appname.appspot.com/v2" can be backed by the same Serverless NEG with URL mask "<service>-dot-appname.appspot.com/<version>". The URL mask will parse them to { service = "foo1", version = "v1" } and { service = "foo1", version = "v2" } respectively.
optional string url_mask = 103352252;
- Returns:
- The bytes for urlMask.
-
hasVersion
boolean hasVersion()
Optional serving version. The version name is case-sensitive and must be 1-100 characters long. Example value: "v1", "v2".
optional string version = 351608024;
- Returns:
- Whether the version field is set.
-
getVersion
String getVersion()
Optional serving version. The version name is case-sensitive and must be 1-100 characters long. Example value: "v1", "v2".
optional string version = 351608024;
- Returns:
- The version.
-
getVersionBytes
com.google.protobuf.ByteString getVersionBytes()
Optional serving version. The version name is case-sensitive and must be 1-100 characters long. Example value: "v1", "v2".
optional string version = 351608024;
- Returns:
- The bytes for version.
-
-