public static final class Subnetwork.Builder extends com.google.protobuf.GeneratedMessageV3.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| Modifier and Type | Method and Description |
|---|---|
Subnetwork.Builder |
addAllSecondaryIpRanges(Iterable<? extends SubnetworkSecondaryRange> values)
An array of configurations for secondary IP ranges for VM instances contained in this subnetwork.
|
Subnetwork.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Subnetwork.Builder |
addSecondaryIpRanges(int index,
SubnetworkSecondaryRange.Builder builderForValue)
An array of configurations for secondary IP ranges for VM instances contained in this subnetwork.
|
Subnetwork.Builder |
addSecondaryIpRanges(int index,
SubnetworkSecondaryRange value)
An array of configurations for secondary IP ranges for VM instances contained in this subnetwork.
|
Subnetwork.Builder |
addSecondaryIpRanges(SubnetworkSecondaryRange.Builder builderForValue)
An array of configurations for secondary IP ranges for VM instances contained in this subnetwork.
|
Subnetwork.Builder |
addSecondaryIpRanges(SubnetworkSecondaryRange value)
An array of configurations for secondary IP ranges for VM instances contained in this subnetwork.
|
SubnetworkSecondaryRange.Builder |
addSecondaryIpRangesBuilder()
An array of configurations for secondary IP ranges for VM instances contained in this subnetwork.
|
SubnetworkSecondaryRange.Builder |
addSecondaryIpRangesBuilder(int index)
An array of configurations for secondary IP ranges for VM instances contained in this subnetwork.
|
Subnetwork |
build() |
Subnetwork |
buildPartial() |
Subnetwork.Builder |
clear() |
Subnetwork.Builder |
clearCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
|
Subnetwork.Builder |
clearDescription()
An optional description of this resource.
|
Subnetwork.Builder |
clearEnableFlowLogs()
Whether to enable flow logging for this subnetwork.
|
Subnetwork.Builder |
clearExternalIpv6Prefix()
The external IPv6 address range that is owned by this subnetwork.
|
Subnetwork.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Subnetwork.Builder |
clearFingerprint()
Fingerprint of this resource.
|
Subnetwork.Builder |
clearGatewayAddress()
[Output Only] The gateway address for default routes to reach destination addresses outside this subnetwork.
|
Subnetwork.Builder |
clearId()
[Output Only] The unique identifier for the resource.
|
Subnetwork.Builder |
clearInternalIpv6Prefix()
[Output Only] The internal IPv6 address range that is assigned to this subnetwork.
|
Subnetwork.Builder |
clearIpCidrRange()
The range of internal addresses that are owned by this subnetwork.
|
Subnetwork.Builder |
clearIpv6AccessType()
The access type of IPv6 address this subnet holds.
|
Subnetwork.Builder |
clearIpv6CidrRange()
[Output Only] This field is for internal use.
|
Subnetwork.Builder |
clearKind()
[Output Only] Type of the resource.
|
Subnetwork.Builder |
clearLogConfig()
This field denotes the VPC flow logging options for this subnetwork.
|
Subnetwork.Builder |
clearName()
The name of the resource, provided by the client when initially creating the resource.
|
Subnetwork.Builder |
clearNetwork()
The URL of the network to which this subnetwork belongs, provided by the client when initially creating the subnetwork.
|
Subnetwork.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Subnetwork.Builder |
clearPrivateIpGoogleAccess()
Whether the VMs in this subnet can access Google services without assigned external IP addresses.
|
Subnetwork.Builder |
clearPrivateIpv6GoogleAccess()
This field is for internal use.
|
Subnetwork.Builder |
clearPurpose()
The purpose of the resource.
|
Subnetwork.Builder |
clearRegion()
URL of the region where the Subnetwork resides.
|
Subnetwork.Builder |
clearRole()
The role of subnetwork.
|
Subnetwork.Builder |
clearSecondaryIpRanges()
An array of configurations for secondary IP ranges for VM instances contained in this subnetwork.
|
Subnetwork.Builder |
clearSelfLink()
[Output Only] Server-defined URL for the resource.
|
Subnetwork.Builder |
clearStackType()
The stack type for the subnet.
|
Subnetwork.Builder |
clearState()
[Output Only] The state of the subnetwork, which can be one of the following values: READY: Subnetwork is created and ready to use DRAINING: only applicable to subnetworks that have the purpose set to INTERNAL_HTTPS_LOAD_BALANCER and indicates that connections to the load balancer are being drained.
|
Subnetwork.Builder |
clone() |
String |
getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
|
com.google.protobuf.ByteString |
getCreationTimestampBytes()
[Output Only] Creation timestamp in RFC3339 text format.
|
Subnetwork |
getDefaultInstanceForType() |
String |
getDescription()
An optional description of this resource.
|
com.google.protobuf.ByteString |
getDescriptionBytes()
An optional description of this resource.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
boolean |
getEnableFlowLogs()
Whether to enable flow logging for this subnetwork.
|
String |
getExternalIpv6Prefix()
The external IPv6 address range that is owned by this subnetwork.
|
com.google.protobuf.ByteString |
getExternalIpv6PrefixBytes()
The external IPv6 address range that is owned by this subnetwork.
|
String |
getFingerprint()
Fingerprint of this resource.
|
com.google.protobuf.ByteString |
getFingerprintBytes()
Fingerprint of this resource.
|
String |
getGatewayAddress()
[Output Only] The gateway address for default routes to reach destination addresses outside this subnetwork.
|
com.google.protobuf.ByteString |
getGatewayAddressBytes()
[Output Only] The gateway address for default routes to reach destination addresses outside this subnetwork.
|
long |
getId()
[Output Only] The unique identifier for the resource.
|
String |
getInternalIpv6Prefix()
[Output Only] The internal IPv6 address range that is assigned to this subnetwork.
|
com.google.protobuf.ByteString |
getInternalIpv6PrefixBytes()
[Output Only] The internal IPv6 address range that is assigned to this subnetwork.
|
String |
getIpCidrRange()
The range of internal addresses that are owned by this subnetwork.
|
com.google.protobuf.ByteString |
getIpCidrRangeBytes()
The range of internal addresses that are owned by this subnetwork.
|
String |
getIpv6AccessType()
The access type of IPv6 address this subnet holds.
|
com.google.protobuf.ByteString |
getIpv6AccessTypeBytes()
The access type of IPv6 address this subnet holds.
|
String |
getIpv6CidrRange()
[Output Only] This field is for internal use.
|
com.google.protobuf.ByteString |
getIpv6CidrRangeBytes()
[Output Only] This field is for internal use.
|
String |
getKind()
[Output Only] Type of the resource.
|
com.google.protobuf.ByteString |
getKindBytes()
[Output Only] Type of the resource.
|
SubnetworkLogConfig |
getLogConfig()
This field denotes the VPC flow logging options for this subnetwork.
|
SubnetworkLogConfig.Builder |
getLogConfigBuilder()
This field denotes the VPC flow logging options for this subnetwork.
|
SubnetworkLogConfigOrBuilder |
getLogConfigOrBuilder()
This field denotes the VPC flow logging options for this subnetwork.
|
String |
getName()
The name of the resource, provided by the client when initially creating the resource.
|
com.google.protobuf.ByteString |
getNameBytes()
The name of the resource, provided by the client when initially creating the resource.
|
String |
getNetwork()
The URL of the network to which this subnetwork belongs, provided by the client when initially creating the subnetwork.
|
com.google.protobuf.ByteString |
getNetworkBytes()
The URL of the network to which this subnetwork belongs, provided by the client when initially creating the subnetwork.
|
boolean |
getPrivateIpGoogleAccess()
Whether the VMs in this subnet can access Google services without assigned external IP addresses.
|
String |
getPrivateIpv6GoogleAccess()
This field is for internal use.
|
com.google.protobuf.ByteString |
getPrivateIpv6GoogleAccessBytes()
This field is for internal use.
|
String |
getPurpose()
The purpose of the resource.
|
com.google.protobuf.ByteString |
getPurposeBytes()
The purpose of the resource.
|
String |
getRegion()
URL of the region where the Subnetwork resides.
|
com.google.protobuf.ByteString |
getRegionBytes()
URL of the region where the Subnetwork resides.
|
String |
getRole()
The role of subnetwork.
|
com.google.protobuf.ByteString |
getRoleBytes()
The role of subnetwork.
|
SubnetworkSecondaryRange |
getSecondaryIpRanges(int index)
An array of configurations for secondary IP ranges for VM instances contained in this subnetwork.
|
SubnetworkSecondaryRange.Builder |
getSecondaryIpRangesBuilder(int index)
An array of configurations for secondary IP ranges for VM instances contained in this subnetwork.
|
List<SubnetworkSecondaryRange.Builder> |
getSecondaryIpRangesBuilderList()
An array of configurations for secondary IP ranges for VM instances contained in this subnetwork.
|
int |
getSecondaryIpRangesCount()
An array of configurations for secondary IP ranges for VM instances contained in this subnetwork.
|
List<SubnetworkSecondaryRange> |
getSecondaryIpRangesList()
An array of configurations for secondary IP ranges for VM instances contained in this subnetwork.
|
SubnetworkSecondaryRangeOrBuilder |
getSecondaryIpRangesOrBuilder(int index)
An array of configurations for secondary IP ranges for VM instances contained in this subnetwork.
|
List<? extends SubnetworkSecondaryRangeOrBuilder> |
getSecondaryIpRangesOrBuilderList()
An array of configurations for secondary IP ranges for VM instances contained in this subnetwork.
|
String |
getSelfLink()
[Output Only] Server-defined URL for the resource.
|
com.google.protobuf.ByteString |
getSelfLinkBytes()
[Output Only] Server-defined URL for the resource.
|
String |
getStackType()
The stack type for the subnet.
|
com.google.protobuf.ByteString |
getStackTypeBytes()
The stack type for the subnet.
|
String |
getState()
[Output Only] The state of the subnetwork, which can be one of the following values: READY: Subnetwork is created and ready to use DRAINING: only applicable to subnetworks that have the purpose set to INTERNAL_HTTPS_LOAD_BALANCER and indicates that connections to the load balancer are being drained.
|
com.google.protobuf.ByteString |
getStateBytes()
[Output Only] The state of the subnetwork, which can be one of the following values: READY: Subnetwork is created and ready to use DRAINING: only applicable to subnetworks that have the purpose set to INTERNAL_HTTPS_LOAD_BALANCER and indicates that connections to the load balancer are being drained.
|
boolean |
hasCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
|
boolean |
hasDescription()
An optional description of this resource.
|
boolean |
hasEnableFlowLogs()
Whether to enable flow logging for this subnetwork.
|
boolean |
hasExternalIpv6Prefix()
The external IPv6 address range that is owned by this subnetwork.
|
boolean |
hasFingerprint()
Fingerprint of this resource.
|
boolean |
hasGatewayAddress()
[Output Only] The gateway address for default routes to reach destination addresses outside this subnetwork.
|
boolean |
hasId()
[Output Only] The unique identifier for the resource.
|
boolean |
hasInternalIpv6Prefix()
[Output Only] The internal IPv6 address range that is assigned to this subnetwork.
|
boolean |
hasIpCidrRange()
The range of internal addresses that are owned by this subnetwork.
|
boolean |
hasIpv6AccessType()
The access type of IPv6 address this subnet holds.
|
boolean |
hasIpv6CidrRange()
[Output Only] This field is for internal use.
|
boolean |
hasKind()
[Output Only] Type of the resource.
|
boolean |
hasLogConfig()
This field denotes the VPC flow logging options for this subnetwork.
|
boolean |
hasName()
The name of the resource, provided by the client when initially creating the resource.
|
boolean |
hasNetwork()
The URL of the network to which this subnetwork belongs, provided by the client when initially creating the subnetwork.
|
boolean |
hasPrivateIpGoogleAccess()
Whether the VMs in this subnet can access Google services without assigned external IP addresses.
|
boolean |
hasPrivateIpv6GoogleAccess()
This field is for internal use.
|
boolean |
hasPurpose()
The purpose of the resource.
|
boolean |
hasRegion()
URL of the region where the Subnetwork resides.
|
boolean |
hasRole()
The role of subnetwork.
|
boolean |
hasSelfLink()
[Output Only] Server-defined URL for the resource.
|
boolean |
hasStackType()
The stack type for the subnet.
|
boolean |
hasState()
[Output Only] The state of the subnetwork, which can be one of the following values: READY: Subnetwork is created and ready to use DRAINING: only applicable to subnetworks that have the purpose set to INTERNAL_HTTPS_LOAD_BALANCER and indicates that connections to the load balancer are being drained.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Subnetwork.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Subnetwork.Builder |
mergeFrom(com.google.protobuf.Message other) |
Subnetwork.Builder |
mergeFrom(Subnetwork other) |
Subnetwork.Builder |
mergeLogConfig(SubnetworkLogConfig value)
This field denotes the VPC flow logging options for this subnetwork.
|
Subnetwork.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Subnetwork.Builder |
removeSecondaryIpRanges(int index)
An array of configurations for secondary IP ranges for VM instances contained in this subnetwork.
|
Subnetwork.Builder |
setCreationTimestamp(String value)
[Output Only] Creation timestamp in RFC3339 text format.
|
Subnetwork.Builder |
setCreationTimestampBytes(com.google.protobuf.ByteString value)
[Output Only] Creation timestamp in RFC3339 text format.
|
Subnetwork.Builder |
setDescription(String value)
An optional description of this resource.
|
Subnetwork.Builder |
setDescriptionBytes(com.google.protobuf.ByteString value)
An optional description of this resource.
|
Subnetwork.Builder |
setEnableFlowLogs(boolean value)
Whether to enable flow logging for this subnetwork.
|
Subnetwork.Builder |
setExternalIpv6Prefix(String value)
The external IPv6 address range that is owned by this subnetwork.
|
Subnetwork.Builder |
setExternalIpv6PrefixBytes(com.google.protobuf.ByteString value)
The external IPv6 address range that is owned by this subnetwork.
|
Subnetwork.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Subnetwork.Builder |
setFingerprint(String value)
Fingerprint of this resource.
|
Subnetwork.Builder |
setFingerprintBytes(com.google.protobuf.ByteString value)
Fingerprint of this resource.
|
Subnetwork.Builder |
setGatewayAddress(String value)
[Output Only] The gateway address for default routes to reach destination addresses outside this subnetwork.
|
Subnetwork.Builder |
setGatewayAddressBytes(com.google.protobuf.ByteString value)
[Output Only] The gateway address for default routes to reach destination addresses outside this subnetwork.
|
Subnetwork.Builder |
setId(long value)
[Output Only] The unique identifier for the resource.
|
Subnetwork.Builder |
setInternalIpv6Prefix(String value)
[Output Only] The internal IPv6 address range that is assigned to this subnetwork.
|
Subnetwork.Builder |
setInternalIpv6PrefixBytes(com.google.protobuf.ByteString value)
[Output Only] The internal IPv6 address range that is assigned to this subnetwork.
|
Subnetwork.Builder |
setIpCidrRange(String value)
The range of internal addresses that are owned by this subnetwork.
|
Subnetwork.Builder |
setIpCidrRangeBytes(com.google.protobuf.ByteString value)
The range of internal addresses that are owned by this subnetwork.
|
Subnetwork.Builder |
setIpv6AccessType(String value)
The access type of IPv6 address this subnet holds.
|
Subnetwork.Builder |
setIpv6AccessTypeBytes(com.google.protobuf.ByteString value)
The access type of IPv6 address this subnet holds.
|
Subnetwork.Builder |
setIpv6CidrRange(String value)
[Output Only] This field is for internal use.
|
Subnetwork.Builder |
setIpv6CidrRangeBytes(com.google.protobuf.ByteString value)
[Output Only] This field is for internal use.
|
Subnetwork.Builder |
setKind(String value)
[Output Only] Type of the resource.
|
Subnetwork.Builder |
setKindBytes(com.google.protobuf.ByteString value)
[Output Only] Type of the resource.
|
Subnetwork.Builder |
setLogConfig(SubnetworkLogConfig.Builder builderForValue)
This field denotes the VPC flow logging options for this subnetwork.
|
Subnetwork.Builder |
setLogConfig(SubnetworkLogConfig value)
This field denotes the VPC flow logging options for this subnetwork.
|
Subnetwork.Builder |
setName(String value)
The name of the resource, provided by the client when initially creating the resource.
|
Subnetwork.Builder |
setNameBytes(com.google.protobuf.ByteString value)
The name of the resource, provided by the client when initially creating the resource.
|
Subnetwork.Builder |
setNetwork(String value)
The URL of the network to which this subnetwork belongs, provided by the client when initially creating the subnetwork.
|
Subnetwork.Builder |
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.
|
Subnetwork.Builder |
setPrivateIpGoogleAccess(boolean value)
Whether the VMs in this subnet can access Google services without assigned external IP addresses.
|
Subnetwork.Builder |
setPrivateIpv6GoogleAccess(String value)
This field is for internal use.
|
Subnetwork.Builder |
setPrivateIpv6GoogleAccessBytes(com.google.protobuf.ByteString value)
This field is for internal use.
|
Subnetwork.Builder |
setPurpose(String value)
The purpose of the resource.
|
Subnetwork.Builder |
setPurposeBytes(com.google.protobuf.ByteString value)
The purpose of the resource.
|
Subnetwork.Builder |
setRegion(String value)
URL of the region where the Subnetwork resides.
|
Subnetwork.Builder |
setRegionBytes(com.google.protobuf.ByteString value)
URL of the region where the Subnetwork resides.
|
Subnetwork.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Subnetwork.Builder |
setRole(String value)
The role of subnetwork.
|
Subnetwork.Builder |
setRoleBytes(com.google.protobuf.ByteString value)
The role of subnetwork.
|
Subnetwork.Builder |
setSecondaryIpRanges(int index,
SubnetworkSecondaryRange.Builder builderForValue)
An array of configurations for secondary IP ranges for VM instances contained in this subnetwork.
|
Subnetwork.Builder |
setSecondaryIpRanges(int index,
SubnetworkSecondaryRange value)
An array of configurations for secondary IP ranges for VM instances contained in this subnetwork.
|
Subnetwork.Builder |
setSelfLink(String value)
[Output Only] Server-defined URL for the resource.
|
Subnetwork.Builder |
setSelfLinkBytes(com.google.protobuf.ByteString value)
[Output Only] Server-defined URL for the resource.
|
Subnetwork.Builder |
setStackType(String value)
The stack type for the subnet.
|
Subnetwork.Builder |
setStackTypeBytes(com.google.protobuf.ByteString value)
The stack type for the subnet.
|
Subnetwork.Builder |
setState(String value)
[Output Only] The state of the subnetwork, which can be one of the following values: READY: Subnetwork is created and ready to use DRAINING: only applicable to subnetworks that have the purpose set to INTERNAL_HTTPS_LOAD_BALANCER and indicates that connections to the load balancer are being drained.
|
Subnetwork.Builder |
setStateBytes(com.google.protobuf.ByteString value)
[Output Only] The state of the subnetwork, which can be one of the following values: READY: Subnetwork is created and ready to use DRAINING: only applicable to subnetworks that have the purpose set to INTERNAL_HTTPS_LOAD_BALANCER and indicates that connections to the load balancer are being drained.
|
Subnetwork.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Subnetwork.Builder>public Subnetwork.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Subnetwork.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Subnetwork.Builder>public Subnetwork getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Subnetwork build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Subnetwork buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Subnetwork.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Subnetwork.Builder>public Subnetwork.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<Subnetwork.Builder>public Subnetwork.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Subnetwork.Builder>public Subnetwork.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Subnetwork.Builder>public Subnetwork.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Subnetwork.Builder>public Subnetwork.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Subnetwork.Builder>public Subnetwork.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Subnetwork.Builder>public Subnetwork.Builder mergeFrom(Subnetwork other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Subnetwork.Builder>public Subnetwork.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Subnetwork.Builder>IOExceptionpublic boolean hasCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;hasCreationTimestamp in interface SubnetworkOrBuilderpublic String getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;getCreationTimestamp in interface SubnetworkOrBuilderpublic com.google.protobuf.ByteString getCreationTimestampBytes()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;getCreationTimestampBytes in interface SubnetworkOrBuilderpublic Subnetwork.Builder setCreationTimestamp(String value)
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;value - The creationTimestamp to set.public Subnetwork.Builder clearCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;public Subnetwork.Builder setCreationTimestampBytes(com.google.protobuf.ByteString value)
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;value - The bytes for creationTimestamp to set.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;hasDescription in interface SubnetworkOrBuilderpublic String getDescription()
An optional description of this resource. Provide this property when you create the resource. This field can be set only at resource creation time.
optional string description = 422937596;getDescription in interface SubnetworkOrBuilderpublic 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;getDescriptionBytes in interface SubnetworkOrBuilderpublic Subnetwork.Builder setDescription(String value)
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;value - The description to set.public Subnetwork.Builder 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;public Subnetwork.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
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;value - The bytes for description to set.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 with the purpose field set to INTERNAL_HTTPS_LOAD_BALANCER.
optional bool enable_flow_logs = 151544420;hasEnableFlowLogs in interface SubnetworkOrBuilderpublic 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 with the purpose field set to INTERNAL_HTTPS_LOAD_BALANCER.
optional bool enable_flow_logs = 151544420;getEnableFlowLogs in interface SubnetworkOrBuilderpublic Subnetwork.Builder setEnableFlowLogs(boolean value)
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 with the purpose field set to INTERNAL_HTTPS_LOAD_BALANCER.
optional bool enable_flow_logs = 151544420;value - The enableFlowLogs to set.public Subnetwork.Builder 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 with the purpose field set to INTERNAL_HTTPS_LOAD_BALANCER.
optional bool enable_flow_logs = 151544420;public boolean hasExternalIpv6Prefix()
The external IPv6 address range that is owned by this subnetwork.
optional string external_ipv6_prefix = 139299190;hasExternalIpv6Prefix in interface SubnetworkOrBuilderpublic String getExternalIpv6Prefix()
The external IPv6 address range that is owned by this subnetwork.
optional string external_ipv6_prefix = 139299190;getExternalIpv6Prefix in interface SubnetworkOrBuilderpublic com.google.protobuf.ByteString getExternalIpv6PrefixBytes()
The external IPv6 address range that is owned by this subnetwork.
optional string external_ipv6_prefix = 139299190;getExternalIpv6PrefixBytes in interface SubnetworkOrBuilderpublic Subnetwork.Builder setExternalIpv6Prefix(String value)
The external IPv6 address range that is owned by this subnetwork.
optional string external_ipv6_prefix = 139299190;value - The externalIpv6Prefix to set.public Subnetwork.Builder clearExternalIpv6Prefix()
The external IPv6 address range that is owned by this subnetwork.
optional string external_ipv6_prefix = 139299190;public Subnetwork.Builder setExternalIpv6PrefixBytes(com.google.protobuf.ByteString value)
The external IPv6 address range that is owned by this subnetwork.
optional string external_ipv6_prefix = 139299190;value - The bytes for externalIpv6Prefix to set.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;hasFingerprint in interface SubnetworkOrBuilderpublic String getFingerprint()
Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a Subnetwork. An up-to-date fingerprint must be provided in order to update the Subnetwork, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a Subnetwork.
optional string fingerprint = 234678500;getFingerprint in interface SubnetworkOrBuilderpublic 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;getFingerprintBytes in interface SubnetworkOrBuilderpublic Subnetwork.Builder setFingerprint(String value)
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;value - The fingerprint to set.public Subnetwork.Builder 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;public Subnetwork.Builder setFingerprintBytes(com.google.protobuf.ByteString value)
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;value - The bytes for fingerprint to set.public boolean hasGatewayAddress()
[Output Only] The gateway address for default routes to reach destination addresses outside this subnetwork.
optional string gateway_address = 459867385;hasGatewayAddress in interface SubnetworkOrBuilderpublic String getGatewayAddress()
[Output Only] The gateway address for default routes to reach destination addresses outside this subnetwork.
optional string gateway_address = 459867385;getGatewayAddress in interface SubnetworkOrBuilderpublic com.google.protobuf.ByteString getGatewayAddressBytes()
[Output Only] The gateway address for default routes to reach destination addresses outside this subnetwork.
optional string gateway_address = 459867385;getGatewayAddressBytes in interface SubnetworkOrBuilderpublic Subnetwork.Builder setGatewayAddress(String value)
[Output Only] The gateway address for default routes to reach destination addresses outside this subnetwork.
optional string gateway_address = 459867385;value - The gatewayAddress to set.public Subnetwork.Builder clearGatewayAddress()
[Output Only] The gateway address for default routes to reach destination addresses outside this subnetwork.
optional string gateway_address = 459867385;public Subnetwork.Builder setGatewayAddressBytes(com.google.protobuf.ByteString value)
[Output Only] The gateway address for default routes to reach destination addresses outside this subnetwork.
optional string gateway_address = 459867385;value - The bytes for gatewayAddress to set.public boolean hasId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;hasId in interface SubnetworkOrBuilderpublic long getId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;getId in interface SubnetworkOrBuilderpublic Subnetwork.Builder setId(long value)
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;value - The id to set.public Subnetwork.Builder clearId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;public boolean hasInternalIpv6Prefix()
[Output Only] The internal IPv6 address range that is assigned to this subnetwork.
optional string internal_ipv6_prefix = 506270056;hasInternalIpv6Prefix in interface SubnetworkOrBuilderpublic String getInternalIpv6Prefix()
[Output Only] The internal IPv6 address range that is assigned to this subnetwork.
optional string internal_ipv6_prefix = 506270056;getInternalIpv6Prefix in interface SubnetworkOrBuilderpublic com.google.protobuf.ByteString getInternalIpv6PrefixBytes()
[Output Only] The internal IPv6 address range that is assigned to this subnetwork.
optional string internal_ipv6_prefix = 506270056;getInternalIpv6PrefixBytes in interface SubnetworkOrBuilderpublic Subnetwork.Builder setInternalIpv6Prefix(String value)
[Output Only] The internal IPv6 address range that is assigned to this subnetwork.
optional string internal_ipv6_prefix = 506270056;value - The internalIpv6Prefix to set.public Subnetwork.Builder clearInternalIpv6Prefix()
[Output Only] The internal IPv6 address range that is assigned to this subnetwork.
optional string internal_ipv6_prefix = 506270056;public Subnetwork.Builder setInternalIpv6PrefixBytes(com.google.protobuf.ByteString value)
[Output Only] The internal IPv6 address range that is assigned to this subnetwork.
optional string internal_ipv6_prefix = 506270056;value - The bytes for internalIpv6Prefix to set.public boolean hasIpCidrRange()
The range of internal addresses that are owned by this subnetwork. Provide this property when you create the subnetwork. For example, 10.0.0.0/8 or 100.64.0.0/10. Ranges must be unique and non-overlapping within a network. Only IPv4 is supported. This field is set at resource creation time. The range can be any range listed in the Valid ranges list. The range can be expanded after creation using expandIpCidrRange.
optional string ip_cidr_range = 98117322;hasIpCidrRange in interface SubnetworkOrBuilderpublic String getIpCidrRange()
The range of internal addresses that are owned by this subnetwork. Provide this property when you create the subnetwork. For example, 10.0.0.0/8 or 100.64.0.0/10. Ranges must be unique and non-overlapping within a network. Only IPv4 is supported. This field is set at resource creation time. The range can be any range listed in the Valid ranges list. The range can be expanded after creation using expandIpCidrRange.
optional string ip_cidr_range = 98117322;getIpCidrRange in interface SubnetworkOrBuilderpublic com.google.protobuf.ByteString getIpCidrRangeBytes()
The range of internal addresses that are owned by this subnetwork. Provide this property when you create the subnetwork. For example, 10.0.0.0/8 or 100.64.0.0/10. Ranges must be unique and non-overlapping within a network. Only IPv4 is supported. This field is set at resource creation time. The range can be any range listed in the Valid ranges list. The range can be expanded after creation using expandIpCidrRange.
optional string ip_cidr_range = 98117322;getIpCidrRangeBytes in interface SubnetworkOrBuilderpublic Subnetwork.Builder setIpCidrRange(String value)
The range of internal addresses that are owned by this subnetwork. Provide this property when you create the subnetwork. For example, 10.0.0.0/8 or 100.64.0.0/10. Ranges must be unique and non-overlapping within a network. Only IPv4 is supported. This field is set at resource creation time. The range can be any range listed in the Valid ranges list. The range can be expanded after creation using expandIpCidrRange.
optional string ip_cidr_range = 98117322;value - The ipCidrRange to set.public Subnetwork.Builder 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 the Valid ranges list. The range can be expanded after creation using expandIpCidrRange.
optional string ip_cidr_range = 98117322;public Subnetwork.Builder setIpCidrRangeBytes(com.google.protobuf.ByteString value)
The range of internal addresses that are owned by this subnetwork. Provide this property when you create the subnetwork. For example, 10.0.0.0/8 or 100.64.0.0/10. Ranges must be unique and non-overlapping within a network. Only IPv4 is supported. This field is set at resource creation time. The range can be any range listed in the Valid ranges list. The range can be expanded after creation using expandIpCidrRange.
optional string ip_cidr_range = 98117322;value - The bytes for ipCidrRange to set.public boolean hasIpv6AccessType()
The access type of IPv6 address this subnet holds. It's immutable and can only be specified during creation or the first time the subnet is updated into IPV4_IPV6 dual stack. Check the Ipv6AccessType enum for the list of possible values.
optional string ipv6_access_type = 504658653;hasIpv6AccessType in interface SubnetworkOrBuilderpublic String getIpv6AccessType()
The access type of IPv6 address this subnet holds. It's immutable and can only be specified during creation or the first time the subnet is updated into IPV4_IPV6 dual stack. Check the Ipv6AccessType enum for the list of possible values.
optional string ipv6_access_type = 504658653;getIpv6AccessType in interface SubnetworkOrBuilderpublic com.google.protobuf.ByteString getIpv6AccessTypeBytes()
The access type of IPv6 address this subnet holds. It's immutable and can only be specified during creation or the first time the subnet is updated into IPV4_IPV6 dual stack. Check the Ipv6AccessType enum for the list of possible values.
optional string ipv6_access_type = 504658653;getIpv6AccessTypeBytes in interface SubnetworkOrBuilderpublic Subnetwork.Builder setIpv6AccessType(String value)
The access type of IPv6 address this subnet holds. It's immutable and can only be specified during creation or the first time the subnet is updated into IPV4_IPV6 dual stack. Check the Ipv6AccessType enum for the list of possible values.
optional string ipv6_access_type = 504658653;value - The ipv6AccessType to set.public Subnetwork.Builder clearIpv6AccessType()
The access type of IPv6 address this subnet holds. It's immutable and can only be specified during creation or the first time the subnet is updated into IPV4_IPV6 dual stack. Check the Ipv6AccessType enum for the list of possible values.
optional string ipv6_access_type = 504658653;public Subnetwork.Builder setIpv6AccessTypeBytes(com.google.protobuf.ByteString value)
The access type of IPv6 address this subnet holds. It's immutable and can only be specified during creation or the first time the subnet is updated into IPV4_IPV6 dual stack. Check the Ipv6AccessType enum for the list of possible values.
optional string ipv6_access_type = 504658653;value - The bytes for ipv6AccessType to set.public boolean hasIpv6CidrRange()
[Output Only] This field is for internal use.
optional string ipv6_cidr_range = 273141258;hasIpv6CidrRange in interface SubnetworkOrBuilderpublic String getIpv6CidrRange()
[Output Only] This field is for internal use.
optional string ipv6_cidr_range = 273141258;getIpv6CidrRange in interface SubnetworkOrBuilderpublic com.google.protobuf.ByteString getIpv6CidrRangeBytes()
[Output Only] This field is for internal use.
optional string ipv6_cidr_range = 273141258;getIpv6CidrRangeBytes in interface SubnetworkOrBuilderpublic Subnetwork.Builder setIpv6CidrRange(String value)
[Output Only] This field is for internal use.
optional string ipv6_cidr_range = 273141258;value - The ipv6CidrRange to set.public Subnetwork.Builder clearIpv6CidrRange()
[Output Only] This field is for internal use.
optional string ipv6_cidr_range = 273141258;public Subnetwork.Builder setIpv6CidrRangeBytes(com.google.protobuf.ByteString value)
[Output Only] This field is for internal use.
optional string ipv6_cidr_range = 273141258;value - The bytes for ipv6CidrRange to set.public boolean hasKind()
[Output Only] Type of the resource. Always compute#subnetwork for Subnetwork resources.
optional string kind = 3292052;hasKind in interface SubnetworkOrBuilderpublic String getKind()
[Output Only] Type of the resource. Always compute#subnetwork for Subnetwork resources.
optional string kind = 3292052;getKind in interface SubnetworkOrBuilderpublic com.google.protobuf.ByteString getKindBytes()
[Output Only] Type of the resource. Always compute#subnetwork for Subnetwork resources.
optional string kind = 3292052;getKindBytes in interface SubnetworkOrBuilderpublic Subnetwork.Builder setKind(String value)
[Output Only] Type of the resource. Always compute#subnetwork for Subnetwork resources.
optional string kind = 3292052;value - The kind to set.public Subnetwork.Builder clearKind()
[Output Only] Type of the resource. Always compute#subnetwork for Subnetwork resources.
optional string kind = 3292052;public Subnetwork.Builder setKindBytes(com.google.protobuf.ByteString value)
[Output Only] Type of the resource. Always compute#subnetwork for Subnetwork resources.
optional string kind = 3292052;value - The bytes for kind to set.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;hasLogConfig in interface SubnetworkOrBuilderpublic SubnetworkLogConfig getLogConfig()
This field denotes the VPC flow logging options for this subnetwork. If logging is enabled, logs are exported to Cloud Logging.
optional .google.cloud.compute.v1.SubnetworkLogConfig log_config = 351299741;getLogConfig in interface SubnetworkOrBuilderpublic Subnetwork.Builder setLogConfig(SubnetworkLogConfig value)
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;public Subnetwork.Builder setLogConfig(SubnetworkLogConfig.Builder builderForValue)
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;public Subnetwork.Builder mergeLogConfig(SubnetworkLogConfig value)
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;public Subnetwork.Builder 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;public SubnetworkLogConfig.Builder 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;public SubnetworkLogConfigOrBuilder getLogConfigOrBuilder()
This field denotes the VPC flow logging options for this subnetwork. If logging is enabled, logs are exported to Cloud Logging.
optional .google.cloud.compute.v1.SubnetworkLogConfig log_config = 351299741;getLogConfigOrBuilder in interface SubnetworkOrBuilderpublic boolean hasName()
The name of the resource, provided by the client when initially creating the resource. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
optional string name = 3373707;hasName in interface SubnetworkOrBuilderpublic String getName()
The name of the resource, provided by the client when initially creating the resource. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
optional string name = 3373707;getName in interface SubnetworkOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
The name of the resource, provided by the client when initially creating the resource. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
optional string name = 3373707;getNameBytes in interface SubnetworkOrBuilderpublic Subnetwork.Builder setName(String value)
The name of the resource, provided by the client when initially creating the resource. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
optional string name = 3373707;value - The name to set.public Subnetwork.Builder 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 with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
optional string name = 3373707;public Subnetwork.Builder setNameBytes(com.google.protobuf.ByteString value)
The name of the resource, provided by the client when initially creating the resource. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
optional string name = 3373707;value - The bytes for name to set.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;hasNetwork in interface SubnetworkOrBuilderpublic String getNetwork()
The URL of the network to which this subnetwork belongs, provided by the client when initially creating the subnetwork. This field can be set only at resource creation time.
optional string network = 232872494;getNetwork in interface SubnetworkOrBuilderpublic 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;getNetworkBytes in interface SubnetworkOrBuilderpublic Subnetwork.Builder setNetwork(String value)
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;value - The network to set.public Subnetwork.Builder 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;public Subnetwork.Builder 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. This field can be set only at resource creation time.
optional string network = 232872494;value - The bytes for network to set.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;hasPrivateIpGoogleAccess in interface SubnetworkOrBuilderpublic 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;getPrivateIpGoogleAccess in interface SubnetworkOrBuilderpublic Subnetwork.Builder setPrivateIpGoogleAccess(boolean value)
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;value - The privateIpGoogleAccess to set.public Subnetwork.Builder 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;public boolean hasPrivateIpv6GoogleAccess()
This field is for internal use. This field can be both set at resource creation time and updated using patch. Check the PrivateIpv6GoogleAccess enum for the list of possible values.
optional string private_ipv6_google_access = 48277006;hasPrivateIpv6GoogleAccess in interface SubnetworkOrBuilderpublic String getPrivateIpv6GoogleAccess()
This field is for internal use. This field can be both set at resource creation time and updated using patch. Check the PrivateIpv6GoogleAccess enum for the list of possible values.
optional string private_ipv6_google_access = 48277006;getPrivateIpv6GoogleAccess in interface SubnetworkOrBuilderpublic com.google.protobuf.ByteString getPrivateIpv6GoogleAccessBytes()
This field is for internal use. This field can be both set at resource creation time and updated using patch. Check the PrivateIpv6GoogleAccess enum for the list of possible values.
optional string private_ipv6_google_access = 48277006;getPrivateIpv6GoogleAccessBytes in interface SubnetworkOrBuilderpublic Subnetwork.Builder setPrivateIpv6GoogleAccess(String value)
This field is for internal use. This field can be both set at resource creation time and updated using patch. Check the PrivateIpv6GoogleAccess enum for the list of possible values.
optional string private_ipv6_google_access = 48277006;value - The privateIpv6GoogleAccess to set.public Subnetwork.Builder clearPrivateIpv6GoogleAccess()
This field is for internal use. This field can be both set at resource creation time and updated using patch. Check the PrivateIpv6GoogleAccess enum for the list of possible values.
optional string private_ipv6_google_access = 48277006;public Subnetwork.Builder setPrivateIpv6GoogleAccessBytes(com.google.protobuf.ByteString value)
This field is for internal use. This field can be both set at resource creation time and updated using patch. Check the PrivateIpv6GoogleAccess enum for the list of possible values.
optional string private_ipv6_google_access = 48277006;value - The bytes for privateIpv6GoogleAccess to set.public boolean hasPurpose()
The purpose of the resource. This field can be either PRIVATE_RFC_1918 or INTERNAL_HTTPS_LOAD_BALANCER. A subnetwork with purpose set to INTERNAL_HTTPS_LOAD_BALANCER is a user-created subnetwork that is reserved for Internal HTTP(S) Load Balancing. If unspecified, the purpose defaults to PRIVATE_RFC_1918. The enableFlowLogs field isn't supported with the purpose field set to INTERNAL_HTTPS_LOAD_BALANCER. Check the Purpose enum for the list of possible values.
optional string purpose = 316407070;hasPurpose in interface SubnetworkOrBuilderpublic String getPurpose()
The purpose of the resource. This field can be either PRIVATE_RFC_1918 or INTERNAL_HTTPS_LOAD_BALANCER. A subnetwork with purpose set to INTERNAL_HTTPS_LOAD_BALANCER is a user-created subnetwork that is reserved for Internal HTTP(S) Load Balancing. If unspecified, the purpose defaults to PRIVATE_RFC_1918. The enableFlowLogs field isn't supported with the purpose field set to INTERNAL_HTTPS_LOAD_BALANCER. Check the Purpose enum for the list of possible values.
optional string purpose = 316407070;getPurpose in interface SubnetworkOrBuilderpublic com.google.protobuf.ByteString getPurposeBytes()
The purpose of the resource. This field can be either PRIVATE_RFC_1918 or INTERNAL_HTTPS_LOAD_BALANCER. A subnetwork with purpose set to INTERNAL_HTTPS_LOAD_BALANCER is a user-created subnetwork that is reserved for Internal HTTP(S) Load Balancing. If unspecified, the purpose defaults to PRIVATE_RFC_1918. The enableFlowLogs field isn't supported with the purpose field set to INTERNAL_HTTPS_LOAD_BALANCER. Check the Purpose enum for the list of possible values.
optional string purpose = 316407070;getPurposeBytes in interface SubnetworkOrBuilderpublic Subnetwork.Builder setPurpose(String value)
The purpose of the resource. This field can be either PRIVATE_RFC_1918 or INTERNAL_HTTPS_LOAD_BALANCER. A subnetwork with purpose set to INTERNAL_HTTPS_LOAD_BALANCER is a user-created subnetwork that is reserved for Internal HTTP(S) Load Balancing. If unspecified, the purpose defaults to PRIVATE_RFC_1918. The enableFlowLogs field isn't supported with the purpose field set to INTERNAL_HTTPS_LOAD_BALANCER. Check the Purpose enum for the list of possible values.
optional string purpose = 316407070;value - The purpose to set.public Subnetwork.Builder clearPurpose()
The purpose of the resource. This field can be either PRIVATE_RFC_1918 or INTERNAL_HTTPS_LOAD_BALANCER. A subnetwork with purpose set to INTERNAL_HTTPS_LOAD_BALANCER is a user-created subnetwork that is reserved for Internal HTTP(S) Load Balancing. If unspecified, the purpose defaults to PRIVATE_RFC_1918. The enableFlowLogs field isn't supported with the purpose field set to INTERNAL_HTTPS_LOAD_BALANCER. Check the Purpose enum for the list of possible values.
optional string purpose = 316407070;public Subnetwork.Builder setPurposeBytes(com.google.protobuf.ByteString value)
The purpose of the resource. This field can be either PRIVATE_RFC_1918 or INTERNAL_HTTPS_LOAD_BALANCER. A subnetwork with purpose set to INTERNAL_HTTPS_LOAD_BALANCER is a user-created subnetwork that is reserved for Internal HTTP(S) Load Balancing. If unspecified, the purpose defaults to PRIVATE_RFC_1918. The enableFlowLogs field isn't supported with the purpose field set to INTERNAL_HTTPS_LOAD_BALANCER. Check the Purpose enum for the list of possible values.
optional string purpose = 316407070;value - The bytes for purpose to set.public boolean hasRegion()
URL of the region where the Subnetwork resides. This field can be set only at resource creation time.
optional string region = 138946292;hasRegion in interface SubnetworkOrBuilderpublic String getRegion()
URL of the region where the Subnetwork resides. This field can be set only at resource creation time.
optional string region = 138946292;getRegion in interface SubnetworkOrBuilderpublic 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;getRegionBytes in interface SubnetworkOrBuilderpublic Subnetwork.Builder setRegion(String value)
URL of the region where the Subnetwork resides. This field can be set only at resource creation time.
optional string region = 138946292;value - The region to set.public Subnetwork.Builder clearRegion()
URL of the region where the Subnetwork resides. This field can be set only at resource creation time.
optional string region = 138946292;public Subnetwork.Builder setRegionBytes(com.google.protobuf.ByteString value)
URL of the region where the Subnetwork resides. This field can be set only at resource creation time.
optional string region = 138946292;value - The bytes for region to set.public boolean hasRole()
The role of subnetwork. Currently, this field is only used when purpose = INTERNAL_HTTPS_LOAD_BALANCER. The value can be set to ACTIVE or BACKUP. An ACTIVE subnetwork is one that is currently being used for Internal HTTP(S) Load Balancing. A BACKUP subnetwork is one that is ready to be promoted to ACTIVE or is currently draining. This field can be updated with a patch request. Check the Role enum for the list of possible values.
optional string role = 3506294;hasRole in interface SubnetworkOrBuilderpublic String getRole()
The role of subnetwork. Currently, this field is only used when purpose = INTERNAL_HTTPS_LOAD_BALANCER. The value can be set to ACTIVE or BACKUP. An ACTIVE subnetwork is one that is currently being used for Internal HTTP(S) Load Balancing. A BACKUP subnetwork is one that is ready to be promoted to ACTIVE or is currently draining. This field can be updated with a patch request. Check the Role enum for the list of possible values.
optional string role = 3506294;getRole in interface SubnetworkOrBuilderpublic com.google.protobuf.ByteString getRoleBytes()
The role of subnetwork. Currently, this field is only used when purpose = INTERNAL_HTTPS_LOAD_BALANCER. The value can be set to ACTIVE or BACKUP. An ACTIVE subnetwork is one that is currently being used for Internal HTTP(S) Load Balancing. A BACKUP subnetwork is one that is ready to be promoted to ACTIVE or is currently draining. This field can be updated with a patch request. Check the Role enum for the list of possible values.
optional string role = 3506294;getRoleBytes in interface SubnetworkOrBuilderpublic Subnetwork.Builder setRole(String value)
The role of subnetwork. Currently, this field is only used when purpose = INTERNAL_HTTPS_LOAD_BALANCER. The value can be set to ACTIVE or BACKUP. An ACTIVE subnetwork is one that is currently being used for Internal HTTP(S) Load Balancing. A BACKUP subnetwork is one that is ready to be promoted to ACTIVE or is currently draining. This field can be updated with a patch request. Check the Role enum for the list of possible values.
optional string role = 3506294;value - The role to set.public Subnetwork.Builder clearRole()
The role of subnetwork. Currently, this field is only used when purpose = INTERNAL_HTTPS_LOAD_BALANCER. The value can be set to ACTIVE or BACKUP. An ACTIVE subnetwork is one that is currently being used for Internal HTTP(S) Load Balancing. A BACKUP subnetwork is one that is ready to be promoted to ACTIVE or is currently draining. This field can be updated with a patch request. Check the Role enum for the list of possible values.
optional string role = 3506294;public Subnetwork.Builder setRoleBytes(com.google.protobuf.ByteString value)
The role of subnetwork. Currently, this field is only used when purpose = INTERNAL_HTTPS_LOAD_BALANCER. The value can be set to ACTIVE or BACKUP. An ACTIVE subnetwork is one that is currently being used for Internal HTTP(S) Load Balancing. A BACKUP subnetwork is one that is ready to be promoted to ACTIVE or is currently draining. This field can be updated with a patch request. Check the Role enum for the list of possible values.
optional string role = 3506294;value - The bytes for role to set.public List<SubnetworkSecondaryRange> getSecondaryIpRangesList()
An array of configurations for secondary IP ranges for VM instances contained in this subnetwork. The primary IP of such VM must belong to the primary ipCidrRange of the subnetwork. The alias IPs may belong to either primary or secondary ranges. This field can be updated with a patch request.
repeated .google.cloud.compute.v1.SubnetworkSecondaryRange secondary_ip_ranges = 136658915;
getSecondaryIpRangesList in interface SubnetworkOrBuilderpublic int getSecondaryIpRangesCount()
An array of configurations for secondary IP ranges for VM instances contained in this subnetwork. The primary IP of such VM must belong to the primary ipCidrRange of the subnetwork. The alias IPs may belong to either primary or secondary ranges. This field can be updated with a patch request.
repeated .google.cloud.compute.v1.SubnetworkSecondaryRange secondary_ip_ranges = 136658915;
getSecondaryIpRangesCount in interface SubnetworkOrBuilderpublic SubnetworkSecondaryRange getSecondaryIpRanges(int index)
An array of configurations for secondary IP ranges for VM instances contained in this subnetwork. The primary IP of such VM must belong to the primary ipCidrRange of the subnetwork. The alias IPs may belong to either primary or secondary ranges. This field can be updated with a patch request.
repeated .google.cloud.compute.v1.SubnetworkSecondaryRange secondary_ip_ranges = 136658915;
getSecondaryIpRanges in interface SubnetworkOrBuilderpublic Subnetwork.Builder setSecondaryIpRanges(int index, SubnetworkSecondaryRange value)
An array of configurations for secondary IP ranges for VM instances contained in this subnetwork. The primary IP of such VM must belong to the primary ipCidrRange of the subnetwork. The alias IPs may belong to either primary or secondary ranges. This field can be updated with a patch request.
repeated .google.cloud.compute.v1.SubnetworkSecondaryRange secondary_ip_ranges = 136658915;
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 a patch request.
repeated .google.cloud.compute.v1.SubnetworkSecondaryRange secondary_ip_ranges = 136658915;
public Subnetwork.Builder addSecondaryIpRanges(SubnetworkSecondaryRange value)
An array of configurations for secondary IP ranges for VM instances contained in this subnetwork. The primary IP of such VM must belong to the primary ipCidrRange of the subnetwork. The alias IPs may belong to either primary or secondary ranges. This field can be updated with a patch request.
repeated .google.cloud.compute.v1.SubnetworkSecondaryRange secondary_ip_ranges = 136658915;
public Subnetwork.Builder addSecondaryIpRanges(int index, SubnetworkSecondaryRange value)
An array of configurations for secondary IP ranges for VM instances contained in this subnetwork. The primary IP of such VM must belong to the primary ipCidrRange of the subnetwork. The alias IPs may belong to either primary or secondary ranges. This field can be updated with a patch request.
repeated .google.cloud.compute.v1.SubnetworkSecondaryRange secondary_ip_ranges = 136658915;
public Subnetwork.Builder addSecondaryIpRanges(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 a patch request.
repeated .google.cloud.compute.v1.SubnetworkSecondaryRange secondary_ip_ranges = 136658915;
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 a patch request.
repeated .google.cloud.compute.v1.SubnetworkSecondaryRange secondary_ip_ranges = 136658915;
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 a patch request.
repeated .google.cloud.compute.v1.SubnetworkSecondaryRange secondary_ip_ranges = 136658915;
public Subnetwork.Builder 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 a patch request.
repeated .google.cloud.compute.v1.SubnetworkSecondaryRange secondary_ip_ranges = 136658915;
public Subnetwork.Builder removeSecondaryIpRanges(int index)
An array of configurations for secondary IP ranges for VM instances contained in this subnetwork. The primary IP of such VM must belong to the primary ipCidrRange of the subnetwork. The alias IPs may belong to either primary or secondary ranges. This field can be updated with a patch request.
repeated .google.cloud.compute.v1.SubnetworkSecondaryRange secondary_ip_ranges = 136658915;
public SubnetworkSecondaryRange.Builder getSecondaryIpRangesBuilder(int index)
An array of configurations for secondary IP ranges for VM instances contained in this subnetwork. The primary IP of such VM must belong to the primary ipCidrRange of the subnetwork. The alias IPs may belong to either primary or secondary ranges. This field can be updated with a patch request.
repeated .google.cloud.compute.v1.SubnetworkSecondaryRange secondary_ip_ranges = 136658915;
public SubnetworkSecondaryRangeOrBuilder getSecondaryIpRangesOrBuilder(int index)
An array of configurations for secondary IP ranges for VM instances contained in this subnetwork. The primary IP of such VM must belong to the primary ipCidrRange of the subnetwork. The alias IPs may belong to either primary or secondary ranges. This field can be updated with a patch request.
repeated .google.cloud.compute.v1.SubnetworkSecondaryRange secondary_ip_ranges = 136658915;
getSecondaryIpRangesOrBuilder in interface SubnetworkOrBuilderpublic List<? extends SubnetworkSecondaryRangeOrBuilder> getSecondaryIpRangesOrBuilderList()
An array of configurations for secondary IP ranges for VM instances contained in this subnetwork. The primary IP of such VM must belong to the primary ipCidrRange of the subnetwork. The alias IPs may belong to either primary or secondary ranges. This field can be updated with a patch request.
repeated .google.cloud.compute.v1.SubnetworkSecondaryRange secondary_ip_ranges = 136658915;
getSecondaryIpRangesOrBuilderList in interface SubnetworkOrBuilderpublic SubnetworkSecondaryRange.Builder 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 a patch request.
repeated .google.cloud.compute.v1.SubnetworkSecondaryRange secondary_ip_ranges = 136658915;
public SubnetworkSecondaryRange.Builder addSecondaryIpRangesBuilder(int index)
An array of configurations for secondary IP ranges for VM instances contained in this subnetwork. The primary IP of such VM must belong to the primary ipCidrRange of the subnetwork. The alias IPs may belong to either primary or secondary ranges. This field can be updated with a patch request.
repeated .google.cloud.compute.v1.SubnetworkSecondaryRange secondary_ip_ranges = 136658915;
public List<SubnetworkSecondaryRange.Builder> 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 a patch request.
repeated .google.cloud.compute.v1.SubnetworkSecondaryRange secondary_ip_ranges = 136658915;
public boolean hasSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;hasSelfLink in interface SubnetworkOrBuilderpublic String getSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;getSelfLink in interface SubnetworkOrBuilderpublic com.google.protobuf.ByteString getSelfLinkBytes()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;getSelfLinkBytes in interface SubnetworkOrBuilderpublic Subnetwork.Builder setSelfLink(String value)
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;value - The selfLink to set.public Subnetwork.Builder clearSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;public Subnetwork.Builder setSelfLinkBytes(com.google.protobuf.ByteString value)
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;value - The bytes for selfLink to set.public boolean hasStackType()
The stack type for the subnet. If set to IPV4_ONLY, new VMs in the subnet are assigned IPv4 addresses only. If set to IPV4_IPV6, new VMs in the subnet can be assigned both IPv4 and IPv6 addresses. If not specified, IPV4_ONLY is used. This field can be both set at resource creation time and updated using patch. Check the StackType enum for the list of possible values.
optional string stack_type = 425908881;hasStackType in interface SubnetworkOrBuilderpublic String getStackType()
The stack type for the subnet. If set to IPV4_ONLY, new VMs in the subnet are assigned IPv4 addresses only. If set to IPV4_IPV6, new VMs in the subnet can be assigned both IPv4 and IPv6 addresses. If not specified, IPV4_ONLY is used. This field can be both set at resource creation time and updated using patch. Check the StackType enum for the list of possible values.
optional string stack_type = 425908881;getStackType in interface SubnetworkOrBuilderpublic com.google.protobuf.ByteString getStackTypeBytes()
The stack type for the subnet. If set to IPV4_ONLY, new VMs in the subnet are assigned IPv4 addresses only. If set to IPV4_IPV6, new VMs in the subnet can be assigned both IPv4 and IPv6 addresses. If not specified, IPV4_ONLY is used. This field can be both set at resource creation time and updated using patch. Check the StackType enum for the list of possible values.
optional string stack_type = 425908881;getStackTypeBytes in interface SubnetworkOrBuilderpublic Subnetwork.Builder setStackType(String value)
The stack type for the subnet. If set to IPV4_ONLY, new VMs in the subnet are assigned IPv4 addresses only. If set to IPV4_IPV6, new VMs in the subnet can be assigned both IPv4 and IPv6 addresses. If not specified, IPV4_ONLY is used. This field can be both set at resource creation time and updated using patch. Check the StackType enum for the list of possible values.
optional string stack_type = 425908881;value - The stackType to set.public Subnetwork.Builder clearStackType()
The stack type for the subnet. If set to IPV4_ONLY, new VMs in the subnet are assigned IPv4 addresses only. If set to IPV4_IPV6, new VMs in the subnet can be assigned both IPv4 and IPv6 addresses. If not specified, IPV4_ONLY is used. This field can be both set at resource creation time and updated using patch. Check the StackType enum for the list of possible values.
optional string stack_type = 425908881;public Subnetwork.Builder setStackTypeBytes(com.google.protobuf.ByteString value)
The stack type for the subnet. If set to IPV4_ONLY, new VMs in the subnet are assigned IPv4 addresses only. If set to IPV4_IPV6, new VMs in the subnet can be assigned both IPv4 and IPv6 addresses. If not specified, IPV4_ONLY is used. This field can be both set at resource creation time and updated using patch. Check the StackType enum for the list of possible values.
optional string stack_type = 425908881;value - The bytes for stackType to set.public boolean hasState()
[Output Only] The state of the subnetwork, which can be one of the following values: READY: Subnetwork is created and ready to use DRAINING: only applicable to subnetworks that have the purpose set to INTERNAL_HTTPS_LOAD_BALANCER and indicates that connections to the load balancer are being drained. A subnetwork that is draining cannot be used or modified until it reaches a status of READY Check the State enum for the list of possible values.
optional string state = 109757585;hasState in interface SubnetworkOrBuilderpublic String getState()
[Output Only] The state of the subnetwork, which can be one of the following values: READY: Subnetwork is created and ready to use DRAINING: only applicable to subnetworks that have the purpose set to INTERNAL_HTTPS_LOAD_BALANCER and indicates that connections to the load balancer are being drained. A subnetwork that is draining cannot be used or modified until it reaches a status of READY Check the State enum for the list of possible values.
optional string state = 109757585;getState in interface SubnetworkOrBuilderpublic com.google.protobuf.ByteString getStateBytes()
[Output Only] The state of the subnetwork, which can be one of the following values: READY: Subnetwork is created and ready to use DRAINING: only applicable to subnetworks that have the purpose set to INTERNAL_HTTPS_LOAD_BALANCER and indicates that connections to the load balancer are being drained. A subnetwork that is draining cannot be used or modified until it reaches a status of READY Check the State enum for the list of possible values.
optional string state = 109757585;getStateBytes in interface SubnetworkOrBuilderpublic Subnetwork.Builder setState(String value)
[Output Only] The state of the subnetwork, which can be one of the following values: READY: Subnetwork is created and ready to use DRAINING: only applicable to subnetworks that have the purpose set to INTERNAL_HTTPS_LOAD_BALANCER and indicates that connections to the load balancer are being drained. A subnetwork that is draining cannot be used or modified until it reaches a status of READY Check the State enum for the list of possible values.
optional string state = 109757585;value - The state to set.public Subnetwork.Builder clearState()
[Output Only] The state of the subnetwork, which can be one of the following values: READY: Subnetwork is created and ready to use DRAINING: only applicable to subnetworks that have the purpose set to INTERNAL_HTTPS_LOAD_BALANCER and indicates that connections to the load balancer are being drained. A subnetwork that is draining cannot be used or modified until it reaches a status of READY Check the State enum for the list of possible values.
optional string state = 109757585;public Subnetwork.Builder setStateBytes(com.google.protobuf.ByteString value)
[Output Only] The state of the subnetwork, which can be one of the following values: READY: Subnetwork is created and ready to use DRAINING: only applicable to subnetworks that have the purpose set to INTERNAL_HTTPS_LOAD_BALANCER and indicates that connections to the load balancer are being drained. A subnetwork that is draining cannot be used or modified until it reaches a status of READY Check the State enum for the list of possible values.
optional string state = 109757585;value - The bytes for state to set.public final Subnetwork.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Subnetwork.Builder>public final Subnetwork.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Subnetwork.Builder>Copyright © 2023 Google LLC. All rights reserved.