Class BfdStatus.Builder (1.49.0)

public static final class BfdStatus.Builder extends GeneratedMessageV3.Builder<BfdStatus.Builder> implements BfdStatusOrBuilder

Next free: 15

Protobuf type google.cloud.compute.v1.BfdStatus

Implements

BfdStatusOrBuilder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllControlPacketIntervals(Iterable<? extends PacketIntervals> values)

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;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.compute.v1.PacketIntervals>
Returns
TypeDescription
BfdStatus.Builder

addControlPacketIntervals(PacketIntervals value)

public BfdStatus.Builder addControlPacketIntervals(PacketIntervals value)

Inter-packet time interval statistics for control packets.

repeated .google.cloud.compute.v1.PacketIntervals control_packet_intervals = 500806649;

Parameter
NameDescription
valuePacketIntervals
Returns
TypeDescription
BfdStatus.Builder

addControlPacketIntervals(PacketIntervals.Builder builderForValue)

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;

Parameter
NameDescription
builderForValuePacketIntervals.Builder
Returns
TypeDescription
BfdStatus.Builder

addControlPacketIntervals(int index, PacketIntervals value)

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;

Parameters
NameDescription
indexint
valuePacketIntervals
Returns
TypeDescription
BfdStatus.Builder

addControlPacketIntervals(int index, PacketIntervals.Builder builderForValue)

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;

Parameters
NameDescription
indexint
builderForValuePacketIntervals.Builder
Returns
TypeDescription
BfdStatus.Builder

addControlPacketIntervalsBuilder()

public PacketIntervals.Builder addControlPacketIntervalsBuilder()

Inter-packet time interval statistics for control packets.

repeated .google.cloud.compute.v1.PacketIntervals control_packet_intervals = 500806649;

Returns
TypeDescription
PacketIntervals.Builder

addControlPacketIntervalsBuilder(int index)

public PacketIntervals.Builder addControlPacketIntervalsBuilder(int index)

Inter-packet time interval statistics for control packets.

repeated .google.cloud.compute.v1.PacketIntervals control_packet_intervals = 500806649;

Parameter
NameDescription
indexint
Returns
TypeDescription
PacketIntervals.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public BfdStatus.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
BfdStatus.Builder
Overrides

build()

public BfdStatus build()
Returns
TypeDescription
BfdStatus

buildPartial()

public BfdStatus buildPartial()
Returns
TypeDescription
BfdStatus

clear()

public BfdStatus.Builder clear()
Returns
TypeDescription
BfdStatus.Builder
Overrides

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
TypeDescription
BfdStatus.Builder

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
TypeDescription
BfdStatus.Builder

This builder for chaining.

clearControlPacketCounts()

public BfdStatus.Builder clearControlPacketCounts()

Control packet counts for the current BFD session.

optional .google.cloud.compute.v1.BfdStatusPacketCounts control_packet_counts = 132573561;

Returns
TypeDescription
BfdStatus.Builder

clearControlPacketIntervals()

public BfdStatus.Builder clearControlPacketIntervals()

Inter-packet time interval statistics for control packets.

repeated .google.cloud.compute.v1.PacketIntervals control_packet_intervals = 500806649;

Returns
TypeDescription
BfdStatus.Builder

clearField(Descriptors.FieldDescriptor field)

public BfdStatus.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
BfdStatus.Builder
Overrides

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
TypeDescription
BfdStatus.Builder

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
TypeDescription
BfdStatus.Builder

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
TypeDescription
BfdStatus.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public BfdStatus.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
BfdStatus.Builder
Overrides

clearRxPacket()

public BfdStatus.Builder clearRxPacket()

The most recent Rx control packet for this BFD session.

optional .google.cloud.compute.v1.BfdPacket rx_packet = 505069729;

Returns
TypeDescription
BfdStatus.Builder

clearTxPacket()

public BfdStatus.Builder clearTxPacket()

The most recent Tx control packet for this BFD session.

optional .google.cloud.compute.v1.BfdPacket tx_packet = 111386275;

Returns
TypeDescription
BfdStatus.Builder

clearUptimeMs()

public BfdStatus.Builder clearUptimeMs()

Session uptime in milliseconds. Value will be 0 if session is not up.

optional int64 uptime_ms = 125398365;

Returns
TypeDescription
BfdStatus.Builder

This builder for chaining.

clone()

public BfdStatus.Builder clone()
Returns
TypeDescription
BfdStatus.Builder
Overrides

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;

Returns
TypeDescription
String

The bfdSessionInitializationMode.

getBfdSessionInitializationModeBytes()

public 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;

Returns
TypeDescription
ByteString

The bytes for bfdSessionInitializationMode.

getConfigUpdateTimestampMicros()

