Package com.google.cloud.compute.v1
Class RouterStatusBgpPeerStatus
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.compute.v1.RouterStatusBgpPeerStatus
-
- All Implemented Interfaces:
RouterStatusBgpPeerStatusOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class RouterStatusBgpPeerStatus extends com.google.protobuf.GeneratedMessageV3 implements RouterStatusBgpPeerStatusOrBuilder
Protobuf typegoogle.cloud.compute.v1.RouterStatusBgpPeerStatus- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRouterStatusBgpPeerStatus.Builderstatic classRouterStatusBgpPeerStatus.StatusStatus of the BGP peer: {UP, DOWN}static classRouterStatusBgpPeerStatus.StatusReasonIndicates why particular status was returned.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intADVERTISED_ROUTES_FIELD_NUMBERstatic intBFD_STATUS_FIELD_NUMBERstatic intENABLE_IPV6_FIELD_NUMBERstatic intIP_ADDRESS_FIELD_NUMBERstatic intIPV6_NEXTHOP_ADDRESS_FIELD_NUMBERstatic intLINKED_VPN_TUNNEL_FIELD_NUMBERstatic intMD5_AUTH_ENABLED_FIELD_NUMBERstatic intNAME_FIELD_NUMBERstatic intNUM_LEARNED_ROUTES_FIELD_NUMBERstatic intPEER_IP_ADDRESS_FIELD_NUMBERstatic intPEER_IPV6_NEXTHOP_ADDRESS_FIELD_NUMBERstatic intROUTER_APPLIANCE_INSTANCE_FIELD_NUMBERstatic intSTATE_FIELD_NUMBERstatic intSTATUS_FIELD_NUMBERstatic intSTATUS_REASON_FIELD_NUMBERstatic intUPTIME_FIELD_NUMBERstatic intUPTIME_SECONDS_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)RoutegetAdvertisedRoutes(int index)Routes that were advertised to the remote BGP peerintgetAdvertisedRoutesCount()Routes that were advertised to the remote BGP peerList<Route>getAdvertisedRoutesList()Routes that were advertised to the remote BGP peerRouteOrBuildergetAdvertisedRoutesOrBuilder(int index)Routes that were advertised to the remote BGP peerList<? extends RouteOrBuilder>getAdvertisedRoutesOrBuilderList()Routes that were advertised to the remote BGP peerBfdStatusgetBfdStatus()optional .google.cloud.compute.v1.BfdStatus bfd_status = 395631729;BfdStatusOrBuildergetBfdStatusOrBuilder()optional .google.cloud.compute.v1.BfdStatus bfd_status = 395631729;static RouterStatusBgpPeerStatusgetDefaultInstance()RouterStatusBgpPeerStatusgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()booleangetEnableIpv6()Enable IPv6 traffic over BGP Peer.StringgetIpAddress()IP address of the local BGP interface.com.google.protobuf.ByteStringgetIpAddressBytes()IP address of the local BGP interface.StringgetIpv6NexthopAddress()IPv6 address of the local BGP interface.com.google.protobuf.ByteStringgetIpv6NexthopAddressBytes()IPv6 address of the local BGP interface.StringgetLinkedVpnTunnel()URL of the VPN tunnel that this BGP peer controls.com.google.protobuf.ByteStringgetLinkedVpnTunnelBytes()URL of the VPN tunnel that this BGP peer controls.booleangetMd5AuthEnabled()Informs whether MD5 authentication is enabled on this BGP peer.StringgetName()Name of this BGP peer.com.google.protobuf.ByteStringgetNameBytes()Name of this BGP peer.intgetNumLearnedRoutes()Number of routes learned from the remote BGP Peer.com.google.protobuf.Parser<RouterStatusBgpPeerStatus>getParserForType()StringgetPeerIpAddress()IP address of the remote BGP interface.com.google.protobuf.ByteStringgetPeerIpAddressBytes()IP address of the remote BGP interface.StringgetPeerIpv6NexthopAddress()IPv6 address of the remote BGP interface.com.google.protobuf.ByteStringgetPeerIpv6NexthopAddressBytes()IPv6 address of the remote BGP interface.StringgetRouterApplianceInstance()[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.com.google.protobuf.ByteStringgetRouterApplianceInstanceBytes()[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.intgetSerializedSize()StringgetState()The state of the BGP session.com.google.protobuf.ByteStringgetStateBytes()The state of the BGP session.StringgetStatus()Status of the BGP peer: {UP, DOWN} Check the Status enum for the list of possible values.com.google.protobuf.ByteStringgetStatusBytes()Status of the BGP peer: {UP, DOWN} Check the Status enum for the list of possible values.StringgetStatusReason()Indicates why particular status was returned.com.google.protobuf.ByteStringgetStatusReasonBytes()Indicates why particular status was returned.StringgetUptime()Time this session has been up.com.google.protobuf.ByteStringgetUptimeBytes()Time this session has been up.StringgetUptimeSeconds()Time this session has been up, in seconds.com.google.protobuf.ByteStringgetUptimeSecondsBytes()Time this session has been up, in seconds.booleanhasBfdStatus()optional .google.cloud.compute.v1.BfdStatus bfd_status = 395631729;booleanhasEnableIpv6()Enable IPv6 traffic over BGP Peer.inthashCode()booleanhasIpAddress()IP address of the local BGP interface.booleanhasIpv6NexthopAddress()IPv6 address of the local BGP interface.booleanhasLinkedVpnTunnel()URL of the VPN tunnel that this BGP peer controls.booleanhasMd5AuthEnabled()Informs whether MD5 authentication is enabled on this BGP peer.booleanhasName()Name of this BGP peer.booleanhasNumLearnedRoutes()Number of routes learned from the remote BGP Peer.booleanhasPeerIpAddress()IP address of the remote BGP interface.booleanhasPeerIpv6NexthopAddress()IPv6 address of the remote BGP interface.booleanhasRouterApplianceInstance()[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.booleanhasState()The state of the BGP session.booleanhasStatus()Status of the BGP peer: {UP, DOWN} Check the Status enum for the list of possible values.booleanhasStatusReason()Indicates why particular status was returned.booleanhasUptime()Time this session has been up.booleanhasUptimeSeconds()Time this session has been up, in seconds.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static RouterStatusBgpPeerStatus.BuildernewBuilder()static RouterStatusBgpPeerStatus.BuildernewBuilder(RouterStatusBgpPeerStatus prototype)RouterStatusBgpPeerStatus.BuildernewBuilderForType()protected RouterStatusBgpPeerStatus.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static RouterStatusBgpPeerStatusparseDelimitedFrom(InputStream input)static RouterStatusBgpPeerStatusparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static RouterStatusBgpPeerStatusparseFrom(byte[] data)static RouterStatusBgpPeerStatusparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static RouterStatusBgpPeerStatusparseFrom(com.google.protobuf.ByteString data)static RouterStatusBgpPeerStatusparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static RouterStatusBgpPeerStatusparseFrom(com.google.protobuf.CodedInputStream input)static RouterStatusBgpPeerStatusparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static RouterStatusBgpPeerStatusparseFrom(InputStream input)static RouterStatusBgpPeerStatusparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static RouterStatusBgpPeerStatusparseFrom(ByteBuffer data)static RouterStatusBgpPeerStatusparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<RouterStatusBgpPeerStatus>parser()RouterStatusBgpPeerStatus.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
ADVERTISED_ROUTES_FIELD_NUMBER
public static final int ADVERTISED_ROUTES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
BFD_STATUS_FIELD_NUMBER
public static final int BFD_STATUS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ENABLE_IPV6_FIELD_NUMBER
public static final int ENABLE_IPV6_FIELD_NUMBER
- See Also:
- Constant Field Values
-
IP_ADDRESS_FIELD_NUMBER
public static final int IP_ADDRESS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
IPV6_NEXTHOP_ADDRESS_FIELD_NUMBER
public static final int IPV6_NEXTHOP_ADDRESS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LINKED_VPN_TUNNEL_FIELD_NUMBER
public static final int LINKED_VPN_TUNNEL_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MD5_AUTH_ENABLED_FIELD_NUMBER
public static final int MD5_AUTH_ENABLED_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NUM_LEARNED_ROUTES_FIELD_NUMBER
public static final int NUM_LEARNED_ROUTES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PEER_IP_ADDRESS_FIELD_NUMBER
public static final int PEER_IP_ADDRESS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PEER_IPV6_NEXTHOP_ADDRESS_FIELD_NUMBER
public static final int PEER_IPV6_NEXTHOP_ADDRESS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ROUTER_APPLIANCE_INSTANCE_FIELD_NUMBER
public static final int ROUTER_APPLIANCE_INSTANCE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STATUS_FIELD_NUMBER
public static final int STATUS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STATUS_REASON_FIELD_NUMBER
public static final int STATUS_REASON_FIELD_NUMBER
- See Also:
- Constant Field Values
-
UPTIME_FIELD_NUMBER
public static final int UPTIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
UPTIME_SECONDS_FIELD_NUMBER
public static final int UPTIME_SECONDS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getAdvertisedRoutesList
public List<Route> getAdvertisedRoutesList()
Routes that were advertised to the remote BGP peer
repeated .google.cloud.compute.v1.Route advertised_routes = 333393068;- Specified by:
getAdvertisedRoutesListin interfaceRouterStatusBgpPeerStatusOrBuilder
-
getAdvertisedRoutesOrBuilderList
public List<? extends RouteOrBuilder> getAdvertisedRoutesOrBuilderList()
Routes that were advertised to the remote BGP peer
repeated .google.cloud.compute.v1.Route advertised_routes = 333393068;- Specified by:
getAdvertisedRoutesOrBuilderListin interfaceRouterStatusBgpPeerStatusOrBuilder
-
getAdvertisedRoutesCount
public int getAdvertisedRoutesCount()
Routes that were advertised to the remote BGP peer
repeated .google.cloud.compute.v1.Route advertised_routes = 333393068;- Specified by:
getAdvertisedRoutesCountin interfaceRouterStatusBgpPeerStatusOrBuilder
-
getAdvertisedRoutes
public Route getAdvertisedRoutes(int index)
Routes that were advertised to the remote BGP peer
repeated .google.cloud.compute.v1.Route advertised_routes = 333393068;- Specified by:
getAdvertisedRoutesin interfaceRouterStatusBgpPeerStatusOrBuilder
-
getAdvertisedRoutesOrBuilder
public RouteOrBuilder getAdvertisedRoutesOrBuilder(int index)
Routes that were advertised to the remote BGP peer
repeated .google.cloud.compute.v1.Route advertised_routes = 333393068;- Specified by:
getAdvertisedRoutesOrBuilderin interfaceRouterStatusBgpPeerStatusOrBuilder
-
hasBfdStatus
public boolean hasBfdStatus()
optional .google.cloud.compute.v1.BfdStatus bfd_status = 395631729;- Specified by:
hasBfdStatusin interfaceRouterStatusBgpPeerStatusOrBuilder- Returns:
- Whether the bfdStatus field is set.
-
getBfdStatus
public BfdStatus getBfdStatus()
optional .google.cloud.compute.v1.BfdStatus bfd_status = 395631729;- Specified by:
getBfdStatusin interfaceRouterStatusBgpPeerStatusOrBuilder- Returns:
- The bfdStatus.
-
getBfdStatusOrBuilder
public BfdStatusOrBuilder getBfdStatusOrBuilder()
optional .google.cloud.compute.v1.BfdStatus bfd_status = 395631729;- Specified by:
getBfdStatusOrBuilderin interfaceRouterStatusBgpPeerStatusOrBuilder
-
hasEnableIpv6
public boolean hasEnableIpv6()
Enable IPv6 traffic over BGP Peer. If not specified, it is disabled by default.
optional bool enable_ipv6 = 181467939;- Specified by:
hasEnableIpv6in interfaceRouterStatusBgpPeerStatusOrBuilder- Returns:
- Whether the enableIpv6 field is set.
-
getEnableIpv6
public boolean getEnableIpv6()
Enable IPv6 traffic over BGP Peer. If not specified, it is disabled by default.
optional bool enable_ipv6 = 181467939;- Specified by:
getEnableIpv6in interfaceRouterStatusBgpPeerStatusOrBuilder- Returns:
- The enableIpv6.
-
hasIpAddress
public boolean hasIpAddress()
IP address of the local BGP interface.
optional string ip_address = 406272220;- Specified by:
hasIpAddressin interfaceRouterStatusBgpPeerStatusOrBuilder- Returns:
- Whether the ipAddress field is set.
-
getIpAddress
public String getIpAddress()
IP address of the local BGP interface.
optional string ip_address = 406272220;- Specified by:
getIpAddressin interfaceRouterStatusBgpPeerStatusOrBuilder- Returns:
- The ipAddress.
-
getIpAddressBytes
public com.google.protobuf.ByteString getIpAddressBytes()
IP address of the local BGP interface.
optional string ip_address = 406272220;- Specified by:
getIpAddressBytesin interfaceRouterStatusBgpPeerStatusOrBuilder- Returns:
- The bytes for ipAddress.
-
hasIpv6NexthopAddress
public boolean hasIpv6NexthopAddress()
IPv6 address of the local BGP interface.
optional string ipv6_nexthop_address = 27968211;- Specified by:
hasIpv6NexthopAddressin interfaceRouterStatusBgpPeerStatusOrBuilder- Returns:
- Whether the ipv6NexthopAddress field is set.
-
getIpv6NexthopAddress
public String getIpv6NexthopAddress()
IPv6 address of the local BGP interface.
optional string ipv6_nexthop_address = 27968211;- Specified by:
getIpv6NexthopAddressin interfaceRouterStatusBgpPeerStatusOrBuilder- Returns:
- The ipv6NexthopAddress.
-
getIpv6NexthopAddressBytes
public com.google.protobuf.ByteString getIpv6NexthopAddressBytes()
IPv6 address of the local BGP interface.
optional string ipv6_nexthop_address = 27968211;- Specified by:
getIpv6NexthopAddressBytesin interfaceRouterStatusBgpPeerStatusOrBuilder- Returns:
- The bytes for ipv6NexthopAddress.
-
hasLinkedVpnTunnel
public boolean hasLinkedVpnTunnel()
URL of the VPN tunnel that this BGP peer controls.
optional string linked_vpn_tunnel = 352296953;- Specified by:
hasLinkedVpnTunnelin interfaceRouterStatusBgpPeerStatusOrBuilder- Returns:
- Whether the linkedVpnTunnel field is set.
-
getLinkedVpnTunnel
public String getLinkedVpnTunnel()
URL of the VPN tunnel that this BGP peer controls.
optional string linked_vpn_tunnel = 352296953;- Specified by:
getLinkedVpnTunnelin interfaceRouterStatusBgpPeerStatusOrBuilder- Returns:
- The linkedVpnTunnel.
-
getLinkedVpnTunnelBytes
public com.google.protobuf.ByteString getLinkedVpnTunnelBytes()
URL of the VPN tunnel that this BGP peer controls.
optional string linked_vpn_tunnel = 352296953;- Specified by:
getLinkedVpnTunnelBytesin interfaceRouterStatusBgpPeerStatusOrBuilder- Returns:
- The bytes for linkedVpnTunnel.
-
hasMd5AuthEnabled
public boolean hasMd5AuthEnabled()
Informs whether MD5 authentication is enabled on this BGP peer.
optional bool md5_auth_enabled = 451152075;- Specified by:
hasMd5AuthEnabledin interfaceRouterStatusBgpPeerStatusOrBuilder- Returns:
- Whether the md5AuthEnabled field is set.
-
getMd5AuthEnabled
public boolean getMd5AuthEnabled()
Informs whether MD5 authentication is enabled on this BGP peer.
optional bool md5_auth_enabled = 451152075;- Specified by:
getMd5AuthEnabledin interfaceRouterStatusBgpPeerStatusOrBuilder- Returns:
- The md5AuthEnabled.
-
hasName
public boolean hasName()
Name of this BGP peer. Unique within the Routers resource.
optional string name = 3373707;- Specified by:
hasNamein interfaceRouterStatusBgpPeerStatusOrBuilder- Returns:
- Whether the name field is set.
-
getName
public String getName()
Name of this BGP peer. Unique within the Routers resource.
optional string name = 3373707;- Specified by:
getNamein interfaceRouterStatusBgpPeerStatusOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
Name of this BGP peer. Unique within the Routers resource.
optional string name = 3373707;- Specified by:
getNameBytesin interfaceRouterStatusBgpPeerStatusOrBuilder- Returns:
- The bytes for name.
-
hasNumLearnedRoutes
public boolean hasNumLearnedRoutes()
Number of routes learned from the remote BGP Peer.
optional uint32 num_learned_routes = 135457535;- Specified by:
hasNumLearnedRoutesin interfaceRouterStatusBgpPeerStatusOrBuilder- Returns:
- Whether the numLearnedRoutes field is set.
-
getNumLearnedRoutes
public int getNumLearnedRoutes()
Number of routes learned from the remote BGP Peer.
optional uint32 num_learned_routes = 135457535;- Specified by:
getNumLearnedRoutesin interfaceRouterStatusBgpPeerStatusOrBuilder- Returns:
- The numLearnedRoutes.
-
hasPeerIpAddress
public boolean hasPeerIpAddress()
IP address of the remote BGP interface.
optional string peer_ip_address = 207735769;- Specified by:
hasPeerIpAddressin interfaceRouterStatusBgpPeerStatusOrBuilder- Returns:
- Whether the peerIpAddress field is set.
-
getPeerIpAddress
public String getPeerIpAddress()
IP address of the remote BGP interface.
optional string peer_ip_address = 207735769;- Specified by:
getPeerIpAddressin interfaceRouterStatusBgpPeerStatusOrBuilder- Returns:
- The peerIpAddress.
-
getPeerIpAddressBytes
public com.google.protobuf.ByteString getPeerIpAddressBytes()
IP address of the remote BGP interface.
optional string peer_ip_address = 207735769;- Specified by:
getPeerIpAddressBytesin interfaceRouterStatusBgpPeerStatusOrBuilder- Returns:
- The bytes for peerIpAddress.
-
hasPeerIpv6NexthopAddress
public boolean hasPeerIpv6NexthopAddress()
IPv6 address of the remote BGP interface.
optional string peer_ipv6_nexthop_address = 491486608;- Specified by:
hasPeerIpv6NexthopAddressin interfaceRouterStatusBgpPeerStatusOrBuilder- Returns:
- Whether the peerIpv6NexthopAddress field is set.
-
getPeerIpv6NexthopAddress
public String getPeerIpv6NexthopAddress()
IPv6 address of the remote BGP interface.
optional string peer_ipv6_nexthop_address = 491486608;- Specified by:
getPeerIpv6NexthopAddressin interfaceRouterStatusBgpPeerStatusOrBuilder- Returns:
- The peerIpv6NexthopAddress.
-
getPeerIpv6NexthopAddressBytes
public com.google.protobuf.ByteString getPeerIpv6NexthopAddressBytes()
IPv6 address of the remote BGP interface.
optional string peer_ipv6_nexthop_address = 491486608;- Specified by:
getPeerIpv6NexthopAddressBytesin interfaceRouterStatusBgpPeerStatusOrBuilder- Returns:
- The bytes for peerIpv6NexthopAddress.
-
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;- Specified by:
hasRouterApplianceInstancein interfaceRouterStatusBgpPeerStatusOrBuilder- Returns:
- Whether the routerApplianceInstance field is set.
-
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;- Specified by:
getRouterApplianceInstancein interfaceRouterStatusBgpPeerStatusOrBuilder- Returns:
- The routerApplianceInstance.
-
getRouterApplianceInstanceBytes
public com.google.protobuf.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;- Specified by:
getRouterApplianceInstanceBytesin interfaceRouterStatusBgpPeerStatusOrBuilder- Returns:
- The bytes for routerApplianceInstance.
-
hasState
public boolean hasState()
The state of the BGP session. For a list of possible values for this field, see BGP session states.
optional string state = 109757585;- Specified by:
hasStatein interfaceRouterStatusBgpPeerStatusOrBuilder- Returns:
- Whether the state field is set.
-
getState
public String getState()
The state of the BGP session. For a list of possible values for this field, see BGP session states.
optional string state = 109757585;- Specified by:
getStatein interfaceRouterStatusBgpPeerStatusOrBuilder- Returns:
- The state.
-
getStateBytes
public com.google.protobuf.ByteString getStateBytes()
The state of the BGP session. For a list of possible values for this field, see BGP session states.
optional string state = 109757585;- Specified by:
getStateBytesin interfaceRouterStatusBgpPeerStatusOrBuilder- Returns:
- The bytes for state.
-
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;- Specified by:
hasStatusin interfaceRouterStatusBgpPeerStatusOrBuilder- Returns:
- Whether the status field is set.
-
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;- Specified by:
getStatusin interfaceRouterStatusBgpPeerStatusOrBuilder- Returns:
- The status.
-
getStatusBytes
public com.google.protobuf.ByteString getStatusBytes()
Status of the BGP peer: {UP, DOWN} Check the Status enum for the list of possible values.optional string status = 181260274;- Specified by:
getStatusBytesin interfaceRouterStatusBgpPeerStatusOrBuilder- Returns:
- The bytes for status.
-
hasStatusReason
public boolean hasStatusReason()
Indicates why particular status was returned. Check the StatusReason enum for the list of possible values.
optional string status_reason = 342706993;- Specified by:
hasStatusReasonin interfaceRouterStatusBgpPeerStatusOrBuilder- Returns:
- Whether the statusReason field is set.
-
getStatusReason
public String getStatusReason()
Indicates why particular status was returned. Check the StatusReason enum for the list of possible values.
optional string status_reason = 342706993;- Specified by:
getStatusReasonin interfaceRouterStatusBgpPeerStatusOrBuilder- Returns:
- The statusReason.
-
getStatusReasonBytes
public com.google.protobuf.ByteString getStatusReasonBytes()
Indicates why particular status was returned. Check the StatusReason enum for the list of possible values.
optional string status_reason = 342706993;- Specified by:
getStatusReasonBytesin interfaceRouterStatusBgpPeerStatusOrBuilder- Returns:
- The bytes for statusReason.
-
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;- Specified by:
hasUptimein interfaceRouterStatusBgpPeerStatusOrBuilder- Returns:
- Whether the uptime field is set.
-
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;- Specified by:
getUptimein interfaceRouterStatusBgpPeerStatusOrBuilder- Returns:
- The uptime.
-
getUptimeBytes
public com.google.protobuf.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;- Specified by:
getUptimeBytesin interfaceRouterStatusBgpPeerStatusOrBuilder- Returns:
- The bytes for uptime.
-
hasUptimeSeconds
public boolean hasUptimeSeconds()
Time this session has been up, in seconds. Format: 145
optional string uptime_seconds = 104736040;- Specified by:
hasUptimeSecondsin interfaceRouterStatusBgpPeerStatusOrBuilder- Returns:
- Whether the uptimeSeconds field is set.
-
getUptimeSeconds
public String getUptimeSeconds()
Time this session has been up, in seconds. Format: 145
optional string uptime_seconds = 104736040;- Specified by:
getUptimeSecondsin interfaceRouterStatusBgpPeerStatusOrBuilder- Returns:
- The uptimeSeconds.
-
getUptimeSecondsBytes
public com.google.protobuf.ByteString getUptimeSecondsBytes()
Time this session has been up, in seconds. Format: 145
optional string uptime_seconds = 104736040;- Specified by:
getUptimeSecondsBytesin interfaceRouterStatusBgpPeerStatusOrBuilder- Returns:
- The bytes for uptimeSeconds.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static RouterStatusBgpPeerStatus parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RouterStatusBgpPeerStatus parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RouterStatusBgpPeerStatus parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RouterStatusBgpPeerStatus parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RouterStatusBgpPeerStatus parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RouterStatusBgpPeerStatus parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RouterStatusBgpPeerStatus parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static RouterStatusBgpPeerStatus parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static RouterStatusBgpPeerStatus parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static RouterStatusBgpPeerStatus parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static RouterStatusBgpPeerStatus parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static RouterStatusBgpPeerStatus parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public RouterStatusBgpPeerStatus.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static RouterStatusBgpPeerStatus.Builder newBuilder()
-
newBuilder
public static RouterStatusBgpPeerStatus.Builder newBuilder(RouterStatusBgpPeerStatus prototype)
-
toBuilder
public RouterStatusBgpPeerStatus.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected RouterStatusBgpPeerStatus.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static RouterStatusBgpPeerStatus getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<RouterStatusBgpPeerStatus> parser()
-
getParserForType
public com.google.protobuf.Parser<RouterStatusBgpPeerStatus> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public RouterStatusBgpPeerStatus getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-