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
IP_ADDRESS_FIELD_NUMBER
public static final int IP_ADDRESS_FIELD_NUMBER
Field Value
LINKED_VPN_TUNNEL_FIELD_NUMBER
public static final int LINKED_VPN_TUNNEL_FIELD_NUMBER
Field Value
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value
NUM_LEARNED_ROUTES_FIELD_NUMBER
public static final int NUM_LEARNED_ROUTES_FIELD_NUMBER
Field Value
PEER_IP_ADDRESS_FIELD_NUMBER
public static final int PEER_IP_ADDRESS_FIELD_NUMBER
Field Value
ROUTER_APPLIANCE_INSTANCE_FIELD_NUMBER
public static final int ROUTER_APPLIANCE_INSTANCE_FIELD_NUMBER
Field Value
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
Field Value
STATUS_FIELD_NUMBER
public static final int STATUS_FIELD_NUMBER
Field Value
UPTIME_FIELD_NUMBER
public static final int UPTIME_FIELD_NUMBER
Field Value
UPTIME_SECONDS_FIELD_NUMBER
public static final int UPTIME_SECONDS_FIELD_NUMBER
Field Value
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
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
Returns
getAdvertisedRoutesCount()
public int getAdvertisedRoutesCount()
Routes that were advertised to the remote BGP peer
repeated .google.cloud.compute.v1.Route advertised_routes = 333393068;
Returns
getAdvertisedRoutesList()
public List<Route> getAdvertisedRoutesList()
Routes that were advertised to the remote BGP peer
repeated .google.cloud.compute.v1.Route advertised_routes = 333393068;
Returns
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
Returns
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
getDefaultInstanceForType()
public RouterStatusBgpPeerStatus getDefaultInstanceForType()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
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
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()
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
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
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
Overrides
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
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
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
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
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()
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()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilder()
public static RouterStatusBgpPeerStatus.Builder newBuilder()
Returns
newBuilder(RouterStatusBgpPeerStatus prototype)
public static RouterStatusBgpPeerStatus.Builder newBuilder(RouterStatusBgpPeerStatus prototype)
Parameter
Returns
newBuilderForType()
public RouterStatusBgpPeerStatus.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected RouterStatusBgpPeerStatus.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public static RouterStatusBgpPeerStatus parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static RouterStatusBgpPeerStatus parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static RouterStatusBgpPeerStatus parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static RouterStatusBgpPeerStatus parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static RouterStatusBgpPeerStatus parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static RouterStatusBgpPeerStatus parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static RouterStatusBgpPeerStatus parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static RouterStatusBgpPeerStatus parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static RouterStatusBgpPeerStatus parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static RouterStatusBgpPeerStatus parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static RouterStatusBgpPeerStatus parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static RouterStatusBgpPeerStatus parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<RouterStatusBgpPeerStatus> parser()
Returns
toBuilder()
public RouterStatusBgpPeerStatus.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions