Interface RouteInfoOrBuilder (0.16.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
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 Compute Engine route.

string display_name = 1;

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public abstract ByteString getDisplayNameBytes()

Name of a Compute Engine 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.

getNetworkUri()

public abstract String getNetworkUri()

URI of a Compute Engine network.

string network_uri = 5;

Returns
Type Description
String

The networkUri.

getNetworkUriBytes()

public abstract ByteString getNetworkUriBytes()

URI of a Compute Engine network.

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.events.cloud.networkmanagement.v1.RouteInfo.NextHopType next_hop_type = 9;

Returns
Type Description
RouteInfo.NextHopType

The nextHopType.

getNextHopTypeValue()

public abstract int getNextHopTypeValue()

Type of next hop.

.google.events.cloud.networkmanagement.v1.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.

getRouteType()

public abstract RouteInfo.RouteType getRouteType()

Type of route.

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

Returns
Type Description
RouteInfo.RouteType

The routeType.

getRouteTypeValue()

public abstract int getRouteTypeValue()

Type of route.

.google.events.cloud.networkmanagement.v1.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 Compute Engine route. Dynamic route from cloud router does not have a URI. Advertised route from Google Cloud VPC to on-premises network also does not have a URI.

string uri = 2;

Returns
Type Description
String

The uri.

getUriBytes()

public abstract ByteString getUriBytes()

URI of a Compute Engine route. Dynamic route from cloud router does not have a URI. Advertised route from Google Cloud VPC to on-premises network also does not have a URI.

string uri = 2;

Returns
Type Description
ByteString

The bytes for uri.