Class RouterAdvertisedIpRange (1.65.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
Type Description
int

RANGE_FIELD_NUMBER

public static final int RANGE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static RouterAdvertisedIpRange getDefaultInstance()
Returns
Type Description
RouterAdvertisedIpRange

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static RouterAdvertisedIpRange.Builder newBuilder()
Returns
Type Description
RouterAdvertisedIpRange.Builder

newBuilder(RouterAdvertisedIpRange prototype)

public static RouterAdvertisedIpRange.Builder newBuilder(RouterAdvertisedIpRange prototype)
Parameter
Name Description
prototype RouterAdvertisedIpRange
Returns
Type Description
RouterAdvertisedIpRange.Builder

parseDelimitedFrom(InputStream input)

public static RouterAdvertisedIpRange parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
RouterAdvertisedIpRange
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RouterAdvertisedIpRange parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RouterAdvertisedIpRange
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static RouterAdvertisedIpRange parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
RouterAdvertisedIpRange
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static RouterAdvertisedIpRange parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RouterAdvertisedIpRange
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static RouterAdvertisedIpRange parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
RouterAdvertisedIpRange
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static RouterAdvertisedIpRange parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RouterAdvertisedIpRange
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static RouterAdvertisedIpRange parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
RouterAdvertisedIpRange
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static RouterAdvertisedIpRange parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RouterAdvertisedIpRange
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static RouterAdvertisedIpRange parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
RouterAdvertisedIpRange
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RouterAdvertisedIpRange parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RouterAdvertisedIpRange
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static RouterAdvertisedIpRange parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
RouterAdvertisedIpRange
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static RouterAdvertisedIpRange parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RouterAdvertisedIpRange
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<RouterAdvertisedIpRange> parser()
Returns
Type Description
Parser<RouterAdvertisedIpRange>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public RouterAdvertisedIpRange getDefaultInstanceForType()
Returns
Type Description
RouterAdvertisedIpRange

getDescription()

public String getDescription()

User-specified description for the IP range.

optional string description = 422937596;

Returns
Type Description
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

User-specified description for the IP range.

optional string description = 422937596;

Returns
Type Description
ByteString

The bytes for description.

getParserForType()

public Parser<RouterAdvertisedIpRange> getParserForType()
Returns
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for range.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasDescription()

public boolean hasDescription()

User-specified description for the IP range.

optional string description = 422937596;

Returns
Type Description
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
Type Description
boolean

Whether the range field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public RouterAdvertisedIpRange.Builder newBuilderForType()
Returns
Type Description
RouterAdvertisedIpRange.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected RouterAdvertisedIpRange.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
RouterAdvertisedIpRange.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public RouterAdvertisedIpRange.Builder toBuilder()
Returns
Type Description
RouterAdvertisedIpRange.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException