Class RouterStatusBgpPeerStatus

    • 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
      • 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
      • STATUS_REASON_FIELD_NUMBER

        public static final int STATUS_REASON_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:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
      • hasBfdStatus

        public boolean hasBfdStatus()
        optional .google.cloud.compute.v1.BfdStatus bfd_status = 395631729;
        Specified by:
        hasBfdStatus in interface RouterStatusBgpPeerStatusOrBuilder
        Returns:
        Whether the bfdStatus field is set.
      • 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:
        hasEnableIpv6 in interface RouterStatusBgpPeerStatusOrBuilder
        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:
        getEnableIpv6 in interface RouterStatusBgpPeerStatusOrBuilder
        Returns:
        The enableIpv6.
      • hasIpAddress

        public boolean hasIpAddress()
         IP address of the local BGP interface.
         
        optional string ip_address = 406272220;
        Specified by:
        hasIpAddress in interface RouterStatusBgpPeerStatusOrBuilder
        Returns:
        Whether the ipAddress field is set.
      • getIpAddressBytes

        public com.google.protobuf.ByteString getIpAddressBytes()
         IP address of the local BGP interface.
         
        optional string ip_address = 406272220;
        Specified by:
        getIpAddressBytes in interface RouterStatusBgpPeerStatusOrBuilder
        Returns:
        The bytes for ipAddress.
      • hasIpv6NexthopAddress

        public boolean hasIpv6NexthopAddress()
         IPv6 address of the local BGP interface.
         
        optional string ipv6_nexthop_address = 27968211;
        Specified by:
        hasIpv6NexthopAddress in interface RouterStatusBgpPeerStatusOrBuilder
        Returns:
        Whether the ipv6NexthopAddress field is set.
      • getIpv6NexthopAddressBytes

        public com.google.protobuf.ByteString getIpv6NexthopAddressBytes()
         IPv6 address of the local BGP interface.
         
        optional string ipv6_nexthop_address = 27968211;
        Specified by:
        getIpv6NexthopAddressBytes in interface RouterStatusBgpPeerStatusOrBuilder
        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:
        hasLinkedVpnTunnel in interface RouterStatusBgpPeerStatusOrBuilder
        Returns:
        Whether the linkedVpnTunnel field is set.
      • 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:
        getLinkedVpnTunnelBytes in interface RouterStatusBgpPeerStatusOrBuilder
        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:
        hasMd5AuthEnabled in interface RouterStatusBgpPeerStatusOrBuilder
        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:
        getMd5AuthEnabled in interface RouterStatusBgpPeerStatusOrBuilder
        Returns:
        The md5AuthEnabled.
      • hasName

        public boolean hasName()
         Name of this BGP peer. Unique within the Routers resource.
         
        optional string name = 3373707;
        Specified by:
        hasName in interface RouterStatusBgpPeerStatusOrBuilder
        Returns:
        Whether the name field is set.
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
         Name of this BGP peer. Unique within the Routers resource.
         
        optional string name = 3373707;
        Specified by:
        getNameBytes in interface RouterStatusBgpPeerStatusOrBuilder
        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:
        hasNumLearnedRoutes in interface RouterStatusBgpPeerStatusOrBuilder
        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:
        getNumLearnedRoutes in interface RouterStatusBgpPeerStatusOrBuilder
        Returns:
        The numLearnedRoutes.
      • hasPeerIpAddress

        public boolean hasPeerIpAddress()
         IP address of the remote BGP interface.
         
        optional string peer_ip_address = 207735769;
        Specified by:
        hasPeerIpAddress in interface RouterStatusBgpPeerStatusOrBuilder
        Returns:
        Whether the peerIpAddress field is set.
      • getPeerIpAddressBytes

        public com.google.protobuf.ByteString getPeerIpAddressBytes()
         IP address of the remote BGP interface.
         
        optional string peer_ip_address = 207735769;
        Specified by:
        getPeerIpAddressBytes in interface RouterStatusBgpPeerStatusOrBuilder
        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:
        hasPeerIpv6NexthopAddress in interface RouterStatusBgpPeerStatusOrBuilder
        Returns:
        Whether the peerIpv6NexthopAddress field is set.
      • getPeerIpv6NexthopAddressBytes

        public com.google.protobuf.ByteString getPeerIpv6NexthopAddressBytes()
         IPv6 address of the remote BGP interface.
         
        optional string peer_ipv6_nexthop_address = 491486608;
        Specified by:
        getPeerIpv6NexthopAddressBytes in interface RouterStatusBgpPeerStatusOrBuilder
        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:
        hasRouterApplianceInstance in interface RouterStatusBgpPeerStatusOrBuilder
        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:
        getRouterApplianceInstance in interface RouterStatusBgpPeerStatusOrBuilder
        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:
        getRouterApplianceInstanceBytes in interface RouterStatusBgpPeerStatusOrBuilder
        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:
        hasState in interface RouterStatusBgpPeerStatusOrBuilder
        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:
        getState in interface RouterStatusBgpPeerStatusOrBuilder
        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:
        getStateBytes in interface RouterStatusBgpPeerStatusOrBuilder
        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:
        hasStatus in interface RouterStatusBgpPeerStatusOrBuilder
        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:
        getStatus in interface RouterStatusBgpPeerStatusOrBuilder
        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:
        getStatusBytes in interface RouterStatusBgpPeerStatusOrBuilder
        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:
        hasStatusReason in interface RouterStatusBgpPeerStatusOrBuilder
        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:
        getStatusReason in interface RouterStatusBgpPeerStatusOrBuilder
        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:
        getStatusReasonBytes in interface RouterStatusBgpPeerStatusOrBuilder
        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:
        hasUptime in interface RouterStatusBgpPeerStatusOrBuilder
        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:
        getUptime in interface RouterStatusBgpPeerStatusOrBuilder
        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:
        getUptimeBytes in interface RouterStatusBgpPeerStatusOrBuilder
        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:
        hasUptimeSeconds in interface RouterStatusBgpPeerStatusOrBuilder
        Returns:
        Whether the uptimeSeconds field is set.
      • getUptimeSecondsBytes

        public com.google.protobuf.ByteString getUptimeSecondsBytes()
         Time this session has been up, in seconds. Format: 145
         
        optional string uptime_seconds = 104736040;
        Specified by:
        getUptimeSecondsBytes in interface RouterStatusBgpPeerStatusOrBuilder
        Returns:
        The bytes for uptimeSeconds.
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.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
      • newBuilderForType

        public RouterStatusBgpPeerStatus.Builder newBuilderForType()
        Specified by:
        newBuilderForType in interface com.google.protobuf.Message
        Specified by:
        newBuilderForType in interface com.google.protobuf.MessageLite
      • toBuilder

        public RouterStatusBgpPeerStatus.Builder toBuilder()
        Specified by:
        toBuilder in interface com.google.protobuf.Message
        Specified by:
        toBuilder in interface com.google.protobuf.MessageLite
      • newBuilderForType

        protected RouterStatusBgpPeerStatus.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getParserForType

        public com.google.protobuf.Parser<RouterStatusBgpPeerStatus> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

        public RouterStatusBgpPeerStatus getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder