Package com.google.cloud.compute.v1
Class Subnetwork.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Subnetwork.Builder>
com.google.cloud.compute.v1.Subnetwork.Builder
- All Implemented Interfaces:
SubnetworkOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Subnetwork
public static final class Subnetwork.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Subnetwork.Builder>
implements SubnetworkOrBuilder
Represents a Subnetwork resource. A subnetwork (also known as a subnet) is a logical partition of a Virtual Private Cloud network with one primary IP range and zero or more secondary IP ranges. For more information, read Virtual Private Cloud (VPC) Network.Protobuf type
google.cloud.compute.v1.Subnetwork-
Method Summary
Modifier and TypeMethodDescriptionaddAllSecondaryIpRanges(Iterable<? extends SubnetworkSecondaryRange> values) An array of configurations for secondary IP ranges for VM instances contained in this subnetwork.Output only.Output only.addSecondaryIpRanges(int index, SubnetworkSecondaryRange value) An array of configurations for secondary IP ranges for VM instances contained in this subnetwork.addSecondaryIpRanges(int index, SubnetworkSecondaryRange.Builder builderForValue) An array of configurations for secondary IP ranges for VM instances contained in this subnetwork.An array of configurations for secondary IP ranges for VM instances contained in this subnetwork.addSecondaryIpRanges(SubnetworkSecondaryRange.Builder builderForValue) An array of configurations for secondary IP ranges for VM instances contained in this subnetwork.An array of configurations for secondary IP ranges for VM instances contained in this subnetwork.addSecondaryIpRangesBuilder(int index) An array of configurations for secondary IP ranges for VM instances contained in this subnetwork.Output only.addSystemReservedExternalIpv6RangesBytes(com.google.protobuf.ByteString value) Output only.Output only.addSystemReservedInternalIpv6RangesBytes(com.google.protobuf.ByteString value) Output only.build()clear()Whether this subnetwork's ranges can conflict with existing custom routes.Output only.An optional description of this resource.Whether to enable flow logging for this subnetwork.The external IPv6 address range that is owned by this subnetwork.Fingerprint of this resource.Output only.clearId()Output only.The internal IPv6 address range that is owned by this subnetwork.The range of internal addresses that are owned by this subnetwork.Reference to the source of IP, like a PublicDelegatedPrefix (PDP) for BYOIP.The access type of IPv6 address this subnet holds.Output only.Output only.Output only.This field denotes the VPC flow logging options for this subnetwork.The name of the resource, provided by the client when initially creating the resource.The URL of the network to which this subnetwork belongs, provided by the client when initially creating the subnetwork.Input only.Whether the VMs in this subnet can access Google services without assigned external IP addresses.This field is for internal use.Check the Purpose enum for the list of possible values.URL of the region where the Subnetwork resides.The URL of the reserved internal range.Configures subnet mask resolution for this subnetwork.The role of subnetwork.An array of configurations for secondary IP ranges for VM instances contained in this subnetwork.[Output Only] Server-defined URL for the resource.The stack type for the subnet.Output only.Output only.Output only.Output only.booleanWhether this subnetwork's ranges can conflict with existing custom routes.Output only.com.google.protobuf.ByteStringOutput only.An optional description of this resource.com.google.protobuf.ByteStringAn optional description of this resource.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorbooleanWhether to enable flow logging for this subnetwork.The external IPv6 address range that is owned by this subnetwork.com.google.protobuf.ByteStringThe external IPv6 address range that is owned by this subnetwork.Fingerprint of this resource.com.google.protobuf.ByteStringFingerprint of this resource.Output only.com.google.protobuf.ByteStringOutput only.longgetId()Output only.The internal IPv6 address range that is owned by this subnetwork.com.google.protobuf.ByteStringThe internal IPv6 address range that is owned by this subnetwork.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.Reference to the source of IP, like a PublicDelegatedPrefix (PDP) for BYOIP.com.google.protobuf.ByteStringReference to the source of IP, like a PublicDelegatedPrefix (PDP) for BYOIP.The access type of IPv6 address this subnet holds.com.google.protobuf.ByteStringThe access type of IPv6 address this subnet holds.Output only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.getKind()Output only.com.google.protobuf.ByteStringOutput only.This field denotes the VPC flow logging options for this subnetwork.This field denotes the VPC flow logging options for this subnetwork.This field denotes the VPC flow logging options for this subnetwork.getName()The name of the resource, provided by the client when initially creating the resource.com.google.protobuf.ByteStringThe name of the resource, provided by the client when initially creating the resource.The URL of the network to which this subnetwork belongs, provided by the client when initially creating the subnetwork.com.google.protobuf.ByteStringThe URL of the network to which this subnetwork belongs, provided by the client when initially creating the subnetwork.Input only.Input only.Input only.booleanWhether the VMs in this subnet can access Google services without assigned external IP addresses.This field is for internal use.com.google.protobuf.ByteStringThis field is for internal use.Check the Purpose enum for the list of possible values.com.google.protobuf.ByteStringCheck the Purpose enum for the list of possible values.URL of the region where the Subnetwork resides.com.google.protobuf.ByteStringURL of the region where the Subnetwork resides.The URL of the reserved internal range.com.google.protobuf.ByteStringThe URL of the reserved internal range.Configures subnet mask resolution for this subnetwork.com.google.protobuf.ByteStringConfigures subnet mask resolution for this subnetwork.getRole()The role of subnetwork.com.google.protobuf.ByteStringThe role of subnetwork.getSecondaryIpRanges(int index) An array of configurations for secondary IP ranges for VM instances contained in this subnetwork.getSecondaryIpRangesBuilder(int index) An array of configurations for secondary IP ranges for VM instances contained in this subnetwork.An array of configurations for secondary IP ranges for VM instances contained in this subnetwork.intAn array of configurations for secondary IP ranges for VM instances contained in this subnetwork.An array of configurations for secondary IP ranges for VM instances contained in this subnetwork.getSecondaryIpRangesOrBuilder(int index) An array of configurations for secondary IP ranges for VM instances contained in this subnetwork.List<? extends SubnetworkSecondaryRangeOrBuilder>An array of configurations for secondary IP ranges for VM instances contained in this subnetwork.[Output Only] Server-defined URL for the resource.com.google.protobuf.ByteString[Output Only] Server-defined URL for the resource.The stack type for the subnet.com.google.protobuf.ByteStringThe stack type for the subnet.getState()Output only.com.google.protobuf.ByteStringOutput only.getSystemReservedExternalIpv6Ranges(int index) Output only.com.google.protobuf.ByteStringgetSystemReservedExternalIpv6RangesBytes(int index) Output only.intOutput only.com.google.protobuf.ProtocolStringListOutput only.getSystemReservedInternalIpv6Ranges(int index) Output only.com.google.protobuf.ByteStringgetSystemReservedInternalIpv6RangesBytes(int index) Output only.intOutput only.com.google.protobuf.ProtocolStringListOutput only.Output only.Output only.Output only.booleanWhether this subnetwork's ranges can conflict with existing custom routes.booleanOutput only.booleanAn optional description of this resource.booleanWhether to enable flow logging for this subnetwork.booleanThe external IPv6 address range that is owned by this subnetwork.booleanFingerprint of this resource.booleanOutput only.booleanhasId()Output only.booleanThe internal IPv6 address range that is owned by this subnetwork.booleanThe range of internal addresses that are owned by this subnetwork.booleanReference to the source of IP, like a PublicDelegatedPrefix (PDP) for BYOIP.booleanThe access type of IPv6 address this subnet holds.booleanOutput only.booleanOutput only.booleanhasKind()Output only.booleanThis field denotes the VPC flow logging options for this subnetwork.booleanhasName()The name of the resource, provided by the client when initially creating the resource.booleanThe URL of the network to which this subnetwork belongs, provided by the client when initially creating the subnetwork.booleanInput only.booleanWhether the VMs in this subnet can access Google services without assigned external IP addresses.booleanThis field is for internal use.booleanCheck the Purpose enum for the list of possible values.booleanURL of the region where the Subnetwork resides.booleanThe URL of the reserved internal range.booleanConfigures subnet mask resolution for this subnetwork.booleanhasRole()The role of subnetwork.boolean[Output Only] Server-defined URL for the resource.booleanThe stack type for the subnet.booleanhasState()Output only.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(Subnetwork other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) This field denotes the VPC flow logging options for this subnetwork.mergeParams(SubnetworkParams value) Input only.Output only.removeSecondaryIpRanges(int index) An array of configurations for secondary IP ranges for VM instances contained in this subnetwork.setAllowSubnetCidrRoutesOverlap(boolean value) Whether this subnetwork's ranges can conflict with existing custom routes.setCreationTimestamp(String value) Output only.setCreationTimestampBytes(com.google.protobuf.ByteString value) Output only.setDescription(String value) An optional description of this resource.setDescriptionBytes(com.google.protobuf.ByteString value) An optional description of this resource.setEnableFlowLogs(boolean value) Whether to enable flow logging for this subnetwork.setExternalIpv6Prefix(String value) The external IPv6 address range that is owned by this subnetwork.setExternalIpv6PrefixBytes(com.google.protobuf.ByteString value) The external IPv6 address range that is owned by this subnetwork.setFingerprint(String value) Fingerprint of this resource.setFingerprintBytes(com.google.protobuf.ByteString value) Fingerprint of this resource.setGatewayAddress(String value) Output only.setGatewayAddressBytes(com.google.protobuf.ByteString value) Output only.setId(long value) Output only.setInternalIpv6Prefix(String value) The internal IPv6 address range that is owned by this subnetwork.setInternalIpv6PrefixBytes(com.google.protobuf.ByteString value) The internal IPv6 address range that is owned by this subnetwork.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.setIpCollection(String value) Reference to the source of IP, like a PublicDelegatedPrefix (PDP) for BYOIP.setIpCollectionBytes(com.google.protobuf.ByteString value) Reference to the source of IP, like a PublicDelegatedPrefix (PDP) for BYOIP.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.setIpv6CidrRange(String value) Output only.setIpv6CidrRangeBytes(com.google.protobuf.ByteString value) Output only.setIpv6GceEndpoint(String value) Output only.setIpv6GceEndpointBytes(com.google.protobuf.ByteString value) Output only.Output only.setKindBytes(com.google.protobuf.ByteString value) Output only.setLogConfig(SubnetworkLogConfig value) This field denotes the VPC flow logging options for this subnetwork.setLogConfig(SubnetworkLogConfig.Builder builderForValue) This field denotes the VPC flow logging options for this subnetwork.The name of the resource, provided by the client when initially creating the resource.setNameBytes(com.google.protobuf.ByteString value) The name of the resource, provided by the client when initially creating the resource.setNetwork(String value) The URL of the network to which this subnetwork belongs, provided by the client when initially creating the subnetwork.setNetworkBytes(com.google.protobuf.ByteString value) The URL of the network to which this subnetwork belongs, provided by the client when initially creating the subnetwork.setParams(SubnetworkParams value) Input only.setParams(SubnetworkParams.Builder builderForValue) Input only.setPrivateIpGoogleAccess(boolean value) Whether the VMs in this subnet can access Google services without assigned external IP addresses.setPrivateIpv6GoogleAccess(String value) This field is for internal use.setPrivateIpv6GoogleAccessBytes(com.google.protobuf.ByteString value) This field is for internal use.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.URL of the region where the Subnetwork resides.setRegionBytes(com.google.protobuf.ByteString value) URL of the region where the Subnetwork resides.setReservedInternalRange(String value) The URL of the reserved internal range.setReservedInternalRangeBytes(com.google.protobuf.ByteString value) The URL of the reserved internal range.setResolveSubnetMask(String value) Configures subnet mask resolution for this subnetwork.setResolveSubnetMaskBytes(com.google.protobuf.ByteString value) Configures subnet mask resolution for this subnetwork.The role of subnetwork.setRoleBytes(com.google.protobuf.ByteString value) The role of subnetwork.setSecondaryIpRanges(int index, SubnetworkSecondaryRange value) An array of configurations for secondary IP ranges for VM instances contained in this subnetwork.setSecondaryIpRanges(int index, SubnetworkSecondaryRange.Builder builderForValue) An array of configurations for secondary IP ranges for VM instances contained in this subnetwork.setSelfLink(String value) [Output Only] Server-defined URL for the resource.setSelfLinkBytes(com.google.protobuf.ByteString value) [Output Only] Server-defined URL for the resource.setStackType(String value) The stack type for the subnet.setStackTypeBytes(com.google.protobuf.ByteString value) The stack type for the subnet.Output only.setStateBytes(com.google.protobuf.ByteString value) Output only.setSystemReservedExternalIpv6Ranges(int index, String value) Output only.setSystemReservedInternalIpv6Ranges(int index, String value) Output only.Output only.setUtilizationDetails(SubnetworkUtilizationDetails.Builder builderForValue) Output only.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<Subnetwork.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<Subnetwork.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<Subnetwork.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<Subnetwork.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Subnetwork.Builder>
-
mergeFrom
public Subnetwork.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<Subnetwork.Builder>- Throws:
IOException
-
hasAllowSubnetCidrRoutesOverlap
public boolean hasAllowSubnetCidrRoutesOverlap()Whether this subnetwork's ranges can conflict with existing custom routes. Setting this to true allows this subnetwork's primary and secondary ranges to overlap with (and contain) custom routes that have already been configured on the corresponding network. For example if a static route has range 10.1.0.0/16, a subnet range 10.0.0.0/8 could only be created if allow_conflicting_routes=true. Overlapping is only allowed on subnetwork operations; routes whose ranges conflict with this subnetwork's ranges won't be allowed unless route.allow_conflicting_subnetworks is set to true. Typically packets destined to IPs within the subnetwork (which may contain private/sensitive data) are prevented from leaving the virtual network. Setting this field to true will disable this feature. The default value is false and applies to all existing subnetworks and automatically created subnetworks.
optional bool allow_subnet_cidr_routes_overlap = 67856209;- Specified by:
hasAllowSubnetCidrRoutesOverlapin interfaceSubnetworkOrBuilder- Returns:
- Whether the allowSubnetCidrRoutesOverlap field is set.
-
getAllowSubnetCidrRoutesOverlap
public boolean getAllowSubnetCidrRoutesOverlap()Whether this subnetwork's ranges can conflict with existing custom routes. Setting this to true allows this subnetwork's primary and secondary ranges to overlap with (and contain) custom routes that have already been configured on the corresponding network. For example if a static route has range 10.1.0.0/16, a subnet range 10.0.0.0/8 could only be created if allow_conflicting_routes=true. Overlapping is only allowed on subnetwork operations; routes whose ranges conflict with this subnetwork's ranges won't be allowed unless route.allow_conflicting_subnetworks is set to true. Typically packets destined to IPs within the subnetwork (which may contain private/sensitive data) are prevented from leaving the virtual network. Setting this field to true will disable this feature. The default value is false and applies to all existing subnetworks and automatically created subnetworks.
optional bool allow_subnet_cidr_routes_overlap = 67856209;- Specified by:
getAllowSubnetCidrRoutesOverlapin interfaceSubnetworkOrBuilder- Returns:
- The allowSubnetCidrRoutesOverlap.
-
setAllowSubnetCidrRoutesOverlap
Whether this subnetwork's ranges can conflict with existing custom routes. Setting this to true allows this subnetwork's primary and secondary ranges to overlap with (and contain) custom routes that have already been configured on the corresponding network. For example if a static route has range 10.1.0.0/16, a subnet range 10.0.0.0/8 could only be created if allow_conflicting_routes=true. Overlapping is only allowed on subnetwork operations; routes whose ranges conflict with this subnetwork's ranges won't be allowed unless route.allow_conflicting_subnetworks is set to true. Typically packets destined to IPs within the subnetwork (which may contain private/sensitive data) are prevented from leaving the virtual network. Setting this field to true will disable this feature. The default value is false and applies to all existing subnetworks and automatically created subnetworks.
optional bool allow_subnet_cidr_routes_overlap = 67856209;- Parameters:
value- The allowSubnetCidrRoutesOverlap to set.- Returns:
- This builder for chaining.
-
clearAllowSubnetCidrRoutesOverlap
Whether this subnetwork's ranges can conflict with existing custom routes. Setting this to true allows this subnetwork's primary and secondary ranges to overlap with (and contain) custom routes that have already been configured on the corresponding network. For example if a static route has range 10.1.0.0/16, a subnet range 10.0.0.0/8 could only be created if allow_conflicting_routes=true. Overlapping is only allowed on subnetwork operations; routes whose ranges conflict with this subnetwork's ranges won't be allowed unless route.allow_conflicting_subnetworks is set to true. Typically packets destined to IPs within the subnetwork (which may contain private/sensitive data) are prevented from leaving the virtual network. Setting this field to true will disable this feature. The default value is false and applies to all existing subnetworks and automatically created subnetworks.
optional bool allow_subnet_cidr_routes_overlap = 67856209;- Returns:
- This builder for chaining.
-
hasCreationTimestamp
public boolean hasCreationTimestamp()Output only. [Output Only] Creation timestamp inRFC3339 text format.
optional string creation_timestamp = 30525366;- Specified by:
hasCreationTimestampin interfaceSubnetworkOrBuilder- Returns:
- Whether the creationTimestamp field is set.
-
getCreationTimestamp
Output only. [Output Only] Creation timestamp inRFC3339 text format.
optional string creation_timestamp = 30525366;- Specified by:
getCreationTimestampin interfaceSubnetworkOrBuilder- Returns:
- The creationTimestamp.
-
getCreationTimestampBytes
public com.google.protobuf.ByteString getCreationTimestampBytes()Output only. [Output Only] Creation timestamp inRFC3339 text format.
optional string creation_timestamp = 30525366;- Specified by:
getCreationTimestampBytesin interfaceSubnetworkOrBuilder- Returns:
- The bytes for creationTimestamp.
-
setCreationTimestamp
Output only. [Output Only] Creation timestamp inRFC3339 text format.
optional string creation_timestamp = 30525366;- Parameters:
value- The creationTimestamp to set.- Returns:
- This builder for chaining.
-
clearCreationTimestamp
Output only. [Output Only] Creation timestamp inRFC3339 text format.
optional string creation_timestamp = 30525366;- Returns:
- This builder for chaining.
-
setCreationTimestampBytes
Output only. [Output Only] Creation timestamp inRFC3339 text format.
optional string creation_timestamp = 30525366;- Parameters:
value- The bytes for creationTimestamp to set.- Returns:
- This builder for chaining.
-
hasDescription
public boolean hasDescription()An optional description of this resource. Provide this property when you create the resource. This field can be set only at resource creation time.
optional string description = 422937596;- Specified by:
hasDescriptionin interfaceSubnetworkOrBuilder- Returns:
- Whether the description field is set.
-
getDescription
An optional description of this resource. Provide this property when you create the resource. This field can be set only at resource creation time.
optional string description = 422937596;- Specified by:
getDescriptionin interfaceSubnetworkOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()An optional description of this resource. Provide this property when you create the resource. This field can be set only at resource creation time.
optional string description = 422937596;- Specified by:
getDescriptionBytesin interfaceSubnetworkOrBuilder- Returns:
- The bytes for description.
-
setDescription
An optional description of this resource. Provide this property when you create the resource. This field can be set only at resource creation time.
optional string description = 422937596;- Parameters:
value- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
An optional description of this resource. Provide this property when you create the resource. This field can be set only at resource creation time.
optional string description = 422937596;- Returns:
- This builder for chaining.
-
setDescriptionBytes
An optional description of this resource. Provide this property when you create the resource. This field can be set only at resource creation time.
optional string description = 422937596;- Parameters:
value- The bytes for description to set.- Returns:
- This builder for chaining.
-
hasEnableFlowLogs
public boolean hasEnableFlowLogs()Whether to enable flow logging for this subnetwork. If this field is not explicitly set, it will not appear in get listings. If not set the default behavior is determined by the org policy, if there is no org policy specified, then it will default to disabled. This field isn't supported if the subnet purpose field is set toREGIONAL_MANAGED_PROXY. It is recommended to uselogConfig.enable field instead.
optional bool enable_flow_logs = 151544420;- Specified by:
hasEnableFlowLogsin interfaceSubnetworkOrBuilder- Returns:
- Whether the enableFlowLogs field is set.
-
getEnableFlowLogs
public boolean getEnableFlowLogs()Whether to enable flow logging for this subnetwork. If this field is not explicitly set, it will not appear in get listings. If not set the default behavior is determined by the org policy, if there is no org policy specified, then it will default to disabled. This field isn't supported if the subnet purpose field is set toREGIONAL_MANAGED_PROXY. It is recommended to uselogConfig.enable field instead.
optional bool enable_flow_logs = 151544420;- Specified by:
getEnableFlowLogsin interfaceSubnetworkOrBuilder- Returns:
- The enableFlowLogs.
-
setEnableFlowLogs
Whether to enable flow logging for this subnetwork. If this field is not explicitly set, it will not appear in get listings. If not set the default behavior is determined by the org policy, if there is no org policy specified, then it will default to disabled. This field isn't supported if the subnet purpose field is set toREGIONAL_MANAGED_PROXY. It is recommended to uselogConfig.enable field instead.
optional bool enable_flow_logs = 151544420;- Parameters:
value- The enableFlowLogs to set.- Returns:
- This builder for chaining.
-
clearEnableFlowLogs
Whether to enable flow logging for this subnetwork. If this field is not explicitly set, it will not appear in get listings. If not set the default behavior is determined by the org policy, if there is no org policy specified, then it will default to disabled. This field isn't supported if the subnet purpose field is set toREGIONAL_MANAGED_PROXY. It is recommended to uselogConfig.enable field instead.
optional bool enable_flow_logs = 151544420;- Returns:
- This builder for chaining.
-
hasExternalIpv6Prefix
public boolean hasExternalIpv6Prefix()The external IPv6 address range that is owned by this subnetwork.
optional string external_ipv6_prefix = 139299190;- Specified by:
hasExternalIpv6Prefixin interfaceSubnetworkOrBuilder- Returns:
- Whether the externalIpv6Prefix field is set.
-
getExternalIpv6Prefix
The external IPv6 address range that is owned by this subnetwork.
optional string external_ipv6_prefix = 139299190;- Specified by:
getExternalIpv6Prefixin interfaceSubnetworkOrBuilder- Returns:
- The externalIpv6Prefix.
-
getExternalIpv6PrefixBytes
public com.google.protobuf.ByteString getExternalIpv6PrefixBytes()The external IPv6 address range that is owned by this subnetwork.
optional string external_ipv6_prefix = 139299190;- Specified by:
getExternalIpv6PrefixBytesin interfaceSubnetworkOrBuilder- Returns:
- The bytes for externalIpv6Prefix.
-
setExternalIpv6Prefix
The external IPv6 address range that is owned by this subnetwork.
optional string external_ipv6_prefix = 139299190;- Parameters:
value- The externalIpv6Prefix to set.- Returns:
- This builder for chaining.
-
clearExternalIpv6Prefix
The external IPv6 address range that is owned by this subnetwork.
optional string external_ipv6_prefix = 139299190;- Returns:
- This builder for chaining.
-
setExternalIpv6PrefixBytes
The external IPv6 address range that is owned by this subnetwork.
optional string external_ipv6_prefix = 139299190;- Parameters:
value- The bytes for externalIpv6Prefix to set.- Returns:
- This builder for chaining.
-
hasFingerprint
public boolean hasFingerprint()Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a Subnetwork. An up-to-date fingerprint must be provided in order to update the Subnetwork, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a Subnetwork.
optional string fingerprint = 234678500;- Specified by:
hasFingerprintin interfaceSubnetworkOrBuilder- Returns:
- Whether the fingerprint field is set.
-
getFingerprint
Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a Subnetwork. An up-to-date fingerprint must be provided in order to update the Subnetwork, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a Subnetwork.
optional string fingerprint = 234678500;- Specified by:
getFingerprintin interfaceSubnetworkOrBuilder- Returns:
- The fingerprint.
-
getFingerprintBytes
public com.google.protobuf.ByteString getFingerprintBytes()Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a Subnetwork. An up-to-date fingerprint must be provided in order to update the Subnetwork, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a Subnetwork.
optional string fingerprint = 234678500;- Specified by:
getFingerprintBytesin interfaceSubnetworkOrBuilder- Returns:
- The bytes for fingerprint.
-
setFingerprint
Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a Subnetwork. An up-to-date fingerprint must be provided in order to update the Subnetwork, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a Subnetwork.
optional string fingerprint = 234678500;- Parameters:
value- The fingerprint to set.- Returns:
- This builder for chaining.
-
clearFingerprint
Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a Subnetwork. An up-to-date fingerprint must be provided in order to update the Subnetwork, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a Subnetwork.
optional string fingerprint = 234678500;- Returns:
- This builder for chaining.
-
setFingerprintBytes
Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a Subnetwork. An up-to-date fingerprint must be provided in order to update the Subnetwork, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a Subnetwork.
optional string fingerprint = 234678500;- Parameters:
value- The bytes for fingerprint to set.- Returns:
- This builder for chaining.
-
hasGatewayAddress
public boolean hasGatewayAddress()Output only. [Output Only] The gateway address for default routes to reach destination addresses outside this subnetwork.
optional string gateway_address = 459867385;- Specified by:
hasGatewayAddressin interfaceSubnetworkOrBuilder- Returns:
- Whether the gatewayAddress field is set.
-
getGatewayAddress
Output only. [Output Only] The gateway address for default routes to reach destination addresses outside this subnetwork.
optional string gateway_address = 459867385;- Specified by:
getGatewayAddressin interfaceSubnetworkOrBuilder- Returns:
- The gatewayAddress.
-
getGatewayAddressBytes
public com.google.protobuf.ByteString getGatewayAddressBytes()Output only. [Output Only] The gateway address for default routes to reach destination addresses outside this subnetwork.
optional string gateway_address = 459867385;- Specified by:
getGatewayAddressBytesin interfaceSubnetworkOrBuilder- Returns:
- The bytes for gatewayAddress.
-
setGatewayAddress
Output only. [Output Only] The gateway address for default routes to reach destination addresses outside this subnetwork.
optional string gateway_address = 459867385;- Parameters:
value- The gatewayAddress to set.- Returns:
- This builder for chaining.
-
clearGatewayAddress
Output only. [Output Only] The gateway address for default routes to reach destination addresses outside this subnetwork.
optional string gateway_address = 459867385;- Returns:
- This builder for chaining.
-
setGatewayAddressBytes
Output only. [Output Only] The gateway address for default routes to reach destination addresses outside this subnetwork.
optional string gateway_address = 459867385;- Parameters:
value- The bytes for gatewayAddress to set.- Returns:
- This builder for chaining.
-
hasId
public boolean hasId()Output only. [Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;- Specified by:
hasIdin interfaceSubnetworkOrBuilder- Returns:
- Whether the id field is set.
-
getId
public long getId()Output only. [Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;- Specified by:
getIdin interfaceSubnetworkOrBuilder- Returns:
- The id.
-
setId
Output only. [Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;- Parameters:
value- The id to set.- Returns:
- This builder for chaining.
-
clearId
Output only. [Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;- Returns:
- This builder for chaining.
-
hasInternalIpv6Prefix
public boolean hasInternalIpv6Prefix()The internal IPv6 address range that is owned by this subnetwork.
optional string internal_ipv6_prefix = 506270056;- Specified by:
hasInternalIpv6Prefixin interfaceSubnetworkOrBuilder- Returns:
- Whether the internalIpv6Prefix field is set.
-
getInternalIpv6Prefix
The internal IPv6 address range that is owned by this subnetwork.
optional string internal_ipv6_prefix = 506270056;- Specified by:
getInternalIpv6Prefixin interfaceSubnetworkOrBuilder- Returns:
- The internalIpv6Prefix.
-
getInternalIpv6PrefixBytes
public com.google.protobuf.ByteString getInternalIpv6PrefixBytes()The internal IPv6 address range that is owned by this subnetwork.
optional string internal_ipv6_prefix = 506270056;- Specified by:
getInternalIpv6PrefixBytesin interfaceSubnetworkOrBuilder- Returns:
- The bytes for internalIpv6Prefix.
-
setInternalIpv6Prefix
The internal IPv6 address range that is owned by this subnetwork.
optional string internal_ipv6_prefix = 506270056;- Parameters:
value- The internalIpv6Prefix to set.- Returns:
- This builder for chaining.
-
clearInternalIpv6Prefix
The internal IPv6 address range that is owned by this subnetwork.
optional string internal_ipv6_prefix = 506270056;- Returns:
- This builder for chaining.
-
setInternalIpv6PrefixBytes
The internal IPv6 address range that is owned by 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. Provide this property when you create the subnetwork. For example,10.0.0.0/8 or 100.64.0.0/10. Ranges must be unique and non-overlapping within a network. Only IPv4 is supported. This field is set at resource creation time. The range can be any range listed in theValid ranges list. The range can be expanded after creation usingexpandIpCidrRange.
optional string ip_cidr_range = 98117322;- Specified by:
hasIpCidrRangein interfaceSubnetworkOrBuilder- Returns:
- Whether the ipCidrRange field is set.
-
getIpCidrRange
The range of internal addresses that are owned by this subnetwork. Provide this property when you create the subnetwork. For example,10.0.0.0/8 or 100.64.0.0/10. Ranges must be unique and non-overlapping within a network. Only IPv4 is supported. This field is set at resource creation time. The range can be any range listed in theValid ranges list. The range can be expanded after creation usingexpandIpCidrRange.
optional string ip_cidr_range = 98117322;- Specified by:
getIpCidrRangein interfaceSubnetworkOrBuilder- Returns:
- The ipCidrRange.
-
getIpCidrRangeBytes
public com.google.protobuf.ByteString getIpCidrRangeBytes()The range of internal addresses that are owned by this subnetwork. Provide this property when you create the subnetwork. For example,10.0.0.0/8 or 100.64.0.0/10. Ranges must be unique and non-overlapping within a network. Only IPv4 is supported. This field is set at resource creation time. The range can be any range listed in theValid ranges list. The range can be expanded after creation usingexpandIpCidrRange.
optional string ip_cidr_range = 98117322;- Specified by:
getIpCidrRangeBytesin interfaceSubnetworkOrBuilder- Returns:
- The bytes for ipCidrRange.
-
setIpCidrRange
The range of internal addresses that are owned by this subnetwork. Provide this property when you create the subnetwork. For example,10.0.0.0/8 or 100.64.0.0/10. Ranges must be unique and non-overlapping within a network. Only IPv4 is supported. This field is set at resource creation time. The range can be any range listed in theValid ranges list. The range can be expanded after creation usingexpandIpCidrRange.
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. Provide this property when you create the subnetwork. For example,10.0.0.0/8 or 100.64.0.0/10. Ranges must be unique and non-overlapping within a network. Only IPv4 is supported. This field is set at resource creation time. The range can be any range listed in theValid ranges list. The range can be expanded after creation usingexpandIpCidrRange.
optional string ip_cidr_range = 98117322;- Returns:
- This builder for chaining.
-
setIpCidrRangeBytes
The range of internal addresses that are owned by this subnetwork. Provide this property when you create the subnetwork. For example,10.0.0.0/8 or 100.64.0.0/10. Ranges must be unique and non-overlapping within a network. Only IPv4 is supported. This field is set at resource creation time. The range can be any range listed in theValid ranges list. The range can be expanded after creation usingexpandIpCidrRange.
optional string ip_cidr_range = 98117322;- Parameters:
value- The bytes for ipCidrRange to set.- Returns:
- This builder for chaining.
-
hasIpCollection
public boolean hasIpCollection()Reference to the source of IP, like a PublicDelegatedPrefix (PDP) for BYOIP. The PDP must be a sub-PDP in EXTERNAL_IPV6_SUBNETWORK_CREATION or INTERNAL_IPV6_SUBNETWORK_CREATION mode. Use one of the following formats to specify a sub-PDP when creating a dual stack or IPv6-only subnetwork with external access using BYOIP: - Full resource URL, as inhttps://www.googleapis.com/compute/v1/projects/projectId/regions/region/publicDelegatedPrefixes/sub-pdp-name - Partial URL, as in - projects/projectId/regions/region/publicDelegatedPrefixes/sub-pdp-name - regions/region/publicDelegatedPrefixes/sub-pdp-name
optional string ip_collection = 176818358;- Specified by:
hasIpCollectionin interfaceSubnetworkOrBuilder- Returns:
- Whether the ipCollection field is set.
-
getIpCollection
Reference to the source of IP, like a PublicDelegatedPrefix (PDP) for BYOIP. The PDP must be a sub-PDP in EXTERNAL_IPV6_SUBNETWORK_CREATION or INTERNAL_IPV6_SUBNETWORK_CREATION mode. Use one of the following formats to specify a sub-PDP when creating a dual stack or IPv6-only subnetwork with external access using BYOIP: - Full resource URL, as inhttps://www.googleapis.com/compute/v1/projects/projectId/regions/region/publicDelegatedPrefixes/sub-pdp-name - Partial URL, as in - projects/projectId/regions/region/publicDelegatedPrefixes/sub-pdp-name - regions/region/publicDelegatedPrefixes/sub-pdp-name
optional string ip_collection = 176818358;- Specified by:
getIpCollectionin interfaceSubnetworkOrBuilder- Returns:
- The ipCollection.
-
getIpCollectionBytes
public com.google.protobuf.ByteString getIpCollectionBytes()Reference to the source of IP, like a PublicDelegatedPrefix (PDP) for BYOIP. The PDP must be a sub-PDP in EXTERNAL_IPV6_SUBNETWORK_CREATION or INTERNAL_IPV6_SUBNETWORK_CREATION mode. Use one of the following formats to specify a sub-PDP when creating a dual stack or IPv6-only subnetwork with external access using BYOIP: - Full resource URL, as inhttps://www.googleapis.com/compute/v1/projects/projectId/regions/region/publicDelegatedPrefixes/sub-pdp-name - Partial URL, as in - projects/projectId/regions/region/publicDelegatedPrefixes/sub-pdp-name - regions/region/publicDelegatedPrefixes/sub-pdp-name
optional string ip_collection = 176818358;- Specified by:
getIpCollectionBytesin interfaceSubnetworkOrBuilder- Returns:
- The bytes for ipCollection.
-
setIpCollection
Reference to the source of IP, like a PublicDelegatedPrefix (PDP) for BYOIP. The PDP must be a sub-PDP in EXTERNAL_IPV6_SUBNETWORK_CREATION or INTERNAL_IPV6_SUBNETWORK_CREATION mode. Use one of the following formats to specify a sub-PDP when creating a dual stack or IPv6-only subnetwork with external access using BYOIP: - Full resource URL, as inhttps://www.googleapis.com/compute/v1/projects/projectId/regions/region/publicDelegatedPrefixes/sub-pdp-name - Partial URL, as in - projects/projectId/regions/region/publicDelegatedPrefixes/sub-pdp-name - regions/region/publicDelegatedPrefixes/sub-pdp-name
optional string ip_collection = 176818358;- Parameters:
value- The ipCollection to set.- Returns:
- This builder for chaining.
-
clearIpCollection
Reference to the source of IP, like a PublicDelegatedPrefix (PDP) for BYOIP. The PDP must be a sub-PDP in EXTERNAL_IPV6_SUBNETWORK_CREATION or INTERNAL_IPV6_SUBNETWORK_CREATION mode. Use one of the following formats to specify a sub-PDP when creating a dual stack or IPv6-only subnetwork with external access using BYOIP: - Full resource URL, as inhttps://www.googleapis.com/compute/v1/projects/projectId/regions/region/publicDelegatedPrefixes/sub-pdp-name - Partial URL, as in - projects/projectId/regions/region/publicDelegatedPrefixes/sub-pdp-name - regions/region/publicDelegatedPrefixes/sub-pdp-name
optional string ip_collection = 176818358;- Returns:
- This builder for chaining.
-
setIpCollectionBytes
Reference to the source of IP, like a PublicDelegatedPrefix (PDP) for BYOIP. The PDP must be a sub-PDP in EXTERNAL_IPV6_SUBNETWORK_CREATION or INTERNAL_IPV6_SUBNETWORK_CREATION mode. Use one of the following formats to specify a sub-PDP when creating a dual stack or IPv6-only subnetwork with external access using BYOIP: - Full resource URL, as inhttps://www.googleapis.com/compute/v1/projects/projectId/regions/region/publicDelegatedPrefixes/sub-pdp-name - Partial URL, as in - projects/projectId/regions/region/publicDelegatedPrefixes/sub-pdp-name - regions/region/publicDelegatedPrefixes/sub-pdp-name
optional string ip_collection = 176818358;- Parameters:
value- The bytes for ipCollection 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 interfaceSubnetworkOrBuilder- 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 interfaceSubnetworkOrBuilder- Returns:
- The ipv6AccessType.
-
getIpv6AccessTypeBytes
public com.google.protobuf.ByteString getIpv6AccessTypeBytes()The access type of IPv6 address this subnet holds. It's immutable and can only be specified during creation or the first time the subnet is updated into IPV4_IPV6 dual stack. Check the Ipv6AccessType enum for the list of possible values.
optional string ipv6_access_type = 504658653;- Specified by:
getIpv6AccessTypeBytesin interfaceSubnetworkOrBuilder- Returns:
- The bytes for ipv6AccessType.
-
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.
-
hasIpv6CidrRange
public boolean hasIpv6CidrRange()Output only. [Output Only] This field is for internal use.
optional string ipv6_cidr_range = 273141258;- Specified by:
hasIpv6CidrRangein interfaceSubnetworkOrBuilder- Returns:
- Whether the ipv6CidrRange field is set.
-
getIpv6CidrRange
Output only. [Output Only] This field is for internal use.
optional string ipv6_cidr_range = 273141258;- Specified by:
getIpv6CidrRangein interfaceSubnetworkOrBuilder- Returns:
- The ipv6CidrRange.
-
getIpv6CidrRangeBytes
public com.google.protobuf.ByteString getIpv6CidrRangeBytes()Output only. [Output Only] This field is for internal use.
optional string ipv6_cidr_range = 273141258;- Specified by:
getIpv6CidrRangeBytesin interfaceSubnetworkOrBuilder- Returns:
- The bytes for ipv6CidrRange.
-
setIpv6CidrRange
Output only. [Output Only] This field is for internal use.
optional string ipv6_cidr_range = 273141258;- Parameters:
value- The ipv6CidrRange to set.- Returns:
- This builder for chaining.
-
clearIpv6CidrRange
Output only. [Output Only] This field is for internal use.
optional string ipv6_cidr_range = 273141258;- Returns:
- This builder for chaining.
-
setIpv6CidrRangeBytes
Output only. [Output Only] This field is for internal use.
optional string ipv6_cidr_range = 273141258;- Parameters:
value- The bytes for ipv6CidrRange to set.- Returns:
- This builder for chaining.
-
hasIpv6GceEndpoint
public boolean hasIpv6GceEndpoint()Output only. [Output Only] Possible endpoints of this subnetwork. It can be one of the following: - VM_ONLY: The subnetwork can be used for creating instances and IPv6 addresses with VM endpoint type. Such a subnetwork gets external IPv6 ranges from a public delegated prefix and cannot be used to create NetLb. - VM_AND_FR: The subnetwork can be used for creating both VM instances and Forwarding Rules. It can also be used to reserve IPv6 addresses with both VM and FR endpoint types. Such a subnetwork gets its IPv6 range from Google IP Pool directly. Check the Ipv6GceEndpoint enum for the list of possible values.
optional string ipv6_gce_endpoint = 320382307;- Specified by:
hasIpv6GceEndpointin interfaceSubnetworkOrBuilder- Returns:
- Whether the ipv6GceEndpoint field is set.
-
getIpv6GceEndpoint
Output only. [Output Only] Possible endpoints of this subnetwork. It can be one of the following: - VM_ONLY: The subnetwork can be used for creating instances and IPv6 addresses with VM endpoint type. Such a subnetwork gets external IPv6 ranges from a public delegated prefix and cannot be used to create NetLb. - VM_AND_FR: The subnetwork can be used for creating both VM instances and Forwarding Rules. It can also be used to reserve IPv6 addresses with both VM and FR endpoint types. Such a subnetwork gets its IPv6 range from Google IP Pool directly. Check the Ipv6GceEndpoint enum for the list of possible values.
optional string ipv6_gce_endpoint = 320382307;- Specified by:
getIpv6GceEndpointin interfaceSubnetworkOrBuilder- Returns:
- The ipv6GceEndpoint.
-
getIpv6GceEndpointBytes
public com.google.protobuf.ByteString getIpv6GceEndpointBytes()Output only. [Output Only] Possible endpoints of this subnetwork. It can be one of the following: - VM_ONLY: The subnetwork can be used for creating instances and IPv6 addresses with VM endpoint type. Such a subnetwork gets external IPv6 ranges from a public delegated prefix and cannot be used to create NetLb. - VM_AND_FR: The subnetwork can be used for creating both VM instances and Forwarding Rules. It can also be used to reserve IPv6 addresses with both VM and FR endpoint types. Such a subnetwork gets its IPv6 range from Google IP Pool directly. Check the Ipv6GceEndpoint enum for the list of possible values.
optional string ipv6_gce_endpoint = 320382307;- Specified by:
getIpv6GceEndpointBytesin interfaceSubnetworkOrBuilder- Returns:
- The bytes for ipv6GceEndpoint.
-
setIpv6GceEndpoint
Output only. [Output Only] Possible endpoints of this subnetwork. It can be one of the following: - VM_ONLY: The subnetwork can be used for creating instances and IPv6 addresses with VM endpoint type. Such a subnetwork gets external IPv6 ranges from a public delegated prefix and cannot be used to create NetLb. - VM_AND_FR: The subnetwork can be used for creating both VM instances and Forwarding Rules. It can also be used to reserve IPv6 addresses with both VM and FR endpoint types. Such a subnetwork gets its IPv6 range from Google IP Pool directly. Check the Ipv6GceEndpoint enum for the list of possible values.
optional string ipv6_gce_endpoint = 320382307;- Parameters:
value- The ipv6GceEndpoint to set.- Returns:
- This builder for chaining.
-
clearIpv6GceEndpoint
Output only. [Output Only] Possible endpoints of this subnetwork. It can be one of the following: - VM_ONLY: The subnetwork can be used for creating instances and IPv6 addresses with VM endpoint type. Such a subnetwork gets external IPv6 ranges from a public delegated prefix and cannot be used to create NetLb. - VM_AND_FR: The subnetwork can be used for creating both VM instances and Forwarding Rules. It can also be used to reserve IPv6 addresses with both VM and FR endpoint types. Such a subnetwork gets its IPv6 range from Google IP Pool directly. Check the Ipv6GceEndpoint enum for the list of possible values.
optional string ipv6_gce_endpoint = 320382307;- Returns:
- This builder for chaining.
-
setIpv6GceEndpointBytes
Output only. [Output Only] Possible endpoints of this subnetwork. It can be one of the following: - VM_ONLY: The subnetwork can be used for creating instances and IPv6 addresses with VM endpoint type. Such a subnetwork gets external IPv6 ranges from a public delegated prefix and cannot be used to create NetLb. - VM_AND_FR: The subnetwork can be used for creating both VM instances and Forwarding Rules. It can also be used to reserve IPv6 addresses with both VM and FR endpoint types. Such a subnetwork gets its IPv6 range from Google IP Pool directly. Check the Ipv6GceEndpoint enum for the list of possible values.
optional string ipv6_gce_endpoint = 320382307;- Parameters:
value- The bytes for ipv6GceEndpoint to set.- Returns:
- This builder for chaining.
-
hasKind
public boolean hasKind()Output only. [Output Only] Type of the resource. Always compute#subnetwork for Subnetwork resources.
optional string kind = 3292052;- Specified by:
hasKindin interfaceSubnetworkOrBuilder- Returns:
- Whether the kind field is set.
-
getKind
Output only. [Output Only] Type of the resource. Always compute#subnetwork for Subnetwork resources.
optional string kind = 3292052;- Specified by:
getKindin interfaceSubnetworkOrBuilder- Returns:
- The kind.
-
getKindBytes
public com.google.protobuf.ByteString getKindBytes()Output only. [Output Only] Type of the resource. Always compute#subnetwork for Subnetwork resources.
optional string kind = 3292052;- Specified by:
getKindBytesin interfaceSubnetworkOrBuilder- Returns:
- The bytes for kind.
-
setKind
Output only. [Output Only] Type of the resource. Always compute#subnetwork for Subnetwork resources.
optional string kind = 3292052;- Parameters:
value- The kind to set.- Returns:
- This builder for chaining.
-
clearKind
Output only. [Output Only] Type of the resource. Always compute#subnetwork for Subnetwork resources.
optional string kind = 3292052;- Returns:
- This builder for chaining.
-
setKindBytes
Output only. [Output Only] Type of the resource. Always compute#subnetwork for Subnetwork resources.
optional string kind = 3292052;- Parameters:
value- The bytes for kind to set.- Returns:
- This builder for chaining.
-
hasLogConfig
public boolean hasLogConfig()This field denotes the VPC flow logging options for this subnetwork. If logging is enabled, logs are exported to Cloud Logging.
optional .google.cloud.compute.v1.SubnetworkLogConfig log_config = 351299741;- Specified by:
hasLogConfigin interfaceSubnetworkOrBuilder- Returns:
- Whether the logConfig field is set.
-
getLogConfig
This field denotes the VPC flow logging options for this subnetwork. If logging is enabled, logs are exported to Cloud Logging.
optional .google.cloud.compute.v1.SubnetworkLogConfig log_config = 351299741;- Specified by:
getLogConfigin interfaceSubnetworkOrBuilder- Returns:
- The logConfig.
-
setLogConfig
This field denotes the VPC flow logging options for this subnetwork. If logging is enabled, logs are exported to Cloud Logging.
optional .google.cloud.compute.v1.SubnetworkLogConfig log_config = 351299741; -
setLogConfig
This field denotes the VPC flow logging options for this subnetwork. If logging is enabled, logs are exported to Cloud Logging.
optional .google.cloud.compute.v1.SubnetworkLogConfig log_config = 351299741; -
mergeLogConfig
This field denotes the VPC flow logging options for this subnetwork. If logging is enabled, logs are exported to Cloud Logging.
optional .google.cloud.compute.v1.SubnetworkLogConfig log_config = 351299741; -
clearLogConfig
This field denotes the VPC flow logging options for this subnetwork. If logging is enabled, logs are exported to Cloud Logging.
optional .google.cloud.compute.v1.SubnetworkLogConfig log_config = 351299741; -
getLogConfigBuilder
This field denotes the VPC flow logging options for this subnetwork. If logging is enabled, logs are exported to Cloud Logging.
optional .google.cloud.compute.v1.SubnetworkLogConfig log_config = 351299741; -
getLogConfigOrBuilder
This field denotes the VPC flow logging options for this subnetwork. If logging is enabled, logs are exported to Cloud Logging.
optional .google.cloud.compute.v1.SubnetworkLogConfig log_config = 351299741;- Specified by:
getLogConfigOrBuilderin interfaceSubnetworkOrBuilder
-
hasName
public boolean hasName()The name of the resource, provided by the client when initially creating the resource. The name must be 1-63 characters long, and comply withRFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
optional string name = 3373707;- Specified by:
hasNamein interfaceSubnetworkOrBuilder- Returns:
- Whether the name field is set.
-
getName
The name of the resource, provided by the client when initially creating the resource. The name must be 1-63 characters long, and comply withRFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
optional string name = 3373707;- Specified by:
getNamein interfaceSubnetworkOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()The name of the resource, provided by the client when initially creating the resource. The name must be 1-63 characters long, and comply withRFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
optional string name = 3373707;- Specified by:
getNameBytesin interfaceSubnetworkOrBuilder- Returns:
- The bytes for name.
-
setName
The name of the resource, provided by the client when initially creating the resource. The name must be 1-63 characters long, and comply withRFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
optional string name = 3373707;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
The name of the resource, provided by the client when initially creating the resource. The name must be 1-63 characters long, and comply withRFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
optional string name = 3373707;- Returns:
- This builder for chaining.
-
setNameBytes
The name of the resource, provided by the client when initially creating the resource. The name must be 1-63 characters long, and comply withRFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
optional string name = 3373707;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
hasNetwork
public boolean hasNetwork()The URL of the network to which this subnetwork belongs, provided by the client when initially creating the subnetwork. This field can be set only at resource creation time.
optional string network = 232872494;- Specified by:
hasNetworkin interfaceSubnetworkOrBuilder- Returns:
- Whether the network field is set.
-
getNetwork
The URL of the network to which this subnetwork belongs, provided by the client when initially creating the subnetwork. This field can be set only at resource creation time.
optional string network = 232872494;- Specified by:
getNetworkin interfaceSubnetworkOrBuilder- Returns:
- The network.
-
getNetworkBytes
public com.google.protobuf.ByteString getNetworkBytes()The URL of the network to which this subnetwork belongs, provided by the client when initially creating the subnetwork. This field can be set only at resource creation time.
optional string network = 232872494;- Specified by:
getNetworkBytesin interfaceSubnetworkOrBuilder- Returns:
- The bytes for network.
-
setNetwork
The URL of the network to which this subnetwork belongs, provided by the client when initially creating the subnetwork. This field can be set only at resource creation time.
optional string network = 232872494;- Parameters:
value- The network to set.- Returns:
- This builder for chaining.
-
clearNetwork
The URL of the network to which this subnetwork belongs, provided by the client when initially creating the subnetwork. This field can be set only at resource creation time.
optional string network = 232872494;- Returns:
- This builder for chaining.
-
setNetworkBytes
The URL of the network to which this subnetwork belongs, provided by the client when initially creating the subnetwork. This field can be set only at resource creation time.
optional string network = 232872494;- Parameters:
value- The bytes for network to set.- Returns:
- This builder for chaining.
-
hasParams
public boolean hasParams()Input only. [Input Only] Additional params passed with the request, but not persisted as part of resource payload.
optional .google.cloud.compute.v1.SubnetworkParams params = 78313862;- Specified by:
hasParamsin interfaceSubnetworkOrBuilder- Returns:
- Whether the params field is set.
-
getParams
Input only. [Input Only] Additional params passed with the request, but not persisted as part of resource payload.
optional .google.cloud.compute.v1.SubnetworkParams params = 78313862;- Specified by:
getParamsin interfaceSubnetworkOrBuilder- Returns:
- The params.
-
setParams
Input only. [Input Only] Additional params passed with the request, but not persisted as part of resource payload.
optional .google.cloud.compute.v1.SubnetworkParams params = 78313862; -
setParams
Input only. [Input Only] Additional params passed with the request, but not persisted as part of resource payload.
optional .google.cloud.compute.v1.SubnetworkParams params = 78313862; -
mergeParams
Input only. [Input Only] Additional params passed with the request, but not persisted as part of resource payload.
optional .google.cloud.compute.v1.SubnetworkParams params = 78313862; -
clearParams
Input only. [Input Only] Additional params passed with the request, but not persisted as part of resource payload.
optional .google.cloud.compute.v1.SubnetworkParams params = 78313862; -
getParamsBuilder
Input only. [Input Only] Additional params passed with the request, but not persisted as part of resource payload.
optional .google.cloud.compute.v1.SubnetworkParams params = 78313862; -
getParamsOrBuilder
Input only. [Input Only] Additional params passed with the request, but not persisted as part of resource payload.
optional .google.cloud.compute.v1.SubnetworkParams params = 78313862;- Specified by:
getParamsOrBuilderin interfaceSubnetworkOrBuilder
-
hasPrivateIpGoogleAccess
public boolean hasPrivateIpGoogleAccess()Whether the VMs in this subnet can access Google services without assigned external IP addresses. This field can be both set at resource creation time and updated using setPrivateIpGoogleAccess.
optional bool private_ip_google_access = 421491790;- Specified by:
hasPrivateIpGoogleAccessin interfaceSubnetworkOrBuilder- Returns:
- Whether the privateIpGoogleAccess field is set.
-
getPrivateIpGoogleAccess
public boolean getPrivateIpGoogleAccess()Whether the VMs in this subnet can access Google services without assigned external IP addresses. This field can be both set at resource creation time and updated using setPrivateIpGoogleAccess.
optional bool private_ip_google_access = 421491790;- Specified by:
getPrivateIpGoogleAccessin interfaceSubnetworkOrBuilder- Returns:
- The privateIpGoogleAccess.
-
setPrivateIpGoogleAccess
Whether the VMs in this subnet can access Google services without assigned external IP addresses. This field can be both set at resource creation time and updated using setPrivateIpGoogleAccess.
optional bool private_ip_google_access = 421491790;- Parameters:
value- The privateIpGoogleAccess to set.- Returns:
- This builder for chaining.
-
clearPrivateIpGoogleAccess
Whether the VMs in this subnet can access Google services without assigned external IP addresses. This field can be both set at resource creation time and updated using setPrivateIpGoogleAccess.
optional bool private_ip_google_access = 421491790;- Returns:
- This builder for chaining.
-
hasPrivateIpv6GoogleAccess
public boolean hasPrivateIpv6GoogleAccess()This field is for internal use. This field can be both set at resource creation time and updated usingpatch. Check the PrivateIpv6GoogleAccess enum for the list of possible values.
optional string private_ipv6_google_access = 48277006;- Specified by:
hasPrivateIpv6GoogleAccessin interfaceSubnetworkOrBuilder- Returns:
- Whether the privateIpv6GoogleAccess field is set.
-
getPrivateIpv6GoogleAccess
This field is for internal use. This field can be both set at resource creation time and updated usingpatch. Check the PrivateIpv6GoogleAccess enum for the list of possible values.
optional string private_ipv6_google_access = 48277006;- Specified by:
getPrivateIpv6GoogleAccessin interfaceSubnetworkOrBuilder- Returns:
- The privateIpv6GoogleAccess.
-
getPrivateIpv6GoogleAccessBytes
public com.google.protobuf.ByteString getPrivateIpv6GoogleAccessBytes()This field is for internal use. This field can be both set at resource creation time and updated usingpatch. Check the PrivateIpv6GoogleAccess enum for the list of possible values.
optional string private_ipv6_google_access = 48277006;- Specified by:
getPrivateIpv6GoogleAccessBytesin interfaceSubnetworkOrBuilder- Returns:
- The bytes for privateIpv6GoogleAccess.
-
setPrivateIpv6GoogleAccess
This field is for internal use. This field can be both set at resource creation time and updated usingpatch. Check the PrivateIpv6GoogleAccess enum for the list of possible values.
optional string private_ipv6_google_access = 48277006;- Parameters:
value- The privateIpv6GoogleAccess to set.- Returns:
- This builder for chaining.
-
clearPrivateIpv6GoogleAccess
This field is for internal use. This field can be both set at resource creation time and updated usingpatch. Check the PrivateIpv6GoogleAccess enum for the list of possible values.
optional string private_ipv6_google_access = 48277006;- Returns:
- This builder for chaining.
-
setPrivateIpv6GoogleAccessBytes
This field is for internal use. This field can be both set at resource creation time and updated usingpatch. Check the PrivateIpv6GoogleAccess enum for the list of possible values.
optional string private_ipv6_google_access = 48277006;- Parameters:
value- The bytes for privateIpv6GoogleAccess 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 interfaceSubnetworkOrBuilder- 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 interfaceSubnetworkOrBuilder- 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 interfaceSubnetworkOrBuilder- 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.
-
hasRegion
public boolean hasRegion()URL of the region where the Subnetwork resides. This field can be set only at resource creation time.
optional string region = 138946292;- Specified by:
hasRegionin interfaceSubnetworkOrBuilder- Returns:
- Whether the region field is set.
-
getRegion
URL of the region where the Subnetwork resides. This field can be set only at resource creation time.
optional string region = 138946292;- Specified by:
getRegionin interfaceSubnetworkOrBuilder- Returns:
- The region.
-
getRegionBytes
public com.google.protobuf.ByteString getRegionBytes()URL of the region where the Subnetwork resides. This field can be set only at resource creation time.
optional string region = 138946292;- Specified by:
getRegionBytesin interfaceSubnetworkOrBuilder- Returns:
- The bytes for region.
-
setRegion
URL of the region where the Subnetwork resides. This field can be set only at resource creation time.
optional string region = 138946292;- Parameters:
value- The region to set.- Returns:
- This builder for chaining.
-
clearRegion
URL of the region where the Subnetwork resides. This field can be set only at resource creation time.
optional string region = 138946292;- Returns:
- This builder for chaining.
-
setRegionBytes
URL of the region where the Subnetwork resides. This field can be set only at resource creation time.
optional string region = 138946292;- Parameters:
value- The bytes for region to set.- Returns:
- This builder for chaining.
-
hasReservedInternalRange
public boolean hasReservedInternalRange()The URL of the reserved internal range.
optional string reserved_internal_range = 286248754;- Specified by:
hasReservedInternalRangein interfaceSubnetworkOrBuilder- Returns:
- Whether the reservedInternalRange field is set.
-
getReservedInternalRange
The URL of the reserved internal range.
optional string reserved_internal_range = 286248754;- Specified by:
getReservedInternalRangein interfaceSubnetworkOrBuilder- Returns:
- The reservedInternalRange.
-
getReservedInternalRangeBytes
public com.google.protobuf.ByteString getReservedInternalRangeBytes()The URL of the reserved internal range.
optional string reserved_internal_range = 286248754;- Specified by:
getReservedInternalRangeBytesin interfaceSubnetworkOrBuilder- Returns:
- The bytes for reservedInternalRange.
-
setReservedInternalRange
The URL of the reserved internal range.
optional string reserved_internal_range = 286248754;- Parameters:
value- The reservedInternalRange to set.- Returns:
- This builder for chaining.
-
clearReservedInternalRange
The URL of the reserved internal range.
optional string reserved_internal_range = 286248754;- Returns:
- This builder for chaining.
-
setReservedInternalRangeBytes
The URL of the reserved internal range.
optional string reserved_internal_range = 286248754;- Parameters:
value- The bytes for reservedInternalRange to set.- Returns:
- This builder for chaining.
-
hasResolveSubnetMask
public boolean hasResolveSubnetMask()Configures subnet mask resolution for this subnetwork. Check the ResolveSubnetMask enum for the list of possible values.
optional string resolve_subnet_mask = 517696699;- Specified by:
hasResolveSubnetMaskin interfaceSubnetworkOrBuilder- Returns:
- Whether the resolveSubnetMask field is set.
-
getResolveSubnetMask
Configures subnet mask resolution for this subnetwork. Check the ResolveSubnetMask enum for the list of possible values.
optional string resolve_subnet_mask = 517696699;- Specified by:
getResolveSubnetMaskin interfaceSubnetworkOrBuilder- Returns:
- The resolveSubnetMask.
-
getResolveSubnetMaskBytes
public com.google.protobuf.ByteString getResolveSubnetMaskBytes()Configures subnet mask resolution for this subnetwork. Check the ResolveSubnetMask enum for the list of possible values.
optional string resolve_subnet_mask = 517696699;- Specified by:
getResolveSubnetMaskBytesin interfaceSubnetworkOrBuilder- Returns:
- The bytes for resolveSubnetMask.
-
setResolveSubnetMask
Configures subnet mask resolution for this subnetwork. Check the ResolveSubnetMask enum for the list of possible values.
optional string resolve_subnet_mask = 517696699;- Parameters:
value- The resolveSubnetMask to set.- Returns:
- This builder for chaining.
-
clearResolveSubnetMask
Configures subnet mask resolution for this subnetwork. Check the ResolveSubnetMask enum for the list of possible values.
optional string resolve_subnet_mask = 517696699;- Returns:
- This builder for chaining.
-
setResolveSubnetMaskBytes
Configures subnet mask resolution for this subnetwork. Check the ResolveSubnetMask enum for the list of possible values.
optional string resolve_subnet_mask = 517696699;- Parameters:
value- The bytes for resolveSubnetMask 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 interfaceSubnetworkOrBuilder- 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 interfaceSubnetworkOrBuilder- 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 interfaceSubnetworkOrBuilder- 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
An array of configurations for secondary IP ranges for VM instances contained in this subnetwork. The primary IP of such VM must belong to the primary ipCidrRange of the subnetwork. The alias IPs may belong to either primary or secondary ranges. This field can be updated with apatch request. Supports both IPv4 and IPv6 ranges.
repeated .google.cloud.compute.v1.SubnetworkSecondaryRange secondary_ip_ranges = 136658915;- Specified by:
getSecondaryIpRangesListin interfaceSubnetworkOrBuilder
-
getSecondaryIpRangesCount
public int getSecondaryIpRangesCount()An array of configurations for secondary IP ranges for VM instances contained in this subnetwork. The primary IP of such VM must belong to the primary ipCidrRange of the subnetwork. The alias IPs may belong to either primary or secondary ranges. This field can be updated with apatch request. Supports both IPv4 and IPv6 ranges.
repeated .google.cloud.compute.v1.SubnetworkSecondaryRange secondary_ip_ranges = 136658915;- Specified by:
getSecondaryIpRangesCountin interfaceSubnetworkOrBuilder
-
getSecondaryIpRanges
An array of configurations for secondary IP ranges for VM instances contained in this subnetwork. The primary IP of such VM must belong to the primary ipCidrRange of the subnetwork. The alias IPs may belong to either primary or secondary ranges. This field can be updated with apatch request. Supports both IPv4 and IPv6 ranges.
repeated .google.cloud.compute.v1.SubnetworkSecondaryRange secondary_ip_ranges = 136658915;- Specified by:
getSecondaryIpRangesin interfaceSubnetworkOrBuilder
-
setSecondaryIpRanges
An array of configurations for secondary IP ranges for VM instances contained in this subnetwork. The primary IP of such VM must belong to the primary ipCidrRange of the subnetwork. The alias IPs may belong to either primary or secondary ranges. This field can be updated with apatch request. Supports both IPv4 and IPv6 ranges.
repeated .google.cloud.compute.v1.SubnetworkSecondaryRange secondary_ip_ranges = 136658915; -
setSecondaryIpRanges
public Subnetwork.Builder setSecondaryIpRanges(int index, SubnetworkSecondaryRange.Builder builderForValue) An array of configurations for secondary IP ranges for VM instances contained in this subnetwork. The primary IP of such VM must belong to the primary ipCidrRange of the subnetwork. The alias IPs may belong to either primary or secondary ranges. This field can be updated with apatch request. Supports both IPv4 and IPv6 ranges.
repeated .google.cloud.compute.v1.SubnetworkSecondaryRange secondary_ip_ranges = 136658915; -
addSecondaryIpRanges
An array of configurations for secondary IP ranges for VM instances contained in this subnetwork. The primary IP of such VM must belong to the primary ipCidrRange of the subnetwork. The alias IPs may belong to either primary or secondary ranges. This field can be updated with apatch request. Supports both IPv4 and IPv6 ranges.
repeated .google.cloud.compute.v1.SubnetworkSecondaryRange secondary_ip_ranges = 136658915; -
addSecondaryIpRanges
An array of configurations for secondary IP ranges for VM instances contained in this subnetwork. The primary IP of such VM must belong to the primary ipCidrRange of the subnetwork. The alias IPs may belong to either primary or secondary ranges. This field can be updated with apatch request. Supports both IPv4 and IPv6 ranges.
repeated .google.cloud.compute.v1.SubnetworkSecondaryRange secondary_ip_ranges = 136658915; -
addSecondaryIpRanges
An array of configurations for secondary IP ranges for VM instances contained in this subnetwork. The primary IP of such VM must belong to the primary ipCidrRange of the subnetwork. The alias IPs may belong to either primary or secondary ranges. This field can be updated with apatch request. Supports both IPv4 and IPv6 ranges.
repeated .google.cloud.compute.v1.SubnetworkSecondaryRange secondary_ip_ranges = 136658915; -
addSecondaryIpRanges
public Subnetwork.Builder addSecondaryIpRanges(int index, SubnetworkSecondaryRange.Builder builderForValue) An array of configurations for secondary IP ranges for VM instances contained in this subnetwork. The primary IP of such VM must belong to the primary ipCidrRange of the subnetwork. The alias IPs may belong to either primary or secondary ranges. This field can be updated with apatch request. Supports both IPv4 and IPv6 ranges.
repeated .google.cloud.compute.v1.SubnetworkSecondaryRange secondary_ip_ranges = 136658915; -
addAllSecondaryIpRanges
public Subnetwork.Builder addAllSecondaryIpRanges(Iterable<? extends SubnetworkSecondaryRange> values) An array of configurations for secondary IP ranges for VM instances contained in this subnetwork. The primary IP of such VM must belong to the primary ipCidrRange of the subnetwork. The alias IPs may belong to either primary or secondary ranges. This field can be updated with apatch request. Supports both IPv4 and IPv6 ranges.
repeated .google.cloud.compute.v1.SubnetworkSecondaryRange secondary_ip_ranges = 136658915; -
clearSecondaryIpRanges
An array of configurations for secondary IP ranges for VM instances contained in this subnetwork. The primary IP of such VM must belong to the primary ipCidrRange of the subnetwork. The alias IPs may belong to either primary or secondary ranges. This field can be updated with apatch request. Supports both IPv4 and IPv6 ranges.
repeated .google.cloud.compute.v1.SubnetworkSecondaryRange secondary_ip_ranges = 136658915; -
removeSecondaryIpRanges
An array of configurations for secondary IP ranges for VM instances contained in this subnetwork. The primary IP of such VM must belong to the primary ipCidrRange of the subnetwork. The alias IPs may belong to either primary or secondary ranges. This field can be updated with apatch request. Supports both IPv4 and IPv6 ranges.
repeated .google.cloud.compute.v1.SubnetworkSecondaryRange secondary_ip_ranges = 136658915; -
getSecondaryIpRangesBuilder
An array of configurations for secondary IP ranges for VM instances contained in this subnetwork. The primary IP of such VM must belong to the primary ipCidrRange of the subnetwork. The alias IPs may belong to either primary or secondary ranges. This field can be updated with apatch request. Supports both IPv4 and IPv6 ranges.
repeated .google.cloud.compute.v1.SubnetworkSecondaryRange secondary_ip_ranges = 136658915; -
getSecondaryIpRangesOrBuilder
An array of configurations for secondary IP ranges for VM instances contained in this subnetwork. The primary IP of such VM must belong to the primary ipCidrRange of the subnetwork. The alias IPs may belong to either primary or secondary ranges. This field can be updated with apatch request. Supports both IPv4 and IPv6 ranges.
repeated .google.cloud.compute.v1.SubnetworkSecondaryRange secondary_ip_ranges = 136658915;- Specified by:
getSecondaryIpRangesOrBuilderin interfaceSubnetworkOrBuilder
-
getSecondaryIpRangesOrBuilderList
An array of configurations for secondary IP ranges for VM instances contained in this subnetwork. The primary IP of such VM must belong to the primary ipCidrRange of the subnetwork. The alias IPs may belong to either primary or secondary ranges. This field can be updated with apatch request. Supports both IPv4 and IPv6 ranges.
repeated .google.cloud.compute.v1.SubnetworkSecondaryRange secondary_ip_ranges = 136658915;- Specified by:
getSecondaryIpRangesOrBuilderListin interfaceSubnetworkOrBuilder
-
addSecondaryIpRangesBuilder
An array of configurations for secondary IP ranges for VM instances contained in this subnetwork. The primary IP of such VM must belong to the primary ipCidrRange of the subnetwork. The alias IPs may belong to either primary or secondary ranges. This field can be updated with apatch request. Supports both IPv4 and IPv6 ranges.
repeated .google.cloud.compute.v1.SubnetworkSecondaryRange secondary_ip_ranges = 136658915; -
addSecondaryIpRangesBuilder
An array of configurations for secondary IP ranges for VM instances contained in this subnetwork. The primary IP of such VM must belong to the primary ipCidrRange of the subnetwork. The alias IPs may belong to either primary or secondary ranges. This field can be updated with apatch request. Supports both IPv4 and IPv6 ranges.
repeated .google.cloud.compute.v1.SubnetworkSecondaryRange secondary_ip_ranges = 136658915; -
getSecondaryIpRangesBuilderList
An array of configurations for secondary IP ranges for VM instances contained in this subnetwork. The primary IP of such VM must belong to the primary ipCidrRange of the subnetwork. The alias IPs may belong to either primary or secondary ranges. This field can be updated with apatch request. Supports both IPv4 and IPv6 ranges.
repeated .google.cloud.compute.v1.SubnetworkSecondaryRange secondary_ip_ranges = 136658915; -
hasSelfLink
public boolean hasSelfLink()[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Specified by:
hasSelfLinkin interfaceSubnetworkOrBuilder- Returns:
- Whether the selfLink field is set.
-
getSelfLink
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Specified by:
getSelfLinkin interfaceSubnetworkOrBuilder- Returns:
- The selfLink.
-
getSelfLinkBytes
public com.google.protobuf.ByteString getSelfLinkBytes()[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Specified by:
getSelfLinkBytesin interfaceSubnetworkOrBuilder- Returns:
- The bytes for selfLink.
-
setSelfLink
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Parameters:
value- The selfLink to set.- Returns:
- This builder for chaining.
-
clearSelfLink
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Returns:
- This builder for chaining.
-
setSelfLinkBytes
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Parameters:
value- The bytes for selfLink to set.- Returns:
- This builder for chaining.
-
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 interfaceSubnetworkOrBuilder- 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 interfaceSubnetworkOrBuilder- Returns:
- The stackType.
-
getStackTypeBytes
public com.google.protobuf.ByteString getStackTypeBytes()The stack type for the subnet. If set to IPV4_ONLY, new VMs in the subnet are assigned IPv4 addresses only. If set 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 interfaceSubnetworkOrBuilder- 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.
-
hasState
public boolean hasState()Output only. [Output Only] The state of the subnetwork, which can be one of the following values:READY: Subnetwork is created and ready to useDRAINING: only applicable to subnetworks that have the purpose set to INTERNAL_HTTPS_LOAD_BALANCER and indicates that connections to the load balancer are being drained. A subnetwork that is draining cannot be used or modified until it reaches a status ofREADY Check the State enum for the list of possible values.
optional string state = 109757585;- Specified by:
hasStatein interfaceSubnetworkOrBuilder- Returns:
- Whether the state field is set.
-
getState
Output only. [Output Only] The state of the subnetwork, which can be one of the following values:READY: Subnetwork is created and ready to useDRAINING: only applicable to subnetworks that have the purpose set to INTERNAL_HTTPS_LOAD_BALANCER and indicates that connections to the load balancer are being drained. A subnetwork that is draining cannot be used or modified until it reaches a status ofREADY Check the State enum for the list of possible values.
optional string state = 109757585;- Specified by:
getStatein interfaceSubnetworkOrBuilder- Returns:
- The state.
-
getStateBytes
public com.google.protobuf.ByteString getStateBytes()Output only. [Output Only] The state of the subnetwork, which can be one of the following values:READY: Subnetwork is created and ready to useDRAINING: only applicable to subnetworks that have the purpose set to INTERNAL_HTTPS_LOAD_BALANCER and indicates that connections to the load balancer are being drained. A subnetwork that is draining cannot be used or modified until it reaches a status ofREADY Check the State enum for the list of possible values.
optional string state = 109757585;- Specified by:
getStateBytesin interfaceSubnetworkOrBuilder- Returns:
- The bytes for state.
-
setState
Output only. [Output Only] The state of the subnetwork, which can be one of the following values:READY: Subnetwork is created and ready to useDRAINING: only applicable to subnetworks that have the purpose set to INTERNAL_HTTPS_LOAD_BALANCER and indicates that connections to the load balancer are being drained. A subnetwork that is draining cannot be used or modified until it reaches a status ofREADY Check the State enum for the list of possible values.
optional string state = 109757585;- Parameters:
value- The state to set.- Returns:
- This builder for chaining.
-
clearState
Output only. [Output Only] The state of the subnetwork, which can be one of the following values:READY: Subnetwork is created and ready to useDRAINING: only applicable to subnetworks that have the purpose set to INTERNAL_HTTPS_LOAD_BALANCER and indicates that connections to the load balancer are being drained. A subnetwork that is draining cannot be used or modified until it reaches a status ofREADY Check the State enum for the list of possible values.
optional string state = 109757585;- Returns:
- This builder for chaining.
-
setStateBytes
Output only. [Output Only] The state of the subnetwork, which can be one of the following values:READY: Subnetwork is created and ready to useDRAINING: only applicable to subnetworks that have the purpose set to INTERNAL_HTTPS_LOAD_BALANCER and indicates that connections to the load balancer are being drained. A subnetwork that is draining cannot be used or modified until it reaches a status ofREADY Check the State enum for the list of possible values.
optional string state = 109757585;- Parameters:
value- The bytes for state to set.- Returns:
- This builder for chaining.
-
getSystemReservedExternalIpv6RangesList
public com.google.protobuf.ProtocolStringList getSystemReservedExternalIpv6RangesList()Output only. [Output Only] The array of external IPv6 network ranges reserved from the subnetwork's external IPv6 range for system use.
repeated string system_reserved_external_ipv6_ranges = 65324129;- Specified by:
getSystemReservedExternalIpv6RangesListin interfaceSubnetworkOrBuilder- Returns:
- A list containing the systemReservedExternalIpv6Ranges.
-
getSystemReservedExternalIpv6RangesCount
public int getSystemReservedExternalIpv6RangesCount()Output only. [Output Only] The array of external IPv6 network ranges reserved from the subnetwork's external IPv6 range for system use.
repeated string system_reserved_external_ipv6_ranges = 65324129;- Specified by:
getSystemReservedExternalIpv6RangesCountin interfaceSubnetworkOrBuilder- Returns:
- The count of systemReservedExternalIpv6Ranges.
-
getSystemReservedExternalIpv6Ranges
Output only. [Output Only] The array of external IPv6 network ranges reserved from the subnetwork's external IPv6 range for system use.
repeated string system_reserved_external_ipv6_ranges = 65324129;- Specified by:
getSystemReservedExternalIpv6Rangesin interfaceSubnetworkOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The systemReservedExternalIpv6Ranges at the given index.
-
getSystemReservedExternalIpv6RangesBytes
public com.google.protobuf.ByteString getSystemReservedExternalIpv6RangesBytes(int index) Output only. [Output Only] The array of external IPv6 network ranges reserved from the subnetwork's external IPv6 range for system use.
repeated string system_reserved_external_ipv6_ranges = 65324129;- Specified by:
getSystemReservedExternalIpv6RangesBytesin interfaceSubnetworkOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the systemReservedExternalIpv6Ranges at the given index.
-
setSystemReservedExternalIpv6Ranges
Output only. [Output Only] The array of external IPv6 network ranges reserved from the subnetwork's external IPv6 range for system use.
repeated string system_reserved_external_ipv6_ranges = 65324129;- Parameters:
index- The index to set the value at.value- The systemReservedExternalIpv6Ranges to set.- Returns:
- This builder for chaining.
-
addSystemReservedExternalIpv6Ranges
Output only. [Output Only] The array of external IPv6 network ranges reserved from the subnetwork's external IPv6 range for system use.
repeated string system_reserved_external_ipv6_ranges = 65324129;- Parameters:
value- The systemReservedExternalIpv6Ranges to add.- Returns:
- This builder for chaining.
-
addAllSystemReservedExternalIpv6Ranges
Output only. [Output Only] The array of external IPv6 network ranges reserved from the subnetwork's external IPv6 range for system use.
repeated string system_reserved_external_ipv6_ranges = 65324129;- Parameters:
values- The systemReservedExternalIpv6Ranges to add.- Returns:
- This builder for chaining.
-
clearSystemReservedExternalIpv6Ranges
Output only. [Output Only] The array of external IPv6 network ranges reserved from the subnetwork's external IPv6 range for system use.
repeated string system_reserved_external_ipv6_ranges = 65324129;- Returns:
- This builder for chaining.
-
addSystemReservedExternalIpv6RangesBytes
public Subnetwork.Builder addSystemReservedExternalIpv6RangesBytes(com.google.protobuf.ByteString value) Output only. [Output Only] The array of external IPv6 network ranges reserved from the subnetwork's external IPv6 range for system use.
repeated string system_reserved_external_ipv6_ranges = 65324129;- Parameters:
value- The bytes of the systemReservedExternalIpv6Ranges to add.- Returns:
- This builder for chaining.
-
getSystemReservedInternalIpv6RangesList
public com.google.protobuf.ProtocolStringList getSystemReservedInternalIpv6RangesList()Output only. [Output Only] The array of internal IPv6 network ranges reserved from the subnetwork's internal IPv6 range for system use.
repeated string system_reserved_internal_ipv6_ranges = 432294995;- Specified by:
getSystemReservedInternalIpv6RangesListin interfaceSubnetworkOrBuilder- Returns:
- A list containing the systemReservedInternalIpv6Ranges.
-
getSystemReservedInternalIpv6RangesCount
public int getSystemReservedInternalIpv6RangesCount()Output only. [Output Only] The array of internal IPv6 network ranges reserved from the subnetwork's internal IPv6 range for system use.
repeated string system_reserved_internal_ipv6_ranges = 432294995;- Specified by:
getSystemReservedInternalIpv6RangesCountin interfaceSubnetworkOrBuilder- Returns:
- The count of systemReservedInternalIpv6Ranges.
-
getSystemReservedInternalIpv6Ranges
Output only. [Output Only] The array of internal IPv6 network ranges reserved from the subnetwork's internal IPv6 range for system use.
repeated string system_reserved_internal_ipv6_ranges = 432294995;- Specified by:
getSystemReservedInternalIpv6Rangesin interfaceSubnetworkOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The systemReservedInternalIpv6Ranges at the given index.
-
getSystemReservedInternalIpv6RangesBytes
public com.google.protobuf.ByteString getSystemReservedInternalIpv6RangesBytes(int index) Output only. [Output Only] The array of internal IPv6 network ranges reserved from the subnetwork's internal IPv6 range for system use.
repeated string system_reserved_internal_ipv6_ranges = 432294995;- Specified by:
getSystemReservedInternalIpv6RangesBytesin interfaceSubnetworkOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the systemReservedInternalIpv6Ranges at the given index.
-
setSystemReservedInternalIpv6Ranges
Output only. [Output Only] The array of internal IPv6 network ranges reserved from the subnetwork's internal IPv6 range for system use.
repeated string system_reserved_internal_ipv6_ranges = 432294995;- Parameters:
index- The index to set the value at.value- The systemReservedInternalIpv6Ranges to set.- Returns:
- This builder for chaining.
-
addSystemReservedInternalIpv6Ranges
Output only. [Output Only] The array of internal IPv6 network ranges reserved from the subnetwork's internal IPv6 range for system use.
repeated string system_reserved_internal_ipv6_ranges = 432294995;- Parameters:
value- The systemReservedInternalIpv6Ranges to add.- Returns:
- This builder for chaining.
-
addAllSystemReservedInternalIpv6Ranges
Output only. [Output Only] The array of internal IPv6 network ranges reserved from the subnetwork's internal IPv6 range for system use.
repeated string system_reserved_internal_ipv6_ranges = 432294995;- Parameters:
values- The systemReservedInternalIpv6Ranges to add.- Returns:
- This builder for chaining.
-
clearSystemReservedInternalIpv6Ranges
Output only. [Output Only] The array of internal IPv6 network ranges reserved from the subnetwork's internal IPv6 range for system use.
repeated string system_reserved_internal_ipv6_ranges = 432294995;- Returns:
- This builder for chaining.
-
addSystemReservedInternalIpv6RangesBytes
public Subnetwork.Builder addSystemReservedInternalIpv6RangesBytes(com.google.protobuf.ByteString value) Output only. [Output Only] The array of internal IPv6 network ranges reserved from the subnetwork's internal IPv6 range for system use.
repeated string system_reserved_internal_ipv6_ranges = 432294995;- Parameters:
value- The bytes of the systemReservedInternalIpv6Ranges to add.- Returns:
- This builder for chaining.
-
hasUtilizationDetails
public boolean hasUtilizationDetails()Output only. [Output Only] The current IP utilization of all subnetwork ranges. Contains the total number of allocated and free IPs in each range.
optional .google.cloud.compute.v1.SubnetworkUtilizationDetails utilization_details = 125404453;- Specified by:
hasUtilizationDetailsin interfaceSubnetworkOrBuilder- Returns:
- Whether the utilizationDetails field is set.
-
getUtilizationDetails
Output only. [Output Only] The current IP utilization of all subnetwork ranges. Contains the total number of allocated and free IPs in each range.
optional .google.cloud.compute.v1.SubnetworkUtilizationDetails utilization_details = 125404453;- Specified by:
getUtilizationDetailsin interfaceSubnetworkOrBuilder- Returns:
- The utilizationDetails.
-
setUtilizationDetails
Output only. [Output Only] The current IP utilization of all subnetwork ranges. Contains the total number of allocated and free IPs in each range.
optional .google.cloud.compute.v1.SubnetworkUtilizationDetails utilization_details = 125404453; -
setUtilizationDetails
public Subnetwork.Builder setUtilizationDetails(SubnetworkUtilizationDetails.Builder builderForValue) Output only. [Output Only] The current IP utilization of all subnetwork ranges. Contains the total number of allocated and free IPs in each range.
optional .google.cloud.compute.v1.SubnetworkUtilizationDetails utilization_details = 125404453; -
mergeUtilizationDetails
Output only. [Output Only] The current IP utilization of all subnetwork ranges. Contains the total number of allocated and free IPs in each range.
optional .google.cloud.compute.v1.SubnetworkUtilizationDetails utilization_details = 125404453; -
clearUtilizationDetails
Output only. [Output Only] The current IP utilization of all subnetwork ranges. Contains the total number of allocated and free IPs in each range.
optional .google.cloud.compute.v1.SubnetworkUtilizationDetails utilization_details = 125404453; -
getUtilizationDetailsBuilder
Output only. [Output Only] The current IP utilization of all subnetwork ranges. Contains the total number of allocated and free IPs in each range.
optional .google.cloud.compute.v1.SubnetworkUtilizationDetails utilization_details = 125404453; -
getUtilizationDetailsOrBuilder
Output only. [Output Only] The current IP utilization of all subnetwork ranges. Contains the total number of allocated and free IPs in each range.
optional .google.cloud.compute.v1.SubnetworkUtilizationDetails utilization_details = 125404453;- Specified by:
getUtilizationDetailsOrBuilderin interfaceSubnetworkOrBuilder
-