All Downloads are FREE. Search and download functionalities are using the official Maven repository.

target.apidocs.com.google.api.services.compute.model.BfdStatus.html Maven / Gradle / Ivy

There is a newer version: v1-rev20240903-2.0.0
Show newest version






BfdStatus (Compute Engine API v1-rev20240919-2.0.0)












com.google.api.services.compute.model

Class BfdStatus

    • Constructor Detail

      • BfdStatus

        public BfdStatus()
    • Method Detail

      • 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.
        Returns:
        value or null for none
      • setBfdSessionInitializationMode

        public BfdStatus setBfdSessionInitializationMode(String bfdSessionInitializationMode)
        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.
        Parameters:
        bfdSessionInitializationMode - bfdSessionInitializationMode or null for none
      • getConfigUpdateTimestampMicros

        public Long getConfigUpdateTimestampMicros()
        Unix timestamp of the most recent config update.
        Returns:
        value or null for none
      • setConfigUpdateTimestampMicros

        public BfdStatus setConfigUpdateTimestampMicros(Long configUpdateTimestampMicros)
        Unix timestamp of the most recent config update.
        Parameters:
        configUpdateTimestampMicros - configUpdateTimestampMicros or null for none
      • getControlPacketCounts

        public BfdStatusPacketCounts getControlPacketCounts()
        Control packet counts for the current BFD session.
        Returns:
        value or null for none
      • setControlPacketCounts

        public BfdStatus setControlPacketCounts(BfdStatusPacketCounts controlPacketCounts)
        Control packet counts for the current BFD session.
        Parameters:
        controlPacketCounts - controlPacketCounts or null for none
      • getControlPacketIntervals

        public List<PacketIntervals> getControlPacketIntervals()
        Inter-packet time interval statistics for control packets.
        Returns:
        value or null for none
      • setControlPacketIntervals

        public BfdStatus setControlPacketIntervals(List<PacketIntervals> controlPacketIntervals)
        Inter-packet time interval statistics for control packets.
        Parameters:
        controlPacketIntervals - controlPacketIntervals or null for none
      • 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
        Returns:
        value or null for none
      • setLocalDiagnostic

        public BfdStatus setLocalDiagnostic(String localDiagnostic)
        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
        Parameters:
        localDiagnostic - localDiagnostic or null for none
      • 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
        Returns:
        value or null for none
      • setLocalState

        public BfdStatus setLocalState(String localState)
        The current BFD session state as seen by the transmitting system. These states are specified in section 4.1 of RFC5880
        Parameters:
        localState - localState or null for none
      • getNegotiatedLocalControlTxIntervalMs

        public Long getNegotiatedLocalControlTxIntervalMs()
        Negotiated transmit interval for control packets.
        Returns:
        value or null for none
      • setNegotiatedLocalControlTxIntervalMs

        public BfdStatus setNegotiatedLocalControlTxIntervalMs(Long negotiatedLocalControlTxIntervalMs)
        Negotiated transmit interval for control packets.
        Parameters:
        negotiatedLocalControlTxIntervalMs - negotiatedLocalControlTxIntervalMs or null for none
      • getRxPacket

        public BfdPacket getRxPacket()
        The most recent Rx control packet for this BFD session.
        Returns:
        value or null for none
      • setRxPacket

        public BfdStatus setRxPacket(BfdPacket rxPacket)
        The most recent Rx control packet for this BFD session.
        Parameters:
        rxPacket - rxPacket or null for none
      • getTxPacket

        public BfdPacket getTxPacket()
        The most recent Tx control packet for this BFD session.
        Returns:
        value or null for none
      • setTxPacket

        public BfdStatus setTxPacket(BfdPacket txPacket)
        The most recent Tx control packet for this BFD session.
        Parameters:
        txPacket - txPacket or null for none
      • getUptimeMs

        public Long getUptimeMs()
        Session uptime in milliseconds. Value will be 0 if session is not up.
        Returns:
        value or null for none
      • setUptimeMs

        public BfdStatus setUptimeMs(Long uptimeMs)
        Session uptime in milliseconds. Value will be 0 if session is not up.
        Parameters:
        uptimeMs - uptimeMs or null for none
      • set

        public BfdStatus set(String fieldName,
                             Object value)
        Overrides:
        set in class com.google.api.client.json.GenericJson
      • clone

        public BfdStatus clone()
        Overrides:
        clone in class com.google.api.client.json.GenericJson

Copyright © 2011–2024 Google. All rights reserved.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy