Interface RouteInfoOrBuilder (1.54.0)

public interface RouteInfoOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAdvertisedRouteNextHopUri()

public abstract String getAdvertisedRouteNextHopUri()

For advertised routes, the URI of their next hop, i.e. the URI of the hybrid endpoint (VPN tunnel, Interconnect attachment, NCC router appliance) the advertised prefix is advertised through, or URI of the source peered network.

optional string advertised_route_next_hop_uri = 18;

Returns
Type Description
String

The advertisedRouteNextHopUri.

getAdvertisedRouteNextHopUriBytes()

public abstract ByteString getAdvertisedRouteNextHopUriBytes()

For advertised routes, the URI of their next hop, i.e. the URI of the hybrid endpoint (VPN tunnel, Interconnect attachment, NCC router appliance) the advertised prefix is advertised through, or URI of the source peered network.

optional string advertised_route_next_hop_uri = 18;

Returns
Type Description
ByteString

The bytes for advertisedRouteNextHopUri.

getAdvertisedRouteSourceRouterUri()

public abstract String getAdvertisedRouteSourceRouterUri()

For advertised dynamic routes, the URI of the Cloud Router that advertised the corresponding IP prefix.

optional string advertised_route_source_router_uri = 17;

Returns
Type Description
String

The advertisedRouteSourceRouterUri.

getAdvertisedRouteSourceRouterUriBytes()

public abstract ByteString getAdvertisedRouteSourceRouterUriBytes()

For advertised dynamic routes, the URI of the Cloud Router that advertised the corresponding IP prefix.

optional string advertised_route_source_router_uri = 17;

Returns
Type Description
ByteString

The bytes for advertisedRouteSourceRouterUri.

getDestIpRange()

public abstract String getDestIpRange()

Destination IP range of the route.

string dest_ip_range = 3;

Returns
Type Description
String

The destIpRange.

getDestIpRangeBytes()

public abstract ByteString getDestIpRangeBytes()

Destination IP range of the route.

string dest_ip_range = 3;

Returns
Type Description
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
Name Description
index int

The index of the element to return.

Returns
Type Description
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
Name Description
index int

The index of the value to return.

Returns
Type Description
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
Type Description
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
Type Description
List<String>

A list containing the destPortRanges.

getDisplayName()

public abstract String getDisplayName()

Name of a route.

string display_name = 1;

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public abstract ByteString getDisplayNameBytes()

Name of a route.

string display_name = 1;

Returns
Type Description
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
Name Description
index int

The index of the element to return.

Returns
Type Description
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
Name Description
index int

The index of the value to return.

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

The count of instanceTags.

getInstanceTagsList()

public abstract List<String> getInstanceTagsList()

Instance tags of the route.

repeated string instance_tags = 7;

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

The nccHubUri.

getNccHubUriBytes()

public abstract ByteString getNccHubUriBytes()

URI of a NCC Hub. NCC_HUB routes only.

optional string ncc_hub_uri = 15;

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

The nccSpokeUri.

getNccSpokeUriBytes()

public abstract ByteString getNccSpokeUriBytes()

URI of a NCC Spoke. NCC_HUB routes only.

optional string ncc_spoke_uri = 16;

Returns
Type Description
ByteString

The bytes for nccSpokeUri.

getNetworkUri()

public abstract String getNetworkUri()

URI of a Compute Engine network. NETWORK routes only.

string network_uri = 5;

Returns
Type Description
String

The networkUri.

getNetworkUriBytes()

public abstract ByteString getNetworkUriBytes()

URI of a Compute Engine network. NETWORK routes only.

string network_uri = 5;

Returns
Type Description
ByteString

The bytes for networkUri.

getNextHop()

public abstract String getNextHop()

Next hop of the route.

string next_hop = 4;

Returns
Type Description
String

The nextHop.

getNextHopBytes()

public abstract ByteString getNextHopBytes()

Next hop of the route.

string next_hop = 4;

Returns
Type Description
ByteString

The bytes for nextHop.

getNextHopType()

public abstract RouteInfo.NextHopType getNextHopType()

Type of next hop.

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

Returns
Type Description
RouteInfo.NextHopType

The nextHopType.

getNextHopTypeValue()

public abstract int getNextHopTypeValue()

Type of next hop.

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

Returns
Type Description
int

The enum numeric value on the wire for nextHopType.

getPriority()

public abstract int getPriority()

Priority of the route.

int32 priority = 6;

Returns
Type Description
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
Name Description
index int

The index of the element to return.

Returns
Type Description
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
Name Description
index int

The index of the value to return.

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

The count of protocols.

getProtocolsList()

public abstract List<String> getProtocolsList()

Protocols of the route. Policy based routes only.

repeated string protocols = 13;

Returns
Type Description
List<String>

A list containing the protocols.

getRegion()

public abstract String getRegion()

Region of the route (if applicable).

string region = 19;

Returns
Type Description
String

The region.

getRegionBytes()

public abstract ByteString getRegionBytes()

Region of the route (if applicable).

string region = 19;

Returns
Type Description
ByteString

The bytes for region.

getRouteScope()

public abstract RouteInfo.RouteScope getRouteScope()

Indicates where route is applicable.

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

Returns
Type Description
RouteInfo.RouteScope

The routeScope.

getRouteScopeValue()

public abstract int getRouteScopeValue()

Indicates where route is applicable.

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

Returns
Type Description
int

The enum numeric value on the wire for routeScope.

getRouteType()

public abstract RouteInfo.RouteType getRouteType()

Type of route.

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

Returns
Type Description
RouteInfo.RouteType

The routeType.

getRouteTypeValue()

public abstract int getRouteTypeValue()

Type of route.

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

Returns
Type Description
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
Type Description
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
Type Description
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
Name Description
index int

The index of the element to return.

Returns
Type Description
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
Name Description
index int

The index of the value to return.

Returns
Type Description
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
Type Description
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
Type Description
List<String>

A list containing the srcPortRanges.

getUri()

public abstract String getUri()

URI of a route (if applicable).

string uri = 2;

Returns
Type Description
String

The uri.

getUriBytes()

public abstract ByteString getUriBytes()

URI of a route (if applicable).

string uri = 2;

Returns
Type Description
ByteString

The bytes for uri.

hasAdvertisedRouteNextHopUri()

public abstract boolean hasAdvertisedRouteNextHopUri()

For advertised routes, the URI of their next hop, i.e. the URI of the hybrid endpoint (VPN tunnel, Interconnect attachment, NCC router appliance) the advertised prefix is advertised through, or URI of the source peered network.

optional string advertised_route_next_hop_uri = 18;

Returns
Type Description
boolean

Whether the advertisedRouteNextHopUri field is set.

hasAdvertisedRouteSourceRouterUri()

public abstract boolean hasAdvertisedRouteSourceRouterUri()

For advertised dynamic routes, the URI of the Cloud Router that advertised the corresponding IP prefix.

optional string advertised_route_source_router_uri = 17;

Returns
Type Description
boolean

Whether the advertisedRouteSourceRouterUri field is set.

hasNccHubUri()

public abstract boolean hasNccHubUri()

URI of a NCC Hub. NCC_HUB routes only.

optional string ncc_hub_uri = 15;

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

Whether the nccSpokeUri field is set.