Package com.google.cloud.compute.v1
Interface NetworkEndpointGroupCloudRunOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
NetworkEndpointGroupCloudRun
,NetworkEndpointGroupCloudRun.Builder
public interface NetworkEndpointGroupCloudRunOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getService()
Cloud Run service is the main resource of Cloud Run.com.google.protobuf.ByteString
getServiceBytes()
Cloud Run service is the main resource of Cloud Run.String
getTag()
Optional Cloud Run tag represents the "named-revision" to provide additional fine-grained traffic routing information.com.google.protobuf.ByteString
getTagBytes()
Optional Cloud Run tag represents the "named-revision" to provide additional fine-grained traffic routing information.String
getUrlMask()
A template to parse <service> and <tag> fields from a request URL.com.google.protobuf.ByteString
getUrlMaskBytes()
A template to parse <service> and <tag> fields from a request URL.boolean
hasService()
Cloud Run service is the main resource of Cloud Run.boolean
hasTag()
Optional Cloud Run tag represents the "named-revision" to provide additional fine-grained traffic routing information.boolean
hasUrlMask()
A template to parse <service> and <tag> fields 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
-
hasService
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:
- Whether the service field is set.
-
getService
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:
- The service.
-
getServiceBytes
com.google.protobuf.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:
- The bytes for service.
-
hasTag
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:
- Whether the tag field is set.
-
getTag
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:
- The tag.
-
getTagBytes
com.google.protobuf.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:
- The bytes for tag.
-
hasUrlMask
boolean hasUrlMask()
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:
- Whether the urlMask field is set.
-
getUrlMask
String getUrlMask()
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:
- The urlMask.
-
getUrlMaskBytes
com.google.protobuf.ByteString getUrlMaskBytes()
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:
- The bytes for urlMask.
-
-