public long getConfigUpdateTimestampMicros()

Unix timestamp of the most recent config update.

optional int64 config_update_timestamp_micros = 457195569;

Returns
TypeDescription
long

The configUpdateTimestampMicros.

getControlPacketCounts()

public BfdStatusPacketCounts getControlPacketCounts()

Control packet counts for the current BFD session.

optional .google.cloud.compute.v1.BfdStatusPacketCounts control_packet_counts = 132573561;

Returns
TypeDescription
BfdStatusPacketCounts

The controlPacketCounts.

getControlPacketCountsBuilder()

public BfdStatusPacketCounts.Builder getControlPacketCountsBuilder()

Control packet counts for the current BFD session.

optional .google.cloud.compute.v1.BfdStatusPacketCounts control_packet_counts = 132573561;

Returns
TypeDescription
BfdStatusPacketCounts.Builder

getControlPacketCountsOrBuilder()

public BfdStatusPacketCountsOrBuilder getControlPacketCountsOrBuilder()

Control packet counts for the current BFD session.

optional .google.cloud.compute.v1.BfdStatusPacketCounts control_packet_counts = 132573561;

Returns
TypeDescription
BfdStatusPacketCountsOrBuilder

getControlPacketIntervals(int index)

public PacketIntervals getControlPacketIntervals(int index)

Inter-packet time interval statistics for control packets.

repeated .google.cloud.compute.v1.PacketIntervals control_packet_intervals = 500806649;

Parameter
NameDescription
indexint
Returns
TypeDescription
PacketIntervals

getControlPacketIntervalsBuilder(int index)

public PacketIntervals.Builder getControlPacketIntervalsBuilder(int index)

Inter-packet time interval statistics for control packets.

repeated .google.cloud.compute.v1.PacketIntervals control_packet_intervals = 500806649;

Parameter
NameDescription
indexint
Returns
TypeDescription
PacketIntervals.Builder

getControlPacketIntervalsBuilderList()

public List<PacketIntervals.Builder> getControlPacketIntervalsBuilderList()

Inter-packet time interval statistics for control packets.

repeated .google.cloud.compute.v1.PacketIntervals control_packet_intervals = 500806649;

Returns
TypeDescription
List<Builder>

getControlPacketIntervalsCount()

public int getControlPacketIntervalsCount()

Inter-packet time interval statistics for control packets.

repeated .google.cloud.compute.v1.PacketIntervals control_packet_intervals = 500806649;

Returns
TypeDescription
int

getControlPacketIntervalsList()

public List<PacketIntervals> getControlPacketIntervalsList()

Inter-packet time interval statistics for control packets.

repeated .google.cloud.compute.v1.PacketIntervals control_packet_intervals = 500806649;

Returns
TypeDescription
List<PacketIntervals>

getControlPacketIntervalsOrBuilder(int index)

public PacketIntervalsOrBuilder getControlPacketIntervalsOrBuilder(int index)

Inter-packet time interval statistics for control packets.

repeated .google.cloud.compute.v1.PacketIntervals control_packet_intervals = 500806649;

Parameter
NameDescription
indexint
Returns
TypeDescription
PacketIntervalsOrBuilder

getControlPacketIntervalsOrBuilderList()

public List<? extends PacketIntervalsOrBuilder> getControlPacketIntervalsOrBuilderList()

Inter-packet time interval statistics for control packets.

repeated .google.cloud.compute.v1.PacketIntervals control_packet_intervals = 500806649;

Returns
TypeDescription
List<? extends com.google.cloud.compute.v1.PacketIntervalsOrBuilder>

getDefaultInstanceForType()

public BfdStatus getDefaultInstanceForType()
Returns
TypeDescription
BfdStatus

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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;

Returns
TypeDescription
String

The localDiagnostic.

getLocalDiagnosticBytes()

public 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;

Returns
TypeDescription
ByteString

The bytes for localDiagnostic.

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;

Returns
TypeDescription
String

The localState.

getLocalStateBytes()

public 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;

Returns
TypeDescription
ByteString

The bytes for localState.

getNegotiatedLocalControlTxIntervalMs()

public int getNegotiatedLocalControlTxIntervalMs()

Negotiated transmit interval for control packets.

optional uint32 negotiated_local_control_tx_interval_ms = 21768340;

Returns
TypeDescription
int

The negotiatedLocalControlTxIntervalMs.

getRxPacket()

public BfdPacket getRxPacket()

The most recent Rx control packet for this BFD session.

optional .google.cloud.compute.v1.BfdPacket rx_packet = 505069729;

Returns
TypeDescription
BfdPacket

The rxPacket.

getRxPacketBuilder()

public BfdPacket.Builder getRxPacketBuilder()

