Interface NetworkEndpointGroupAppEngineOrBuilder (1.51.0)

public interface NetworkEndpointGroupAppEngineOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getService()

public abstract 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
TypeDescription
String

The service.

getServiceBytes()

public abstract 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
TypeDescription
ByteString

The bytes for service.

getUrlMask()

public abstract String getUrlMask()

An URL mask is one of the main components of the Cloud Function. 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
TypeDescription
String

The urlMask.

getUrlMaskBytes()

public abstract ByteString getUrlMaskBytes()

An URL mask is one of the main components of the Cloud Function. 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
TypeDescription
ByteString

The bytes for urlMask.

getVersion()

public abstract 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
TypeDescription
String

The version.

getVersionBytes()

public abstract 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
TypeDescription
ByteString

The bytes for version.

hasService()

public abstract 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
TypeDescription
boolean

Whether the service field is set.

hasUrlMask()

public abstract boolean hasUrlMask()

An URL mask is one of the main components of the Cloud Function. 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
TypeDescription
boolean

Whether the urlMask field is set.

hasVersion()

public abstract 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
TypeDescription
boolean

Whether the version field is set.