Package com.google.cloud.compute.v1
Class UsableSubnetwork
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.compute.v1.UsableSubnetwork
-
- All Implemented Interfaces:
UsableSubnetworkOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class UsableSubnetwork extends com.google.protobuf.GeneratedMessageV3 implements UsableSubnetworkOrBuilder
Subnetwork which the current user has compute.subnetworks.use permission on.
Protobuf typegoogle.cloud.compute.v1.UsableSubnetwork- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classUsableSubnetwork.BuilderSubnetwork which the current user has compute.subnetworks.use permission on.static classUsableSubnetwork.Ipv6AccessTypeThe access type of IPv6 address this subnet holds.static classUsableSubnetwork.PurposeThe purpose of the resource.static classUsableSubnetwork.RoleThe role of subnetwork.static classUsableSubnetwork.StackTypeThe stack type for the subnet.-
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 intEXTERNAL_IPV6_PREFIX_FIELD_NUMBERstatic intINTERNAL_IPV6_PREFIX_FIELD_NUMBERstatic intIP_CIDR_RANGE_FIELD_NUMBERstatic intIPV6_ACCESS_TYPE_FIELD_NUMBERstatic intNETWORK_FIELD_NUMBERstatic intPURPOSE_FIELD_NUMBERstatic intROLE_FIELD_NUMBERstatic intSECONDARY_IP_RANGES_FIELD_NUMBERstatic intSTACK_TYPE_FIELD_NUMBERstatic intSUBNETWORK_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)static UsableSubnetworkgetDefaultInstance()UsableSubnetworkgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()StringgetExternalIpv6Prefix()[Output Only] The external IPv6 address range that is assigned to this subnetwork.com.google.protobuf.ByteStringgetExternalIpv6PrefixBytes()[Output Only] The external IPv6 address range that is assigned to this subnetwork.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.StringgetNetwork()Network URL.com.google.protobuf.ByteStringgetNetworkBytes()Network URL.com.google.protobuf.Parser<UsableSubnetwork>getParserForType()StringgetPurpose()The purpose of the resource.com.google.protobuf.ByteStringgetPurposeBytes()The purpose of the resource.StringgetRole()The role of subnetwork.com.google.protobuf.ByteStringgetRoleBytes()The role of subnetwork.UsableSubnetworkSecondaryRangegetSecondaryIpRanges(int index)Secondary IP ranges.intgetSecondaryIpRangesCount()Secondary IP ranges.List<UsableSubnetworkSecondaryRange>getSecondaryIpRangesList()Secondary IP ranges.UsableSubnetworkSecondaryRangeOrBuildergetSecondaryIpRangesOrBuilder(int index)Secondary IP ranges.List<? extends UsableSubnetworkSecondaryRangeOrBuilder>getSecondaryIpRangesOrBuilderList()Secondary IP ranges.intgetSerializedSize()StringgetStackType()The stack type for the subnet.com.google.protobuf.ByteStringgetStackTypeBytes()The stack type for the subnet.StringgetSubnetwork()Subnetwork URL.com.google.protobuf.ByteStringgetSubnetworkBytes()Subnetwork URL.booleanhasExternalIpv6Prefix()[Output Only] The external IPv6 address range that is assigned to this subnetwork.inthashCode()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.booleanhasNetwork()Network URL.booleanhasPurpose()The purpose of the resource.booleanhasRole()The role of subnetwork.booleanhasStackType()The stack type for the subnet.booleanhasSubnetwork()Subnetwork URL.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static UsableSubnetwork.BuildernewBuilder()static UsableSubnetwork.BuildernewBuilder(UsableSubnetwork prototype)UsableSubnetwork.BuildernewBuilderForType()protected UsableSubnetwork.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static UsableSubnetworkparseDelimitedFrom(InputStream input)static UsableSubnetworkparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static UsableSubnetworkparseFrom(byte[] data)static UsableSubnetworkparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static UsableSubnetworkparseFrom(com.google.protobuf.ByteString data)static UsableSubnetworkparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static UsableSubnetworkparseFrom(com.google.protobuf.CodedInputStream input)static UsableSubnetworkparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static UsableSubnetworkparseFrom(InputStream input)static UsableSubnetworkparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static UsableSubnetworkparseFrom(ByteBuffer data)static UsableSubnetworkparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<UsableSubnetwork>parser()UsableSubnetwork.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
-
EXTERNAL_IPV6_PREFIX_FIELD_NUMBER
public static final int EXTERNAL_IPV6_PREFIX_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
-
NETWORK_FIELD_NUMBER
public static final int NETWORK_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PURPOSE_FIELD_NUMBER
public static final int PURPOSE_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
-
STACK_TYPE_FIELD_NUMBER
public static final int STACK_TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SUBNETWORK_FIELD_NUMBER
public static final int SUBNETWORK_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
-
hasExternalIpv6Prefix
public boolean hasExternalIpv6Prefix()
[Output Only] The external IPv6 address range that is assigned to this subnetwork.
optional string external_ipv6_prefix = 139299190;- Specified by:
hasExternalIpv6Prefixin interfaceUsableSubnetworkOrBuilder- Returns:
- Whether the externalIpv6Prefix field is set.
-
getExternalIpv6Prefix
public String getExternalIpv6Prefix()
[Output Only] The external IPv6 address range that is assigned to this subnetwork.
optional string external_ipv6_prefix = 139299190;- Specified by:
getExternalIpv6Prefixin interfaceUsableSubnetworkOrBuilder- Returns:
- The externalIpv6Prefix.
-
getExternalIpv6PrefixBytes
public com.google.protobuf.ByteString getExternalIpv6PrefixBytes()
[Output Only] The external IPv6 address range that is assigned to this subnetwork.
optional string external_ipv6_prefix = 139299190;- Specified by:
getExternalIpv6PrefixBytesin interfaceUsableSubnetworkOrBuilder- Returns:
- The bytes for externalIpv6Prefix.
-
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 interfaceUsableSubnetworkOrBuilder- 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 interfaceUsableSubnetworkOrBuilder- 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 interfaceUsableSubnetworkOrBuilder- Returns:
- The bytes for internalIpv6Prefix.
-
hasIpCidrRange
public boolean hasIpCidrRange()
The range of internal addresses that are owned by this subnetwork.
optional string ip_cidr_range = 98117322;- Specified by:
hasIpCidrRangein interfaceUsableSubnetworkOrBuilder- Returns:
- Whether the ipCidrRange field is set.
-
getIpCidrRange
public String getIpCidrRange()
The range of internal addresses that are owned by this subnetwork.
optional string ip_cidr_range = 98117322;- Specified by:
getIpCidrRangein interfaceUsableSubnetworkOrBuilder- Returns:
- The ipCidrRange.
-
getIpCidrRangeBytes
public com.google.protobuf.ByteString getIpCidrRangeBytes()
The range of internal addresses that are owned by this subnetwork.
optional string ip_cidr_range = 98117322;- Specified by:
getIpCidrRangeBytesin interfaceUsableSubnetworkOrBuilder- 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 interfaceUsableSubnetworkOrBuilder- 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 interfaceUsableSubnetworkOrBuilder- 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 interfaceUsableSubnetworkOrBuilder- Returns:
- The bytes for ipv6AccessType.
-
hasNetwork
public boolean hasNetwork()
Network URL.
optional string network = 232872494;- Specified by:
hasNetworkin interfaceUsableSubnetworkOrBuilder- Returns:
- Whether the network field is set.
-
getNetwork
public String getNetwork()
Network URL.
optional string network = 232872494;- Specified by:
getNetworkin interfaceUsableSubnetworkOrBuilder- Returns:
- The network.
-
getNetworkBytes
public com.google.protobuf.ByteString getNetworkBytes()
Network URL.
optional string network = 232872494;- Specified by:
getNetworkBytesin interfaceUsableSubnetworkOrBuilder- Returns:
- The bytes for network.
-
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 interfaceUsableSubnetworkOrBuilder- 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 interfaceUsableSubnetworkOrBuilder- 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 interfaceUsableSubnetworkOrBuilder- Returns:
- The bytes for purpose.
-
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 interfaceUsableSubnetworkOrBuilder- 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 interfaceUsableSubnetworkOrBuilder- 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 interfaceUsableSubnetworkOrBuilder- Returns:
- The bytes for role.
-
getSecondaryIpRangesList
public List<UsableSubnetworkSecondaryRange> getSecondaryIpRangesList()
Secondary IP ranges.
repeated .google.cloud.compute.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 136658915;- Specified by:
getSecondaryIpRangesListin interfaceUsableSubnetworkOrBuilder
-
getSecondaryIpRangesOrBuilderList
public List<? extends UsableSubnetworkSecondaryRangeOrBuilder> getSecondaryIpRangesOrBuilderList()
Secondary IP ranges.
repeated .google.cloud.compute.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 136658915;- Specified by:
getSecondaryIpRangesOrBuilderListin interfaceUsableSubnetworkOrBuilder
-
getSecondaryIpRangesCount
public int getSecondaryIpRangesCount()
Secondary IP ranges.
repeated .google.cloud.compute.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 136658915;- Specified by:
getSecondaryIpRangesCountin interfaceUsableSubnetworkOrBuilder
-
getSecondaryIpRanges
public UsableSubnetworkSecondaryRange getSecondaryIpRanges(int index)
Secondary IP ranges.
repeated .google.cloud.compute.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 136658915;- Specified by:
getSecondaryIpRangesin interfaceUsableSubnetworkOrBuilder
-
getSecondaryIpRangesOrBuilder
public UsableSubnetworkSecondaryRangeOrBuilder getSecondaryIpRangesOrBuilder(int index)
Secondary IP ranges.
repeated .google.cloud.compute.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 136658915;- Specified by:
getSecondaryIpRangesOrBuilderin interfaceUsableSubnetworkOrBuilder
-
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 interfaceUsableSubnetworkOrBuilder- 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 interfaceUsableSubnetworkOrBuilder- 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 interfaceUsableSubnetworkOrBuilder- Returns:
- The bytes for stackType.
-
hasSubnetwork
public boolean hasSubnetwork()
Subnetwork URL.
optional string subnetwork = 307827694;- Specified by:
hasSubnetworkin interfaceUsableSubnetworkOrBuilder- Returns:
- Whether the subnetwork field is set.
-
getSubnetwork
public String getSubnetwork()
Subnetwork URL.
optional string subnetwork = 307827694;- Specified by:
getSubnetworkin interfaceUsableSubnetworkOrBuilder- Returns:
- The subnetwork.
-
getSubnetworkBytes
public com.google.protobuf.ByteString getSubnetworkBytes()
Subnetwork URL.
optional string subnetwork = 307827694;- Specified by:
getSubnetworkBytesin interfaceUsableSubnetworkOrBuilder- Returns:
- The bytes for subnetwork.
-
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 UsableSubnetwork parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static UsableSubnetwork parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static UsableSubnetwork parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static UsableSubnetwork parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static UsableSubnetwork parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static UsableSubnetwork parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static UsableSubnetwork parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static UsableSubnetwork parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static UsableSubnetwork parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static UsableSubnetwork parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static UsableSubnetwork parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static UsableSubnetwork parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public UsableSubnetwork.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static UsableSubnetwork.Builder newBuilder()
-
newBuilder
public static UsableSubnetwork.Builder newBuilder(UsableSubnetwork prototype)
-
toBuilder
public UsableSubnetwork.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected UsableSubnetwork.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static UsableSubnetwork getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<UsableSubnetwork> parser()
-
getParserForType
public com.google.protobuf.Parser<UsableSubnetwork> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public UsableSubnetwork getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-