Class UsableSubnetworkSecondaryRange (1.47.0)

public final class UsableSubnetworkSecondaryRange extends GeneratedMessageV3 implements UsableSubnetworkSecondaryRangeOrBuilder

Secondary IP range of a usable subnetwork.

Protobuf type google.cloud.compute.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

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.

optional string ip_cidr_range = 98117322;

Returns
TypeDescription
String

The ipCidrRange.

getIpCidrRangeBytes()

public ByteString getIpCidrRangeBytes()

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

optional string ip_cidr_range = 98117322;

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. The name must be 1-63 characters long, and comply with RFC1035. The name must be unique within the subnetwork.

optional string range_name = 332216397;

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. The name must be 1-63 characters long, and comply with RFC1035. The name must be unique within the subnetwork.

optional string range_name = 332216397;

Returns
TypeDescription
ByteString

The bytes for rangeName.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hasIpCidrRange()

public boolean hasIpCidrRange()

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

optional string ip_cidr_range = 98117322;

Returns
TypeDescription
boolean

Whether the ipCidrRange field is set.

hasRangeName()

public boolean hasRangeName()

The name associated with this subnetwork secondary range, used when adding an alias IP range to a VM instance. The name must be 1-63 characters long, and comply with RFC1035. The name must be unique within the subnetwork.

optional string range_name = 332216397;

Returns
TypeDescription
boolean

Whether the rangeName field is set.

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