Interface RouterStatusBgpPeerStatusOrBuilder (1.7.2)

public interface RouterStatusBgpPeerStatusOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAdvertisedRoutes(int index)

public abstract Route getAdvertisedRoutes(int index)

Routes that were advertised to the remote BGP peer

repeated .google.cloud.compute.v1.Route advertised_routes = 333393068;

Parameter
NameDescription
indexint
Returns
TypeDescription
Route

getAdvertisedRoutesCount()

public abstract int getAdvertisedRoutesCount()

Routes that were advertised to the remote BGP peer

repeated .google.cloud.compute.v1.Route advertised_routes = 333393068;

Returns
TypeDescription
int

getAdvertisedRoutesList()

public abstract List<Route> getAdvertisedRoutesList()

Routes that were advertised to the remote BGP peer

repeated .google.cloud.compute.v1.Route advertised_routes = 333393068;

Returns
TypeDescription
List<Route>

getAdvertisedRoutesOrBuilder(int index)

public abstract RouteOrBuilder getAdvertisedRoutesOrBuilder(int index)

Routes that were advertised to the remote BGP peer

repeated .google.cloud.compute.v1.Route advertised_routes = 333393068;

Parameter
NameDescription
indexint
Returns
TypeDescription
RouteOrBuilder

getAdvertisedRoutesOrBuilderList()

public abstract List<? extends RouteOrBuilder> getAdvertisedRoutesOrBuilderList()

Routes that were advertised to the remote BGP peer

repeated .google.cloud.compute.v1.Route advertised_routes = 333393068;

Returns
TypeDescription
List<? extends com.google.cloud.compute.v1.RouteOrBuilder>

getIpAddress()

public abstract String getIpAddress()

IP address of the local BGP interface.

optional string ip_address = 406272220;

Returns
TypeDescription
String

The ipAddress.

getIpAddressBytes()

public abstract ByteString getIpAddressBytes()

IP address of the local BGP interface.

optional string ip_address = 406272220;

Returns
TypeDescription
ByteString

The bytes for ipAddress.

getLinkedVpnTunnel()

public abstract String getLinkedVpnTunnel()

URL of the VPN tunnel that this BGP peer controls.

optional string linked_vpn_tunnel = 352296953;

Returns
TypeDescription
String

The linkedVpnTunnel.

getLinkedVpnTunnelBytes()

public abstract ByteString getLinkedVpnTunnelBytes()

URL of the VPN tunnel that this BGP peer controls.

optional string linked_vpn_tunnel = 352296953;

Returns
TypeDescription
ByteString

The bytes for linkedVpnTunnel.

getName()

public abstract String getName()

Name of this BGP peer. Unique within the Routers resource.

optional string name = 3373707;

Returns
TypeDescription
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Name of this BGP peer. Unique within the Routers resource.

optional string name = 3373707;

Returns
TypeDescription
ByteString

The bytes for name.

getNumLearnedRoutes()

public abstract int getNumLearnedRoutes()

Number of routes learned from the remote BGP Peer.

optional uint32 num_learned_routes = 135457535;

Returns
TypeDescription
int

The numLearnedRoutes.

getPeerIpAddress()

public abstract String getPeerIpAddress()

IP address of the remote BGP interface.

optional string peer_ip_address = 207735769;

Returns
TypeDescription
String

The peerIpAddress.

getPeerIpAddressBytes()

public abstract ByteString getPeerIpAddressBytes()

IP address of the remote BGP interface.

optional string peer_ip_address = 207735769;

Returns
TypeDescription
ByteString

The bytes for peerIpAddress.

getRouterApplianceInstance()

public abstract String getRouterApplianceInstance()

[Output only] URI of the VM instance that is used as third-party router appliances such as Next Gen Firewalls, Virtual Routers, or Router Appliances. The VM instance is the peer side of the BGP session.

optional string router_appliance_instance = 468312989;

Returns
TypeDescription
String

The routerApplianceInstance.

getRouterApplianceInstanceBytes()

public abstract ByteString getRouterApplianceInstanceBytes()

[Output only] URI of the VM instance that is used as third-party router appliances such as Next Gen Firewalls, Virtual Routers, or Router Appliances. The VM instance is the peer side of the BGP session.

optional string router_appliance_instance = 468312989;

Returns
TypeDescription
ByteString

