Class RouterStatusBgpPeerStatus (1.6.0-beta)

public final class RouterStatusBgpPeerStatus extends GeneratedMessageV3 implements RouterStatusBgpPeerStatusOrBuilder

Protobuf type google.cloud.compute.v1.RouterStatusBgpPeerStatus

Fields

ADVERTISED_ROUTES_FIELD_NUMBER

public static final int ADVERTISED_ROUTES_FIELD_NUMBER
Field Value
Type Description
int

IP_ADDRESS_FIELD_NUMBER

public static final int IP_ADDRESS_FIELD_NUMBER
Field Value
Type Description
int

LINKED_VPN_TUNNEL_FIELD_NUMBER

public static final int LINKED_VPN_TUNNEL_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

NUM_LEARNED_ROUTES_FIELD_NUMBER

public static final int NUM_LEARNED_ROUTES_FIELD_NUMBER
Field Value
Type Description
int

PEER_IP_ADDRESS_FIELD_NUMBER

public static final int PEER_IP_ADDRESS_FIELD_NUMBER
Field Value
Type Description
int

ROUTER_APPLIANCE_INSTANCE_FIELD_NUMBER

public static final int ROUTER_APPLIANCE_INSTANCE_FIELD_NUMBER
Field Value
Type Description
int

STATE_FIELD_NUMBER

public static final int STATE_FIELD_NUMBER
Field Value
Type Description
int

STATUS_FIELD_NUMBER

public static final int STATUS_FIELD_NUMBER
Field Value
Type Description
int

UPTIME_FIELD_NUMBER

public static final int UPTIME_FIELD_NUMBER
Field Value
Type Description
int

UPTIME_SECONDS_FIELD_NUMBER

public static final int UPTIME_SECONDS_FIELD_NUMBER
Field Value
Type Description
int

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getAdvertisedRoutes(int index)

public Route getAdvertisedRoutes(int index)

Routes that were advertised to the remote BGP peer

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

Parameter
Name Description
index int
Returns
Type Description
Route

getAdvertisedRoutesCount()

public int getAdvertisedRoutesCount()

Routes that were advertised to the remote BGP peer

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

Returns
Type Description
int

getAdvertisedRoutesList()

public List<Route> getAdvertisedRoutesList()

Routes that were advertised to the remote BGP peer

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

Returns
Type Description
List<Route>

getAdvertisedRoutesOrBuilder(int index)

public RouteOrBuilder getAdvertisedRoutesOrBuilder(int index)

Routes that were advertised to the remote BGP peer

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

Parameter
Name Description
index int
Returns
Type Description
RouteOrBuilder

getAdvertisedRoutesOrBuilderList()

public List<? extends RouteOrBuilder> getAdvertisedRoutesOrBuilderList()

Routes that were advertised to the remote BGP peer

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

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

getDefaultInstance()

public static RouterStatusBgpPeerStatus getDefaultInstance()
Returns
Type Description
RouterStatusBgpPeerStatus

getDefaultInstanceForType()

public RouterStatusBgpPeerStatus getDefaultInstanceForType()
Returns
Type Description
RouterStatusBgpPeerStatus

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

getIpAddress()

public String getIpAddress()

IP address of the local BGP interface.

optional string ip_address = 406272220;

Returns
Type Description
String

The ipAddress.

getIpAddressBytes()

public ByteString getIpAddressBytes()

IP address of the local BGP interface.

optional string ip_address = 406272220;

Returns
Type Description
ByteString

The bytes for ipAddress.

getLinkedVpnTunnel()

public String getLinkedVpnTunnel()

URL of the VPN tunnel that this BGP peer controls.

optional string linked_vpn_tunnel = 352296953;

Returns
Type Description
String

The linkedVpnTunnel.

getLinkedVpnTunnelBytes()

public ByteString getLinkedVpnTunnelBytes()

URL of the VPN tunnel that this BGP peer controls.

optional string linked_vpn_tunnel = 352296953;

Returns
Type Description
ByteString

The bytes for linkedVpnTunnel.

getName()

public String getName()

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

optional string name = 3373707;

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

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

optional string name = 3373707;

Returns
Type Description
ByteString

The bytes for name.

getNumLearnedRoutes()

public int getNumLearnedRoutes()

Number of routes learned from the remote BGP Peer.

optional uint32 num_learned_routes = 135457535;

Returns
Type Description
int

The numLearnedRoutes.

getParserForType()

public Parser<RouterStatusBgpPeerStatus> getParserForType()
Returns
Type Description
Parser<RouterStatusBgpPeerStatus>
Overrides

getPeerIpAddress()

public String getPeerIpAddress()

IP address of the remote BGP interface.

optional string peer_ip_address = 207735769;

Returns
Type Description
String

The peerIpAddress.

getPeerIpAddressBytes()

public ByteString getPeerIpAddressBytes()

IP address of the remote BGP interface.

optional string peer_ip_address = 207735769;

Returns
Type Description
ByteString

The bytes for peerIpAddress.

getRouterApplianceInstance()

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

The routerApplianceInstance.

