Package com.google.cloud.compute.v1
Class NetworkEndpointGroup
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.compute.v1.NetworkEndpointGroup
-
- All Implemented Interfaces:
NetworkEndpointGroupOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class NetworkEndpointGroup extends com.google.protobuf.GeneratedMessageV3 implements NetworkEndpointGroupOrBuilder
Represents a collection of network endpoints. A network endpoint group (NEG) defines how a set of endpoints should be reached, whether they are reachable, and where they are located. For more information about using NEGs, see Setting up external HTTP(S) Load Balancing with internet NEGs, Setting up zonal NEGs, or Setting up external HTTP(S) Load Balancing with serverless NEGs.
Protobuf typegoogle.cloud.compute.v1.NetworkEndpointGroup- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classNetworkEndpointGroup.BuilderRepresents a collection of network endpoints.static classNetworkEndpointGroup.NetworkEndpointTypeType of network endpoints in this network endpoint group.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intANNOTATIONS_FIELD_NUMBERstatic intAPP_ENGINE_FIELD_NUMBERstatic intCLOUD_FUNCTION_FIELD_NUMBERstatic intCLOUD_RUN_FIELD_NUMBERstatic intCREATION_TIMESTAMP_FIELD_NUMBERstatic intDEFAULT_PORT_FIELD_NUMBERstatic intDESCRIPTION_FIELD_NUMBERstatic intID_FIELD_NUMBERstatic intKIND_FIELD_NUMBERstatic intNAME_FIELD_NUMBERstatic intNETWORK_ENDPOINT_TYPE_FIELD_NUMBERstatic intNETWORK_FIELD_NUMBERstatic intPSC_DATA_FIELD_NUMBERstatic intPSC_TARGET_SERVICE_FIELD_NUMBERstatic intREGION_FIELD_NUMBERstatic intSELF_LINK_FIELD_NUMBERstatic intSIZE_FIELD_NUMBERstatic intSUBNETWORK_FIELD_NUMBERstatic intZONE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleancontainsAnnotations(String key)Metadata defined as annotations on the network endpoint group.booleanequals(Object obj)Map<String,String>getAnnotations()Deprecated.intgetAnnotationsCount()Metadata defined as annotations on the network endpoint group.Map<String,String>getAnnotationsMap()Metadata defined as annotations on the network endpoint group.StringgetAnnotationsOrDefault(String key, String defaultValue)Metadata defined as annotations on the network endpoint group.StringgetAnnotationsOrThrow(String key)Metadata defined as annotations on the network endpoint group.NetworkEndpointGroupAppEnginegetAppEngine()Only valid when networkEndpointType is "SERVERLESS".NetworkEndpointGroupAppEngineOrBuildergetAppEngineOrBuilder()Only valid when networkEndpointType is "SERVERLESS".NetworkEndpointGroupCloudFunctiongetCloudFunction()Only valid when networkEndpointType is "SERVERLESS".NetworkEndpointGroupCloudFunctionOrBuildergetCloudFunctionOrBuilder()Only valid when networkEndpointType is "SERVERLESS".NetworkEndpointGroupCloudRungetCloudRun()Only valid when networkEndpointType is "SERVERLESS".NetworkEndpointGroupCloudRunOrBuildergetCloudRunOrBuilder()Only valid when networkEndpointType is "SERVERLESS".StringgetCreationTimestamp()[Output Only] Creation timestamp in RFC3339 text format.com.google.protobuf.ByteStringgetCreationTimestampBytes()[Output Only] Creation timestamp in RFC3339 text format.static NetworkEndpointGroupgetDefaultInstance()NetworkEndpointGroupgetDefaultInstanceForType()intgetDefaultPort()The default port used if the port number is not specified in the network endpoint.StringgetDescription()An optional description of this resource.com.google.protobuf.ByteStringgetDescriptionBytes()An optional description of this resource.static com.google.protobuf.Descriptors.DescriptorgetDescriptor()longgetId()[Output Only] The unique identifier for the resource.StringgetKind()[Output Only] Type of the resource.com.google.protobuf.ByteStringgetKindBytes()[Output Only] Type of the resource.StringgetName()Name of the resource; provided by the client when the resource is created.com.google.protobuf.ByteStringgetNameBytes()Name of the resource; provided by the client when the resource is created.StringgetNetwork()The URL of the network to which all network endpoints in the NEG belong.com.google.protobuf.ByteStringgetNetworkBytes()The URL of the network to which all network endpoints in the NEG belong.StringgetNetworkEndpointType()Type of network endpoints in this network endpoint group.com.google.protobuf.ByteStringgetNetworkEndpointTypeBytes()Type of network endpoints in this network endpoint group.com.google.protobuf.Parser<NetworkEndpointGroup>getParserForType()NetworkEndpointGroupPscDatagetPscData()optional .google.cloud.compute.v1.NetworkEndpointGroupPscData psc_data = 71937481;NetworkEndpointGroupPscDataOrBuildergetPscDataOrBuilder()optional .google.cloud.compute.v1.NetworkEndpointGroupPscData psc_data = 71937481;StringgetPscTargetService()The target service url used to set up private service connection to a Google API or a PSC Producer Service Attachment.com.google.protobuf.ByteStringgetPscTargetServiceBytes()The target service url used to set up private service connection to a Google API or a PSC Producer Service Attachment.StringgetRegion()[Output Only] The URL of the region where the network endpoint group is located.com.google.protobuf.ByteStringgetRegionBytes()[Output Only] The URL of the region where the network endpoint group is located.StringgetSelfLink()[Output Only] Server-defined URL for the resource.com.google.protobuf.ByteStringgetSelfLinkBytes()[Output Only] Server-defined URL for the resource.intgetSerializedSize()intgetSize()[Output only] Number of network endpoints in the network endpoint group.StringgetSubnetwork()Optional URL of the subnetwork to which all network endpoints in the NEG belong.com.google.protobuf.ByteStringgetSubnetworkBytes()Optional URL of the subnetwork to which all network endpoints in the NEG belong.StringgetZone()[Output Only] The URL of the zone where the network endpoint group is located.com.google.protobuf.ByteStringgetZoneBytes()[Output Only] The URL of the zone where the network endpoint group is located.booleanhasAppEngine()Only valid when networkEndpointType is "SERVERLESS".booleanhasCloudFunction()Only valid when networkEndpointType is "SERVERLESS".booleanhasCloudRun()Only valid when networkEndpointType is "SERVERLESS".booleanhasCreationTimestamp()[Output Only] Creation timestamp in RFC3339 text format.booleanhasDefaultPort()The default port used if the port number is not specified in the network endpoint.booleanhasDescription()An optional description of this resource.inthashCode()booleanhasId()[Output Only] The unique identifier for the resource.booleanhasKind()[Output Only] Type of the resource.booleanhasName()Name of the resource; provided by the client when the resource is created.booleanhasNetwork()The URL of the network to which all network endpoints in the NEG belong.booleanhasNetworkEndpointType()Type of network endpoints in this network endpoint group.booleanhasPscData()optional .google.cloud.compute.v1.NetworkEndpointGroupPscData psc_data = 71937481;booleanhasPscTargetService()The target service url used to set up private service connection to a Google API or a PSC Producer Service Attachment.booleanhasRegion()[Output Only] The URL of the region where the network endpoint group is located.booleanhasSelfLink()[Output Only] Server-defined URL for the resource.booleanhasSize()[Output only] Number of network endpoints in the network endpoint group.booleanhasSubnetwork()Optional URL of the subnetwork to which all network endpoints in the NEG belong.booleanhasZone()[Output Only] The URL of the zone where the network endpoint group is located.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)booleanisInitialized()static NetworkEndpointGroup.BuildernewBuilder()static NetworkEndpointGroup.BuildernewBuilder(NetworkEndpointGroup prototype)NetworkEndpointGroup.BuildernewBuilderForType()protected NetworkEndpointGroup.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static NetworkEndpointGroupparseDelimitedFrom(InputStream input)static NetworkEndpointGroupparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static NetworkEndpointGroupparseFrom(byte[] data)static NetworkEndpointGroupparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static NetworkEndpointGroupparseFrom(com.google.protobuf.ByteString data)static NetworkEndpointGroupparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static NetworkEndpointGroupparseFrom(com.google.protobuf.CodedInputStream input)static NetworkEndpointGroupparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static NetworkEndpointGroupparseFrom(InputStream input)static NetworkEndpointGroupparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static NetworkEndpointGroupparseFrom(ByteBuffer data)static NetworkEndpointGroupparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<NetworkEndpointGroup>parser()NetworkEndpointGroup.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, 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, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
ANNOTATIONS_FIELD_NUMBER
public static final int ANNOTATIONS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
APP_ENGINE_FIELD_NUMBER
public static final int APP_ENGINE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CLOUD_FUNCTION_FIELD_NUMBER
public static final int CLOUD_FUNCTION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CLOUD_RUN_FIELD_NUMBER
public static final int CLOUD_RUN_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CREATION_TIMESTAMP_FIELD_NUMBER
public static final int CREATION_TIMESTAMP_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DEFAULT_PORT_FIELD_NUMBER
public static final int DEFAULT_PORT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
KIND_FIELD_NUMBER
public static final int KIND_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NETWORK_FIELD_NUMBER
public static final int NETWORK_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NETWORK_ENDPOINT_TYPE_FIELD_NUMBER
public static final int NETWORK_ENDPOINT_TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PSC_DATA_FIELD_NUMBER
public static final int PSC_DATA_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PSC_TARGET_SERVICE_FIELD_NUMBER
public static final int PSC_TARGET_SERVICE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
REGION_FIELD_NUMBER
public static final int REGION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SELF_LINK_FIELD_NUMBER
public static final int SELF_LINK_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SIZE_FIELD_NUMBER
public static final int SIZE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SUBNETWORK_FIELD_NUMBER
public static final int SUBNETWORK_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ZONE_FIELD_NUMBER
public static final int ZONE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getAnnotationsCount
public int getAnnotationsCount()
Description copied from interface:NetworkEndpointGroupOrBuilderMetadata defined as annotations on the network endpoint group.
map<string, string> annotations = 112032548;- Specified by:
getAnnotationsCountin interfaceNetworkEndpointGroupOrBuilder
-
containsAnnotations
public boolean containsAnnotations(String key)
Metadata defined as annotations on the network endpoint group.
map<string, string> annotations = 112032548;- Specified by:
containsAnnotationsin interfaceNetworkEndpointGroupOrBuilder
-
getAnnotations
@Deprecated public Map<String,String> getAnnotations()
Deprecated.UsegetAnnotationsMap()instead.- Specified by:
getAnnotationsin interfaceNetworkEndpointGroupOrBuilder
-
getAnnotationsMap
public Map<String,String> getAnnotationsMap()
Metadata defined as annotations on the network endpoint group.
map<string, string> annotations = 112032548;- Specified by:
getAnnotationsMapin interfaceNetworkEndpointGroupOrBuilder
-
getAnnotationsOrDefault
public String getAnnotationsOrDefault(String key, String defaultValue)
Metadata defined as annotations on the network endpoint group.
map<string, string> annotations = 112032548;- Specified by:
getAnnotationsOrDefaultin interfaceNetworkEndpointGroupOrBuilder
-
getAnnotationsOrThrow
public String getAnnotationsOrThrow(String key)
Metadata defined as annotations on the network endpoint group.
map<string, string> annotations = 112032548;- Specified by:
getAnnotationsOrThrowin interfaceNetworkEndpointGroupOrBuilder
-
hasAppEngine
public boolean hasAppEngine()
Only valid when networkEndpointType is "SERVERLESS". Only one of cloudRun, appEngine or cloudFunction may be set.
optional .google.cloud.compute.v1.NetworkEndpointGroupAppEngine app_engine = 340788768;- Specified by:
hasAppEnginein interfaceNetworkEndpointGroupOrBuilder- Returns:
- Whether the appEngine field is set.
-
getAppEngine
public NetworkEndpointGroupAppEngine getAppEngine()
Only valid when networkEndpointType is "SERVERLESS". Only one of cloudRun, appEngine or cloudFunction may be set.
optional .google.cloud.compute.v1.NetworkEndpointGroupAppEngine app_engine = 340788768;- Specified by:
getAppEnginein interfaceNetworkEndpointGroupOrBuilder- Returns:
- The appEngine.
-
getAppEngineOrBuilder
public NetworkEndpointGroupAppEngineOrBuilder getAppEngineOrBuilder()
Only valid when networkEndpointType is "SERVERLESS". Only one of cloudRun, appEngine or cloudFunction may be set.
optional .google.cloud.compute.v1.NetworkEndpointGroupAppEngine app_engine = 340788768;- Specified by:
getAppEngineOrBuilderin interfaceNetworkEndpointGroupOrBuilder
-
hasCloudFunction
public boolean hasCloudFunction()
Only valid when networkEndpointType is "SERVERLESS". Only one of cloudRun, appEngine or cloudFunction may be set.
optional .google.cloud.compute.v1.NetworkEndpointGroupCloudFunction cloud_function = 519893666;- Specified by:
hasCloudFunctionin interfaceNetworkEndpointGroupOrBuilder- Returns:
- Whether the cloudFunction field is set.
-
getCloudFunction
public NetworkEndpointGroupCloudFunction getCloudFunction()
Only valid when networkEndpointType is "SERVERLESS". Only one of cloudRun, appEngine or cloudFunction may be set.
optional .google.cloud.compute.v1.NetworkEndpointGroupCloudFunction cloud_function = 519893666;- Specified by:
getCloudFunctionin interfaceNetworkEndpointGroupOrBuilder- Returns:
- The cloudFunction.
-
getCloudFunctionOrBuilder
public NetworkEndpointGroupCloudFunctionOrBuilder getCloudFunctionOrBuilder()
Only valid when networkEndpointType is "SERVERLESS". Only one of cloudRun, appEngine or cloudFunction may be set.
optional .google.cloud.compute.v1.NetworkEndpointGroupCloudFunction cloud_function = 519893666;- Specified by:
getCloudFunctionOrBuilderin interfaceNetworkEndpointGroupOrBuilder
-
hasCloudRun
public boolean hasCloudRun()
Only valid when networkEndpointType is "SERVERLESS". Only one of cloudRun, appEngine or cloudFunction may be set.
optional .google.cloud.compute.v1.NetworkEndpointGroupCloudRun cloud_run = 111060353;- Specified by:
hasCloudRunin interfaceNetworkEndpointGroupOrBuilder- Returns:
- Whether the cloudRun field is set.
-
getCloudRun
public NetworkEndpointGroupCloudRun getCloudRun()
Only valid when networkEndpointType is "SERVERLESS". Only one of cloudRun, appEngine or cloudFunction may be set.
optional .google.cloud.compute.v1.NetworkEndpointGroupCloudRun cloud_run = 111060353;- Specified by:
getCloudRunin interfaceNetworkEndpointGroupOrBuilder- Returns:
- The cloudRun.
-
getCloudRunOrBuilder
public NetworkEndpointGroupCloudRunOrBuilder getCloudRunOrBuilder()
Only valid when networkEndpointType is "SERVERLESS". Only one of cloudRun, appEngine or cloudFunction may be set.
optional .google.cloud.compute.v1.NetworkEndpointGroupCloudRun cloud_run = 111060353;- Specified by:
getCloudRunOrBuilderin interfaceNetworkEndpointGroupOrBuilder
-
hasCreationTimestamp
public boolean hasCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;- Specified by:
hasCreationTimestampin interfaceNetworkEndpointGroupOrBuilder- Returns:
- Whether the creationTimestamp field is set.
-
getCreationTimestamp
public String getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;- Specified by:
getCreationTimestampin interfaceNetworkEndpointGroupOrBuilder- Returns:
- The creationTimestamp.
-
getCreationTimestampBytes
public com.google.protobuf.ByteString getCreationTimestampBytes()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;- Specified by:
getCreationTimestampBytesin interfaceNetworkEndpointGroupOrBuilder- Returns:
- The bytes for creationTimestamp.
-
hasDefaultPort
public boolean hasDefaultPort()
The default port used if the port number is not specified in the network endpoint.
optional int32 default_port = 423377855;- Specified by:
hasDefaultPortin interfaceNetworkEndpointGroupOrBuilder- Returns:
- Whether the defaultPort field is set.
-
getDefaultPort
public int getDefaultPort()
The default port used if the port number is not specified in the network endpoint.
optional int32 default_port = 423377855;- Specified by:
getDefaultPortin interfaceNetworkEndpointGroupOrBuilder- Returns:
- The defaultPort.
-
hasDescription
public boolean hasDescription()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;- Specified by:
hasDescriptionin interfaceNetworkEndpointGroupOrBuilder- Returns:
- Whether the description field is set.
-
getDescription
public String getDescription()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;- Specified by:
getDescriptionin interfaceNetworkEndpointGroupOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;- Specified by:
getDescriptionBytesin interfaceNetworkEndpointGroupOrBuilder- Returns:
- The bytes for description.
-
hasId
public boolean hasId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;- Specified by:
hasIdin interfaceNetworkEndpointGroupOrBuilder- Returns:
- Whether the id field is set.
-
getId
public long getId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;- Specified by:
getIdin interfaceNetworkEndpointGroupOrBuilder- Returns:
- The id.
-
hasKind
public boolean hasKind()
[Output Only] Type of the resource. Always compute#networkEndpointGroup for network endpoint group.
optional string kind = 3292052;- Specified by:
hasKindin interfaceNetworkEndpointGroupOrBuilder- Returns:
- Whether the kind field is set.
-
getKind
public String getKind()
[Output Only] Type of the resource. Always compute#networkEndpointGroup for network endpoint group.
optional string kind = 3292052;- Specified by:
getKindin interfaceNetworkEndpointGroupOrBuilder- Returns:
- The kind.
-
getKindBytes
public com.google.protobuf.ByteString getKindBytes()
[Output Only] Type of the resource. Always compute#networkEndpointGroup for network endpoint group.
optional string kind = 3292052;- Specified by:
getKindBytesin interfaceNetworkEndpointGroupOrBuilder- Returns:
- The bytes for kind.
-
hasName
public boolean hasName()
Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
optional string name = 3373707;- Specified by:
hasNamein interfaceNetworkEndpointGroupOrBuilder- Returns:
- Whether the name field is set.
-
getName
public String getName()
Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
optional string name = 3373707;- Specified by:
getNamein interfaceNetworkEndpointGroupOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
optional string name = 3373707;- Specified by:
getNameBytesin interfaceNetworkEndpointGroupOrBuilder- Returns:
- The bytes for name.
-
hasNetwork
public boolean hasNetwork()
The URL of the network to which all network endpoints in the NEG belong. Uses "default" project network if unspecified.
optional string network = 232872494;- Specified by:
hasNetworkin interfaceNetworkEndpointGroupOrBuilder- Returns:
- Whether the network field is set.
-
getNetwork
public String getNetwork()
The URL of the network to which all network endpoints in the NEG belong. Uses "default" project network if unspecified.
optional string network = 232872494;- Specified by:
getNetworkin interfaceNetworkEndpointGroupOrBuilder- Returns:
- The network.
-
getNetworkBytes
public com.google.protobuf.ByteString getNetworkBytes()
The URL of the network to which all network endpoints in the NEG belong. Uses "default" project network if unspecified.
optional string network = 232872494;- Specified by:
getNetworkBytesin interfaceNetworkEndpointGroupOrBuilder- Returns:
- The bytes for network.
-
hasNetworkEndpointType
public boolean hasNetworkEndpointType()
Type of network endpoints in this network endpoint group. Can be one of GCE_VM_IP, GCE_VM_IP_PORT, NON_GCP_PRIVATE_IP_PORT, INTERNET_FQDN_PORT, INTERNET_IP_PORT, SERVERLESS, PRIVATE_SERVICE_CONNECT. Check the NetworkEndpointType enum for the list of possible values.
optional string network_endpoint_type = 118301523;- Specified by:
hasNetworkEndpointTypein interfaceNetworkEndpointGroupOrBuilder- Returns:
- Whether the networkEndpointType field is set.
-
getNetworkEndpointType
public String getNetworkEndpointType()
Type of network endpoints in this network endpoint group. Can be one of GCE_VM_IP, GCE_VM_IP_PORT, NON_GCP_PRIVATE_IP_PORT, INTERNET_FQDN_PORT, INTERNET_IP_PORT, SERVERLESS, PRIVATE_SERVICE_CONNECT. Check the NetworkEndpointType enum for the list of possible values.
optional string network_endpoint_type = 118301523;- Specified by:
getNetworkEndpointTypein interfaceNetworkEndpointGroupOrBuilder- Returns:
- The networkEndpointType.
-
getNetworkEndpointTypeBytes
public com.google.protobuf.ByteString getNetworkEndpointTypeBytes()
Type of network endpoints in this network endpoint group. Can be one of GCE_VM_IP, GCE_VM_IP_PORT, NON_GCP_PRIVATE_IP_PORT, INTERNET_FQDN_PORT, INTERNET_IP_PORT, SERVERLESS, PRIVATE_SERVICE_CONNECT. Check the NetworkEndpointType enum for the list of possible values.
optional string network_endpoint_type = 118301523;- Specified by:
getNetworkEndpointTypeBytesin interfaceNetworkEndpointGroupOrBuilder- Returns:
- The bytes for networkEndpointType.
-
hasPscData
public boolean hasPscData()
optional .google.cloud.compute.v1.NetworkEndpointGroupPscData psc_data = 71937481;- Specified by:
hasPscDatain interfaceNetworkEndpointGroupOrBuilder- Returns:
- Whether the pscData field is set.
-
getPscData
public NetworkEndpointGroupPscData getPscData()
optional .google.cloud.compute.v1.NetworkEndpointGroupPscData psc_data = 71937481;- Specified by:
getPscDatain interfaceNetworkEndpointGroupOrBuilder- Returns:
- The pscData.
-
getPscDataOrBuilder
public NetworkEndpointGroupPscDataOrBuilder getPscDataOrBuilder()
optional .google.cloud.compute.v1.NetworkEndpointGroupPscData psc_data = 71937481;- Specified by:
getPscDataOrBuilderin interfaceNetworkEndpointGroupOrBuilder
-
hasPscTargetService
public boolean hasPscTargetService()
The target service url used to set up private service connection to a Google API or a PSC Producer Service Attachment. An example value is: "asia-northeast3-cloudkms.googleapis.com"
optional string psc_target_service = 269132134;- Specified by:
hasPscTargetServicein interfaceNetworkEndpointGroupOrBuilder- Returns:
- Whether the pscTargetService field is set.
-
getPscTargetService
public String getPscTargetService()
The target service url used to set up private service connection to a Google API or a PSC Producer Service Attachment. An example value is: "asia-northeast3-cloudkms.googleapis.com"
optional string psc_target_service = 269132134;- Specified by:
getPscTargetServicein interfaceNetworkEndpointGroupOrBuilder- Returns:
- The pscTargetService.
-
getPscTargetServiceBytes
public com.google.protobuf.ByteString getPscTargetServiceBytes()
The target service url used to set up private service connection to a Google API or a PSC Producer Service Attachment. An example value is: "asia-northeast3-cloudkms.googleapis.com"
optional string psc_target_service = 269132134;- Specified by:
getPscTargetServiceBytesin interfaceNetworkEndpointGroupOrBuilder- Returns:
- The bytes for pscTargetService.
-
hasRegion
public boolean hasRegion()
[Output Only] The URL of the region where the network endpoint group is located.
optional string region = 138946292;- Specified by:
hasRegionin interfaceNetworkEndpointGroupOrBuilder- Returns:
- Whether the region field is set.
-
getRegion
public String getRegion()
[Output Only] The URL of the region where the network endpoint group is located.
optional string region = 138946292;- Specified by:
getRegionin interfaceNetworkEndpointGroupOrBuilder- Returns:
- The region.
-
getRegionBytes
public com.google.protobuf.ByteString getRegionBytes()
[Output Only] The URL of the region where the network endpoint group is located.
optional string region = 138946292;- Specified by:
getRegionBytesin interfaceNetworkEndpointGroupOrBuilder- Returns:
- The bytes for region.
-
hasSelfLink
public boolean hasSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Specified by:
hasSelfLinkin interfaceNetworkEndpointGroupOrBuilder- Returns:
- Whether the selfLink field is set.
-
getSelfLink
public String getSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Specified by:
getSelfLinkin interfaceNetworkEndpointGroupOrBuilder- Returns:
- The selfLink.
-
getSelfLinkBytes
public com.google.protobuf.ByteString getSelfLinkBytes()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Specified by:
getSelfLinkBytesin interfaceNetworkEndpointGroupOrBuilder- Returns:
- The bytes for selfLink.
-
hasSize
public boolean hasSize()
[Output only] Number of network endpoints in the network endpoint group.
optional int32 size = 3530753;- Specified by:
hasSizein interfaceNetworkEndpointGroupOrBuilder- Returns:
- Whether the size field is set.
-
getSize
public int getSize()
[Output only] Number of network endpoints in the network endpoint group.
optional int32 size = 3530753;- Specified by:
getSizein interfaceNetworkEndpointGroupOrBuilder- Returns:
- The size.
-
hasSubnetwork
public boolean hasSubnetwork()
Optional URL of the subnetwork to which all network endpoints in the NEG belong.
optional string subnetwork = 307827694;- Specified by:
hasSubnetworkin interfaceNetworkEndpointGroupOrBuilder- Returns:
- Whether the subnetwork field is set.
-
getSubnetwork
public String getSubnetwork()
Optional URL of the subnetwork to which all network endpoints in the NEG belong.
optional string subnetwork = 307827694;- Specified by:
getSubnetworkin interfaceNetworkEndpointGroupOrBuilder- Returns:
- The subnetwork.
-
getSubnetworkBytes
public com.google.protobuf.ByteString getSubnetworkBytes()
Optional URL of the subnetwork to which all network endpoints in the NEG belong.
optional string subnetwork = 307827694;- Specified by:
getSubnetworkBytesin interfaceNetworkEndpointGroupOrBuilder- Returns:
- The bytes for subnetwork.
-
hasZone
public boolean hasZone()
[Output Only] The URL of the zone where the network endpoint group is located.
optional string zone = 3744684;- Specified by:
hasZonein interfaceNetworkEndpointGroupOrBuilder- Returns:
- Whether the zone field is set.
-
getZone
public String getZone()
[Output Only] The URL of the zone where the network endpoint group is located.
optional string zone = 3744684;- Specified by:
getZonein interfaceNetworkEndpointGroupOrBuilder- Returns:
- The zone.
-
getZoneBytes
public com.google.protobuf.ByteString getZoneBytes()
[Output Only] The URL of the zone where the network endpoint group is located.
optional string zone = 3744684;- Specified by:
getZoneBytesin interfaceNetworkEndpointGroupOrBuilder- Returns:
- The bytes for zone.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- 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 NetworkEndpointGroup parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NetworkEndpointGroup parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NetworkEndpointGroup parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NetworkEndpointGroup parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NetworkEndpointGroup parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NetworkEndpointGroup parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NetworkEndpointGroup parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static NetworkEndpointGroup parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static NetworkEndpointGroup parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static NetworkEndpointGroup parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static NetworkEndpointGroup parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static NetworkEndpointGroup parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public NetworkEndpointGroup.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static NetworkEndpointGroup.Builder newBuilder()
-
newBuilder
public static NetworkEndpointGroup.Builder newBuilder(NetworkEndpointGroup prototype)
-
toBuilder
public NetworkEndpointGroup.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected NetworkEndpointGroup.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static NetworkEndpointGroup getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<NetworkEndpointGroup> parser()
-
getParserForType
public com.google.protobuf.Parser<NetworkEndpointGroup> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public NetworkEndpointGroup getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-