The most recent Rx control packet for this BFD session.

optional .google.cloud.compute.v1.BfdPacket rx_packet = 505069729;

Returns
TypeDescription
BfdPacket.Builder

getRxPacketOrBuilder()

public BfdPacketOrBuilder getRxPacketOrBuilder()

The most recent Rx control packet for this BFD session.

optional .google.cloud.compute.v1.BfdPacket rx_packet = 505069729;

Returns
TypeDescription
BfdPacketOrBuilder

getTxPacket()

public BfdPacket getTxPacket()

The most recent Tx control packet for this BFD session.

optional .google.cloud.compute.v1.BfdPacket tx_packet = 111386275;

Returns
TypeDescription
BfdPacket

The txPacket.

getTxPacketBuilder()

public BfdPacket.Builder getTxPacketBuilder()

The most recent Tx control packet for this BFD session.

optional .google.cloud.compute.v1.BfdPacket tx_packet = 111386275;

Returns
TypeDescription
BfdPacket.Builder

getTxPacketOrBuilder()

public BfdPacketOrBuilder getTxPacketOrBuilder()

The most recent Tx control packet for this BFD session.

optional .google.cloud.compute.v1.BfdPacket tx_packet = 111386275;

Returns
TypeDescription
BfdPacketOrBuilder

getUptimeMs()

public long getUptimeMs()

Session uptime in milliseconds. Value will be 0 if session is not up.

optional int64 uptime_ms = 125398365;

Returns
TypeDescription
long

The uptimeMs.

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;

Returns
TypeDescription
boolean

Whether the bfdSessionInitializationMode field is set.

hasConfigUpdateTimestampMicros()

public boolean hasConfigUpdateTimestampMicros()

Unix timestamp of the most recent config update.

optional int64 config_update_timestamp_micros = 457195569;

Returns
TypeDescription
boolean

Whether the configUpdateTimestampMicros field is set.

hasControlPacketCounts()

public boolean hasControlPacketCounts()

Control packet counts for the current BFD session.

optional .google.cloud.compute.v1.BfdStatusPacketCounts control_packet_counts = 132573561;

Returns
TypeDescription
boolean

Whether the controlPacketCounts field is set.

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;

Returns
TypeDescription
boolean

Whether the localDiagnostic field is set.

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;

Returns
TypeDescription
boolean

Whether the localState field is set.

hasNegotiatedLocalControlTxIntervalMs()

public boolean hasNegotiatedLocalControlTxIntervalMs()

Negotiated transmit interval for control packets.

optional uint32 negotiated_local_control_tx_interval_ms = 21768340;

Returns
TypeDescription
boolean

Whether the negotiatedLocalControlTxIntervalMs field is set.

hasRxPacket()

public boolean hasRxPacket()

The most recent Rx control packet for this BFD session.

optional .google.cloud.compute.v1.BfdPacket rx_packet = 505069729;

Returns
TypeDescription
boolean

Whether the rxPacket field is set.

hasTxPacket()

public boolean hasTxPacket()

The most recent Tx control packet for this BFD session.

optional .google.cloud.compute.v1.BfdPacket tx_packet = 111386275;

Returns
TypeDescription
boolean

Whether the txPacket field is set.

hasUptimeMs()

public boolean hasUptimeMs()

Session uptime in milliseconds. Value will be 0 if session is not up.

optional int64 uptime_ms = 125398365;

Returns
TypeDescription
boolean

Whether the uptimeMs field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeControlPacketCounts(BfdStatusPacketCounts value)

public BfdStatus.Builder mergeControlPacketCounts(BfdStatusPacketCounts value)

Control packet counts for the current BFD session.

optional .google.cloud.compute.v1.BfdStatusPacketCounts control_packet_counts = 132573561;

Parameter
NameDescription
valueBfdStatusPacketCounts
Returns
TypeDescription
BfdStatus.Builder

mergeFrom(BfdStatus other)

public BfdStatus.Builder mergeFrom(BfdStatus other)
Parameter
NameDescription
otherBfdStatus
Returns
TypeDescription
BfdStatus.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public BfdStatus.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BfdStatus.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public BfdStatus.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
BfdStatus.Builder
Overrides

mergeRxPacket(BfdPacket value)

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;

Parameter
NameDescription
valueBfdPacket
Returns
TypeDescription
BfdStatus.Builder

mergeTxPacket(BfdPacket value)

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;

Parameter
NameDescription
valueBfdPacket
Returns
TypeDescription
BfdStatus.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final BfdStatus.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
BfdStatus.Builder
Overrides

removeControlPacketIntervals(int index)

public BfdStatus.Builder removeControlPacketIntervals(int index)

