public static interface RouterStatus.BgpPeerStatusOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getIpAddress()
public abstract String getIpAddress()IP address of the local BGP interface.
 string ip_address = 2;
| Returns | |
|---|---|
| Type | Description | 
| String | The ipAddress. | 
getIpAddressBytes()
public abstract ByteString getIpAddressBytes()IP address of the local BGP interface.
 string ip_address = 2;
| Returns | |
|---|---|
| Type | Description | 
| ByteString | The bytes for ipAddress. | 
getName()
public abstract String getName()Name of this BGP peer. Unique within the Routers resource.
 string name = 1;
| Returns | |
|---|---|
| Type | Description | 
| String | The name. | 
getNameBytes()
public abstract ByteString getNameBytes()Name of this BGP peer. Unique within the Routers resource.
 string name = 1;
| Returns | |
|---|---|
| Type | Description | 
| ByteString | The bytes for name. | 
getPeerIpAddress()
public abstract String getPeerIpAddress()IP address of the remote BGP interface.
 string peer_ip_address = 3;
| Returns | |
|---|---|
| Type | Description | 
| String | The peerIpAddress. | 
getPeerIpAddressBytes()
public abstract ByteString getPeerIpAddressBytes()IP address of the remote BGP interface.
 string peer_ip_address = 3;
| Returns | |
|---|---|
| Type | Description | 
| 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 | |
|---|---|
| Type | Description | 
| 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 | |
|---|---|
| Type | Description | 
| RouterStatus.PrefixCounterOrBuilder | |
getState()
public abstract String getState()BGP state as specified in RFC1771.
 string state = 5;
| Returns | |
|---|---|
| Type | Description | 
| String | The state. | 
getStateBytes()
public abstract ByteString getStateBytes()BGP state as specified in RFC1771.
 string state = 5;
| Returns | |
|---|---|
| Type | Description | 
| 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 | |
|---|---|
| Type | Description | 
| 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 | |
|---|---|
| Type | Description | 
| 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 | |
|---|---|
| Type | Description | 
| 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 | |
|---|---|
| Type | Description | 
| ByteString | The bytes for uptime. | 
getUptimeSeconds()
public abstract long getUptimeSeconds()Time this session has been up, in seconds.
 int64 uptime_seconds = 7;
| Returns | |
|---|---|
| Type | Description | 
| long | The uptimeSeconds. | 
hasPrefixCounter()
public abstract boolean hasPrefixCounter()A collection of counts for prefixes.
 .google.cloud.edgenetwork.v1.RouterStatus.PrefixCounter prefix_counter = 8;
| Returns | |
|---|---|
| Type | Description | 
| boolean | Whether the prefixCounter field is set. |