public static final class UsableSubnetwork.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<UsableSubnetwork.Builder> implements UsableSubnetworkOrBuilder
Subnetwork which the current user has compute.subnetworks.use permission on.Protobuf type
google.cloud.compute.v1.UsableSubnetwork| Modifier and Type | Method and Description |
|---|---|
UsableSubnetwork.Builder |
addAllSecondaryIpRanges(Iterable<? extends UsableSubnetworkSecondaryRange> values)
Secondary IP ranges.
|
UsableSubnetwork.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
UsableSubnetwork.Builder |
addSecondaryIpRanges(int index,
UsableSubnetworkSecondaryRange.Builder builderForValue)
Secondary IP ranges.
|
UsableSubnetwork.Builder |
addSecondaryIpRanges(int index,
UsableSubnetworkSecondaryRange value)
Secondary IP ranges.
|
UsableSubnetwork.Builder |
addSecondaryIpRanges(UsableSubnetworkSecondaryRange.Builder builderForValue)
Secondary IP ranges.
|
UsableSubnetwork.Builder |
addSecondaryIpRanges(UsableSubnetworkSecondaryRange value)
Secondary IP ranges.
|
UsableSubnetworkSecondaryRange.Builder |
addSecondaryIpRangesBuilder()
Secondary IP ranges.
|
UsableSubnetworkSecondaryRange.Builder |
addSecondaryIpRangesBuilder(int index)
Secondary IP ranges.
|
UsableSubnetwork |
build() |
UsableSubnetwork |
buildPartial() |
UsableSubnetwork.Builder |
clear() |
UsableSubnetwork.Builder |
clearExternalIpv6Prefix()
[Output Only] The external IPv6 address range that is assigned to this subnetwork.
|
UsableSubnetwork.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
UsableSubnetwork.Builder |
clearInternalIpv6Prefix()
[Output Only] The internal IPv6 address range that is assigned to this subnetwork.
|
UsableSubnetwork.Builder |
clearIpCidrRange()
The range of internal addresses that are owned by this subnetwork.
|
UsableSubnetwork.Builder |
clearIpv6AccessType()
The access type of IPv6 address this subnet holds.
|
UsableSubnetwork.Builder |
clearNetwork()
Network URL.
|
UsableSubnetwork.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
UsableSubnetwork.Builder |
clearPurpose()
The purpose of the resource.
|
UsableSubnetwork.Builder |
clearRole()
The role of subnetwork.
|
UsableSubnetwork.Builder |
clearSecondaryIpRanges()
Secondary IP ranges.
|
UsableSubnetwork.Builder |
clearStackType()
The stack type for the subnet.
|
UsableSubnetwork.Builder |
clearSubnetwork()
Subnetwork URL.
|
UsableSubnetwork.Builder |
clone() |
UsableSubnetwork |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getExternalIpv6Prefix()
[Output Only] The external IPv6 address range that is assigned to this subnetwork.
|
com.google.protobuf.ByteString |
getExternalIpv6PrefixBytes()
[Output Only] The external IPv6 address range that is assigned to this subnetwork.
|
String |
getInternalIpv6Prefix()
[Output Only] The internal IPv6 address range that is assigned to this subnetwork.
|
com.google.protobuf.ByteString |
getInternalIpv6PrefixBytes()
[Output Only] The internal IPv6 address range that is assigned to this subnetwork.
|
String |
getIpCidrRange()
The range of internal addresses that are owned by this subnetwork.
|
com.google.protobuf.ByteString |
getIpCidrRangeBytes()
The range of internal addresses that are owned by this subnetwork.
|
String |
getIpv6AccessType()
The access type of IPv6 address this subnet holds.
|
com.google.protobuf.ByteString |
getIpv6AccessTypeBytes()
The access type of IPv6 address this subnet holds.
|
String |
getNetwork()
Network URL.
|
com.google.protobuf.ByteString |
getNetworkBytes()
Network URL.
|
String |
getPurpose()
The purpose of the resource.
|
com.google.protobuf.ByteString |
getPurposeBytes()
The purpose of the resource.
|
String |
getRole()
The role of subnetwork.
|
com.google.protobuf.ByteString |
getRoleBytes()
The role of subnetwork.
|
UsableSubnetworkSecondaryRange |
getSecondaryIpRanges(int index)
Secondary IP ranges.
|
UsableSubnetworkSecondaryRange.Builder |
getSecondaryIpRangesBuilder(int index)
Secondary IP ranges.
|
List<UsableSubnetworkSecondaryRange.Builder> |
getSecondaryIpRangesBuilderList()
Secondary IP ranges.
|
int |
getSecondaryIpRangesCount()
Secondary IP ranges.
|
List<UsableSubnetworkSecondaryRange> |
getSecondaryIpRangesList()
Secondary IP ranges.
|
UsableSubnetworkSecondaryRangeOrBuilder |
getSecondaryIpRangesOrBuilder(int index)
Secondary IP ranges.
|
List<? extends UsableSubnetworkSecondaryRangeOrBuilder> |
getSecondaryIpRangesOrBuilderList()
Secondary IP ranges.
|
String |
getStackType()
The stack type for the subnet.
|
com.google.protobuf.ByteString |
getStackTypeBytes()
The stack type for the subnet.
|
String |
getSubnetwork()
Subnetwork URL.
|
com.google.protobuf.ByteString |
getSubnetworkBytes()
Subnetwork URL.
|
boolean |
hasExternalIpv6Prefix()
[Output Only] The external IPv6 address range that is assigned to this subnetwork.
|
boolean |
hasInternalIpv6Prefix()
[Output Only] The internal IPv6 address range that is assigned to this subnetwork.
|
boolean |
hasIpCidrRange()
The range of internal addresses that are owned by this subnetwork.
|
boolean |
hasIpv6AccessType()
The access type of IPv6 address this subnet holds.
|
boolean |
hasNetwork()
Network URL.
|
boolean |
hasPurpose()
The purpose of the resource.
|
boolean |
hasRole()
The role of subnetwork.
|
boolean |
hasStackType()
The stack type for the subnet.
|
boolean |
hasSubnetwork()
Subnetwork URL.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
UsableSubnetwork.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
UsableSubnetwork.Builder |
mergeFrom(com.google.protobuf.Message other) |
UsableSubnetwork.Builder |
mergeFrom(UsableSubnetwork other) |
UsableSubnetwork.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
UsableSubnetwork.Builder |
removeSecondaryIpRanges(int index)
Secondary IP ranges.
|
UsableSubnetwork.Builder |
setExternalIpv6Prefix(String value)
[Output Only] The external IPv6 address range that is assigned to this subnetwork.
|
UsableSubnetwork.Builder |
setExternalIpv6PrefixBytes(com.google.protobuf.ByteString value)
[Output Only] The external IPv6 address range that is assigned to this subnetwork.
|
UsableSubnetwork.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
UsableSubnetwork.Builder |
setInternalIpv6Prefix(String value)
[Output Only] The internal IPv6 address range that is assigned to this subnetwork.
|
UsableSubnetwork.Builder |
setInternalIpv6PrefixBytes(com.google.protobuf.ByteString value)
[Output Only] The internal IPv6 address range that is assigned to this subnetwork.
|
UsableSubnetwork.Builder |
setIpCidrRange(String value)
The range of internal addresses that are owned by this subnetwork.
|
UsableSubnetwork.Builder |
setIpCidrRangeBytes(com.google.protobuf.ByteString value)
The range of internal addresses that are owned by this subnetwork.
|
UsableSubnetwork.Builder |
setIpv6AccessType(String value)
The access type of IPv6 address this subnet holds.
|
UsableSubnetwork.Builder |
setIpv6AccessTypeBytes(com.google.protobuf.ByteString value)
The access type of IPv6 address this subnet holds.
|
UsableSubnetwork.Builder |
setNetwork(String value)
Network URL.
|
UsableSubnetwork.Builder |
setNetworkBytes(com.google.protobuf.ByteString value)
Network URL.
|
UsableSubnetwork.Builder |
setPurpose(String value)
The purpose of the resource.
|
UsableSubnetwork.Builder |
setPurposeBytes(com.google.protobuf.ByteString value)
The purpose of the resource.
|
UsableSubnetwork.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
UsableSubnetwork.Builder |
setRole(String value)
The role of subnetwork.
|
UsableSubnetwork.Builder |
setRoleBytes(com.google.protobuf.ByteString value)
The role of subnetwork.
|
UsableSubnetwork.Builder |
setSecondaryIpRanges(int index,
UsableSubnetworkSecondaryRange.Builder builderForValue)
Secondary IP ranges.
|
UsableSubnetwork.Builder |
setSecondaryIpRanges(int index,
UsableSubnetworkSecondaryRange value)
Secondary IP ranges.
|
UsableSubnetwork.Builder |
setStackType(String value)
The stack type for the subnet.
|
UsableSubnetwork.Builder |
setStackTypeBytes(com.google.protobuf.ByteString value)
The stack type for the subnet.
|
UsableSubnetwork.Builder |
setSubnetwork(String value)
Subnetwork URL.
|
UsableSubnetwork.Builder |
setSubnetworkBytes(com.google.protobuf.ByteString value)
Subnetwork URL.
|
UsableSubnetwork.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<UsableSubnetwork.Builder>public UsableSubnetwork.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<UsableSubnetwork.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<UsableSubnetwork.Builder>public UsableSubnetwork getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic UsableSubnetwork build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic UsableSubnetwork buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic UsableSubnetwork.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<UsableSubnetwork.Builder>public UsableSubnetwork.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<UsableSubnetwork.Builder>public UsableSubnetwork.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<UsableSubnetwork.Builder>public UsableSubnetwork.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<UsableSubnetwork.Builder>public UsableSubnetwork.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<UsableSubnetwork.Builder>public UsableSubnetwork.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<UsableSubnetwork.Builder>public UsableSubnetwork.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<UsableSubnetwork.Builder>public UsableSubnetwork.Builder mergeFrom(UsableSubnetwork other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<UsableSubnetwork.Builder>public UsableSubnetwork.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<UsableSubnetwork.Builder>IOExceptionpublic boolean hasExternalIpv6Prefix()
[Output Only] The external IPv6 address range that is assigned to this subnetwork.
optional string external_ipv6_prefix = 139299190;hasExternalIpv6Prefix in interface UsableSubnetworkOrBuilderpublic String getExternalIpv6Prefix()
[Output Only] The external IPv6 address range that is assigned to this subnetwork.
optional string external_ipv6_prefix = 139299190;getExternalIpv6Prefix in interface UsableSubnetworkOrBuilderpublic com.google.protobuf.ByteString getExternalIpv6PrefixBytes()
[Output Only] The external IPv6 address range that is assigned to this subnetwork.
optional string external_ipv6_prefix = 139299190;getExternalIpv6PrefixBytes in interface UsableSubnetworkOrBuilderpublic UsableSubnetwork.Builder setExternalIpv6Prefix(String value)
[Output Only] The external IPv6 address range that is assigned to this subnetwork.
optional string external_ipv6_prefix = 139299190;value - The externalIpv6Prefix to set.public UsableSubnetwork.Builder clearExternalIpv6Prefix()
[Output Only] The external IPv6 address range that is assigned to this subnetwork.
optional string external_ipv6_prefix = 139299190;public UsableSubnetwork.Builder setExternalIpv6PrefixBytes(com.google.protobuf.ByteString value)
[Output Only] The external IPv6 address range that is assigned to this subnetwork.
optional string external_ipv6_prefix = 139299190;value - The bytes for externalIpv6Prefix to set.public boolean hasInternalIpv6Prefix()
[Output Only] The internal IPv6 address range that is assigned to this subnetwork.
optional string internal_ipv6_prefix = 506270056;hasInternalIpv6Prefix in interface UsableSubnetworkOrBuilderpublic String getInternalIpv6Prefix()
[Output Only] The internal IPv6 address range that is assigned to this subnetwork.
optional string internal_ipv6_prefix = 506270056;getInternalIpv6Prefix in interface UsableSubnetworkOrBuilderpublic com.google.protobuf.ByteString getInternalIpv6PrefixBytes()
[Output Only] The internal IPv6 address range that is assigned to this subnetwork.
optional string internal_ipv6_prefix = 506270056;getInternalIpv6PrefixBytes in interface UsableSubnetworkOrBuilderpublic UsableSubnetwork.Builder setInternalIpv6Prefix(String value)
[Output Only] The internal IPv6 address range that is assigned to this subnetwork.
optional string internal_ipv6_prefix = 506270056;value - The internalIpv6Prefix to set.public UsableSubnetwork.Builder clearInternalIpv6Prefix()
[Output Only] The internal IPv6 address range that is assigned to this subnetwork.
optional string internal_ipv6_prefix = 506270056;public UsableSubnetwork.Builder setInternalIpv6PrefixBytes(com.google.protobuf.ByteString value)
[Output Only] The internal IPv6 address range that is assigned to this subnetwork.
optional string internal_ipv6_prefix = 506270056;value - The bytes for internalIpv6Prefix to set.public boolean hasIpCidrRange()
The range of internal addresses that are owned by this subnetwork.
optional string ip_cidr_range = 98117322;hasIpCidrRange in interface UsableSubnetworkOrBuilderpublic String getIpCidrRange()
The range of internal addresses that are owned by this subnetwork.
optional string ip_cidr_range = 98117322;getIpCidrRange in interface UsableSubnetworkOrBuilderpublic com.google.protobuf.ByteString getIpCidrRangeBytes()
The range of internal addresses that are owned by this subnetwork.
optional string ip_cidr_range = 98117322;getIpCidrRangeBytes in interface UsableSubnetworkOrBuilderpublic UsableSubnetwork.Builder setIpCidrRange(String value)
The range of internal addresses that are owned by this subnetwork.
optional string ip_cidr_range = 98117322;value - The ipCidrRange to set.public UsableSubnetwork.Builder clearIpCidrRange()
The range of internal addresses that are owned by this subnetwork.
optional string ip_cidr_range = 98117322;public UsableSubnetwork.Builder setIpCidrRangeBytes(com.google.protobuf.ByteString value)
The range of internal addresses that are owned by this subnetwork.
optional string ip_cidr_range = 98117322;value - The bytes for ipCidrRange to set.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;hasIpv6AccessType in interface UsableSubnetworkOrBuilderpublic 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;getIpv6AccessType in interface UsableSubnetworkOrBuilderpublic 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;getIpv6AccessTypeBytes in interface UsableSubnetworkOrBuilderpublic UsableSubnetwork.Builder setIpv6AccessType(String value)
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;value - The ipv6AccessType to set.public UsableSubnetwork.Builder 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;public UsableSubnetwork.Builder setIpv6AccessTypeBytes(com.google.protobuf.ByteString value)
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;value - The bytes for ipv6AccessType to set.public boolean hasNetwork()
Network URL.
optional string network = 232872494;hasNetwork in interface UsableSubnetworkOrBuilderpublic String getNetwork()
Network URL.
optional string network = 232872494;getNetwork in interface UsableSubnetworkOrBuilderpublic com.google.protobuf.ByteString getNetworkBytes()
Network URL.
optional string network = 232872494;getNetworkBytes in interface UsableSubnetworkOrBuilderpublic UsableSubnetwork.Builder setNetwork(String value)
Network URL.
optional string network = 232872494;value - The network to set.public UsableSubnetwork.Builder clearNetwork()
Network URL.
optional string network = 232872494;public UsableSubnetwork.Builder setNetworkBytes(com.google.protobuf.ByteString value)
Network URL.
optional string network = 232872494;value - The bytes for network to set.public boolean hasPurpose()
The purpose of the resource. This field can be either PRIVATE_RFC_1918 or INTERNAL_HTTPS_LOAD_BALANCER. A subnetwork with purpose set to INTERNAL_HTTPS_LOAD_BALANCER is a user-created subnetwork that is reserved for Internal HTTP(S) Load Balancing. If unspecified, the purpose defaults to PRIVATE_RFC_1918. The enableFlowLogs field isn't supported with the purpose field set to INTERNAL_HTTPS_LOAD_BALANCER. Check the Purpose enum for the list of possible values.
optional string purpose = 316407070;hasPurpose in interface UsableSubnetworkOrBuilderpublic String getPurpose()
The purpose of the resource. This field can be either PRIVATE_RFC_1918 or INTERNAL_HTTPS_LOAD_BALANCER. A subnetwork with purpose set to INTERNAL_HTTPS_LOAD_BALANCER is a user-created subnetwork that is reserved for Internal HTTP(S) Load Balancing. If unspecified, the purpose defaults to PRIVATE_RFC_1918. The enableFlowLogs field isn't supported with the purpose field set to INTERNAL_HTTPS_LOAD_BALANCER. Check the Purpose enum for the list of possible values.
optional string purpose = 316407070;getPurpose in interface UsableSubnetworkOrBuilderpublic com.google.protobuf.ByteString getPurposeBytes()
The purpose of the resource. This field can be either PRIVATE_RFC_1918 or INTERNAL_HTTPS_LOAD_BALANCER. A subnetwork with purpose set to INTERNAL_HTTPS_LOAD_BALANCER is a user-created subnetwork that is reserved for Internal HTTP(S) Load Balancing. If unspecified, the purpose defaults to PRIVATE_RFC_1918. The enableFlowLogs field isn't supported with the purpose field set to INTERNAL_HTTPS_LOAD_BALANCER. Check the Purpose enum for the list of possible values.
optional string purpose = 316407070;getPurposeBytes in interface UsableSubnetworkOrBuilderpublic UsableSubnetwork.Builder setPurpose(String value)
The purpose of the resource. This field can be either PRIVATE_RFC_1918 or INTERNAL_HTTPS_LOAD_BALANCER. A subnetwork with purpose set to INTERNAL_HTTPS_LOAD_BALANCER is a user-created subnetwork that is reserved for Internal HTTP(S) Load Balancing. If unspecified, the purpose defaults to PRIVATE_RFC_1918. The enableFlowLogs field isn't supported with the purpose field set to INTERNAL_HTTPS_LOAD_BALANCER. Check the Purpose enum for the list of possible values.
optional string purpose = 316407070;value - The purpose to set.public UsableSubnetwork.Builder clearPurpose()
The purpose of the resource. This field can be either PRIVATE_RFC_1918 or INTERNAL_HTTPS_LOAD_BALANCER. A subnetwork with purpose set to INTERNAL_HTTPS_LOAD_BALANCER is a user-created subnetwork that is reserved for Internal HTTP(S) Load Balancing. If unspecified, the purpose defaults to PRIVATE_RFC_1918. The enableFlowLogs field isn't supported with the purpose field set to INTERNAL_HTTPS_LOAD_BALANCER. Check the Purpose enum for the list of possible values.
optional string purpose = 316407070;public UsableSubnetwork.Builder setPurposeBytes(com.google.protobuf.ByteString value)
The purpose of the resource. This field can be either PRIVATE_RFC_1918 or INTERNAL_HTTPS_LOAD_BALANCER. A subnetwork with purpose set to INTERNAL_HTTPS_LOAD_BALANCER is a user-created subnetwork that is reserved for Internal HTTP(S) Load Balancing. If unspecified, the purpose defaults to PRIVATE_RFC_1918. The enableFlowLogs field isn't supported with the purpose field set to INTERNAL_HTTPS_LOAD_BALANCER. Check the Purpose enum for the list of possible values.
optional string purpose = 316407070;value - The bytes for purpose to set.public boolean hasRole()
The role of subnetwork. Currently, this field is only used when purpose = INTERNAL_HTTPS_LOAD_BALANCER. The value can be set to ACTIVE or BACKUP. An ACTIVE subnetwork is one that is currently being used for Internal HTTP(S) Load Balancing. 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;hasRole in interface UsableSubnetworkOrBuilderpublic String getRole()
The role of subnetwork. Currently, this field is only used when purpose = INTERNAL_HTTPS_LOAD_BALANCER. The value can be set to ACTIVE or BACKUP. An ACTIVE subnetwork is one that is currently being used for Internal HTTP(S) Load Balancing. 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;getRole in interface UsableSubnetworkOrBuilderpublic com.google.protobuf.ByteString getRoleBytes()
The role of subnetwork. Currently, this field is only used when purpose = INTERNAL_HTTPS_LOAD_BALANCER. The value can be set to ACTIVE or BACKUP. An ACTIVE subnetwork is one that is currently being used for Internal HTTP(S) Load Balancing. 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;getRoleBytes in interface UsableSubnetworkOrBuilderpublic UsableSubnetwork.Builder setRole(String value)
The role of subnetwork. Currently, this field is only used when purpose = INTERNAL_HTTPS_LOAD_BALANCER. The value can be set to ACTIVE or BACKUP. An ACTIVE subnetwork is one that is currently being used for Internal HTTP(S) Load Balancing. 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;value - The role to set.public UsableSubnetwork.Builder clearRole()
The role of subnetwork. Currently, this field is only used when purpose = INTERNAL_HTTPS_LOAD_BALANCER. The value can be set to ACTIVE or BACKUP. An ACTIVE subnetwork is one that is currently being used for Internal HTTP(S) Load Balancing. 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;public UsableSubnetwork.Builder setRoleBytes(com.google.protobuf.ByteString value)
The role of subnetwork. Currently, this field is only used when purpose = INTERNAL_HTTPS_LOAD_BALANCER. The value can be set to ACTIVE or BACKUP. An ACTIVE subnetwork is one that is currently being used for Internal HTTP(S) Load Balancing. 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;value - The bytes for role to set.public List<UsableSubnetworkSecondaryRange> getSecondaryIpRangesList()
Secondary IP ranges.
repeated .google.cloud.compute.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 136658915;
getSecondaryIpRangesList in interface UsableSubnetworkOrBuilderpublic int getSecondaryIpRangesCount()
Secondary IP ranges.
repeated .google.cloud.compute.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 136658915;
getSecondaryIpRangesCount in interface UsableSubnetworkOrBuilderpublic UsableSubnetworkSecondaryRange getSecondaryIpRanges(int index)
Secondary IP ranges.
repeated .google.cloud.compute.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 136658915;
getSecondaryIpRanges in interface UsableSubnetworkOrBuilderpublic UsableSubnetwork.Builder setSecondaryIpRanges(int index, UsableSubnetworkSecondaryRange value)
Secondary IP ranges.
repeated .google.cloud.compute.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 136658915;
public UsableSubnetwork.Builder setSecondaryIpRanges(int index, UsableSubnetworkSecondaryRange.Builder builderForValue)
Secondary IP ranges.
repeated .google.cloud.compute.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 136658915;
public UsableSubnetwork.Builder addSecondaryIpRanges(UsableSubnetworkSecondaryRange value)
Secondary IP ranges.
repeated .google.cloud.compute.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 136658915;
public UsableSubnetwork.Builder addSecondaryIpRanges(int index, UsableSubnetworkSecondaryRange value)
Secondary IP ranges.
repeated .google.cloud.compute.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 136658915;
public UsableSubnetwork.Builder addSecondaryIpRanges(UsableSubnetworkSecondaryRange.Builder builderForValue)
Secondary IP ranges.
repeated .google.cloud.compute.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 136658915;
public UsableSubnetwork.Builder addSecondaryIpRanges(int index, UsableSubnetworkSecondaryRange.Builder builderForValue)
Secondary IP ranges.
repeated .google.cloud.compute.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 136658915;
public UsableSubnetwork.Builder addAllSecondaryIpRanges(Iterable<? extends UsableSubnetworkSecondaryRange> values)
Secondary IP ranges.
repeated .google.cloud.compute.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 136658915;
public UsableSubnetwork.Builder clearSecondaryIpRanges()
Secondary IP ranges.
repeated .google.cloud.compute.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 136658915;
public UsableSubnetwork.Builder removeSecondaryIpRanges(int index)
Secondary IP ranges.
repeated .google.cloud.compute.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 136658915;
public UsableSubnetworkSecondaryRange.Builder getSecondaryIpRangesBuilder(int index)
Secondary IP ranges.
repeated .google.cloud.compute.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 136658915;
public UsableSubnetworkSecondaryRangeOrBuilder getSecondaryIpRangesOrBuilder(int index)
Secondary IP ranges.
repeated .google.cloud.compute.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 136658915;
getSecondaryIpRangesOrBuilder in interface UsableSubnetworkOrBuilderpublic List<? extends UsableSubnetworkSecondaryRangeOrBuilder> getSecondaryIpRangesOrBuilderList()
Secondary IP ranges.
repeated .google.cloud.compute.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 136658915;
getSecondaryIpRangesOrBuilderList in interface UsableSubnetworkOrBuilderpublic UsableSubnetworkSecondaryRange.Builder addSecondaryIpRangesBuilder()
Secondary IP ranges.
repeated .google.cloud.compute.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 136658915;
public UsableSubnetworkSecondaryRange.Builder addSecondaryIpRangesBuilder(int index)
Secondary IP ranges.
repeated .google.cloud.compute.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 136658915;
public List<UsableSubnetworkSecondaryRange.Builder> getSecondaryIpRangesBuilderList()
Secondary IP ranges.
repeated .google.cloud.compute.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 136658915;
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;hasStackType in interface UsableSubnetworkOrBuilderpublic 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;getStackType in interface UsableSubnetworkOrBuilderpublic 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;getStackTypeBytes in interface UsableSubnetworkOrBuilderpublic UsableSubnetwork.Builder setStackType(String value)
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;value - The stackType to set.public UsableSubnetwork.Builder clearStackType()
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;public UsableSubnetwork.Builder setStackTypeBytes(com.google.protobuf.ByteString value)
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;value - The bytes for stackType to set.public boolean hasSubnetwork()
Subnetwork URL.
optional string subnetwork = 307827694;hasSubnetwork in interface UsableSubnetworkOrBuilderpublic String getSubnetwork()
Subnetwork URL.
optional string subnetwork = 307827694;getSubnetwork in interface UsableSubnetworkOrBuilderpublic com.google.protobuf.ByteString getSubnetworkBytes()
Subnetwork URL.
optional string subnetwork = 307827694;getSubnetworkBytes in interface UsableSubnetworkOrBuilderpublic UsableSubnetwork.Builder setSubnetwork(String value)
Subnetwork URL.
optional string subnetwork = 307827694;value - The subnetwork to set.public UsableSubnetwork.Builder clearSubnetwork()
Subnetwork URL.
optional string subnetwork = 307827694;public UsableSubnetwork.Builder setSubnetworkBytes(com.google.protobuf.ByteString value)
Subnetwork URL.
optional string subnetwork = 307827694;value - The bytes for subnetwork to set.public final UsableSubnetwork.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<UsableSubnetwork.Builder>public final UsableSubnetwork.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<UsableSubnetwork.Builder>Copyright © 2023 Google LLC. All rights reserved.