Class RouterAdvertisedIpRange (1.28.0)

public final class RouterAdvertisedIpRange extends GeneratedMessageV3 implements RouterAdvertisedIpRangeOrBuilder

Description-tagged IP ranges for the router to advertise.

Protobuf type google.cloud.compute.v1.RouterAdvertisedIpRange

Static Fields

DESCRIPTION_FIELD_NUMBER

public static final int DESCRIPTION_FIELD_NUMBER
Field Value
TypeDescription
int

RANGE_FIELD_NUMBER

public static final int RANGE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static RouterAdvertisedIpRange getDefaultInstance()
Returns
TypeDescription
RouterAdvertisedIpRange

getDescriptor()

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

newBuilder()

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

newBuilder(RouterAdvertisedIpRange prototype)

public static RouterAdvertisedIpRange.Builder newBuilder(RouterAdvertisedIpRange prototype)
Parameter
NameDescription
prototypeRouterAdvertisedIpRange
Returns
TypeDescription
RouterAdvertisedIpRange.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public RouterAdvertisedIpRange getDefaultInstanceForType()
Returns
TypeDescription
RouterAdvertisedIpRange

getDescription()

public String getDescription()

User-specified description for the IP range.

optional string description = 422937596;

Returns
TypeDescription
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

User-specified description for the IP range.

optional string description = 422937596;

Returns
TypeDescription
ByteString

The bytes for description.

getParserForType()

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

getRange()

public String getRange()

The IP range to advertise. The value must be a CIDR-formatted string.

optional string range = 108280125;

Returns
TypeDescription
String

The range.

getRangeBytes()

public ByteString getRangeBytes()

The IP range to advertise. The value must be a CIDR-formatted string.

optional string range = 108280125;

Returns
TypeDescription
ByteString

The bytes for range.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasDescription()

public boolean hasDescription()

User-specified description for the IP range.

optional string description = 422937596;

Returns
TypeDescription
boolean

Whether the description field is set.

hasRange()

public boolean hasRange()

The IP range to advertise. The value must be a CIDR-formatted string.

optional string range = 108280125;

Returns
TypeDescription
boolean

Whether the range 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 RouterAdvertisedIpRange.Builder newBuilderForType()
Returns
TypeDescription
RouterAdvertisedIpRange.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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