Class RouterBgpPeerCustomLearnedIpRange (1.33.0)

public final class RouterBgpPeerCustomLearnedIpRange extends GeneratedMessageV3 implements RouterBgpPeerCustomLearnedIpRangeOrBuilder

Protobuf type google.cloud.compute.v1.RouterBgpPeerCustomLearnedIpRange

Inheritance

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

Static Fields

RANGE_FIELD_NUMBER

public static final int RANGE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static RouterBgpPeerCustomLearnedIpRange getDefaultInstance()
Returns
TypeDescription
RouterBgpPeerCustomLearnedIpRange

getDescriptor()

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

newBuilder()

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

newBuilder(RouterBgpPeerCustomLearnedIpRange prototype)

public static RouterBgpPeerCustomLearnedIpRange.Builder newBuilder(RouterBgpPeerCustomLearnedIpRange prototype)
Parameter
NameDescription
prototypeRouterBgpPeerCustomLearnedIpRange
Returns
TypeDescription
RouterBgpPeerCustomLearnedIpRange.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public RouterBgpPeerCustomLearnedIpRange getDefaultInstanceForType()
Returns
TypeDescription
RouterBgpPeerCustomLearnedIpRange

getParserForType()

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

getRange()

public String getRange()

The custom learned route IP address range. Must be a valid CIDR-formatted prefix. If an IP address is provided without a subnet mask, it is interpreted as, for IPv4, a /32 singular IP address range, and, for IPv6, /128.

optional string range = 108280125;

Returns
TypeDescription
String

The range.

getRangeBytes()

public ByteString getRangeBytes()

The custom learned route IP address range. Must be a valid CIDR-formatted prefix. If an IP address is provided without a subnet mask, it is interpreted as, for IPv4, a /32 singular IP address range, and, for IPv6, /128.

optional string range = 108280125;

Returns
TypeDescription
ByteString

The bytes for range.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hasRange()

public boolean hasRange()

The custom learned route IP address range. Must be a valid CIDR-formatted prefix. If an IP address is provided without a subnet mask, it is interpreted as, for IPv4, a /32 singular IP address range, and, for IPv6, /128.

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 RouterBgpPeerCustomLearnedIpRange.Builder newBuilderForType()
Returns
TypeDescription
RouterBgpPeerCustomLearnedIpRange.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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