Package com.google.cloud.compute.v1
Class Subnetwork
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.compute.v1.Subnetwork
-
- All Implemented Interfaces:
SubnetworkOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class Subnetwork extends com.google.protobuf.GeneratedMessageV3 implements SubnetworkOrBuilder
Represents a Subnetwork resource. A subnetwork (also known as a subnet) is a logical partition of a Virtual Private Cloud network with one primary IP range and zero or more secondary IP ranges. For more information, read Virtual Private Cloud (VPC) Network.
Protobuf typegoogle.cloud.compute.v1.Subnetwork- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSubnetwork.BuilderRepresents a Subnetwork resource.static classSubnetwork.Ipv6AccessTypeThe access type of IPv6 address this subnet holds.static classSubnetwork.PrivateIpv6GoogleAccessThis field is for internal use.static classSubnetwork.PurposeThe purpose of the resource.static classSubnetwork.RoleThe role of subnetwork.static classSubnetwork.StackTypeThe stack type for the subnet.static classSubnetwork.State[Output Only] The state of the subnetwork, which can be one of the following values: READY: Subnetwork is created and ready to use DRAINING: only applicable to subnetworks that have the purpose set to INTERNAL_HTTPS_LOAD_BALANCER and indicates that connections to the load balancer are being drained.-
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 intCREATION_TIMESTAMP_FIELD_NUMBERstatic intDESCRIPTION_FIELD_NUMBERstatic intENABLE_FLOW_LOGS_FIELD_NUMBERstatic intEXTERNAL_IPV6_PREFIX_FIELD_NUMBERstatic intFINGERPRINT_FIELD_NUMBERstatic intGATEWAY_ADDRESS_FIELD_NUMBERstatic intID_FIELD_NUMBERstatic intINTERNAL_IPV6_PREFIX_FIELD_NUMBERstatic intIP_CIDR_RANGE_FIELD_NUMBERstatic intIPV6_ACCESS_TYPE_FIELD_NUMBERstatic intIPV6_CIDR_RANGE_FIELD_NUMBERstatic intKIND_FIELD_NUMBERstatic intLOG_CONFIG_FIELD_NUMBERstatic intNAME_FIELD_NUMBERstatic intNETWORK_FIELD_NUMBERstatic intPRIVATE_IP_GOOGLE_ACCESS_FIELD_NUMBERstatic intPRIVATE_IPV6_GOOGLE_ACCESS_FIELD_NUMBERstatic intPURPOSE_FIELD_NUMBERstatic intREGION_FIELD_NUMBERstatic intROLE_FIELD_NUMBERstatic intSECONDARY_IP_RANGES_FIELD_NUMBERstatic intSELF_LINK_FIELD_NUMBERstatic intSTACK_TYPE_FIELD_NUMBERstatic intSTATE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)StringgetCreationTimestamp()[Output Only] Creation timestamp in RFC3339 text format.com.google.protobuf.ByteStringgetCreationTimestampBytes()[Output Only] Creation timestamp in RFC3339 text format.static SubnetworkgetDefaultInstance()SubnetworkgetDefaultInstanceForType()StringgetDescription()An optional description of this resource.com.google.protobuf.ByteStringgetDescriptionBytes()An optional description of this resource.static com.google.protobuf.Descriptors.DescriptorgetDescriptor()booleangetEnableFlowLogs()Whether to enable flow logging for this subnetwork.StringgetExternalIpv6Prefix()The external IPv6 address range that is owned by this subnetwork.com.google.protobuf.ByteStringgetExternalIpv6PrefixBytes()The external IPv6 address range that is owned by this subnetwork.StringgetFingerprint()Fingerprint of this resource.com.google.protobuf.ByteStringgetFingerprintBytes()Fingerprint of this resource.StringgetGatewayAddress()[Output Only] The gateway address for default routes to reach destination addresses outside this subnetwork.com.google.protobuf.ByteStringgetGatewayAddressBytes()[Output Only] The gateway address for default routes to reach destination addresses outside this subnetwork.longgetId()[Output Only] The unique identifier for the resource.StringgetInternalIpv6Prefix()[Output Only] The internal IPv6 address range that is assigned to this subnetwork.com.google.protobuf.ByteStringgetInternalIpv6PrefixBytes()[Output Only] The internal IPv6 address range that is assigned to this subnetwork.StringgetIpCidrRange()The range of internal addresses that are owned by this subnetwork.com.google.protobuf.ByteStringgetIpCidrRangeBytes()The range of internal addresses that are owned by this subnetwork.StringgetIpv6AccessType()The access type of IPv6 address this subnet holds.com.google.protobuf.ByteStringgetIpv6AccessTypeBytes()The access type of IPv6 address this subnet holds.StringgetIpv6CidrRange()[Output Only] This field is for internal use.com.google.protobuf.ByteStringgetIpv6CidrRangeBytes()[Output Only] This field is for internal use.StringgetKind()[Output Only] Type of the resource.com.google.protobuf.ByteStringgetKindBytes()[Output Only] Type of the resource.SubnetworkLogConfiggetLogConfig()This field denotes the VPC flow logging options for this subnetwork.SubnetworkLogConfigOrBuildergetLogConfigOrBuilder()This field denotes the VPC flow logging options for this subnetwork.StringgetName()The name of the resource, provided by the client when initially creating the resource.com.google.protobuf.ByteStringgetNameBytes()The name of the resource, provided by the client when initially creating the resource.StringgetNetwork()The URL of the network to which this subnetwork belongs, provided by the client when initially creating the subnetwork.com.google.protobuf.ByteStringgetNetworkBytes()The URL of the network to which this subnetwork belongs, provided by the client when initially creating the subnetwork.com.google.protobuf.Parser<Subnetwork>getParserForType()booleangetPrivateIpGoogleAccess()Whether the VMs in this subnet can access Google services without assigned external IP addresses.StringgetPrivateIpv6GoogleAccess()This field is for internal use.com.google.protobuf.ByteStringgetPrivateIpv6GoogleAccessBytes()This field is for internal use.StringgetPurpose()The purpose of the resource.com.google.protobuf.ByteStringgetPurposeBytes()The purpose of the resource.StringgetRegion()URL of the region where the Subnetwork resides.com.google.protobuf.ByteStringgetRegionBytes()URL of the region where the Subnetwork resides.StringgetRole()The role of subnetwork.com.google.protobuf.ByteStringgetRoleBytes()The role of subnetwork.SubnetworkSecondaryRangegetSecondaryIpRanges(int index)An array of configurations for secondary IP ranges for VM instances contained in this subnetwork.intgetSecondaryIpRangesCount()An array of configurations for secondary IP ranges for VM instances contained in this subnetwork.List<SubnetworkSecondaryRange>getSecondaryIpRangesList()An array of configurations for secondary IP ranges for VM instances contained in this subnetwork.SubnetworkSecondaryRangeOrBuildergetSecondaryIpRangesOrBuilder(int index)An array of configurations for secondary IP ranges for VM instances contained in this subnetwork.List<? extends SubnetworkSecondaryRangeOrBuilder>getSecondaryIpRangesOrBuilderList()An array of configurations for secondary IP ranges for VM instances contained in this subnetwork.StringgetSelfLink()[Output Only] Server-defined URL for the resource.com.google.protobuf.ByteStringgetSelfLinkBytes()[Output Only] Server-defined URL for the resource.intgetSerializedSize()StringgetStackType()The stack type for the subnet.com.google.protobuf.ByteStringgetStackTypeBytes()The stack type for the subnet.StringgetState()[Output Only] The state of the subnetwork, which can be one of the following values: READY: Subnetwork is created and ready to use DRAINING: only applicable to subnetworks that have the purpose set to INTERNAL_HTTPS_LOAD_BALANCER and indicates that connections to the load balancer are being drained.com.google.protobuf.ByteStringgetStateBytes()[Output Only] The state of the subnetwork, which can be one of the following values: READY: Subnetwork is created and ready to use DRAINING: only applicable to subnetworks that have the purpose set to INTERNAL_HTTPS_LOAD_BALANCER and indicates that connections to the load balancer are being drained.booleanhasCreationTimestamp()[Output Only] Creation timestamp in RFC3339 text format.booleanhasDescription()An optional description of this resource.booleanhasEnableFlowLogs()Whether to enable flow logging for this subnetwork.booleanhasExternalIpv6Prefix()The external IPv6 address range that is owned by this subnetwork.booleanhasFingerprint()Fingerprint of this resource.booleanhasGatewayAddress()[Output Only] The gateway address for default routes to reach destination addresses outside this subnetwork.inthashCode()booleanhasId()[Output Only] The unique identifier for the resource.booleanhasInternalIpv6Prefix()[Output Only] The internal IPv6 address range that is assigned to this subnetwork.booleanhasIpCidrRange()The range of internal addresses that are owned by this subnetwork.booleanhasIpv6AccessType()The access type of IPv6 address this subnet holds.booleanhasIpv6CidrRange()[Output Only] This field is for internal use.booleanhasKind()[Output Only] Type of the resource.booleanhasLogConfig()This field denotes the VPC flow logging options for this subnetwork.booleanhasName()The name of the resource, provided by the client when initially creating the resource.booleanhasNetwork()The URL of the network to which this subnetwork belongs, provided by the client when initially creating the subnetwork.booleanhasPrivateIpGoogleAccess()Whether the VMs in this subnet can access Google services without assigned external IP addresses.booleanhasPrivateIpv6GoogleAccess()This field is for internal use.booleanhasPurpose()The purpose of the resource.booleanhasRegion()URL of the region where the Subnetwork resides.booleanhasRole()The role of subnetwork.booleanhasSelfLink()[Output Only] Server-defined URL for the resource.booleanhasStackType()The stack type for the subnet.booleanhasState()[Output Only] The state of the subnetwork, which can be one of the following values: READY: Subnetwork is created and ready to use DRAINING: only applicable to subnetworks that have the purpose set to INTERNAL_HTTPS_LOAD_BALANCER and indicates that connections to the load balancer are being drained.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static Subnetwork.BuildernewBuilder()static Subnetwork.BuildernewBuilder(Subnetwork prototype)Subnetwork.BuildernewBuilderForType()protected Subnetwork.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static SubnetworkparseDelimitedFrom(InputStream input)static SubnetworkparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static SubnetworkparseFrom(byte[] data)static SubnetworkparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static SubnetworkparseFrom(com.google.protobuf.ByteString data)static SubnetworkparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static SubnetworkparseFrom(com.google.protobuf.CodedInputStream input)static SubnetworkparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static SubnetworkparseFrom(InputStream input)static SubnetworkparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static SubnetworkparseFrom(ByteBuffer data)static SubnetworkparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Subnetwork>parser()Subnetwork.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, internalGetMapField, 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
-
CREATION_TIMESTAMP_FIELD_NUMBER
public static final int CREATION_TIMESTAMP_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ENABLE_FLOW_LOGS_FIELD_NUMBER
public static final int ENABLE_FLOW_LOGS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
EXTERNAL_IPV6_PREFIX_FIELD_NUMBER
public static final int EXTERNAL_IPV6_PREFIX_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FINGERPRINT_FIELD_NUMBER
public static final int FINGERPRINT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
GATEWAY_ADDRESS_FIELD_NUMBER
public static final int GATEWAY_ADDRESS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
INTERNAL_IPV6_PREFIX_FIELD_NUMBER
public static final int INTERNAL_IPV6_PREFIX_FIELD_NUMBER
- See Also:
- Constant Field Values
-
IP_CIDR_RANGE_FIELD_NUMBER
public static final int IP_CIDR_RANGE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
IPV6_ACCESS_TYPE_FIELD_NUMBER
public static final int IPV6_ACCESS_TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
IPV6_CIDR_RANGE_FIELD_NUMBER
public static final int IPV6_CIDR_RANGE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
KIND_FIELD_NUMBER
public static final int KIND_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LOG_CONFIG_FIELD_NUMBER
public static final int LOG_CONFIG_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
-
PRIVATE_IP_GOOGLE_ACCESS_FIELD_NUMBER
public static final int PRIVATE_IP_GOOGLE_ACCESS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PRIVATE_IPV6_GOOGLE_ACCESS_FIELD_NUMBER
public static final int PRIVATE_IPV6_GOOGLE_ACCESS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PURPOSE_FIELD_NUMBER
public static final int PURPOSE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
REGION_FIELD_NUMBER
public static final int REGION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ROLE_FIELD_NUMBER
public static final int ROLE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SECONDARY_IP_RANGES_FIELD_NUMBER
public static final int SECONDARY_IP_RANGES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SELF_LINK_FIELD_NUMBER
public static final int SELF_LINK_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STACK_TYPE_FIELD_NUMBER
public static final int STACK_TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STATE_FIELD_NUMBER
public static final int STATE_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()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
hasCreationTimestamp
public boolean hasCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;- Specified by:
hasCreationTimestampin interfaceSubnetworkOrBuilder- 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 interfaceSubnetworkOrBuilder- 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 interfaceSubnetworkOrBuilder- Returns:
- The bytes for creationTimestamp.
-
hasDescription
public boolean hasDescription()
An optional description of this resource. Provide this property when you create the resource. This field can be set only at resource creation time.
optional string description = 422937596;- Specified by:
hasDescriptionin interfaceSubnetworkOrBuilder- 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. This field can be set only at resource creation time.
optional string description = 422937596;- Specified by:
getDescriptionin interfaceSubnetworkOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()
An optional description of this resource. Provide this property when you create the resource. This field can be set only at resource creation time.
optional string description = 422937596;- Specified by:
getDescriptionBytesin interfaceSubnetworkOrBuilder- Returns:
- The bytes for description.
-
hasEnableFlowLogs
public boolean hasEnableFlowLogs()
Whether to enable flow logging for this subnetwork. If this field is not explicitly set, it will not appear in get listings. If not set the default behavior is determined by the org policy, if there is no org policy specified, then it will default to disabled. This field isn't supported if the subnet purpose field is set to REGIONAL_MANAGED_PROXY.
optional bool enable_flow_logs = 151544420;- Specified by:
hasEnableFlowLogsin interfaceSubnetworkOrBuilder- Returns:
- Whether the enableFlowLogs field is set.
-
getEnableFlowLogs
public boolean getEnableFlowLogs()
Whether to enable flow logging for this subnetwork. If this field is not explicitly set, it will not appear in get listings. If not set the default behavior is determined by the org policy, if there is no org policy specified, then it will default to disabled. This field isn't supported if the subnet purpose field is set to REGIONAL_MANAGED_PROXY.
optional bool enable_flow_logs = 151544420;- Specified by:
getEnableFlowLogsin interfaceSubnetworkOrBuilder- Returns:
- The enableFlowLogs.
-
hasExternalIpv6Prefix
public boolean hasExternalIpv6Prefix()
The external IPv6 address range that is owned by this subnetwork.
optional string external_ipv6_prefix = 139299190;- Specified by:
hasExternalIpv6Prefixin interfaceSubnetworkOrBuilder- Returns:
- Whether the externalIpv6Prefix field is set.
-
getExternalIpv6Prefix
public String getExternalIpv6Prefix()
The external IPv6 address range that is owned by this subnetwork.
optional string external_ipv6_prefix = 139299190;- Specified by:
getExternalIpv6Prefixin interfaceSubnetworkOrBuilder- Returns:
- The externalIpv6Prefix.
-
getExternalIpv6PrefixBytes
public com.google.protobuf.ByteString getExternalIpv6PrefixBytes()
The external IPv6 address range that is owned by this subnetwork.
optional string external_ipv6_prefix = 139299190;- Specified by:
getExternalIpv6PrefixBytesin interfaceSubnetworkOrBuilder- Returns:
- The bytes for externalIpv6Prefix.
-
hasFingerprint
public boolean hasFingerprint()
Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a Subnetwork. An up-to-date fingerprint must be provided in order to update the Subnetwork, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a Subnetwork.
optional string fingerprint = 234678500;- Specified by:
hasFingerprintin interfaceSubnetworkOrBuilder- Returns:
- Whether the fingerprint field is set.
-
getFingerprint
public String getFingerprint()
Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a Subnetwork. An up-to-date fingerprint must be provided in order to update the Subnetwork, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a Subnetwork.
optional string fingerprint = 234678500;- Specified by:
getFingerprintin interfaceSubnetworkOrBuilder- Returns:
- The fingerprint.
-
getFingerprintBytes
public com.google.protobuf.ByteString getFingerprintBytes()
Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a Subnetwork. An up-to-date fingerprint must be provided in order to update the Subnetwork, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a Subnetwork.
optional string fingerprint = 234678500;- Specified by:
getFingerprintBytesin interfaceSubnetworkOrBuilder- Returns:
- The bytes for fingerprint.
-
hasGatewayAddress
public boolean hasGatewayAddress()
[Output Only] The gateway address for default routes to reach destination addresses outside this subnetwork.
optional string gateway_address = 459867385;- Specified by:
hasGatewayAddressin interfaceSubnetworkOrBuilder- Returns:
- Whether the gatewayAddress field is set.
-
getGatewayAddress
public String getGatewayAddress()
[Output Only] The gateway address for default routes to reach destination addresses outside this subnetwork.
optional string gateway_address = 459867385;- Specified by:
getGatewayAddressin interfaceSubnetworkOrBuilder- Returns:
- The gatewayAddress.
-
getGatewayAddressBytes
public com.google.protobuf.ByteString getGatewayAddressBytes()
[Output Only] The gateway address for default routes to reach destination addresses outside this subnetwork.
optional string gateway_address = 459867385;- Specified by:
getGatewayAddressBytesin interfaceSubnetworkOrBuilder- Returns:
- The bytes for gatewayAddress.
-
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 interfaceSubnetworkOrBuilder- 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 interfaceSubnetworkOrBuilder- Returns:
- The id.
-
hasInternalIpv6Prefix
public boolean hasInternalIpv6Prefix()
[Output Only] The internal IPv6 address range that is assigned to this subnetwork.
optional string internal_ipv6_prefix = 506270056;- Specified by:
hasInternalIpv6Prefixin interfaceSubnetworkOrBuilder- Returns:
- Whether the internalIpv6Prefix field is set.
-
getInternalIpv6Prefix
public String getInternalIpv6Prefix()
[Output Only] The internal IPv6 address range that is assigned to this subnetwork.
optional string internal_ipv6_prefix = 506270056;- Specified by:
getInternalIpv6Prefixin interfaceSubnetworkOrBuilder- Returns:
- The internalIpv6Prefix.
-
getInternalIpv6PrefixBytes
public com.google.protobuf.ByteString getInternalIpv6PrefixBytes()
[Output Only] The internal IPv6 address range that is assigned to this subnetwork.
optional string internal_ipv6_prefix = 506270056;- Specified by:
getInternalIpv6PrefixBytesin interfaceSubnetworkOrBuilder- Returns:
- The bytes for internalIpv6Prefix.
-
hasIpCidrRange
public boolean hasIpCidrRange()
The range of internal addresses that are owned by this subnetwork. Provide this property when you create the subnetwork. For example, 10.0.0.0/8 or 100.64.0.0/10. Ranges must be unique and non-overlapping within a network. Only IPv4 is supported. This field is set at resource creation time. The range can be any range listed in the Valid ranges list. The range can be expanded after creation using expandIpCidrRange.
optional string ip_cidr_range = 98117322;- Specified by:
hasIpCidrRangein interfaceSubnetworkOrBuilder- Returns:
- Whether the ipCidrRange field is set.
-
getIpCidrRange
public String getIpCidrRange()
The range of internal addresses that are owned by this subnetwork. Provide this property when you create the subnetwork. For example, 10.0.0.0/8 or 100.64.0.0/10. Ranges must be unique and non-overlapping within a network. Only IPv4 is supported. This field is set at resource creation time. The range can be any range listed in the Valid ranges list. The range can be expanded after creation using expandIpCidrRange.
optional string ip_cidr_range = 98117322;- Specified by:
getIpCidrRangein interfaceSubnetworkOrBuilder- Returns:
- The ipCidrRange.
-
getIpCidrRangeBytes
public com.google.protobuf.ByteString getIpCidrRangeBytes()
The range of internal addresses that are owned by this subnetwork. Provide this property when you create the subnetwork. For example, 10.0.0.0/8 or 100.64.0.0/10. Ranges must be unique and non-overlapping within a network. Only IPv4 is supported. This field is set at resource creation time. The range can be any range listed in the Valid ranges list. The range can be expanded after creation using expandIpCidrRange.
optional string ip_cidr_range = 98117322;- Specified by:
getIpCidrRangeBytesin interfaceSubnetworkOrBuilder- Returns:
- The bytes for ipCidrRange.
-
hasIpv6AccessType
public boolean hasIpv6AccessType()
The access type of IPv6 address this subnet holds. It's immutable and can only be specified during creation or the first time the subnet is updated into IPV4_IPV6 dual stack. Check the Ipv6AccessType enum for the list of possible values.
optional string ipv6_access_type = 504658653;- Specified by:
hasIpv6AccessTypein interfaceSubnetworkOrBuilder- Returns:
- Whether the ipv6AccessType field is set.
-
getIpv6AccessType
public String getIpv6AccessType()
The access type of IPv6 address this subnet holds. It's immutable and can only be specified during creation or the first time the subnet is updated into IPV4_IPV6 dual stack. Check the Ipv6AccessType enum for the list of possible values.
optional string ipv6_access_type = 504658653;- Specified by:
getIpv6AccessTypein interfaceSubnetworkOrBuilder- Returns:
- The ipv6AccessType.
-
getIpv6AccessTypeBytes
public com.google.protobuf.ByteString getIpv6AccessTypeBytes()
The access type of IPv6 address this subnet holds. It's immutable and can only be specified during creation or the first time the subnet is updated into IPV4_IPV6 dual stack. Check the Ipv6AccessType enum for the list of possible values.
optional string ipv6_access_type = 504658653;- Specified by:
getIpv6AccessTypeBytesin interfaceSubnetworkOrBuilder- Returns:
- The bytes for ipv6AccessType.
-
hasIpv6CidrRange
public boolean hasIpv6CidrRange()
[Output Only] This field is for internal use.
optional string ipv6_cidr_range = 273141258;- Specified by:
hasIpv6CidrRangein interfaceSubnetworkOrBuilder- Returns:
- Whether the ipv6CidrRange field is set.
-
getIpv6CidrRange
public String getIpv6CidrRange()
[Output Only] This field is for internal use.
optional string ipv6_cidr_range = 273141258;- Specified by:
getIpv6CidrRangein interfaceSubnetworkOrBuilder- Returns:
- The ipv6CidrRange.
-
getIpv6CidrRangeBytes
public com.google.protobuf.ByteString getIpv6CidrRangeBytes()
[Output Only] This field is for internal use.
optional string ipv6_cidr_range = 273141258;- Specified by:
getIpv6CidrRangeBytesin interfaceSubnetworkOrBuilder- Returns:
- The bytes for ipv6CidrRange.
-
hasKind
public boolean hasKind()
[Output Only] Type of the resource. Always compute#subnetwork for Subnetwork resources.
optional string kind = 3292052;- Specified by:
hasKindin interfaceSubnetworkOrBuilder- Returns:
- Whether the kind field is set.
-
getKind
public String getKind()
[Output Only] Type of the resource. Always compute#subnetwork for Subnetwork resources.
optional string kind = 3292052;- Specified by:
getKindin interfaceSubnetworkOrBuilder- Returns:
- The kind.
-
getKindBytes
public com.google.protobuf.ByteString getKindBytes()
[Output Only] Type of the resource. Always compute#subnetwork for Subnetwork resources.
optional string kind = 3292052;- Specified by:
getKindBytesin interfaceSubnetworkOrBuilder- Returns:
- The bytes for kind.
-
hasLogConfig
public boolean hasLogConfig()
This field denotes the VPC flow logging options for this subnetwork. If logging is enabled, logs are exported to Cloud Logging.
optional .google.cloud.compute.v1.SubnetworkLogConfig log_config = 351299741;- Specified by:
hasLogConfigin interfaceSubnetworkOrBuilder- Returns:
- Whether the logConfig field is set.
-
getLogConfig
public SubnetworkLogConfig getLogConfig()
This field denotes the VPC flow logging options for this subnetwork. If logging is enabled, logs are exported to Cloud Logging.
optional .google.cloud.compute.v1.SubnetworkLogConfig log_config = 351299741;- Specified by:
getLogConfigin interfaceSubnetworkOrBuilder- Returns:
- The logConfig.
-
getLogConfigOrBuilder
public SubnetworkLogConfigOrBuilder getLogConfigOrBuilder()
This field denotes the VPC flow logging options for this subnetwork. If logging is enabled, logs are exported to Cloud Logging.
optional .google.cloud.compute.v1.SubnetworkLogConfig log_config = 351299741;- Specified by:
getLogConfigOrBuilderin interfaceSubnetworkOrBuilder
-
hasName
public boolean hasName()
The name of the resource, provided by the client when initially creating the resource. 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 interfaceSubnetworkOrBuilder- Returns:
- Whether the name field is set.
-
getName
public String getName()
The name of the resource, provided by the client when initially creating the resource. 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 interfaceSubnetworkOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
The name of the resource, provided by the client when initially creating the resource. 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 interfaceSubnetworkOrBuilder- Returns:
- The bytes for name.
-
hasNetwork
public boolean hasNetwork()
The URL of the network to which this subnetwork belongs, provided by the client when initially creating the subnetwork. This field can be set only at resource creation time.
optional string network = 232872494;- Specified by:
hasNetworkin interfaceSubnetworkOrBuilder- Returns:
- Whether the network field is set.
-
getNetwork
public String getNetwork()
The URL of the network to which this subnetwork belongs, provided by the client when initially creating the subnetwork. This field can be set only at resource creation time.
optional string network = 232872494;- Specified by:
getNetworkin interfaceSubnetworkOrBuilder- Returns:
- The network.
-
getNetworkBytes
public com.google.protobuf.ByteString getNetworkBytes()
The URL of the network to which this subnetwork belongs, provided by the client when initially creating the subnetwork. This field can be set only at resource creation time.
optional string network = 232872494;- Specified by:
getNetworkBytesin interfaceSubnetworkOrBuilder- Returns:
- The bytes for network.
-
hasPrivateIpGoogleAccess
public boolean hasPrivateIpGoogleAccess()
Whether the VMs in this subnet can access Google services without assigned external IP addresses. This field can be both set at resource creation time and updated using setPrivateIpGoogleAccess.
optional bool private_ip_google_access = 421491790;- Specified by:
hasPrivateIpGoogleAccessin interfaceSubnetworkOrBuilder- Returns:
- Whether the privateIpGoogleAccess field is set.
-
getPrivateIpGoogleAccess
public boolean getPrivateIpGoogleAccess()
Whether the VMs in this subnet can access Google services without assigned external IP addresses. This field can be both set at resource creation time and updated using setPrivateIpGoogleAccess.
optional bool private_ip_google_access = 421491790;- Specified by:
getPrivateIpGoogleAccessin interfaceSubnetworkOrBuilder- Returns:
- The privateIpGoogleAccess.
-
hasPrivateIpv6GoogleAccess
public boolean hasPrivateIpv6GoogleAccess()
This field is for internal use. This field can be both set at resource creation time and updated using patch. Check the PrivateIpv6GoogleAccess enum for the list of possible values.
optional string private_ipv6_google_access = 48277006;- Specified by:
hasPrivateIpv6GoogleAccessin interfaceSubnetworkOrBuilder- Returns:
- Whether the privateIpv6GoogleAccess field is set.
-
getPrivateIpv6GoogleAccess
public String getPrivateIpv6GoogleAccess()
This field is for internal use. This field can be both set at resource creation time and updated using patch. Check the PrivateIpv6GoogleAccess enum for the list of possible values.
optional string private_ipv6_google_access = 48277006;- Specified by:
getPrivateIpv6GoogleAccessin interfaceSubnetworkOrBuilder- Returns:
- The privateIpv6GoogleAccess.
-
getPrivateIpv6GoogleAccessBytes
public com.google.protobuf.ByteString getPrivateIpv6GoogleAccessBytes()
This field is for internal use. This field can be both set at resource creation time and updated using patch. Check the PrivateIpv6GoogleAccess enum for the list of possible values.
optional string private_ipv6_google_access = 48277006;- Specified by:
getPrivateIpv6GoogleAccessBytesin interfaceSubnetworkOrBuilder- Returns:
- The bytes for privateIpv6GoogleAccess.
-
hasPurpose
public boolean hasPurpose()
The purpose of the resource. This field can be either PRIVATE, REGIONAL_MANAGED_PROXY, PRIVATE_SERVICE_CONNECT, or INTERNAL_HTTPS_LOAD_BALANCER. PRIVATE is the default purpose for user-created subnets or subnets that are automatically created in auto mode networks. A subnet with purpose set to REGIONAL_MANAGED_PROXY is a user-created subnetwork that is reserved for regional Envoy-based load balancers. A subnet with purpose set to PRIVATE_SERVICE_CONNECT is used to publish services using Private Service Connect. A subnet with purpose set to INTERNAL_HTTPS_LOAD_BALANCER is a proxy-only subnet that can be used only by regional internal HTTP(S) load balancers. Note that REGIONAL_MANAGED_PROXY is the preferred setting for all regional Envoy load balancers. If unspecified, the subnet purpose defaults to PRIVATE. The enableFlowLogs field isn't supported if the subnet purpose field is set to REGIONAL_MANAGED_PROXY. Check the Purpose enum for the list of possible values.
optional string purpose = 316407070;- Specified by:
hasPurposein interfaceSubnetworkOrBuilder- Returns:
- Whether the purpose field is set.
-
getPurpose
public String getPurpose()
The purpose of the resource. This field can be either PRIVATE, REGIONAL_MANAGED_PROXY, PRIVATE_SERVICE_CONNECT, or INTERNAL_HTTPS_LOAD_BALANCER. PRIVATE is the default purpose for user-created subnets or subnets that are automatically created in auto mode networks. A subnet with purpose set to REGIONAL_MANAGED_PROXY is a user-created subnetwork that is reserved for regional Envoy-based load balancers. A subnet with purpose set to PRIVATE_SERVICE_CONNECT is used to publish services using Private Service Connect. A subnet with purpose set to INTERNAL_HTTPS_LOAD_BALANCER is a proxy-only subnet that can be used only by regional internal HTTP(S) load balancers. Note that REGIONAL_MANAGED_PROXY is the preferred setting for all regional Envoy load balancers. If unspecified, the subnet purpose defaults to PRIVATE. The enableFlowLogs field isn't supported if the subnet purpose field is set to REGIONAL_MANAGED_PROXY. Check the Purpose enum for the list of possible values.
optional string purpose = 316407070;- Specified by:
getPurposein interfaceSubnetworkOrBuilder- Returns:
- The purpose.
-
getPurposeBytes
public com.google.protobuf.ByteString getPurposeBytes()
The purpose of the resource. This field can be either PRIVATE, REGIONAL_MANAGED_PROXY, PRIVATE_SERVICE_CONNECT, or INTERNAL_HTTPS_LOAD_BALANCER. PRIVATE is the default purpose for user-created subnets or subnets that are automatically created in auto mode networks. A subnet with purpose set to REGIONAL_MANAGED_PROXY is a user-created subnetwork that is reserved for regional Envoy-based load balancers. A subnet with purpose set to PRIVATE_SERVICE_CONNECT is used to publish services using Private Service Connect. A subnet with purpose set to INTERNAL_HTTPS_LOAD_BALANCER is a proxy-only subnet that can be used only by regional internal HTTP(S) load balancers. Note that REGIONAL_MANAGED_PROXY is the preferred setting for all regional Envoy load balancers. If unspecified, the subnet purpose defaults to PRIVATE. The enableFlowLogs field isn't supported if the subnet purpose field is set to REGIONAL_MANAGED_PROXY. Check the Purpose enum for the list of possible values.
optional string purpose = 316407070;- Specified by:
getPurposeBytesin interfaceSubnetworkOrBuilder- Returns:
- The bytes for purpose.
-
hasRegion
public boolean hasRegion()
URL of the region where the Subnetwork resides. This field can be set only at resource creation time.
optional string region = 138946292;- Specified by:
hasRegionin interfaceSubnetworkOrBuilder- Returns:
- Whether the region field is set.
-
getRegion
public String getRegion()
URL of the region where the Subnetwork resides. This field can be set only at resource creation time.
optional string region = 138946292;- Specified by:
getRegionin interfaceSubnetworkOrBuilder- Returns:
- The region.
-
getRegionBytes
public com.google.protobuf.ByteString getRegionBytes()
URL of the region where the Subnetwork resides. This field can be set only at resource creation time.
optional string region = 138946292;- Specified by:
getRegionBytesin interfaceSubnetworkOrBuilder- Returns:
- The bytes for region.
-
hasRole
public boolean hasRole()
The role of subnetwork. Currently, this field is only used when purpose = REGIONAL_MANAGED_PROXY. The value can be set to ACTIVE or BACKUP. An ACTIVE subnetwork is one that is currently being used for Envoy-based load balancers in a region. A BACKUP subnetwork is one that is ready to be promoted to ACTIVE or is currently draining. This field can be updated with a patch request. Check the Role enum for the list of possible values.
optional string role = 3506294;- Specified by:
hasRolein interfaceSubnetworkOrBuilder- Returns:
- Whether the role field is set.
-
getRole
public String getRole()
The role of subnetwork. Currently, this field is only used when purpose = REGIONAL_MANAGED_PROXY. The value can be set to ACTIVE or BACKUP. An ACTIVE subnetwork is one that is currently being used for Envoy-based load balancers in a region. A BACKUP subnetwork is one that is ready to be promoted to ACTIVE or is currently draining. This field can be updated with a patch request. Check the Role enum for the list of possible values.
optional string role = 3506294;- Specified by:
getRolein interfaceSubnetworkOrBuilder- Returns:
- The role.
-
getRoleBytes
public com.google.protobuf.ByteString getRoleBytes()
The role of subnetwork. Currently, this field is only used when purpose = REGIONAL_MANAGED_PROXY. The value can be set to ACTIVE or BACKUP. An ACTIVE subnetwork is one that is currently being used for Envoy-based load balancers in a region. A BACKUP subnetwork is one that is ready to be promoted to ACTIVE or is currently draining. This field can be updated with a patch request. Check the Role enum for the list of possible values.
optional string role = 3506294;- Specified by:
getRoleBytesin interfaceSubnetworkOrBuilder- Returns:
- The bytes for role.
-
getSecondaryIpRangesList
public List<SubnetworkSecondaryRange> getSecondaryIpRangesList()
An array of configurations for secondary IP ranges for VM instances contained in this subnetwork. The primary IP of such VM must belong to the primary ipCidrRange of the subnetwork. The alias IPs may belong to either primary or secondary ranges. This field can be updated with a patch request.
repeated .google.cloud.compute.v1.SubnetworkSecondaryRange secondary_ip_ranges = 136658915;- Specified by:
getSecondaryIpRangesListin interfaceSubnetworkOrBuilder
-
getSecondaryIpRangesOrBuilderList
public List<? extends SubnetworkSecondaryRangeOrBuilder> getSecondaryIpRangesOrBuilderList()
An array of configurations for secondary IP ranges for VM instances contained in this subnetwork. The primary IP of such VM must belong to the primary ipCidrRange of the subnetwork. The alias IPs may belong to either primary or secondary ranges. This field can be updated with a patch request.
repeated .google.cloud.compute.v1.SubnetworkSecondaryRange secondary_ip_ranges = 136658915;- Specified by:
getSecondaryIpRangesOrBuilderListin interfaceSubnetworkOrBuilder
-
getSecondaryIpRangesCount
public int getSecondaryIpRangesCount()
An array of configurations for secondary IP ranges for VM instances contained in this subnetwork. The primary IP of such VM must belong to the primary ipCidrRange of the subnetwork. The alias IPs may belong to either primary or secondary ranges. This field can be updated with a patch request.
repeated .google.cloud.compute.v1.SubnetworkSecondaryRange secondary_ip_ranges = 136658915;- Specified by:
getSecondaryIpRangesCountin interfaceSubnetworkOrBuilder
-
getSecondaryIpRanges
public SubnetworkSecondaryRange getSecondaryIpRanges(int index)
An array of configurations for secondary IP ranges for VM instances contained in this subnetwork. The primary IP of such VM must belong to the primary ipCidrRange of the subnetwork. The alias IPs may belong to either primary or secondary ranges. This field can be updated with a patch request.
repeated .google.cloud.compute.v1.SubnetworkSecondaryRange secondary_ip_ranges = 136658915;- Specified by:
getSecondaryIpRangesin interfaceSubnetworkOrBuilder
-
getSecondaryIpRangesOrBuilder
public SubnetworkSecondaryRangeOrBuilder getSecondaryIpRangesOrBuilder(int index)
An array of configurations for secondary IP ranges for VM instances contained in this subnetwork. The primary IP of such VM must belong to the primary ipCidrRange of the subnetwork. The alias IPs may belong to either primary or secondary ranges. This field can be updated with a patch request.
repeated .google.cloud.compute.v1.SubnetworkSecondaryRange secondary_ip_ranges = 136658915;- Specified by:
getSecondaryIpRangesOrBuilderin interfaceSubnetworkOrBuilder
-
hasSelfLink
public boolean hasSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Specified by:
hasSelfLinkin interfaceSubnetworkOrBuilder- 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 interfaceSubnetworkOrBuilder- 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 interfaceSubnetworkOrBuilder- Returns:
- The bytes for selfLink.
-
hasStackType
public boolean hasStackType()
The stack type for the subnet. If set to IPV4_ONLY, new VMs in the subnet are assigned IPv4 addresses only. If set to IPV4_IPV6, new VMs in the subnet can be assigned both IPv4 and IPv6 addresses. If not specified, IPV4_ONLY is used. This field can be both set at resource creation time and updated using patch. Check the StackType enum for the list of possible values.
optional string stack_type = 425908881;- Specified by:
hasStackTypein interfaceSubnetworkOrBuilder- Returns:
- Whether the stackType field is set.
-
getStackType
public String getStackType()
The stack type for the subnet. If set to IPV4_ONLY, new VMs in the subnet are assigned IPv4 addresses only. If set to IPV4_IPV6, new VMs in the subnet can be assigned both IPv4 and IPv6 addresses. If not specified, IPV4_ONLY is used. This field can be both set at resource creation time and updated using patch. Check the StackType enum for the list of possible values.
optional string stack_type = 425908881;- Specified by:
getStackTypein interfaceSubnetworkOrBuilder- Returns:
- The stackType.
-
getStackTypeBytes
public com.google.protobuf.ByteString getStackTypeBytes()
The stack type for the subnet. If set to IPV4_ONLY, new VMs in the subnet are assigned IPv4 addresses only. If set to IPV4_IPV6, new VMs in the subnet can be assigned both IPv4 and IPv6 addresses. If not specified, IPV4_ONLY is used. This field can be both set at resource creation time and updated using patch. Check the StackType enum for the list of possible values.
optional string stack_type = 425908881;- Specified by:
getStackTypeBytesin interfaceSubnetworkOrBuilder- Returns:
- The bytes for stackType.
-
hasState
public boolean hasState()
[Output Only] The state of the subnetwork, which can be one of the following values: READY: Subnetwork is created and ready to use DRAINING: only applicable to subnetworks that have the purpose set to INTERNAL_HTTPS_LOAD_BALANCER and indicates that connections to the load balancer are being drained. A subnetwork that is draining cannot be used or modified until it reaches a status of READY Check the State enum for the list of possible values.
optional string state = 109757585;- Specified by:
hasStatein interfaceSubnetworkOrBuilder- Returns:
- Whether the state field is set.
-
getState
public String getState()
[Output Only] The state of the subnetwork, which can be one of the following values: READY: Subnetwork is created and ready to use DRAINING: only applicable to subnetworks that have the purpose set to INTERNAL_HTTPS_LOAD_BALANCER and indicates that connections to the load balancer are being drained. A subnetwork that is draining cannot be used or modified until it reaches a status of READY Check the State enum for the list of possible values.
optional string state = 109757585;- Specified by:
getStatein interfaceSubnetworkOrBuilder- Returns:
- The state.
-
getStateBytes
public com.google.protobuf.ByteString getStateBytes()
[Output Only] The state of the subnetwork, which can be one of the following values: READY: Subnetwork is created and ready to use DRAINING: only applicable to subnetworks that have the purpose set to INTERNAL_HTTPS_LOAD_BALANCER and indicates that connections to the load balancer are being drained. A subnetwork that is draining cannot be used or modified until it reaches a status of READY Check the State enum for the list of possible values.
optional string state = 109757585;- Specified by:
getStateBytesin interfaceSubnetworkOrBuilder- Returns:
- The bytes for state.
-
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 Subnetwork parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Subnetwork parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Subnetwork parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Subnetwork parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Subnetwork parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Subnetwork parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Subnetwork parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Subnetwork parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Subnetwork parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Subnetwork parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Subnetwork parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Subnetwork parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Subnetwork.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Subnetwork.Builder newBuilder()
-
newBuilder
public static Subnetwork.Builder newBuilder(Subnetwork prototype)
-
toBuilder
public Subnetwork.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Subnetwork.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Subnetwork getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Subnetwork> parser()
-
getParserForType
public com.google.protobuf.Parser<Subnetwork> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Subnetwork getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-