Package com.google.cloud.compute.v1
Class UsableSubnetwork.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<UsableSubnetwork.Builder>
com.google.cloud.compute.v1.UsableSubnetwork.Builder
- All Implemented Interfaces:
UsableSubnetworkOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- UsableSubnetwork
public static final class UsableSubnetwork.Builder
extends com.google.protobuf.GeneratedMessage.Builder<UsableSubnetwork.Builder>
implements UsableSubnetworkOrBuilder
Subnetwork which the current user has compute.subnetworks.use permission on.Protobuf type
google.cloud.compute.v1.UsableSubnetwork-
Method Summary
Modifier and TypeMethodDescriptionaddAllSecondaryIpRanges(Iterable<? extends UsableSubnetworkSecondaryRange> values) Secondary IP ranges.addSecondaryIpRanges(int index, UsableSubnetworkSecondaryRange value) Secondary IP ranges.addSecondaryIpRanges(int index, UsableSubnetworkSecondaryRange.Builder builderForValue) Secondary IP ranges.Secondary IP ranges.addSecondaryIpRanges(UsableSubnetworkSecondaryRange.Builder builderForValue) Secondary IP ranges.Secondary IP ranges.addSecondaryIpRangesBuilder(int index) Secondary IP ranges.build()clear()Output only.Output only.The range of internal addresses that are owned by this subnetwork.The access type of IPv6 address this subnet holds.Network URL.Check the Purpose enum for the list of possible values.The role of subnetwork.Secondary IP ranges.The stack type for the subnet.Subnetwork URL.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorOutput only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.The range of internal addresses that are owned by this subnetwork.com.google.protobuf.ByteStringThe range of internal addresses that are owned by this subnetwork.The access type of IPv6 address this subnet holds.com.google.protobuf.ByteStringThe access type of IPv6 address this subnet holds.Network URL.com.google.protobuf.ByteStringNetwork URL.Check the Purpose enum for the list of possible values.com.google.protobuf.ByteStringCheck the Purpose enum for the list of possible values.getRole()The role of subnetwork.com.google.protobuf.ByteStringThe role of subnetwork.getSecondaryIpRanges(int index) Secondary IP ranges.getSecondaryIpRangesBuilder(int index) Secondary IP ranges.Secondary IP ranges.intSecondary IP ranges.Secondary IP ranges.getSecondaryIpRangesOrBuilder(int index) Secondary IP ranges.List<? extends UsableSubnetworkSecondaryRangeOrBuilder>Secondary IP ranges.The stack type for the subnet.com.google.protobuf.ByteStringThe stack type for the subnet.Subnetwork URL.com.google.protobuf.ByteStringSubnetwork URL.booleanOutput only.booleanOutput only.booleanThe range of internal addresses that are owned by this subnetwork.booleanThe access type of IPv6 address this subnet holds.booleanNetwork URL.booleanCheck the Purpose enum for the list of possible values.booleanhasRole()The role of subnetwork.booleanThe stack type for the subnet.booleanSubnetwork URL.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(UsableSubnetwork other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeSecondaryIpRanges(int index) Secondary IP ranges.setExternalIpv6Prefix(String value) Output only.setExternalIpv6PrefixBytes(com.google.protobuf.ByteString value) Output only.setInternalIpv6Prefix(String value) Output only.setInternalIpv6PrefixBytes(com.google.protobuf.ByteString value) Output only.setIpCidrRange(String value) The range of internal addresses that are owned by this subnetwork.setIpCidrRangeBytes(com.google.protobuf.ByteString value) The range of internal addresses that are owned by this subnetwork.setIpv6AccessType(String value) The access type of IPv6 address this subnet holds.setIpv6AccessTypeBytes(com.google.protobuf.ByteString value) The access type of IPv6 address this subnet holds.setNetwork(String value) Network URL.setNetworkBytes(com.google.protobuf.ByteString value) Network URL.setPurpose(String value) Check the Purpose enum for the list of possible values.setPurposeBytes(com.google.protobuf.ByteString value) Check the Purpose enum for the list of possible values.The role of subnetwork.setRoleBytes(com.google.protobuf.ByteString value) The role of subnetwork.setSecondaryIpRanges(int index, UsableSubnetworkSecondaryRange value) Secondary IP ranges.setSecondaryIpRanges(int index, UsableSubnetworkSecondaryRange.Builder builderForValue) Secondary IP ranges.setStackType(String value) The stack type for the subnet.setStackTypeBytes(com.google.protobuf.ByteString value) The stack type for the subnet.setSubnetwork(String value) Subnetwork URL.setSubnetworkBytes(com.google.protobuf.ByteString value) Subnetwork URL.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<UsableSubnetwork.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<UsableSubnetwork.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<UsableSubnetwork.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<UsableSubnetwork.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<UsableSubnetwork.Builder>
-
mergeFrom
public UsableSubnetwork.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<UsableSubnetwork.Builder>- Throws:
IOException
-
hasExternalIpv6Prefix
public boolean hasExternalIpv6Prefix()Output only. [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
Output only. [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. [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.
-
setExternalIpv6Prefix
Output only. [Output Only] The external IPv6 address range that is assigned to this subnetwork.
optional string external_ipv6_prefix = 139299190;- Parameters:
value- The externalIpv6Prefix to set.- Returns:
- This builder for chaining.
-
clearExternalIpv6Prefix
Output only. [Output Only] The external IPv6 address range that is assigned to this subnetwork.
optional string external_ipv6_prefix = 139299190;- Returns:
- This builder for chaining.
-
setExternalIpv6PrefixBytes
Output only. [Output Only] The external IPv6 address range that is assigned to this subnetwork.
optional string external_ipv6_prefix = 139299190;- Parameters:
value- The bytes for externalIpv6Prefix to set.- Returns:
- This builder for chaining.
-
hasInternalIpv6Prefix
public boolean hasInternalIpv6Prefix()Output only. [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
Output only. [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. [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.
-
setInternalIpv6Prefix
Output only. [Output Only] The internal IPv6 address range that is assigned to this subnetwork.
optional string internal_ipv6_prefix = 506270056;- Parameters:
value- The internalIpv6Prefix to set.- Returns:
- This builder for chaining.
-
clearInternalIpv6Prefix
Output only. [Output Only] The internal IPv6 address range that is assigned to this subnetwork.
optional string internal_ipv6_prefix = 506270056;- Returns:
- This builder for chaining.
-
setInternalIpv6PrefixBytes
Output only. [Output Only] The internal IPv6 address range that is assigned to this subnetwork.
optional string internal_ipv6_prefix = 506270056;- Parameters:
value- The bytes for internalIpv6Prefix to set.- Returns:
- This builder for chaining.
-
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
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.
-
setIpCidrRange
The range of internal addresses that are owned by this subnetwork.
optional string ip_cidr_range = 98117322;- Parameters:
value- The ipCidrRange to set.- Returns:
- This builder for chaining.
-
clearIpCidrRange
The range of internal addresses that are owned by this subnetwork.
optional string ip_cidr_range = 98117322;- Returns:
- This builder for chaining.
-
setIpCidrRangeBytes
The range of internal addresses that are owned by this subnetwork.
optional string ip_cidr_range = 98117322;- Parameters:
value- The bytes for ipCidrRange to set.- Returns:
- This builder for chaining.
-
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
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.
-
setIpv6AccessType
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;- Parameters:
value- The ipv6AccessType to set.- Returns:
- This builder for chaining.
-
clearIpv6AccessType
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;- Returns:
- This builder for chaining.
-
setIpv6AccessTypeBytes
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;- Parameters:
value- The bytes for ipv6AccessType to set.- Returns:
- This builder for chaining.
-
hasNetwork
public boolean hasNetwork()Network URL.
optional string network = 232872494;- Specified by:
hasNetworkin interfaceUsableSubnetworkOrBuilder- Returns:
- Whether the network field is set.
-
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.
-
setNetwork
Network URL.
optional string network = 232872494;- Parameters:
value- The network to set.- Returns:
- This builder for chaining.
-
clearNetwork
Network URL.
optional string network = 232872494;- Returns:
- This builder for chaining.
-
setNetworkBytes
Network URL.
optional string network = 232872494;- Parameters:
value- The bytes for network to set.- Returns:
- This builder for chaining.
-
hasPurpose
public boolean hasPurpose()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
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()Check the Purpose enum for the list of possible values.
optional string purpose = 316407070;- Specified by:
getPurposeBytesin interfaceUsableSubnetworkOrBuilder- Returns:
- The bytes for purpose.
-
setPurpose
Check the Purpose enum for the list of possible values.
optional string purpose = 316407070;- Parameters:
value- The purpose to set.- Returns:
- This builder for chaining.
-
clearPurpose
Check the Purpose enum for the list of possible values.
optional string purpose = 316407070;- Returns:
- This builder for chaining.
-
setPurposeBytes
Check the Purpose enum for the list of possible values.
optional string purpose = 316407070;- Parameters:
value- The bytes for purpose to set.- Returns:
- This builder for chaining.
-
hasRole
public boolean hasRole()The role of subnetwork. Currently, this field is only used when purpose is set to GLOBAL_MANAGED_PROXY orREGIONAL_MANAGED_PROXY. The value can be set toACTIVE 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
The role of subnetwork. Currently, this field is only used when purpose is set to GLOBAL_MANAGED_PROXY orREGIONAL_MANAGED_PROXY. The value can be set toACTIVE 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 is set to GLOBAL_MANAGED_PROXY orREGIONAL_MANAGED_PROXY. The value can be set toACTIVE 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.
-
setRole
The role of subnetwork. Currently, this field is only used when purpose is set to GLOBAL_MANAGED_PROXY orREGIONAL_MANAGED_PROXY. The value can be set toACTIVE 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;- Parameters:
value- The role to set.- Returns:
- This builder for chaining.
-
clearRole
The role of subnetwork. Currently, this field is only used when purpose is set to GLOBAL_MANAGED_PROXY orREGIONAL_MANAGED_PROXY. The value can be set toACTIVE 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;- Returns:
- This builder for chaining.
-
setRoleBytes
The role of subnetwork. Currently, this field is only used when purpose is set to GLOBAL_MANAGED_PROXY orREGIONAL_MANAGED_PROXY. The value can be set toACTIVE 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;- Parameters:
value- The bytes for role to set.- Returns:
- This builder for chaining.
-
getSecondaryIpRangesList
Secondary IP ranges.
repeated .google.cloud.compute.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 136658915;- Specified by:
getSecondaryIpRangesListin interfaceUsableSubnetworkOrBuilder
-
getSecondaryIpRangesCount
public int getSecondaryIpRangesCount()Secondary IP ranges.
repeated .google.cloud.compute.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 136658915;- Specified by:
getSecondaryIpRangesCountin interfaceUsableSubnetworkOrBuilder
-
getSecondaryIpRanges
Secondary IP ranges.
repeated .google.cloud.compute.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 136658915;- Specified by:
getSecondaryIpRangesin interfaceUsableSubnetworkOrBuilder
-
setSecondaryIpRanges
public UsableSubnetwork.Builder setSecondaryIpRanges(int index, UsableSubnetworkSecondaryRange value) Secondary IP ranges.
repeated .google.cloud.compute.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 136658915; -
setSecondaryIpRanges
public UsableSubnetwork.Builder setSecondaryIpRanges(int index, UsableSubnetworkSecondaryRange.Builder builderForValue) Secondary IP ranges.
repeated .google.cloud.compute.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 136658915; -
addSecondaryIpRanges
Secondary IP ranges.
repeated .google.cloud.compute.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 136658915; -
addSecondaryIpRanges
public UsableSubnetwork.Builder addSecondaryIpRanges(int index, UsableSubnetworkSecondaryRange value) Secondary IP ranges.
repeated .google.cloud.compute.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 136658915; -
addSecondaryIpRanges
public UsableSubnetwork.Builder addSecondaryIpRanges(UsableSubnetworkSecondaryRange.Builder builderForValue) Secondary IP ranges.
repeated .google.cloud.compute.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 136658915; -
addSecondaryIpRanges
public UsableSubnetwork.Builder addSecondaryIpRanges(int index, UsableSubnetworkSecondaryRange.Builder builderForValue) Secondary IP ranges.
repeated .google.cloud.compute.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 136658915; -
addAllSecondaryIpRanges
public UsableSubnetwork.Builder addAllSecondaryIpRanges(Iterable<? extends UsableSubnetworkSecondaryRange> values) Secondary IP ranges.
repeated .google.cloud.compute.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 136658915; -
clearSecondaryIpRanges
Secondary IP ranges.
repeated .google.cloud.compute.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 136658915; -
removeSecondaryIpRanges
Secondary IP ranges.
repeated .google.cloud.compute.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 136658915; -
getSecondaryIpRangesBuilder
Secondary IP ranges.
repeated .google.cloud.compute.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 136658915; -
getSecondaryIpRangesOrBuilder
Secondary IP ranges.
repeated .google.cloud.compute.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 136658915;- Specified by:
getSecondaryIpRangesOrBuilderin interfaceUsableSubnetworkOrBuilder
-
getSecondaryIpRangesOrBuilderList
Secondary IP ranges.
repeated .google.cloud.compute.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 136658915;- Specified by:
getSecondaryIpRangesOrBuilderListin interfaceUsableSubnetworkOrBuilder
-
addSecondaryIpRangesBuilder
Secondary IP ranges.
repeated .google.cloud.compute.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 136658915; -
addSecondaryIpRangesBuilder
Secondary IP ranges.
repeated .google.cloud.compute.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 136658915; -
getSecondaryIpRangesBuilderList
Secondary IP ranges.
repeated .google.cloud.compute.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 136658915; -
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 toIPV4_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 usingpatch. 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
The stack type for the subnet. If set to IPV4_ONLY, new VMs in the subnet are assigned IPv4 addresses only. If set toIPV4_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 usingpatch. 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 toIPV4_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 usingpatch. Check the StackType enum for the list of possible values.
optional string stack_type = 425908881;- Specified by:
getStackTypeBytesin interfaceUsableSubnetworkOrBuilder- Returns:
- The bytes for stackType.
-
setStackType
The stack type for the subnet. If set to IPV4_ONLY, new VMs in the subnet are assigned IPv4 addresses only. If set toIPV4_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 usingpatch. Check the StackType enum for the list of possible values.
optional string stack_type = 425908881;- Parameters:
value- The stackType to set.- Returns:
- This builder for chaining.
-
clearStackType
The stack type for the subnet. If set to IPV4_ONLY, new VMs in the subnet are assigned IPv4 addresses only. If set toIPV4_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 usingpatch. Check the StackType enum for the list of possible values.
optional string stack_type = 425908881;- Returns:
- This builder for chaining.
-
setStackTypeBytes
The stack type for the subnet. If set to IPV4_ONLY, new VMs in the subnet are assigned IPv4 addresses only. If set toIPV4_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 usingpatch. Check the StackType enum for the list of possible values.
optional string stack_type = 425908881;- Parameters:
value- The bytes for stackType to set.- Returns:
- This builder for chaining.
-
hasSubnetwork
public boolean hasSubnetwork()Subnetwork URL.
optional string subnetwork = 307827694;- Specified by:
hasSubnetworkin interfaceUsableSubnetworkOrBuilder- Returns:
- Whether the subnetwork field is set.
-
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.
-
setSubnetwork
Subnetwork URL.
optional string subnetwork = 307827694;- Parameters:
value- The subnetwork to set.- Returns:
- This builder for chaining.
-
clearSubnetwork
Subnetwork URL.
optional string subnetwork = 307827694;- Returns:
- This builder for chaining.
-
setSubnetworkBytes
Subnetwork URL.
optional string subnetwork = 307827694;- Parameters:
value- The bytes for subnetwork to set.- Returns:
- This builder for chaining.
-