public static final class Subnet.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Subnet.Builder> implements SubnetOrBuilder
Message describing Subnet objectProtobuf type
google.cloud.edgenetwork.v1.Subnet| Modifier and Type | Method and Description |
|---|---|
Subnet.Builder |
addAllIpv4Cidr(Iterable<String> values)
The ranges of ipv4 addresses that are owned by this subnetwork.
|
Subnet.Builder |
addAllIpv6Cidr(Iterable<String> values)
The ranges of ipv6 addresses that are owned by this subnetwork.
|
Subnet.Builder |
addIpv4Cidr(String value)
The ranges of ipv4 addresses that are owned by this subnetwork.
|
Subnet.Builder |
addIpv4CidrBytes(com.google.protobuf.ByteString value)
The ranges of ipv4 addresses that are owned by this subnetwork.
|
Subnet.Builder |
addIpv6Cidr(String value)
The ranges of ipv6 addresses that are owned by this subnetwork.
|
Subnet.Builder |
addIpv6CidrBytes(com.google.protobuf.ByteString value)
The ranges of ipv6 addresses that are owned by this subnetwork.
|
Subnet.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Subnet |
build() |
Subnet |
buildPartial() |
Subnet.Builder |
clear() |
Subnet.Builder |
clearBondingType()
Optional.
|
Subnet.Builder |
clearCreateTime()
Output only.
|
Subnet.Builder |
clearDescription()
Optional.
|
Subnet.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Subnet.Builder |
clearIpv4Cidr()
The ranges of ipv4 addresses that are owned by this subnetwork.
|
Subnet.Builder |
clearIpv6Cidr()
The ranges of ipv6 addresses that are owned by this subnetwork.
|
Subnet.Builder |
clearLabels() |
Subnet.Builder |
clearName()
Required.
|
Subnet.Builder |
clearNetwork()
Required.
|
Subnet.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Subnet.Builder |
clearState()
Output only.
|
Subnet.Builder |
clearUpdateTime()
Output only.
|
Subnet.Builder |
clearVlanId()
Optional.
|
Subnet.Builder |
clone() |
boolean |
containsLabels(String key)
Labels associated with this resource.
|
Subnet.BondingType |
getBondingType()
Optional.
|
int |
getBondingTypeValue()
Optional.
|
com.google.protobuf.Timestamp |
getCreateTime()
Output only.
|
com.google.protobuf.Timestamp.Builder |
getCreateTimeBuilder()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getCreateTimeOrBuilder()
Output only.
|
Subnet |
getDefaultInstanceForType() |
String |
getDescription()
Optional.
|
com.google.protobuf.ByteString |
getDescriptionBytes()
Optional.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getIpv4Cidr(int index)
The ranges of ipv4 addresses that are owned by this subnetwork.
|
com.google.protobuf.ByteString |
getIpv4CidrBytes(int index)
The ranges of ipv4 addresses that are owned by this subnetwork.
|
int |
getIpv4CidrCount()
The ranges of ipv4 addresses that are owned by this subnetwork.
|
com.google.protobuf.ProtocolStringList |
getIpv4CidrList()
The ranges of ipv4 addresses that are owned by this subnetwork.
|
String |
getIpv6Cidr(int index)
The ranges of ipv6 addresses that are owned by this subnetwork.
|
com.google.protobuf.ByteString |
getIpv6CidrBytes(int index)
The ranges of ipv6 addresses that are owned by this subnetwork.
|
int |
getIpv6CidrCount()
The ranges of ipv6 addresses that are owned by this subnetwork.
|
com.google.protobuf.ProtocolStringList |
getIpv6CidrList()
The ranges of ipv6 addresses that are owned by this subnetwork.
|
Map<String,String> |
getLabels()
Deprecated.
|
int |
getLabelsCount()
Labels associated with this resource.
|
Map<String,String> |
getLabelsMap()
Labels associated with this resource.
|
String |
getLabelsOrDefault(String key,
String defaultValue)
Labels associated with this resource.
|
String |
getLabelsOrThrow(String key)
Labels associated with this resource.
|
Map<String,String> |
getMutableLabels()
Deprecated.
|
String |
getName()
Required.
|
com.google.protobuf.ByteString |
getNameBytes()
Required.
|
String |
getNetwork()
Required.
|
com.google.protobuf.ByteString |
getNetworkBytes()
Required.
|
ResourceState |
getState()
Output only.
|
int |
getStateValue()
Output only.
|
com.google.protobuf.Timestamp |
getUpdateTime()
Output only.
|
com.google.protobuf.Timestamp.Builder |
getUpdateTimeBuilder()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getUpdateTimeOrBuilder()
Output only.
|
int |
getVlanId()
Optional.
|
boolean |
hasCreateTime()
Output only.
|
boolean |
hasUpdateTime()
Output only.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapFieldReflectionAccessor |
internalGetMapFieldReflection(int number) |
protected com.google.protobuf.MapFieldReflectionAccessor |
internalGetMutableMapFieldReflection(int number) |
boolean |
isInitialized() |
Subnet.Builder |
mergeCreateTime(com.google.protobuf.Timestamp value)
Output only.
|
Subnet.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Subnet.Builder |
mergeFrom(com.google.protobuf.Message other) |
Subnet.Builder |
mergeFrom(Subnet other) |
Subnet.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Subnet.Builder |
mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only.
|
Subnet.Builder |
putAllLabels(Map<String,String> values)
Labels associated with this resource.
|
Subnet.Builder |
putLabels(String key,
String value)
Labels associated with this resource.
|
Subnet.Builder |
removeLabels(String key)
Labels associated with this resource.
|
Subnet.Builder |
setBondingType(Subnet.BondingType value)
Optional.
|
Subnet.Builder |
setBondingTypeValue(int value)
Optional.
|
Subnet.Builder |
setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.
|
Subnet.Builder |
setCreateTime(com.google.protobuf.Timestamp value)
Output only.
|
Subnet.Builder |
setDescription(String value)
Optional.
|
Subnet.Builder |
setDescriptionBytes(com.google.protobuf.ByteString value)
Optional.
|
Subnet.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Subnet.Builder |
setIpv4Cidr(int index,
String value)
The ranges of ipv4 addresses that are owned by this subnetwork.
|
Subnet.Builder |
setIpv6Cidr(int index,
String value)
The ranges of ipv6 addresses that are owned by this subnetwork.
|
Subnet.Builder |
setName(String value)
Required.
|
Subnet.Builder |
setNameBytes(com.google.protobuf.ByteString value)
Required.
|
Subnet.Builder |
setNetwork(String value)
Required.
|
Subnet.Builder |
setNetworkBytes(com.google.protobuf.ByteString value)
Required.
|
Subnet.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Subnet.Builder |
setState(ResourceState value)
Output only.
|
Subnet.Builder |
setStateValue(int value)
Output only.
|
Subnet.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Subnet.Builder |
setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.
|
Subnet.Builder |
setUpdateTime(com.google.protobuf.Timestamp value)
Output only.
|
Subnet.Builder |
setVlanId(int value)
Optional.
|
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, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessageV3.Builder<Subnet.Builder>protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessageV3.Builder<Subnet.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Subnet.Builder>public Subnet.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Subnet.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<Subnet.Builder>public Subnet getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Subnet build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Subnet buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Subnet.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Subnet.Builder>public Subnet.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<Subnet.Builder>public Subnet.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Subnet.Builder>public Subnet.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Subnet.Builder>public Subnet.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<Subnet.Builder>public Subnet.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<Subnet.Builder>public Subnet.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Subnet.Builder>public Subnet.Builder mergeFrom(Subnet other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Subnet.Builder>public Subnet.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<Subnet.Builder>IOExceptionpublic String getName()
Required. The canonical resource name of the subnet.
string name = 1 [(.google.api.field_behavior) = REQUIRED];getName in interface SubnetOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Required. The canonical resource name of the subnet.
string name = 1 [(.google.api.field_behavior) = REQUIRED];getNameBytes in interface SubnetOrBuilderpublic Subnet.Builder setName(String value)
Required. The canonical resource name of the subnet.
string name = 1 [(.google.api.field_behavior) = REQUIRED];value - The name to set.public Subnet.Builder clearName()
Required. The canonical resource name of the subnet.
string name = 1 [(.google.api.field_behavior) = REQUIRED];public Subnet.Builder setNameBytes(com.google.protobuf.ByteString value)
Required. The canonical resource name of the subnet.
string name = 1 [(.google.api.field_behavior) = REQUIRED];value - The bytes for name to set.public boolean hasCreateTime()
Output only. The time when the subnet was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasCreateTime in interface SubnetOrBuilderpublic com.google.protobuf.Timestamp getCreateTime()
Output only. The time when the subnet was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTime in interface SubnetOrBuilderpublic Subnet.Builder setCreateTime(com.google.protobuf.Timestamp value)
Output only. The time when the subnet was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Subnet.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. The time when the subnet was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Subnet.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
Output only. The time when the subnet was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Subnet.Builder clearCreateTime()
Output only. The time when the subnet was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
Output only. The time when the subnet was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The time when the subnet was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTimeOrBuilder in interface SubnetOrBuilderpublic boolean hasUpdateTime()
Output only. The time when the subnet was last updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasUpdateTime in interface SubnetOrBuilderpublic com.google.protobuf.Timestamp getUpdateTime()
Output only. The time when the subnet was last updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getUpdateTime in interface SubnetOrBuilderpublic Subnet.Builder setUpdateTime(com.google.protobuf.Timestamp value)
Output only. The time when the subnet was last updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Subnet.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. The time when the subnet was last updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Subnet.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only. The time when the subnet was last updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Subnet.Builder clearUpdateTime()
Output only. The time when the subnet was last updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
Output only. The time when the subnet was last updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. The time when the subnet was last updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getUpdateTimeOrBuilder in interface SubnetOrBuilderpublic int getLabelsCount()
SubnetOrBuilderLabels associated with this resource.
map<string, string> labels = 4;getLabelsCount in interface SubnetOrBuilderpublic boolean containsLabels(String key)
Labels associated with this resource.
map<string, string> labels = 4;containsLabels in interface SubnetOrBuilder@Deprecated public Map<String,String> getLabels()
getLabelsMap() instead.getLabels in interface SubnetOrBuilderpublic Map<String,String> getLabelsMap()
Labels associated with this resource.
map<string, string> labels = 4;getLabelsMap in interface SubnetOrBuilderpublic String getLabelsOrDefault(String key, String defaultValue)
Labels associated with this resource.
map<string, string> labels = 4;getLabelsOrDefault in interface SubnetOrBuilderpublic String getLabelsOrThrow(String key)
Labels associated with this resource.
map<string, string> labels = 4;getLabelsOrThrow in interface SubnetOrBuilderpublic Subnet.Builder clearLabels()
public Subnet.Builder removeLabels(String key)
Labels associated with this resource.
map<string, string> labels = 4;@Deprecated public Map<String,String> getMutableLabels()
public Subnet.Builder putLabels(String key, String value)
Labels associated with this resource.
map<string, string> labels = 4;public Subnet.Builder putAllLabels(Map<String,String> values)
Labels associated with this resource.
map<string, string> labels = 4;public String getDescription()
Optional. A free-text description of the resource. Max length 1024 characters.
string description = 5 [(.google.api.field_behavior) = OPTIONAL];getDescription in interface SubnetOrBuilderpublic com.google.protobuf.ByteString getDescriptionBytes()
Optional. A free-text description of the resource. Max length 1024 characters.
string description = 5 [(.google.api.field_behavior) = OPTIONAL];getDescriptionBytes in interface SubnetOrBuilderpublic Subnet.Builder setDescription(String value)
Optional. A free-text description of the resource. Max length 1024 characters.
string description = 5 [(.google.api.field_behavior) = OPTIONAL];value - The description to set.public Subnet.Builder clearDescription()
Optional. A free-text description of the resource. Max length 1024 characters.
string description = 5 [(.google.api.field_behavior) = OPTIONAL];public Subnet.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
Optional. A free-text description of the resource. Max length 1024 characters.
string description = 5 [(.google.api.field_behavior) = OPTIONAL];value - The bytes for description to set.public String getNetwork()
Required. The network that this subnetwork belongs to.
string network = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getNetwork in interface SubnetOrBuilderpublic com.google.protobuf.ByteString getNetworkBytes()
Required. The network that this subnetwork belongs to.
string network = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getNetworkBytes in interface SubnetOrBuilderpublic Subnet.Builder setNetwork(String value)
Required. The network that this subnetwork belongs to.
string network = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value - The network to set.public Subnet.Builder clearNetwork()
Required. The network that this subnetwork belongs to.
string network = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
public Subnet.Builder setNetworkBytes(com.google.protobuf.ByteString value)
Required. The network that this subnetwork belongs to.
string network = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value - The bytes for network to set.public com.google.protobuf.ProtocolStringList getIpv4CidrList()
The ranges of ipv4 addresses that are owned by this subnetwork.
repeated string ipv4_cidr = 7;getIpv4CidrList in interface SubnetOrBuilderpublic int getIpv4CidrCount()
The ranges of ipv4 addresses that are owned by this subnetwork.
repeated string ipv4_cidr = 7;getIpv4CidrCount in interface SubnetOrBuilderpublic String getIpv4Cidr(int index)
The ranges of ipv4 addresses that are owned by this subnetwork.
repeated string ipv4_cidr = 7;getIpv4Cidr in interface SubnetOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getIpv4CidrBytes(int index)
The ranges of ipv4 addresses that are owned by this subnetwork.
repeated string ipv4_cidr = 7;getIpv4CidrBytes in interface SubnetOrBuilderindex - The index of the value to return.public Subnet.Builder setIpv4Cidr(int index, String value)
The ranges of ipv4 addresses that are owned by this subnetwork.
repeated string ipv4_cidr = 7;index - The index to set the value at.value - The ipv4Cidr to set.public Subnet.Builder addIpv4Cidr(String value)
The ranges of ipv4 addresses that are owned by this subnetwork.
repeated string ipv4_cidr = 7;value - The ipv4Cidr to add.public Subnet.Builder addAllIpv4Cidr(Iterable<String> values)
The ranges of ipv4 addresses that are owned by this subnetwork.
repeated string ipv4_cidr = 7;values - The ipv4Cidr to add.public Subnet.Builder clearIpv4Cidr()
The ranges of ipv4 addresses that are owned by this subnetwork.
repeated string ipv4_cidr = 7;public Subnet.Builder addIpv4CidrBytes(com.google.protobuf.ByteString value)
The ranges of ipv4 addresses that are owned by this subnetwork.
repeated string ipv4_cidr = 7;value - The bytes of the ipv4Cidr to add.public com.google.protobuf.ProtocolStringList getIpv6CidrList()
The ranges of ipv6 addresses that are owned by this subnetwork.
repeated string ipv6_cidr = 8;getIpv6CidrList in interface SubnetOrBuilderpublic int getIpv6CidrCount()
The ranges of ipv6 addresses that are owned by this subnetwork.
repeated string ipv6_cidr = 8;getIpv6CidrCount in interface SubnetOrBuilderpublic String getIpv6Cidr(int index)
The ranges of ipv6 addresses that are owned by this subnetwork.
repeated string ipv6_cidr = 8;getIpv6Cidr in interface SubnetOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getIpv6CidrBytes(int index)
The ranges of ipv6 addresses that are owned by this subnetwork.
repeated string ipv6_cidr = 8;getIpv6CidrBytes in interface SubnetOrBuilderindex - The index of the value to return.public Subnet.Builder setIpv6Cidr(int index, String value)
The ranges of ipv6 addresses that are owned by this subnetwork.
repeated string ipv6_cidr = 8;index - The index to set the value at.value - The ipv6Cidr to set.public Subnet.Builder addIpv6Cidr(String value)
The ranges of ipv6 addresses that are owned by this subnetwork.
repeated string ipv6_cidr = 8;value - The ipv6Cidr to add.public Subnet.Builder addAllIpv6Cidr(Iterable<String> values)
The ranges of ipv6 addresses that are owned by this subnetwork.
repeated string ipv6_cidr = 8;values - The ipv6Cidr to add.public Subnet.Builder clearIpv6Cidr()
The ranges of ipv6 addresses that are owned by this subnetwork.
repeated string ipv6_cidr = 8;public Subnet.Builder addIpv6CidrBytes(com.google.protobuf.ByteString value)
The ranges of ipv6 addresses that are owned by this subnetwork.
repeated string ipv6_cidr = 8;value - The bytes of the ipv6Cidr to add.public int getVlanId()
Optional. VLAN id provided by user. If not specified we assign one automatically.
int32 vlan_id = 9 [(.google.api.field_behavior) = OPTIONAL];getVlanId in interface SubnetOrBuilderpublic Subnet.Builder setVlanId(int value)
Optional. VLAN id provided by user. If not specified we assign one automatically.
int32 vlan_id = 9 [(.google.api.field_behavior) = OPTIONAL];value - The vlanId to set.public Subnet.Builder clearVlanId()
Optional. VLAN id provided by user. If not specified we assign one automatically.
int32 vlan_id = 9 [(.google.api.field_behavior) = OPTIONAL];public int getBondingTypeValue()
Optional. A bonding type in the subnet creation specifies whether a VLAN being created will be present on Bonded or Non-Bonded or Both port types. In addition, this flag is to be used to set the specific network configuration which clusters can then use for their workloads based on the bonding choice.
.google.cloud.edgenetwork.v1.Subnet.BondingType bonding_type = 11 [(.google.api.field_behavior) = OPTIONAL];
getBondingTypeValue in interface SubnetOrBuilderpublic Subnet.Builder setBondingTypeValue(int value)
Optional. A bonding type in the subnet creation specifies whether a VLAN being created will be present on Bonded or Non-Bonded or Both port types. In addition, this flag is to be used to set the specific network configuration which clusters can then use for their workloads based on the bonding choice.
.google.cloud.edgenetwork.v1.Subnet.BondingType bonding_type = 11 [(.google.api.field_behavior) = OPTIONAL];
value - The enum numeric value on the wire for bondingType to set.public Subnet.BondingType getBondingType()
Optional. A bonding type in the subnet creation specifies whether a VLAN being created will be present on Bonded or Non-Bonded or Both port types. In addition, this flag is to be used to set the specific network configuration which clusters can then use for their workloads based on the bonding choice.
.google.cloud.edgenetwork.v1.Subnet.BondingType bonding_type = 11 [(.google.api.field_behavior) = OPTIONAL];
getBondingType in interface SubnetOrBuilderpublic Subnet.Builder setBondingType(Subnet.BondingType value)
Optional. A bonding type in the subnet creation specifies whether a VLAN being created will be present on Bonded or Non-Bonded or Both port types. In addition, this flag is to be used to set the specific network configuration which clusters can then use for their workloads based on the bonding choice.
.google.cloud.edgenetwork.v1.Subnet.BondingType bonding_type = 11 [(.google.api.field_behavior) = OPTIONAL];
value - The bondingType to set.public Subnet.Builder clearBondingType()
Optional. A bonding type in the subnet creation specifies whether a VLAN being created will be present on Bonded or Non-Bonded or Both port types. In addition, this flag is to be used to set the specific network configuration which clusters can then use for their workloads based on the bonding choice.
.google.cloud.edgenetwork.v1.Subnet.BondingType bonding_type = 11 [(.google.api.field_behavior) = OPTIONAL];
public int getStateValue()
Output only. Current stage of the resource to the device by config push.
.google.cloud.edgenetwork.v1.ResourceState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
getStateValue in interface SubnetOrBuilderpublic Subnet.Builder setStateValue(int value)
Output only. Current stage of the resource to the device by config push.
.google.cloud.edgenetwork.v1.ResourceState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
value - The enum numeric value on the wire for state to set.public ResourceState getState()
Output only. Current stage of the resource to the device by config push.
.google.cloud.edgenetwork.v1.ResourceState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
getState in interface SubnetOrBuilderpublic Subnet.Builder setState(ResourceState value)
Output only. Current stage of the resource to the device by config push.
.google.cloud.edgenetwork.v1.ResourceState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
value - The state to set.public Subnet.Builder clearState()
Output only. Current stage of the resource to the device by config push.
.google.cloud.edgenetwork.v1.ResourceState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
public final Subnet.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Subnet.Builder>public final Subnet.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Subnet.Builder>Copyright © 2025 Google LLC. All rights reserved.