Class BfdStatus.Builder (1.53.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
Type Description
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
Name Description
values Iterable<? extends com.google.cloud.compute.v1.PacketIntervals>
Returns
Type Description
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
Name Description
value PacketIntervals
Returns
Type Description
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
Name Description
builderForValue PacketIntervals.Builder
Returns
Type Description
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
Name Description
index int
value PacketIntervals
Returns
Type Description
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
Name Description
index int
builderForValue PacketIntervals.Builder
Returns
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
PacketIntervals.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public BfdStatus.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
BfdStatus.Builder
Overrides

build()

public BfdStatus build()
Returns
Type Description
BfdStatus

buildPartial()

public BfdStatus buildPartial()
Returns
Type Description
BfdStatus

clear()

public BfdStatus.Builder clear()
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
BfdStatus.Builder

clearField(Descriptors.FieldDescriptor field)

public BfdStatus.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
BfdStatus.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public BfdStatus.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
BfdStatus.Builder

This builder for chaining.

clone()

public BfdStatus.Builder clone()
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
List<? extends com.google.cloud.compute.v1.PacketIntervalsOrBuilder>

getDefaultInstanceForType()

public BfdStatus getDefaultInstanceForType()
Returns
Type Description
BfdStatus

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
BfdPacketOrBuilder

getUptimeMs()

public long getUptimeMs()

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

optional int64 uptime_ms = 125398365;

Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
boolean

Whether the uptimeMs field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
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
Name Description
value BfdStatusPacketCounts
Returns
Type Description
BfdStatus.Builder

mergeFrom(BfdStatus other)

public BfdStatus.Builder mergeFrom(BfdStatus other)
Parameter
Name Description
other BfdStatus
Returns
Type Description
BfdStatus.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public BfdStatus.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BfdStatus.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public BfdStatus.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
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
Name Description
value BfdPacket
Returns
Type Description
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
Name Description
value BfdPacket
Returns
Type Description
BfdStatus.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final BfdStatus.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
index int
Returns
Type Description
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
Name Description
value String

The bfdSessionInitializationMode to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for bfdSessionInitializationMode to set.

Returns
Type Description
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
Name Description
value long

The configUpdateTimestampMicros to set.

Returns
Type Description
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
Name Description
value BfdStatusPacketCounts
Returns
Type Description
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
Name Description
builderForValue BfdStatusPacketCounts.Builder
Returns
Type Description
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
Name Description
index int
value PacketIntervals
Returns
Type Description
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
Name Description
index int
builderForValue PacketIntervals.Builder
Returns
Type Description
BfdStatus.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public BfdStatus.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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
Name Description
value String

The localDiagnostic to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for localDiagnostic to set.

Returns
Type Description
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
Name Description
value String

The localState to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for localState to set.

Returns
Type Description
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
Name Description
value int

The negotiatedLocalControlTxIntervalMs to set.

Returns
Type Description
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
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
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
Name Description
value BfdPacket
Returns
Type Description
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
Name Description
builderForValue BfdPacket.Builder
Returns
Type Description
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
Name Description
value BfdPacket
Returns
Type Description
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
Name Description
builderForValue BfdPacket.Builder
Returns
Type Description
BfdStatus.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final BfdStatus.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
value long

The uptimeMs to set.

Returns
Type Description
BfdStatus.Builder

This builder for chaining.