Interface RouteInfoOrBuilder (1.40.0)

public interface RouteInfoOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDestIpRange()

public abstract String getDestIpRange()

Destination IP range of the route.

string dest_ip_range = 3;

Returns
TypeDescription
String

The destIpRange.

getDestIpRangeBytes()

public abstract ByteString getDestIpRangeBytes()

Destination IP range of the route.

string dest_ip_range = 3;

Returns
TypeDescription
ByteString

The bytes for destIpRange.

getDestPortRanges(int index)

public abstract String getDestPortRanges(int index)

Destination port ranges of the route. Policy based routes only.

repeated string dest_port_ranges = 11;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The destPortRanges at the given index.

getDestPortRangesBytes(int index)

public abstract ByteString getDestPortRangesBytes(int index)

Destination port ranges of the route. Policy based routes only.

repeated string dest_port_ranges = 11;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the destPortRanges at the given index.

getDestPortRangesCount()

public abstract int getDestPortRangesCount()

Destination port ranges of the route. Policy based routes only.

repeated string dest_port_ranges = 11;

Returns
TypeDescription
int

The count of destPortRanges.

getDestPortRangesList()

public abstract List<String> getDestPortRangesList()

Destination port ranges of the route. Policy based routes only.

repeated string dest_port_ranges = 11;

Returns
TypeDescription
List<String>

A list containing the destPortRanges.

getDisplayName()

public abstract String getDisplayName()

Name of a route.

string display_name = 1;

Returns
TypeDescription
String

The displayName.

getDisplayNameBytes()

public abstract ByteString getDisplayNameBytes()

Name of a route.

string display_name = 1;

Returns
TypeDescription
ByteString

The bytes for displayName.

getInstanceTags(int index)

public abstract 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 abstract 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 abstract int getInstanceTagsCount()

Instance tags of the route.

repeated string instance_tags = 7;

Returns
TypeDescription
int

The count of instanceTags.

getInstanceTagsList()

public abstract List<String> getInstanceTagsList()

Instance tags of the route.

repeated string instance_tags = 7;

Returns
TypeDescription
List<String>

A list containing the instanceTags.

getNccHubUri()

public abstract String getNccHubUri()

URI of a NCC Hub. NCC_HUB routes only.

optional string ncc_hub_uri = 15;

Returns
TypeDescription
String

The nccHubUri.

getNccHubUriBytes()

public abstract ByteString getNccHubUriBytes()

URI of a NCC Hub. NCC_HUB routes only.

optional string ncc_hub_uri = 15;

Returns
TypeDescription
ByteString

The bytes for nccHubUri.

getNccSpokeUri()

public abstract String getNccSpokeUri()

URI of a NCC Spoke. NCC_HUB routes only.

optional string ncc_spoke_uri = 16;

Returns
TypeDescription
String

The nccSpokeUri.

getNccSpokeUriBytes()

public abstract ByteString getNccSpokeUriBytes()

URI of a NCC Spoke. NCC_HUB routes only.

optional string ncc_spoke_uri = 16;

Returns
TypeDescription
ByteString

The bytes for nccSpokeUri.

getNetworkUri()

public abstract String getNetworkUri()

URI of a Compute Engine network. NETWORK routes only.

string network_uri = 5;

Returns
TypeDescription
String

The networkUri.

getNetworkUriBytes()

public abstract ByteString getNetworkUriBytes()

URI of a Compute Engine network. NETWORK routes only.

string network_uri = 5;

Returns
TypeDescription
ByteString

The bytes for networkUri.

getNextHop()

public abstract String getNextHop()

Next hop of the route.

string next_hop = 4;

Returns
TypeDescription
String

The nextHop.

getNextHopBytes()

public abstract ByteString getNextHopBytes()

Next hop of the route.

string next_hop = 4;

Returns
TypeDescription
ByteString

The bytes for nextHop.

getNextHopType()

public abstract RouteInfo.NextHopType getNextHopType()

Type of next hop.

.google.cloud.networkmanagement.v1.RouteInfo.NextHopType next_hop_type = 9;

Returns
TypeDescription
RouteInfo.NextHopType

The nextHopType.

getNextHopTypeValue()

public abstract int getNextHopTypeValue()

Type of next hop.

.google.cloud.networkmanagement.v1.RouteInfo.NextHopType next_hop_type = 9;

Returns
TypeDescription
int