The bytes for routerApplianceInstance.

getState()

public abstract String getState()

BGP state as specified in RFC1771.

optional string state = 109757585;

Returns
TypeDescription
String

The state.

getStateBytes()

public abstract ByteString getStateBytes()

BGP state as specified in RFC1771.

optional string state = 109757585;

Returns
TypeDescription
ByteString

The bytes for state.

getStatus()

public abstract String getStatus()

Status of the BGP peer: {UP, DOWN} Check the Status enum for the list of possible values.

optional string status = 181260274;

Returns
TypeDescription
String

The status.

getStatusBytes()

public abstract ByteString getStatusBytes()

Status of the BGP peer: {UP, DOWN} Check the Status enum for the list of possible values.

optional string status = 181260274;

Returns
TypeDescription
ByteString

The bytes for status.

getUptime()

public abstract String getUptime()

Time this session has been up. Format: 14 years, 51 weeks, 6 days, 23 hours, 59 minutes, 59 seconds

optional string uptime = 235379688;

Returns
TypeDescription
String

The uptime.

getUptimeBytes()

public abstract ByteString getUptimeBytes()

Time this session has been up. Format: 14 years, 51 weeks, 6 days, 23 hours, 59 minutes, 59 seconds

optional string uptime = 235379688;

Returns
TypeDescription
ByteString

The bytes for uptime.

getUptimeSeconds()

public abstract String getUptimeSeconds()

Time this session has been up, in seconds. Format: 145

optional string uptime_seconds = 104736040;

Returns
TypeDescription
String

The uptimeSeconds.

getUptimeSecondsBytes()

public abstract ByteString getUptimeSecondsBytes()

Time this session has been up, in seconds. Format: 145

optional string uptime_seconds = 104736040;

Returns
TypeDescription
ByteString

The bytes for uptimeSeconds.

hasIpAddress()

public abstract boolean hasIpAddress()

IP address of the local BGP interface.

optional string ip_address = 406272220;

Returns
TypeDescription
boolean

Whether the ipAddress field is set.

hasLinkedVpnTunnel()

public abstract boolean hasLinkedVpnTunnel()

URL of the VPN tunnel that this BGP peer controls.

optional string linked_vpn_tunnel = 352296953;

Returns
TypeDescription
boolean

Whether the linkedVpnTunnel field is set.

hasName()

public abstract boolean hasName()

Name of this BGP peer. Unique within the Routers resource.

optional string name = 3373707;

Returns
TypeDescription
boolean

Whether the name field is set.

hasNumLearnedRoutes()

public abstract boolean hasNumLearnedRoutes()

Number of routes learned from the remote BGP Peer.

optional uint32 num_learned_routes = 135457535;

Returns
TypeDescription
boolean

Whether the numLearnedRoutes field is set.

hasPeerIpAddress()

public abstract boolean hasPeerIpAddress()

IP address of the remote BGP interface.

optional string peer_ip_address = 207735769;

Returns
TypeDescription
boolean

Whether the peerIpAddress field is set.

hasRouterApplianceInstance()

public abstract boolean hasRouterApplianceInstance()

[Output only] URI of the VM instance that is used as third-party router appliances such as Next Gen Firewalls, Virtual Routers, or Router Appliances. The VM instance is the peer side of the BGP session.

optional string router_appliance_instance = 468312989;

Returns
TypeDescription
boolean

Whether the routerApplianceInstance field is set.

hasState()

public abstract boolean hasState()

BGP state as specified in RFC1771.

optional string state = 109757585;

Returns
TypeDescription
boolean

Whether the state field is set.

hasStatus()

public abstract boolean hasStatus()

Status of the BGP peer: {UP, DOWN} Check the Status enum for the list of possible values.

optional string status = 181260274;

Returns
TypeDescription
boolean

Whether the status field is set.

hasUptime()

public abstract boolean hasUptime()

Time this session has been up. Format: 14 years, 51 weeks, 6 days, 23 hours, 59 minutes, 59 seconds

optional string uptime = 235379688;

Returns
TypeDescription
boolean

Whether the uptime field is set.

hasUptimeSeconds()

public abstract boolean hasUptimeSeconds()

Time this session has been up, in seconds. Format: 145

optional string uptime_seconds = 104736040;

Returns
TypeDescription
boolean

Whether the uptimeSeconds field is set.