Class BfdStatus

  • All Implemented Interfaces:
    BfdStatusOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

    public final class BfdStatus
    extends com.google.protobuf.GeneratedMessageV3
    implements BfdStatusOrBuilder
     Next free: 15
     
    Protobuf type google.cloud.compute.v1.BfdStatus
    See Also:
    Serialized Form
    • Field Detail

      • BFD_SESSION_INITIALIZATION_MODE_FIELD_NUMBER

        public static final int BFD_SESSION_INITIALIZATION_MODE_FIELD_NUMBER
        See Also:
        Constant Field Values
      • CONFIG_UPDATE_TIMESTAMP_MICROS_FIELD_NUMBER

        public static final int CONFIG_UPDATE_TIMESTAMP_MICROS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • CONTROL_PACKET_COUNTS_FIELD_NUMBER

        public static final int CONTROL_PACKET_COUNTS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • CONTROL_PACKET_INTERVALS_FIELD_NUMBER

        public static final int CONTROL_PACKET_INTERVALS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • LOCAL_DIAGNOSTIC_FIELD_NUMBER

        public static final int LOCAL_DIAGNOSTIC_FIELD_NUMBER
        See Also:
        Constant Field Values
      • LOCAL_STATE_FIELD_NUMBER

        public static final int LOCAL_STATE_FIELD_NUMBER
        See Also:
        Constant Field Values
      • NEGOTIATED_LOCAL_CONTROL_TX_INTERVAL_MS_FIELD_NUMBER

        public static final int NEGOTIATED_LOCAL_CONTROL_TX_INTERVAL_MS_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
      • hasBfdSessionInitializationMode

        public boolean hasBfdSessionInitializationMode()
         The BFD session initialization mode for this BGP peer. If set to ACTIVE, the Cloud Router will initiate the BFD session for this BGP peer. If set to PASSIVE, the Cloud Router will wait for the peer router to initiate the BFD session for this BGP peer. If set to DISABLED, BFD is disabled for this BGP peer.
         Check the BfdSessionInitializationMode enum for the list of possible values.
         
        optional string bfd_session_initialization_mode = 218156954;
        Specified by:
        hasBfdSessionInitializationMode in interface BfdStatusOrBuilder
        Returns:
        Whether the bfdSessionInitializationMode field is set.
      • getBfdSessionInitializationMode

        public String getBfdSessionInitializationMode()
         The BFD session initialization mode for this BGP peer. If set to ACTIVE, the Cloud Router will initiate the BFD session for this BGP peer. If set to PASSIVE, the Cloud Router will wait for the peer router to initiate the BFD session for this BGP peer. If set to DISABLED, BFD is disabled for this BGP peer.
         Check the BfdSessionInitializationMode enum for the list of possible values.
         
        optional string bfd_session_initialization_mode = 218156954;
        Specified by:
        getBfdSessionInitializationMode in interface BfdStatusOrBuilder
        Returns:
        The bfdSessionInitializationMode.
      • getBfdSessionInitializationModeBytes

        public com.google.protobuf.ByteString getBfdSessionInitializationModeBytes()
         The BFD session initialization mode for this BGP peer. If set to ACTIVE, the Cloud Router will initiate the BFD session for this BGP peer. If set to PASSIVE, the Cloud Router will wait for the peer router to initiate the BFD session for this BGP peer. If set to DISABLED, BFD is disabled for this BGP peer.
         Check the BfdSessionInitializationMode enum for the list of possible values.
         
        optional string bfd_session_initialization_mode = 218156954;
        Specified by:
        getBfdSessionInitializationModeBytes in interface BfdStatusOrBuilder
        Returns:
        The bytes for bfdSessionInitializationMode.
      • hasConfigUpdateTimestampMicros

        public boolean hasConfigUpdateTimestampMicros()
         Unix timestamp of the most recent config update.
         
        optional int64 config_update_timestamp_micros = 457195569;
        Specified by:
        hasConfigUpdateTimestampMicros in interface BfdStatusOrBuilder
        Returns:
        Whether the configUpdateTimestampMicros field is set.
      • getConfigUpdateTimestampMicros

        public long getConfigUpdateTimestampMicros()
         Unix timestamp of the most recent config update.
         
        optional int64 config_update_timestamp_micros = 457195569;
        Specified by:
        getConfigUpdateTimestampMicros in interface BfdStatusOrBuilder
        Returns:
        The configUpdateTimestampMicros.
      • hasControlPacketCounts

        public boolean hasControlPacketCounts()
         Control packet counts for the current BFD session.
         
        optional .google.cloud.compute.v1.BfdStatusPacketCounts control_packet_counts = 132573561;
        Specified by:
        hasControlPacketCounts in interface BfdStatusOrBuilder
        Returns:
        Whether the controlPacketCounts field is set.
      • getControlPacketCounts

        public BfdStatusPacketCounts getControlPacketCounts()
         Control packet counts for the current BFD session.
         
        optional .google.cloud.compute.v1.BfdStatusPacketCounts control_packet_counts = 132573561;
        Specified by:
        getControlPacketCounts in interface BfdStatusOrBuilder
        Returns:
        The controlPacketCounts.
      • getControlPacketIntervalsCount

        public int getControlPacketIntervalsCount()
         Inter-packet time interval statistics for control packets.
         
        repeated .google.cloud.compute.v1.PacketIntervals control_packet_intervals = 500806649;
        Specified by:
        getControlPacketIntervalsCount in interface BfdStatusOrBuilder
      • getControlPacketIntervals

        public PacketIntervals getControlPacketIntervals​(int index)
         Inter-packet time interval statistics for control packets.
         
        repeated .google.cloud.compute.v1.PacketIntervals control_packet_intervals = 500806649;
        Specified by:
        getControlPacketIntervals in interface BfdStatusOrBuilder
      • hasLocalDiagnostic

        public boolean hasLocalDiagnostic()
         The diagnostic code specifies the local system's reason for the last change in session state. This allows remote systems to determine the reason that the previous session failed, for example. These diagnostic codes are specified in section 4.1 of RFC5880
         Check the LocalDiagnostic enum for the list of possible values.
         
        optional string local_diagnostic = 463737083;
        Specified by:
        hasLocalDiagnostic in interface BfdStatusOrBuilder
        Returns:
        Whether the localDiagnostic field is set.
      • getLocalDiagnostic

        public String getLocalDiagnostic()
         The diagnostic code specifies the local system's reason for the last change in session state. This allows remote systems to determine the reason that the previous session failed, for example. These diagnostic codes are specified in section 4.1 of RFC5880
         Check the LocalDiagnostic enum for the list of possible values.
         
        optional string local_diagnostic = 463737083;
        Specified by:
        getLocalDiagnostic in interface BfdStatusOrBuilder
        Returns:
        The localDiagnostic.
      • getLocalDiagnosticBytes

        public com.google.protobuf.ByteString getLocalDiagnosticBytes()
         The diagnostic code specifies the local system's reason for the last change in session state. This allows remote systems to determine the reason that the previous session failed, for example. These diagnostic codes are specified in section 4.1 of RFC5880
         Check the LocalDiagnostic enum for the list of possible values.
         
        optional string local_diagnostic = 463737083;
        Specified by:
        getLocalDiagnosticBytes in interface BfdStatusOrBuilder
        Returns:
        The bytes for localDiagnostic.
      • hasLocalState

        public boolean hasLocalState()
         The current BFD session state as seen by the transmitting system. These states are specified in section 4.1 of RFC5880
         Check the LocalState enum for the list of possible values.
         
        optional string local_state = 149195453;
        Specified by:
        hasLocalState in interface BfdStatusOrBuilder
        Returns:
        Whether the localState field is set.
      • getLocalState

        public String getLocalState()
         The current BFD session state as seen by the transmitting system. These states are specified in section 4.1 of RFC5880
         Check the LocalState enum for the list of possible values.
         
        optional string local_state = 149195453;
        Specified by:
        getLocalState in interface BfdStatusOrBuilder
        Returns:
        The localState.
      • getLocalStateBytes

        public com.google.protobuf.ByteString getLocalStateBytes()
         The current BFD session state as seen by the transmitting system. These states are specified in section 4.1 of RFC5880
         Check the LocalState enum for the list of possible values.
         
        optional string local_state = 149195453;
        Specified by:
        getLocalStateBytes in interface BfdStatusOrBuilder
        Returns:
        The bytes for localState.
      • hasNegotiatedLocalControlTxIntervalMs

        public boolean hasNegotiatedLocalControlTxIntervalMs()
         Negotiated transmit interval for control packets.
         
        optional uint32 negotiated_local_control_tx_interval_ms = 21768340;
        Specified by:
        hasNegotiatedLocalControlTxIntervalMs in interface BfdStatusOrBuilder
        Returns:
        Whether the negotiatedLocalControlTxIntervalMs field is set.
      • getNegotiatedLocalControlTxIntervalMs

        public int getNegotiatedLocalControlTxIntervalMs()
         Negotiated transmit interval for control packets.
         
        optional uint32 negotiated_local_control_tx_interval_ms = 21768340;
        Specified by:
        getNegotiatedLocalControlTxIntervalMs in interface BfdStatusOrBuilder
        Returns:
        The negotiatedLocalControlTxIntervalMs.
      • hasRxPacket

        public boolean hasRxPacket()
         The most recent Rx control packet for this BFD session.
         
        optional .google.cloud.compute.v1.BfdPacket rx_packet = 505069729;
        Specified by:
        hasRxPacket in interface BfdStatusOrBuilder
        Returns:
        Whether the rxPacket field is set.
      • getRxPacket

        public BfdPacket getRxPacket()
         The most recent Rx control packet for this BFD session.
         
        optional .google.cloud.compute.v1.BfdPacket rx_packet = 505069729;
        Specified by:
        getRxPacket in interface BfdStatusOrBuilder
        Returns:
        The rxPacket.
      • hasTxPacket

        public boolean hasTxPacket()
         The most recent Tx control packet for this BFD session.
         
        optional .google.cloud.compute.v1.BfdPacket tx_packet = 111386275;
        Specified by:
        hasTxPacket in interface BfdStatusOrBuilder
        Returns:
        Whether the txPacket field is set.
      • getTxPacket

        public BfdPacket getTxPacket()
         The most recent Tx control packet for this BFD session.
         
        optional .google.cloud.compute.v1.BfdPacket tx_packet = 111386275;
        Specified by:
        getTxPacket in interface BfdStatusOrBuilder
        Returns:
        The txPacket.
      • hasUptimeMs

        public boolean hasUptimeMs()
         Session uptime in milliseconds. Value will be 0 if session is not up.
         
        optional int64 uptime_ms = 125398365;
        Specified by:
        hasUptimeMs in interface BfdStatusOrBuilder
        Returns:
        Whether the uptimeMs field is set.
      • getUptimeMs

        public long getUptimeMs()
         Session uptime in milliseconds. Value will be 0 if session is not up.
         
        optional int64 uptime_ms = 125398365;
        Specified by:
        getUptimeMs in interface BfdStatusOrBuilder
        Returns:
        The uptimeMs.
      • 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 BfdStatus parseFrom​(ByteBuffer data)
                                   throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static BfdStatus parseFrom​(ByteBuffer data,
                                          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                   throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static BfdStatus parseFrom​(com.google.protobuf.ByteString data)
                                   throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static BfdStatus parseFrom​(com.google.protobuf.ByteString data,
                                          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                   throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static BfdStatus parseFrom​(byte[] data)
                                   throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static BfdStatus parseFrom​(byte[] data,
                                          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                   throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static BfdStatus parseFrom​(com.google.protobuf.CodedInputStream input,
                                          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                   throws IOException
        Throws:
        IOException
      • newBuilderForType

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

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

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

        public static BfdStatus getDefaultInstance()
      • parser

        public static com.google.protobuf.Parser<BfdStatus> parser()
      • getParserForType

        public com.google.protobuf.Parser<BfdStatus> 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 BfdStatus getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder