Class UsableSubnetworkSecondaryRange (2.17.0)

public final class UsableSubnetworkSecondaryRange extends GeneratedMessageV3 implements UsableSubnetworkSecondaryRangeOrBuilder

Secondary IP range of a usable subnetwork.

Protobuf type google.container.v1.UsableSubnetworkSecondaryRange

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > UsableSubnetworkSecondaryRange

Static Fields

IP_CIDR_RANGE_FIELD_NUMBER

public static final int IP_CIDR_RANGE_FIELD_NUMBER
Field Value
TypeDescription
int

RANGE_NAME_FIELD_NUMBER

public static final int RANGE_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

STATUS_FIELD_NUMBER

public static final int STATUS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static UsableSubnetworkSecondaryRange getDefaultInstance()
Returns
TypeDescription
UsableSubnetworkSecondaryRange

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static UsableSubnetworkSecondaryRange.Builder newBuilder()
Returns
TypeDescription
UsableSubnetworkSecondaryRange.Builder

newBuilder(UsableSubnetworkSecondaryRange prototype)

public static UsableSubnetworkSecondaryRange.Builder newBuilder(UsableSubnetworkSecondaryRange prototype)
Parameter
NameDescription
prototypeUsableSubnetworkSecondaryRange
Returns
TypeDescription
UsableSubnetworkSecondaryRange.Builder

parseDelimitedFrom(InputStream input)

public static UsableSubnetworkSecondaryRange parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
UsableSubnetworkSecondaryRange
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UsableSubnetworkSecondaryRange parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UsableSubnetworkSecondaryRange
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static UsableSubnetworkSecondaryRange parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
UsableSubnetworkSecondaryRange
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static UsableSubnetworkSecondaryRange parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UsableSubnetworkSecondaryRange
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static UsableSubnetworkSecondaryRange parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
UsableSubnetworkSecondaryRange
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static UsableSubnetworkSecondaryRange parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UsableSubnetworkSecondaryRange
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static UsableSubnetworkSecondaryRange parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
UsableSubnetworkSecondaryRange
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static UsableSubnetworkSecondaryRange parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UsableSubnetworkSecondaryRange
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static UsableSubnetworkSecondaryRange parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
UsableSubnetworkSecondaryRange
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UsableSubnetworkSecondaryRange parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UsableSubnetworkSecondaryRange
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static UsableSubnetworkSecondaryRange parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
UsableSubnetworkSecondaryRange
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static UsableSubnetworkSecondaryRange parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UsableSubnetworkSecondaryRange
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<UsableSubnetworkSecondaryRange> parser()
Returns
TypeDescription
Parser<UsableSubnetworkSecondaryRange>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public UsableSubnetworkSecondaryRange getDefaultInstanceForType()
Returns
TypeDescription
UsableSubnetworkSecondaryRange

getIpCidrRange()

public String getIpCidrRange()

The range of IP addresses belonging to this subnetwork secondary range.

string ip_cidr_range = 2;

Returns
TypeDescription
String

The ipCidrRange.

getIpCidrRangeBytes()

public ByteString getIpCidrRangeBytes()

The range of IP addresses belonging to this subnetwork secondary range.

string ip_cidr_range = 2;

Returns
TypeDescription
ByteString

The bytes for ipCidrRange.

getParserForType()

public Parser<UsableSubnetworkSecondaryRange> getParserForType()
Returns
TypeDescription
Parser<UsableSubnetworkSecondaryRange>
Overrides

getRangeName()

public String getRangeName()

The name associated with this subnetwork secondary range, used when adding an alias IP range to a VM instance.

string range_name = 1;

Returns
TypeDescription
String

The rangeName.

getRangeNameBytes()

public ByteString getRangeNameBytes()

The name associated with this subnetwork secondary range, used when adding an alias IP range to a VM instance.

string range_name = 1;

Returns
TypeDescription
ByteString

The bytes for rangeName.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getStatus()

public UsableSubnetworkSecondaryRange.Status getStatus()

This field is to determine the status of the secondary range programmably.

.google.container.v1.UsableSubnetworkSecondaryRange.Status status = 3;

Returns
TypeDescription
UsableSubnetworkSecondaryRange.Status

The status.

getStatusValue()

public int getStatusValue()

This field is to determine the status of the secondary range programmably.

.google.container.v1.UsableSubnetworkSecondaryRange.Status status = 3;

Returns
TypeDescription
int

The enum numeric value on the wire for status.

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public UsableSubnetworkSecondaryRange.Builder newBuilderForType()
Returns
TypeDescription
UsableSubnetworkSecondaryRange.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected UsableSubnetworkSecondaryRange.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
UsableSubnetworkSecondaryRange.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public UsableSubnetworkSecondaryRange.Builder toBuilder()
Returns
TypeDescription
UsableSubnetworkSecondaryRange.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException