Class BfdStatus.Builder

  • All Implemented Interfaces:
    BfdStatusOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
    Enclosing class:
    BfdStatus

    public static final class BfdStatus.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<BfdStatus.Builder>
    implements BfdStatusOrBuilder
     Next free: 15
     
    Protobuf type google.cloud.compute.v1.BfdStatus
    • Method Detail

      • 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.Builder<BfdStatus.Builder>
      • clear

        public BfdStatus.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<BfdStatus.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<BfdStatus.Builder>
      • getDefaultInstanceForType

        public BfdStatus getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

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

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

        public BfdStatus.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<BfdStatus.Builder>
      • setField

        public BfdStatus.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                          Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<BfdStatus.Builder>
      • clearField

        public BfdStatus.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<BfdStatus.Builder>
      • clearOneof

        public BfdStatus.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<BfdStatus.Builder>
      • setRepeatedField

        public BfdStatus.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                  int index,
                                                  Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<BfdStatus.Builder>
      • addRepeatedField

        public BfdStatus.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                  Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<BfdStatus.Builder>
      • mergeFrom

        public BfdStatus.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<BfdStatus.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<BfdStatus.Builder>
      • mergeFrom

        public BfdStatus.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                    throws IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<BfdStatus.Builder>
        Throws:
        IOException
      • 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.
      • setBfdSessionInitializationMode

        public BfdStatus.Builder setBfdSessionInitializationMode​(String value)
         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;
        Parameters:
        value - The bfdSessionInitializationMode to set.
        Returns:
        This builder for chaining.
      • clearBfdSessionInitializationMode

        public BfdStatus.Builder clearBfdSessionInitializationMode()
         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;
        Returns:
        This builder for chaining.
      • setBfdSessionInitializationModeBytes

        public BfdStatus.Builder setBfdSessionInitializationModeBytes​(com.google.protobuf.ByteString value)
         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;
        Parameters:
        value - The bytes for bfdSessionInitializationMode to set.
        Returns:
        This builder for chaining.
      • 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.
      • setConfigUpdateTimestampMicros

        public BfdStatus.Builder setConfigUpdateTimestampMicros​(long value)
         Unix timestamp of the most recent config update.
         
        optional int64 config_update_timestamp_micros = 457195569;
        Parameters:
        value - The configUpdateTimestampMicros to set.
        Returns:
        This builder for chaining.
      • clearConfigUpdateTimestampMicros

        public BfdStatus.Builder clearConfigUpdateTimestampMicros()
         Unix timestamp of the most recent config update.
         
        optional int64 config_update_timestamp_micros = 457195569;
        Returns:
        This builder for chaining.
      • 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.
      • setControlPacketCounts

        public BfdStatus.Builder setControlPacketCounts​(BfdStatusPacketCounts value)
         Control packet counts for the current BFD session.
         
        optional .google.cloud.compute.v1.BfdStatusPacketCounts control_packet_counts = 132573561;
      • setControlPacketCounts

        public BfdStatus.Builder setControlPacketCounts​(BfdStatusPacketCounts.Builder builderForValue)
         Control packet counts for the current BFD session.
         
        optional .google.cloud.compute.v1.BfdStatusPacketCounts control_packet_counts = 132573561;
      • mergeControlPacketCounts

        public BfdStatus.Builder mergeControlPacketCounts​(BfdStatusPacketCounts value)
         Control packet counts for the current BFD session.
         
        optional .google.cloud.compute.v1.BfdStatusPacketCounts control_packet_counts = 132573561;
      • clearControlPacketCounts

        public BfdStatus.Builder clearControlPacketCounts()
         Control packet counts for the current BFD session.
         
        optional .google.cloud.compute.v1.BfdStatusPacketCounts control_packet_counts = 132573561;
      • getControlPacketCountsBuilder

        public BfdStatusPacketCounts.Builder getControlPacketCountsBuilder()
         Control packet counts for the current BFD session.
         
        optional .google.cloud.compute.v1.BfdStatusPacketCounts control_packet_counts = 132573561;
      • 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
      • setControlPacketIntervals

        public BfdStatus.Builder setControlPacketIntervals​(int index,
                                                           PacketIntervals value)
         Inter-packet time interval statistics for control packets.
         
        repeated .google.cloud.compute.v1.PacketIntervals control_packet_intervals = 500806649;
      • setControlPacketIntervals

        public BfdStatus.Builder setControlPacketIntervals​(int index,
                                                           PacketIntervals.Builder builderForValue)
         Inter-packet time interval statistics for control packets.
         
        repeated .google.cloud.compute.v1.PacketIntervals control_packet_intervals = 500806649;
      • addControlPacketIntervals

        public BfdStatus.Builder addControlPacketIntervals​(PacketIntervals value)
         Inter-packet time interval statistics for control packets.
         
        repeated .google.cloud.compute.v1.PacketIntervals control_packet_intervals = 500806649;
      • addControlPacketIntervals

        public BfdStatus.Builder addControlPacketIntervals​(int index,
                                                           PacketIntervals value)
         Inter-packet time interval statistics for control packets.
         
        repeated .google.cloud.compute.v1.PacketIntervals control_packet_intervals = 500806649;
      • addControlPacketIntervals

        public BfdStatus.Builder addControlPacketIntervals​(PacketIntervals.Builder builderForValue)
         Inter-packet time interval statistics for control packets.
         
        repeated .google.cloud.compute.v1.PacketIntervals control_packet_intervals = 500806649;
      • addControlPacketIntervals

        public BfdStatus.Builder addControlPacketIntervals​(int index,
                                                           PacketIntervals.Builder builderForValue)
         Inter-packet time interval statistics for control packets.
         
        repeated .google.cloud.compute.v1.PacketIntervals control_packet_intervals = 500806649;
      • addAllControlPacketIntervals

        public BfdStatus.Builder addAllControlPacketIntervals​(Iterable<? extends PacketIntervals> values)
         Inter-packet time interval statistics for control packets.
         
        repeated .google.cloud.compute.v1.PacketIntervals control_packet_intervals = 500806649;
      • clearControlPacketIntervals

        public BfdStatus.Builder clearControlPacketIntervals()
         Inter-packet time interval statistics for control packets.
         
        repeated .google.cloud.compute.v1.PacketIntervals control_packet_intervals = 500806649;
      • removeControlPacketIntervals

        public BfdStatus.Builder removeControlPacketIntervals​(int index)
         Inter-packet time interval statistics for control packets.
         
        repeated .google.cloud.compute.v1.PacketIntervals control_packet_intervals = 500806649;
      • getControlPacketIntervalsBuilder

        public PacketIntervals.Builder getControlPacketIntervalsBuilder​(int index)
         Inter-packet time interval statistics for control packets.
         
        repeated .google.cloud.compute.v1.PacketIntervals control_packet_intervals = 500806649;
      • addControlPacketIntervalsBuilder

        public PacketIntervals.Builder addControlPacketIntervalsBuilder()
         Inter-packet time interval statistics for control packets.
         
        repeated .google.cloud.compute.v1.PacketIntervals control_packet_intervals = 500806649;
      • addControlPacketIntervalsBuilder

        public PacketIntervals.Builder addControlPacketIntervalsBuilder​(int index)
         Inter-packet time interval statistics for control packets.
         
        repeated .google.cloud.compute.v1.PacketIntervals control_packet_intervals = 500806649;
      • getControlPacketIntervalsBuilderList

        public List<PacketIntervals.Builder> getControlPacketIntervalsBuilderList()
         Inter-packet time interval statistics for control packets.
         
        repeated .google.cloud.compute.v1.PacketIntervals control_packet_intervals = 500806649;
      • 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.
      • setLocalDiagnostic

        public BfdStatus.Builder setLocalDiagnostic​(String value)
         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;
        Parameters:
        value - The localDiagnostic to set.
        Returns:
        This builder for chaining.
      • clearLocalDiagnostic

        public BfdStatus.Builder clearLocalDiagnostic()
         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;
        Returns:
        This builder for chaining.
      • setLocalDiagnosticBytes

        public BfdStatus.Builder setLocalDiagnosticBytes​(com.google.protobuf.ByteString value)
         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;
        Parameters:
        value - The bytes for localDiagnostic to set.
        Returns:
        This builder for chaining.
      • 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.
      • setLocalState

        public BfdStatus.Builder setLocalState​(String value)
         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;
        Parameters:
        value - The localState to set.
        Returns:
        This builder for chaining.
      • clearLocalState

        public BfdStatus.Builder clearLocalState()
         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;
        Returns:
        This builder for chaining.
      • setLocalStateBytes

        public BfdStatus.Builder setLocalStateBytes​(com.google.protobuf.ByteString value)
         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;
        Parameters:
        value - The bytes for localState to set.
        Returns:
        This builder for chaining.
      • 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.
      • setNegotiatedLocalControlTxIntervalMs

        public BfdStatus.Builder setNegotiatedLocalControlTxIntervalMs​(int value)
         Negotiated transmit interval for control packets.
         
        optional uint32 negotiated_local_control_tx_interval_ms = 21768340;
        Parameters:
        value - The negotiatedLocalControlTxIntervalMs to set.
        Returns:
        This builder for chaining.
      • clearNegotiatedLocalControlTxIntervalMs

        public BfdStatus.Builder clearNegotiatedLocalControlTxIntervalMs()
         Negotiated transmit interval for control packets.
         
        optional uint32 negotiated_local_control_tx_interval_ms = 21768340;
        Returns:
        This builder for chaining.
      • 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.
      • setRxPacket

        public BfdStatus.Builder setRxPacket​(BfdPacket value)
         The most recent Rx control packet for this BFD session.
         
        optional .google.cloud.compute.v1.BfdPacket rx_packet = 505069729;
      • setRxPacket

        public BfdStatus.Builder setRxPacket​(BfdPacket.Builder builderForValue)
         The most recent Rx control packet for this BFD session.
         
        optional .google.cloud.compute.v1.BfdPacket rx_packet = 505069729;
      • mergeRxPacket

        public BfdStatus.Builder mergeRxPacket​(BfdPacket value)
         The most recent Rx control packet for this BFD session.
         
        optional .google.cloud.compute.v1.BfdPacket rx_packet = 505069729;
      • clearRxPacket

        public BfdStatus.Builder clearRxPacket()
         The most recent Rx control packet for this BFD session.
         
        optional .google.cloud.compute.v1.BfdPacket rx_packet = 505069729;
      • getRxPacketBuilder

        public BfdPacket.Builder getRxPacketBuilder()
         The most recent Rx control packet for this BFD session.
         
        optional .google.cloud.compute.v1.BfdPacket rx_packet = 505069729;
      • 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.
      • setTxPacket

        public BfdStatus.Builder setTxPacket​(BfdPacket value)
         The most recent Tx control packet for this BFD session.
         
        optional .google.cloud.compute.v1.BfdPacket tx_packet = 111386275;
      • setTxPacket

        public BfdStatus.Builder setTxPacket​(BfdPacket.Builder builderForValue)
         The most recent Tx control packet for this BFD session.
         
        optional .google.cloud.compute.v1.BfdPacket tx_packet = 111386275;
      • mergeTxPacket

        public BfdStatus.Builder mergeTxPacket​(BfdPacket value)
         The most recent Tx control packet for this BFD session.
         
        optional .google.cloud.compute.v1.BfdPacket tx_packet = 111386275;
      • clearTxPacket

        public BfdStatus.Builder clearTxPacket()
         The most recent Tx control packet for this BFD session.
         
        optional .google.cloud.compute.v1.BfdPacket tx_packet = 111386275;
      • getTxPacketBuilder

        public BfdPacket.Builder getTxPacketBuilder()
         The most recent Tx control packet for this BFD session.
         
        optional .google.cloud.compute.v1.BfdPacket tx_packet = 111386275;
      • 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.
      • setUptimeMs

        public BfdStatus.Builder setUptimeMs​(long value)
         Session uptime in milliseconds. Value will be 0 if session is not up.
         
        optional int64 uptime_ms = 125398365;
        Parameters:
        value - The uptimeMs to set.
        Returns:
        This builder for chaining.
      • clearUptimeMs

        public BfdStatus.Builder clearUptimeMs()
         Session uptime in milliseconds. Value will be 0 if session is not up.
         
        optional int64 uptime_ms = 125398365;
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final BfdStatus.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<BfdStatus.Builder>
      • mergeUnknownFields

        public final BfdStatus.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<BfdStatus.Builder>