Interface RouterStatus.BgpPeerStatusOrBuilder (0.8.0)

public static interface RouterStatus.BgpPeerStatusOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getIpAddress()

public abstract String getIpAddress()

IP address of the local BGP interface.

string ip_address = 2;

Returns
TypeDescription
String

The ipAddress.

getIpAddressBytes()

public abstract ByteString getIpAddressBytes()

IP address of the local BGP interface.

string ip_address = 2;

Returns
TypeDescription
ByteString

The bytes for ipAddress.

getName()

public abstract String getName()

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

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

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

string name = 1;

Returns
TypeDescription
ByteString

The bytes for name.

getPeerIpAddress()

public abstract String getPeerIpAddress()

IP address of the remote BGP interface.

string peer_ip_address = 3;

Returns
TypeDescription
String

The peerIpAddress.

getPeerIpAddressBytes()

public abstract ByteString getPeerIpAddressBytes()

IP address of the remote BGP interface.

string peer_ip_address = 3;

Returns
TypeDescription
ByteString

The bytes for peerIpAddress.

getPrefixCounter()

public abstract RouterStatus.PrefixCounter getPrefixCounter()

A collection of counts for prefixes.

.google.cloud.edgenetwork.v1.RouterStatus.PrefixCounter prefix_counter = 8;

Returns
TypeDescription
RouterStatus.PrefixCounter

The prefixCounter.

getPrefixCounterOrBuilder()

public abstract RouterStatus.PrefixCounterOrBuilder getPrefixCounterOrBuilder()

A collection of counts for prefixes.

.google.cloud.edgenetwork.v1.RouterStatus.PrefixCounter prefix_counter = 8;

Returns
TypeDescription
RouterStatus.PrefixCounterOrBuilder

getState()

public abstract String getState()

BGP state as specified in RFC1771.

string state = 5;

Returns
TypeDescription
String

The state.

getStateBytes()

public abstract ByteString getStateBytes()

BGP state as specified in RFC1771.

string state = 5;

Returns
TypeDescription
ByteString

The bytes for state.

getStatus()

public abstract RouterStatus.BgpPeerStatus.BgpStatus getStatus()

The current status of BGP.

.google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus.BgpStatus status = 4;

Returns
TypeDescription
RouterStatus.BgpPeerStatus.BgpStatus

The status.

getStatusValue()

public abstract int getStatusValue()

The current status of BGP.

.google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus.BgpStatus status = 4;

Returns
TypeDescription
int

The enum numeric value on the wire 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

string uptime = 6;

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

string uptime = 6;

Returns
TypeDescription
ByteString

The bytes for uptime.

getUptimeSeconds()

public abstract long getUptimeSeconds()

Time this session has been up, in seconds.

int64 uptime_seconds = 7;

Returns
TypeDescription
long

The uptimeSeconds.

hasPrefixCounter()

public abstract boolean hasPrefixCounter()

A collection of counts for prefixes.

.google.cloud.edgenetwork.v1.RouterStatus.PrefixCounter prefix_counter = 8;

Returns
TypeDescription
boolean

Whether the prefixCounter field is set.