public final class Subnet extends com.google.protobuf.GeneratedMessageV3 implements SubnetOrBuilder
Message describing Subnet objectProtobuf type
google.cloud.edgenetwork.v1.Subnet| Modifier and Type | Class and Description |
|---|---|
static class |
Subnet.BondingType
Bonding type in the subnet.
|
static class |
Subnet.Builder
Message describing Subnet object
Protobuf type
google.cloud.edgenetwork.v1.Subnet |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
BONDING_TYPE_FIELD_NUMBER |
static int |
CREATE_TIME_FIELD_NUMBER |
static int |
DESCRIPTION_FIELD_NUMBER |
static int |
IPV4_CIDR_FIELD_NUMBER |
static int |
IPV6_CIDR_FIELD_NUMBER |
static int |
LABELS_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
NETWORK_FIELD_NUMBER |
static int |
STATE_FIELD_NUMBER |
static int |
UPDATE_TIME_FIELD_NUMBER |
static int |
VLAN_ID_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsLabels(String key)
Labels associated with this resource.
|
boolean |
equals(Object obj) |
Subnet.BondingType |
getBondingType()
Optional.
|
int |
getBondingTypeValue()
Optional.
|
com.google.protobuf.Timestamp |
getCreateTime()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getCreateTimeOrBuilder()
Output only.
|
static Subnet |
getDefaultInstance() |
Subnet |
getDefaultInstanceForType() |
String |
getDescription()
Optional.
|
com.google.protobuf.ByteString |
getDescriptionBytes()
Optional.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
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.
|
String |
getName()
Required.
|
com.google.protobuf.ByteString |
getNameBytes()
Required.
|
String |
getNetwork()
Required.
|
com.google.protobuf.ByteString |
getNetworkBytes()
Required.
|
com.google.protobuf.Parser<Subnet> |
getParserForType() |
int |
getSerializedSize() |
ResourceState |
getState()
Output only.
|
int |
getStateValue()
Output only.
|
com.google.protobuf.Timestamp |
getUpdateTime()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getUpdateTimeOrBuilder()
Output only.
|
int |
getVlanId()
Optional.
|
boolean |
hasCreateTime()
Output only.
|
int |
hashCode() |
boolean |
hasUpdateTime()
Output only.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapFieldReflectionAccessor |
internalGetMapFieldReflection(int number) |
boolean |
isInitialized() |
static Subnet.Builder |
newBuilder() |
static Subnet.Builder |
newBuilder(Subnet prototype) |
Subnet.Builder |
newBuilderForType() |
protected Subnet.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static Subnet |
parseDelimitedFrom(InputStream input) |
static Subnet |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Subnet |
parseFrom(byte[] data) |
static Subnet |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Subnet |
parseFrom(ByteBuffer data) |
static Subnet |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Subnet |
parseFrom(com.google.protobuf.ByteString data) |
static Subnet |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Subnet |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Subnet |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Subnet |
parseFrom(InputStream input) |
static Subnet |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Subnet> |
parser() |
Subnet.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int NAME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
public static final int NETWORK_FIELD_NUMBER
public static final int IPV4_CIDR_FIELD_NUMBER
public static final int IPV6_CIDR_FIELD_NUMBER
public static final int VLAN_ID_FIELD_NUMBER
public static final int BONDING_TYPE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessageV3protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public 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 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 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 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 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 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 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 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 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 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.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 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 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 final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static Subnet parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Subnet parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Subnet parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Subnet parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Subnet parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Subnet parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Subnet parseFrom(InputStream input) throws IOException
IOExceptionpublic static Subnet parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Subnet parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Subnet parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Subnet parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Subnet parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Subnet.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Subnet.Builder newBuilder()
public static Subnet.Builder newBuilder(Subnet prototype)
public Subnet.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Subnet.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Subnet getDefaultInstance()
public static com.google.protobuf.Parser<Subnet> parser()
public com.google.protobuf.Parser<Subnet> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Subnet getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2025 Google LLC. All rights reserved.