Interface NetworkEndpointGroupCloudRunOrBuilder (1.47.0)

public interface NetworkEndpointGroupCloudRunOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getService()

public abstract String getService()

Cloud Run service is the main resource of Cloud Run. The service must be 1-63 characters long, and comply with RFC1035. Example value: "run-service".

optional string service = 373540533;

Returns
TypeDescription
String

The service.

getServiceBytes()

public abstract ByteString getServiceBytes()

Cloud Run service is the main resource of Cloud Run. The service must be 1-63 characters long, and comply with RFC1035. Example value: "run-service".

optional string service = 373540533;

Returns
TypeDescription
ByteString

The bytes for service.

getTag()

public abstract String getTag()

Optional Cloud Run tag represents the "named-revision" to provide additional fine-grained traffic routing information. The tag must be 1-63 characters long, and comply with RFC1035. Example value: "revision-0010".

optional string tag = 114586;

Returns
TypeDescription
String

The tag.

getTagBytes()

public abstract ByteString getTagBytes()

Optional Cloud Run tag represents the "named-revision" to provide additional fine-grained traffic routing information. The tag must be 1-63 characters long, and comply with RFC1035. Example value: "revision-0010".

optional string tag = 114586;

Returns
TypeDescription
ByteString

The bytes for tag.

getUrlMask()

public abstract String getUrlMask()

An URL mask is one of the main components of the Cloud Function. A template to parse <service> and <tag> fields from a request URL. URL mask allows for routing to multiple Run services without having to create multiple network endpoint groups and backend services. For example, request URLs foo1.domain.com/bar1 and foo1.domain.com/bar2 can be backed by the same Serverless Network Endpoint Group (NEG) with URL mask <tag>.domain.com/<service>. The URL mask will parse them to { service="bar1", tag="foo1" } and { service="bar2", tag="foo2" } 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 <tag> fields from a request URL. URL mask allows for routing to multiple Run services without having to create multiple network endpoint groups and backend services. For example, request URLs foo1.domain.com/bar1 and foo1.domain.com/bar2 can be backed by the same Serverless Network Endpoint Group (NEG) with URL mask <tag>.domain.com/<service>. The URL mask will parse them to { service="bar1", tag="foo1" } and { service="bar2", tag="foo2" } respectively.

optional string url_mask = 103352252;

Returns
TypeDescription
ByteString

The bytes for urlMask.

hasService()

public abstract boolean hasService()

Cloud Run service is the main resource of Cloud Run. The service must be 1-63 characters long, and comply with RFC1035. Example value: "run-service".

optional string service = 373540533;

Returns
TypeDescription
boolean

Whether the service field is set.

hasTag()

public abstract boolean hasTag()

Optional Cloud Run tag represents the "named-revision" to provide additional fine-grained traffic routing information. The tag must be 1-63 characters long, and comply with RFC1035. Example value: "revision-0010".

optional string tag = 114586;

Returns
TypeDescription
boolean

Whether the tag 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 <tag> fields from a request URL. URL mask allows for routing to multiple Run services without having to create multiple network endpoint groups and backend services. For example, request URLs foo1.domain.com/bar1 and foo1.domain.com/bar2 can be backed by the same Serverless Network Endpoint Group (NEG) with URL mask <tag>.domain.com/<service>. The URL mask will parse them to { service="bar1", tag="foo1" } and { service="bar2", tag="foo2" } respectively.

optional string url_mask = 103352252;

Returns
TypeDescription
boolean

Whether the urlMask field is set.