getRouterApplianceInstanceBytes()

public 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
Type Description
ByteString

The bytes for routerApplianceInstance.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getState()

public String getState()

BGP state as specified in RFC1771.

optional string state = 109757585;

Returns
Type Description
String

The state.

getStateBytes()

public ByteString getStateBytes()

BGP state as specified in RFC1771.

optional string state = 109757585;

Returns
Type Description
ByteString

The bytes for state.

getStatus()

public String getStatus()

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

optional string status = 181260274;

Returns
Type Description
String

The status.

getStatusBytes()

public ByteString getStatusBytes()

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

optional string status = 181260274;

Returns
Type Description
ByteString

The bytes for status.

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
Type Description
UnknownFieldSet
Overrides

getUptime()

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

The uptime.

getUptimeBytes()

public 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
Type Description
ByteString

The bytes for uptime.

getUptimeSeconds()

public String getUptimeSeconds()

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

optional string uptime_seconds = 104736040;

Returns
Type Description
String

The uptimeSeconds.

getUptimeSecondsBytes()

public ByteString getUptimeSecondsBytes()

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

optional string uptime_seconds = 104736040;

Returns
Type Description
ByteString

The bytes for uptimeSeconds.

hasIpAddress()

public boolean hasIpAddress()

IP address of the local BGP interface.

optional string ip_address = 406272220;

Returns
Type Description
boolean

Whether the ipAddress field is set.

hasLinkedVpnTunnel()

public boolean hasLinkedVpnTunnel()

URL of the VPN tunnel that this BGP peer controls.

optional string linked_vpn_tunnel = 352296953;

Returns
Type Description
boolean

Whether the linkedVpnTunnel field is set.

hasName()

public boolean hasName()

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

optional string name = 3373707;

Returns
Type Description
boolean

Whether the name field is set.

hasNumLearnedRoutes()

public boolean hasNumLearnedRoutes()

Number of routes learned from the remote BGP Peer.

optional uint32 num_learned_routes = 135457535;

Returns
Type Description
boolean

Whether the numLearnedRoutes field is set.

hasPeerIpAddress()

public boolean hasPeerIpAddress()

IP address of the remote BGP interface.

optional string peer_ip_address = 207735769;

Returns
Type Description
boolean

Whether the peerIpAddress field is set.

hasRouterApplianceInstance()

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

Whether the routerApplianceInstance field is set.

hasState()

public boolean hasState()

BGP state as specified in RFC1771.

optional string state = 109757585;

Returns
Type Description
boolean

Whether the state field is set.

hasStatus()

public boolean hasStatus()

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

optional string status = 181260274;

Returns
Type Description
boolean

Whether the status field is set.

hasUptime()

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

Whether the uptime field is set.

hasUptimeSeconds()

public boolean hasUptimeSeconds()

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

optional string uptime_seconds = 104736040;

Returns
Type Description
boolean

Whether the uptimeSeconds field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilder()

public static RouterStatusBgpPeerStatus.Builder newBuilder()
Returns
Type Description
RouterStatusBgpPeerStatus.Builder

newBuilder(RouterStatusBgpPeerStatus prototype)

public static RouterStatusBgpPeerStatus.Builder newBuilder(RouterStatusBgpPeerStatus prototype)
Parameter
Name Description
prototype RouterStatusBgpPeerStatus
Returns
Type Description
RouterStatusBgpPeerStatus.Builder

newBuilderForType()

public RouterStatusBgpPeerStatus.Builder newBuilderForType()
Returns
Type Description
RouterStatusBgpPeerStatus.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected RouterStatusBgpPeerStatus.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
RouterStatusBgpPeerStatus.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

parseDelimitedFrom(InputStream input)

public static RouterStatusBgpPeerStatus parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
RouterStatusBgpPeerStatus
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RouterStatusBgpPeerStatus parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RouterStatusBgpPeerStatus
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static RouterStatusBgpPeerStatus parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
RouterStatusBgpPeerStatus
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static RouterStatusBgpPeerStatus parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RouterStatusBgpPeerStatus
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static RouterStatusBgpPeerStatus parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
RouterStatusBgpPeerStatus
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static RouterStatusBgpPeerStatus parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RouterStatusBgpPeerStatus
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static RouterStatusBgpPeerStatus parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
RouterStatusBgpPeerStatus
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static RouterStatusBgpPeerStatus parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RouterStatusBgpPeerStatus
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static RouterStatusBgpPeerStatus parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
RouterStatusBgpPeerStatus
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RouterStatusBgpPeerStatus parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RouterStatusBgpPeerStatus
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static RouterStatusBgpPeerStatus parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
RouterStatusBgpPeerStatus
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static RouterStatusBgpPeerStatus parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RouterStatusBgpPeerStatus
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<RouterStatusBgpPeerStatus> parser()
Returns
Type Description
Parser<RouterStatusBgpPeerStatus>

toBuilder()

public RouterStatusBgpPeerStatus.Builder toBuilder()
Returns
Type Description
RouterStatusBgpPeerStatus.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides Exceptions
Type Description
IOException