public final class NetworkEndpointGroupCloudRun extends com.google.protobuf.GeneratedMessageV3 implements NetworkEndpointGroupCloudRunOrBuilder
Configuration for a Cloud Run network endpoint group (NEG). The service must be provided explicitly or in the URL mask. The tag is optional, may be provided explicitly or in the URL mask. Note: Cloud Run service must be in the same project and located in the same region as the Serverless NEG.Protobuf type
google.cloud.compute.v1.NetworkEndpointGroupCloudRun| Modifier and Type | Class and Description |
|---|---|
static class |
NetworkEndpointGroupCloudRun.Builder
Configuration for a Cloud Run network endpoint group (NEG).
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
SERVICE_FIELD_NUMBER |
static int |
TAG_FIELD_NUMBER |
static int |
URL_MASK_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static NetworkEndpointGroupCloudRun |
getDefaultInstance() |
NetworkEndpointGroupCloudRun |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Parser<NetworkEndpointGroupCloudRun> |
getParserForType() |
int |
getSerializedSize() |
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.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
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.
|
int |
hashCode() |
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.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static NetworkEndpointGroupCloudRun.Builder |
newBuilder() |
static NetworkEndpointGroupCloudRun.Builder |
newBuilder(NetworkEndpointGroupCloudRun prototype) |
NetworkEndpointGroupCloudRun.Builder |
newBuilderForType() |
protected NetworkEndpointGroupCloudRun.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static NetworkEndpointGroupCloudRun |
parseDelimitedFrom(InputStream input) |
static NetworkEndpointGroupCloudRun |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static NetworkEndpointGroupCloudRun |
parseFrom(byte[] data) |
static NetworkEndpointGroupCloudRun |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static NetworkEndpointGroupCloudRun |
parseFrom(ByteBuffer data) |
static NetworkEndpointGroupCloudRun |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static NetworkEndpointGroupCloudRun |
parseFrom(com.google.protobuf.ByteString data) |
static NetworkEndpointGroupCloudRun |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static NetworkEndpointGroupCloudRun |
parseFrom(com.google.protobuf.CodedInputStream input) |
static NetworkEndpointGroupCloudRun |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static NetworkEndpointGroupCloudRun |
parseFrom(InputStream input) |
static NetworkEndpointGroupCloudRun |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<NetworkEndpointGroupCloudRun> |
parser() |
NetworkEndpointGroupCloudRun.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int SERVICE_FIELD_NUMBER
public static final int TAG_FIELD_NUMBER
public static final int URL_MASK_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public 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;hasService in interface NetworkEndpointGroupCloudRunOrBuilderpublic 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;getService in interface NetworkEndpointGroupCloudRunOrBuilderpublic 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;getServiceBytes in interface NetworkEndpointGroupCloudRunOrBuilderpublic 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;hasTag in interface NetworkEndpointGroupCloudRunOrBuilderpublic 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;getTag in interface NetworkEndpointGroupCloudRunOrBuilderpublic 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;getTagBytes in interface NetworkEndpointGroupCloudRunOrBuilderpublic 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;hasUrlMask in interface NetworkEndpointGroupCloudRunOrBuilderpublic 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;getUrlMask in interface NetworkEndpointGroupCloudRunOrBuilderpublic 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;getUrlMaskBytes in interface NetworkEndpointGroupCloudRunOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static NetworkEndpointGroupCloudRun parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static NetworkEndpointGroupCloudRun parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static NetworkEndpointGroupCloudRun parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static NetworkEndpointGroupCloudRun parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static NetworkEndpointGroupCloudRun parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static NetworkEndpointGroupCloudRun parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static NetworkEndpointGroupCloudRun parseFrom(InputStream input) throws IOException
IOExceptionpublic static NetworkEndpointGroupCloudRun parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static NetworkEndpointGroupCloudRun parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static NetworkEndpointGroupCloudRun parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static NetworkEndpointGroupCloudRun parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static NetworkEndpointGroupCloudRun parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic NetworkEndpointGroupCloudRun.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static NetworkEndpointGroupCloudRun.Builder newBuilder()
public static NetworkEndpointGroupCloudRun.Builder newBuilder(NetworkEndpointGroupCloudRun prototype)
public NetworkEndpointGroupCloudRun.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected NetworkEndpointGroupCloudRun.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static NetworkEndpointGroupCloudRun getDefaultInstance()
public static com.google.protobuf.Parser<NetworkEndpointGroupCloudRun> parser()
public com.google.protobuf.Parser<NetworkEndpointGroupCloudRun> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public NetworkEndpointGroupCloudRun getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2023 Google LLC. All rights reserved.