The enum numeric value on the wire for nextHopType.

getPriority()

public abstract int getPriority()

Priority of the route.

int32 priority = 6;

Returns
TypeDescription
int

The priority.

getProtocols(int index)

public abstract String getProtocols(int index)

Protocols of the route. Policy based routes only.

repeated string protocols = 13;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The protocols at the given index.

getProtocolsBytes(int index)

public abstract ByteString getProtocolsBytes(int index)

Protocols of the route. Policy based routes only.

repeated string protocols = 13;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the protocols at the given index.

getProtocolsCount()

public abstract int getProtocolsCount()

Protocols of the route. Policy based routes only.

repeated string protocols = 13;

Returns
TypeDescription
int

The count of protocols.

getProtocolsList()

public abstract List<String> getProtocolsList()

Protocols of the route. Policy based routes only.

repeated string protocols = 13;

Returns
TypeDescription
List<String>

A list containing the protocols.

getRouteScope()

public abstract RouteInfo.RouteScope getRouteScope()

Indicates where route is applicable.

.google.cloud.networkmanagement.v1.RouteInfo.RouteScope route_scope = 14;

Returns
TypeDescription
RouteInfo.RouteScope

The routeScope.

getRouteScopeValue()

public abstract int getRouteScopeValue()

Indicates where route is applicable.

.google.cloud.networkmanagement.v1.RouteInfo.RouteScope route_scope = 14;

Returns
TypeDescription
int

The enum numeric value on the wire for routeScope.

getRouteType()

public abstract RouteInfo.RouteType getRouteType()

Type of route.

.google.cloud.networkmanagement.v1.RouteInfo.RouteType route_type = 8;

Returns
TypeDescription
RouteInfo.RouteType

The routeType.

getRouteTypeValue()

public abstract int getRouteTypeValue()

Type of route.

.google.cloud.networkmanagement.v1.RouteInfo.RouteType route_type = 8;

Returns
TypeDescription
int

The enum numeric value on the wire for routeType.

getSrcIpRange()

public abstract String getSrcIpRange()

Source IP address range of the route. Policy based routes only.

string src_ip_range = 10;

Returns
TypeDescription
String

The srcIpRange.

getSrcIpRangeBytes()

public abstract ByteString getSrcIpRangeBytes()

Source IP address range of the route. Policy based routes only.

string src_ip_range = 10;

Returns
TypeDescription
ByteString

The bytes for srcIpRange.

getSrcPortRanges(int index)

public abstract String getSrcPortRanges(int index)

Source port ranges of the route. Policy based routes only.

repeated string src_port_ranges = 12;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The srcPortRanges at the given index.

getSrcPortRangesBytes(int index)

public abstract ByteString getSrcPortRangesBytes(int index)

Source port ranges of the route. Policy based routes only.

repeated string src_port_ranges = 12;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the srcPortRanges at the given index.

getSrcPortRangesCount()

public abstract int getSrcPortRangesCount()

Source port ranges of the route. Policy based routes only.

repeated string src_port_ranges = 12;

Returns
TypeDescription
int

The count of srcPortRanges.

getSrcPortRangesList()

public abstract List<String> getSrcPortRangesList()

Source port ranges of the route. Policy based routes only.

repeated string src_port_ranges = 12;

Returns
TypeDescription
List<String>

A list containing the srcPortRanges.

getUri()

public abstract String getUri()

URI of a route. Dynamic, peering static and peering dynamic routes do not have an URI. Advertised route from Google Cloud VPC to on-premises network also does not have an URI.

string uri = 2;

Returns
TypeDescription
String

The uri.

getUriBytes()

public abstract ByteString getUriBytes()

URI of a route. Dynamic, peering static and peering dynamic routes do not have an URI. Advertised route from Google Cloud VPC to on-premises network also does not have an URI.

string uri = 2;

Returns
TypeDescription
ByteString

The bytes for uri.

hasNccHubUri()

public abstract boolean hasNccHubUri()

URI of a NCC Hub. NCC_HUB routes only.

optional string ncc_hub_uri = 15;

Returns
TypeDescription
boolean

Whether the nccHubUri field is set.

hasNccSpokeUri()

public abstract boolean hasNccSpokeUri()

URI of a NCC Spoke. NCC_HUB routes only.

optional string ncc_spoke_uri = 16;

Returns
TypeDescription
boolean

Whether the nccSpokeUri field is set.