Class BfdStatusPacketCounts.Builder (1.38.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public BfdStatusPacketCounts build()
Returns
TypeDescription
BfdStatusPacketCounts

buildPartial()

public BfdStatusPacketCounts buildPartial()
Returns
TypeDescription
BfdStatusPacketCounts

clear()

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

clearField(Descriptors.FieldDescriptor field)

public BfdStatusPacketCounts.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
BfdStatusPacketCounts.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public BfdStatusPacketCounts getDefaultInstanceForType()
Returns
TypeDescription
BfdStatusPacketCounts

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getNumRx()

public int getNumRx()

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

optional uint32 num_rx = 39375263;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the numTx field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(BfdStatusPacketCounts other)

public BfdStatusPacketCounts.Builder mergeFrom(BfdStatusPacketCounts other)
Parameter
NameDescription
otherBfdStatusPacketCounts
Returns
TypeDescription
BfdStatusPacketCounts.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public BfdStatusPacketCounts.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueint

The numRx to set.

Returns
TypeDescription
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
NameDescription
valueint

The numRxRejected to set.

Returns
TypeDescription
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
NameDescription
valueint

The numRxSuccessful to set.

Returns
TypeDescription
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
NameDescription
valueint

The numTx to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
BfdStatusPacketCounts.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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