Class BfdStatusPacketCounts.Builder (1.93.0)

public static final class BfdStatusPacketCounts.Builder extends GeneratedMessage.Builder<BfdStatusPacketCounts.Builder> implements BfdStatusPacketCountsOrBuilder

Protobuf type google.cloud.compute.v1.BfdStatusPacketCounts

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public BfdStatusPacketCounts build()
Returns
Type Description
BfdStatusPacketCounts

buildPartial()

public BfdStatusPacketCounts buildPartial()
Returns
Type Description
BfdStatusPacketCounts

clear()

public BfdStatusPacketCounts.Builder clear()
Returns
Type Description
BfdStatusPacketCounts.Builder
Overrides

clearNumRx()

public BfdStatusPacketCounts.Builder clearNumRx()

Number of packets received since the beginning of the current BFD session.

optional uint32 num_rx = 39375263;

Returns
Type Description
BfdStatusPacketCounts.Builder

This builder for chaining.

clearNumRxRejected()

public BfdStatusPacketCounts.Builder clearNumRxRejected()

Number of packets received that were rejected because of errors since the beginning of the current BFD session.

optional uint32 num_rx_rejected = 281007902;

Returns
Type Description
BfdStatusPacketCounts.Builder

This builder for chaining.

clearNumRxSuccessful()

public BfdStatusPacketCounts.Builder clearNumRxSuccessful()

Number of packets received that were successfully processed since the beginning of the current BFD session.

optional uint32 num_rx_successful = 455361850;

Returns
Type Description
BfdStatusPacketCounts.Builder

This builder for chaining.

clearNumTx()

public BfdStatusPacketCounts.Builder clearNumTx()

Number of packets transmitted since the beginning of the current BFD session.

optional uint32 num_tx = 39375325;

Returns
Type Description
BfdStatusPacketCounts.Builder

This builder for chaining.

getDefaultInstanceForType()

public BfdStatusPacketCounts getDefaultInstanceForType()
Returns
Type Description
BfdStatusPacketCounts

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getNumRx()

public int getNumRx()

Number of packets received since the beginning of the current BFD session.

optional uint32 num_rx = 39375263;

Returns
Type Description
int

The numRx.

getNumRxRejected()

public int getNumRxRejected()

Number of packets received that were rejected because of errors since the beginning of the current BFD session.

optional uint32 num_rx_rejected = 281007902;

Returns
Type Description
int

The numRxRejected.

getNumRxSuccessful()

public int getNumRxSuccessful()

Number of packets received that were successfully processed since the beginning of the current BFD session.

optional uint32 num_rx_successful = 455361850;

Returns
Type Description
int

The numRxSuccessful.

getNumTx()

public int getNumTx()

Number of packets transmitted since the beginning of the current BFD session.

optional uint32 num_tx = 39375325;

Returns
Type Description
int

The numTx.

hasNumRx()

public boolean hasNumRx()

Number of packets received since the beginning of the current BFD session.

optional uint32 num_rx = 39375263;

Returns
Type Description
boolean

Whether the numRx field is set.

hasNumRxRejected()

public boolean hasNumRxRejected()

Number of packets received that were rejected because of errors since the beginning of the current BFD session.

optional uint32 num_rx_rejected = 281007902;

Returns
Type Description
boolean

Whether the numRxRejected field is set.

hasNumRxSuccessful()

public boolean hasNumRxSuccessful()

Number of packets received that were successfully processed since the beginning of the current BFD session.

optional uint32 num_rx_successful = 455361850;

Returns
Type Description
boolean

Whether the numRxSuccessful field is set.

hasNumTx()

public boolean hasNumTx()

Number of packets transmitted since the beginning of the current BFD session.

optional uint32 num_tx = 39375325;

Returns
Type Description
boolean

Whether the numTx field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(BfdStatusPacketCounts other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public BfdStatusPacketCounts.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
BfdStatusPacketCounts.Builder
Overrides

setNumRx(int value)

public BfdStatusPacketCounts.Builder setNumRx(int value)

Number of packets received since the beginning of the current BFD session.

optional uint32 num_rx = 39375263;

Parameter
Name Description
value int

The numRx to set.

Returns
Type Description
BfdStatusPacketCounts.Builder

This builder for chaining.

setNumRxRejected(int value)

public BfdStatusPacketCounts.Builder setNumRxRejected(int value)

Number of packets received that were rejected because of errors since the beginning of the current BFD session.

optional uint32 num_rx_rejected = 281007902;

Parameter
Name Description
value int

The numRxRejected to set.

Returns
Type Description
BfdStatusPacketCounts.Builder

This builder for chaining.

setNumRxSuccessful(int value)

public BfdStatusPacketCounts.Builder setNumRxSuccessful(int value)

Number of packets received that were successfully processed since the beginning of the current BFD session.

optional uint32 num_rx_successful = 455361850;

Parameter
Name Description
value int

The numRxSuccessful to set.

Returns
Type Description
BfdStatusPacketCounts.Builder

This builder for chaining.

setNumTx(int value)

public BfdStatusPacketCounts.Builder setNumTx(int value)

Number of packets transmitted since the beginning of the current BFD session.

optional uint32 num_tx = 39375325;

Parameter
Name Description
value int

The numTx to set.

Returns
Type Description
BfdStatusPacketCounts.Builder

This builder for chaining.