Class BfdStatusPacketCounts.Builder (1.54.0)

public static final class BfdStatusPacketCounts.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public BfdStatusPacketCounts.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
BfdStatusPacketCounts.Builder
Overrides

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final BfdStatusPacketCounts.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
BfdStatusPacketCounts.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public BfdStatusPacketCounts.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
BfdStatusPacketCounts.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final BfdStatusPacketCounts.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
BfdStatusPacketCounts.Builder
Overrides