Inter-packet time interval statistics for control packets.

repeated .google.cloud.compute.v1.PacketIntervals control_packet_intervals = 500806649;

Parameter
NameDescription
indexint
Returns
TypeDescription
BfdStatus.Builder

setBfdSessionInitializationMode(String value)

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;

Parameter
NameDescription
valueString

The bfdSessionInitializationMode to set.

Returns
TypeDescription
BfdStatus.Builder

This builder for chaining.

setBfdSessionInitializationModeBytes(ByteString value)

public BfdStatus.Builder setBfdSessionInitializationModeBytes(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;

Parameter
NameDescription
valueByteString

The bytes for bfdSessionInitializationMode to set.

Returns
TypeDescription
BfdStatus.Builder

This builder for chaining.

setConfigUpdateTimestampMicros(long value)

public BfdStatus.Builder setConfigUpdateTimestampMicros(long value)

Unix timestamp of the most recent config update.

optional int64 config_update_timestamp_micros = 457195569;

Parameter
NameDescription
valuelong

The configUpdateTimestampMicros to set.

Returns
TypeDescription
BfdStatus.Builder

This builder for chaining.

setControlPacketCounts(BfdStatusPacketCounts value)

public BfdStatus.Builder setControlPacketCounts(BfdStatusPacketCounts value)

Control packet counts for the current BFD session.

optional .google.cloud.compute.v1.BfdStatusPacketCounts control_packet_counts = 132573561;

Parameter
NameDescription
valueBfdStatusPacketCounts
Returns
TypeDescription
BfdStatus.Builder

setControlPacketCounts(BfdStatusPacketCounts.Builder builderForValue)

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;

Parameter
NameDescription
builderForValueBfdStatusPacketCounts.Builder
Returns
TypeDescription
BfdStatus.Builder

setControlPacketIntervals(int index, PacketIntervals value)

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;

Parameters
NameDescription
indexint
valuePacketIntervals
Returns
TypeDescription
BfdStatus.Builder

setControlPacketIntervals(int index, PacketIntervals.Builder builderForValue)

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;

Parameters
NameDescription
indexint
builderForValuePacketIntervals.Builder
Returns
TypeDescription
BfdStatus.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public BfdStatus.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
BfdStatus.Builder
Overrides

setLocalDiagnostic(String value)

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;

Parameter
NameDescription
valueString

The localDiagnostic to set.

Returns
TypeDescription
BfdStatus.Builder

This builder for chaining.

setLocalDiagnosticBytes(ByteString value)

public BfdStatus.Builder setLocalDiagnosticBytes(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;

Parameter
NameDescription
valueByteString

The bytes for localDiagnostic to set.

Returns
TypeDescription
BfdStatus.Builder

This builder for chaining.

setLocalState(String value)

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;

Parameter
NameDescription
valueString

The localState to set.

Returns
TypeDescription
BfdStatus.Builder

This builder for chaining.

setLocalStateBytes(ByteString value)

public BfdStatus.Builder setLocalStateBytes(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;

Parameter
NameDescription
valueByteString

The bytes for localState to set.

Returns
TypeDescription
BfdStatus.Builder

This builder for chaining.

setNegotiatedLocalControlTxIntervalMs(int value)

public BfdStatus.Builder setNegotiatedLocalControlTxIntervalMs(int value)

Negotiated transmit interval for control packets.

optional uint32 negotiated_local_control_tx_interval_ms = 21768340;

Parameter
NameDescription
valueint

The negotiatedLocalControlTxIntervalMs to set.

Returns
TypeDescription
BfdStatus.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public BfdStatus.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
BfdStatus.Builder
Overrides

setRxPacket(BfdPacket value)

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;

Parameter
NameDescription
valueBfdPacket
Returns
TypeDescription
BfdStatus.Builder

setRxPacket(BfdPacket.Builder builderForValue)

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;

Parameter
NameDescription
builderForValueBfdPacket.Builder
Returns
TypeDescription
BfdStatus.Builder

setTxPacket(BfdPacket value)

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;

Parameter
NameDescription
valueBfdPacket
Returns
TypeDescription
BfdStatus.Builder

setTxPacket(BfdPacket.Builder builderForValue)

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;

Parameter
NameDescription
builderForValueBfdPacket.Builder
Returns
TypeDescription
BfdStatus.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final BfdStatus.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
BfdStatus.Builder
Overrides

setUptimeMs(long value)

public BfdStatus.Builder setUptimeMs(long value)

Session uptime in milliseconds. Value will be 0 if session is not up.

optional int64 uptime_ms = 125398365;

Parameter
NameDescription
valuelong

The uptimeMs to set.

Returns
TypeDescription
BfdStatus.Builder

This builder for chaining.