Class RouteInfo (1.14.0)

Stay organized with collections Save and categorize content based on your preferences.
public final class RouteInfo extends GeneratedMessageV3 implements RouteInfoOrBuilder

For display only. Metadata associated with a Compute Engine route.

Protobuf type google.cloud.networkmanagement.v1.RouteInfo

Implements

RouteInfoOrBuilder

Static Fields

DEST_IP_RANGE_FIELD_NUMBER

public static final int DEST_IP_RANGE_FIELD_NUMBER
Field Value
TypeDescription
int

DISPLAY_NAME_FIELD_NUMBER

public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

INSTANCE_TAGS_FIELD_NUMBER

public static final int INSTANCE_TAGS_FIELD_NUMBER
Field Value
TypeDescription
int

NETWORK_URI_FIELD_NUMBER

public static final int NETWORK_URI_FIELD_NUMBER
Field Value
TypeDescription
int

NEXT_HOP_FIELD_NUMBER

public static final int NEXT_HOP_FIELD_NUMBER
Field Value
TypeDescription
int

NEXT_HOP_TYPE_FIELD_NUMBER

public static final int NEXT_HOP_TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

PRIORITY_FIELD_NUMBER

public static final int PRIORITY_FIELD_NUMBER
Field Value
TypeDescription
int

ROUTE_TYPE_FIELD_NUMBER

public static final int ROUTE_TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

URI_FIELD_NUMBER

public static final int URI_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static RouteInfo getDefaultInstance()
Returns
TypeDescription
RouteInfo

getDescriptor()

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

newBuilder()

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

newBuilder(RouteInfo prototype)

public static RouteInfo.Builder newBuilder(RouteInfo prototype)
Parameter
NameDescription
prototypeRouteInfo
Returns
TypeDescription
RouteInfo.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public RouteInfo getDefaultInstanceForType()
Returns
TypeDescription
RouteInfo

getDestIpRange()

public String getDestIpRange()

Destination IP range of the route.

string dest_ip_range = 3;

Returns
TypeDescription
String

The destIpRange.

getDestIpRangeBytes()

public ByteString getDestIpRangeBytes()

Destination IP range of the route.

string dest_ip_range = 3;

Returns
TypeDescription
ByteString

The bytes for destIpRange.

getDisplayName()

public String getDisplayName()

Name of a Compute Engine route.

string display_name = 1;

Returns
TypeDescription
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

Name of a Compute Engine route.

string display_name = 1;

Returns
TypeDescription
ByteString

The bytes for displayName.

getInstanceTags(int index)

public String getInstanceTags(int index)

Instance tags of the route.

repeated string instance_tags = 7;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The instanceTags at the given index.

getInstanceTagsBytes(int index)

public ByteString getInstanceTagsBytes(int index)

Instance tags of the route.

repeated string instance_tags = 7;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the instanceTags at the given index.

getInstanceTagsCount()

public int getInstanceTagsCount()

Instance tags of the route.

repeated string instance_tags = 7;

Returns
TypeDescription
int

The count of instanceTags.

getInstanceTagsList()

public ProtocolStringList getInstanceTagsList()

Instance tags of the route.

repeated string instance_tags = 7;

Returns
TypeDescription
ProtocolStringList

A list containing the instanceTags.

getNetworkUri()

public String getNetworkUri()

URI of a Compute Engine network.

string network_uri = 5;

Returns
TypeDescription
String

The networkUri.

getNetworkUriBytes()

public ByteString getNetworkUriBytes()

URI of a Compute Engine network.

string network_uri = 5;

Returns
TypeDescription
ByteString

The bytes for networkUri.

getNextHop()

public String getNextHop()

Next hop of the route.

string next_hop = 4;

Returns