Package com.google.cloud.compute.v1
Class NetworkEndpointGroupCloudRun
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.compute.v1.NetworkEndpointGroupCloudRun
- All Implemented Interfaces:
NetworkEndpointGroupCloudRunOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class NetworkEndpointGroupCloudRun
extends com.google.protobuf.GeneratedMessage
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- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classConfiguration for a Cloud Run network endpoint group (NEG).Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic NetworkEndpointGroupCloudRunstatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Parser<NetworkEndpointGroupCloudRun>intCloud Run service is the main resource of Cloud Run.com.google.protobuf.ByteStringCloud Run service is the main resource of Cloud Run.getTag()Optional Cloud Run tag represents the "named-revision" to provide additional fine-grained traffic routing information.com.google.protobuf.ByteStringOptional Cloud Run tag represents the "named-revision" to provide additional fine-grained traffic routing information.An URL mask is one of the main components of the Cloud Function.com.google.protobuf.ByteStringAn URL mask is one of the main components of the Cloud Function.inthashCode()booleanCloud Run service is the main resource of Cloud Run.booleanhasTag()Optional Cloud Run tag represents the "named-revision" to provide additional fine-grained traffic routing information.booleanAn URL mask is one of the main components of the Cloud Function.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleannewBuilder(NetworkEndpointGroupCloudRun prototype) protected NetworkEndpointGroupCloudRun.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static NetworkEndpointGroupCloudRunparseDelimitedFrom(InputStream input) static NetworkEndpointGroupCloudRunparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static NetworkEndpointGroupCloudRunparseFrom(byte[] data) static NetworkEndpointGroupCloudRunparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static NetworkEndpointGroupCloudRunparseFrom(com.google.protobuf.ByteString data) static NetworkEndpointGroupCloudRunparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static NetworkEndpointGroupCloudRunparseFrom(com.google.protobuf.CodedInputStream input) static NetworkEndpointGroupCloudRunparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static NetworkEndpointGroupCloudRunparseFrom(InputStream input) static NetworkEndpointGroupCloudRunparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static NetworkEndpointGroupCloudRunparseFrom(ByteBuffer data) static NetworkEndpointGroupCloudRunparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<NetworkEndpointGroupCloudRun>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
SERVICE_FIELD_NUMBER
public static final int SERVICE_FIELD_NUMBER- See Also:
-
TAG_FIELD_NUMBER
public static final int TAG_FIELD_NUMBER- See Also:
-
URL_MASK_FIELD_NUMBER
public static final int URL_MASK_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
hasService
public boolean hasService()Cloud Run service is the main resource of Cloud Run. The service must be 1-63 characters long, and comply withRFC1035. Example value: "run-service".
optional string service = 373540533;- Specified by:
hasServicein interfaceNetworkEndpointGroupCloudRunOrBuilder- Returns:
- Whether the service field is set.
-
getService
Cloud Run service is the main resource of Cloud Run. The service must be 1-63 characters long, and comply withRFC1035. Example value: "run-service".
optional string service = 373540533;- Specified by:
getServicein interfaceNetworkEndpointGroupCloudRunOrBuilder- Returns:
- The service.
-
getServiceBytes
public 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 withRFC1035. Example value: "run-service".
optional string service = 373540533;- Specified by:
getServiceBytesin interfaceNetworkEndpointGroupCloudRunOrBuilder- Returns:
- The bytes for service.
-
hasTag
public 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 withRFC1035. Example value: "revision-0010".
optional string tag = 114586;- Specified by:
hasTagin interfaceNetworkEndpointGroupCloudRunOrBuilder- Returns:
- Whether the tag field is set.
-
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 withRFC1035. Example value: "revision-0010".
optional string tag = 114586;- Specified by:
getTagin interfaceNetworkEndpointGroupCloudRunOrBuilder- Returns:
- The tag.
-
getTagBytes
public 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 withRFC1035. Example value: "revision-0010".
optional string tag = 114586;- Specified by:
getTagBytesin interfaceNetworkEndpointGroupCloudRunOrBuilder- Returns:
- The bytes for tag.
-
hasUrlMask
public 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 andfoo1.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;- Specified by:
hasUrlMaskin interfaceNetworkEndpointGroupCloudRunOrBuilder- Returns:
- Whether the urlMask field is set.
-
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 andfoo1.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;- Specified by:
getUrlMaskin interfaceNetworkEndpointGroupCloudRunOrBuilder- Returns:
- The urlMask.
-
getUrlMaskBytes
public com.google.protobuf.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 andfoo1.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;- Specified by:
getUrlMaskBytesin interfaceNetworkEndpointGroupCloudRunOrBuilder- Returns:
- The bytes for urlMask.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static NetworkEndpointGroupCloudRun parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NetworkEndpointGroupCloudRun parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NetworkEndpointGroupCloudRun parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NetworkEndpointGroupCloudRun parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NetworkEndpointGroupCloudRun parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NetworkEndpointGroupCloudRun parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static NetworkEndpointGroupCloudRun parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static NetworkEndpointGroupCloudRun parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static NetworkEndpointGroupCloudRun parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static NetworkEndpointGroupCloudRun parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
public static NetworkEndpointGroupCloudRun.Builder newBuilder(NetworkEndpointGroupCloudRun prototype) -
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected NetworkEndpointGroupCloudRun.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-