Class BfdStatusPacketCounts (1.52.0)

public final class BfdStatusPacketCounts extends GeneratedMessageV3 implements BfdStatusPacketCountsOrBuilder

Protobuf type google.cloud.compute.v1.BfdStatusPacketCounts

Static Fields

NUM_RX_FIELD_NUMBER

public static final int NUM_RX_FIELD_NUMBER
Field Value
Type Description
int

NUM_RX_REJECTED_FIELD_NUMBER

public static final int NUM_RX_REJECTED_FIELD_NUMBER
Field Value
Type Description
int

NUM_RX_SUCCESSFUL_FIELD_NUMBER

public static final int NUM_RX_SUCCESSFUL_FIELD_NUMBER
Field Value
Type Description
int

NUM_TX_FIELD_NUMBER

public static final int NUM_TX_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static BfdStatusPacketCounts getDefaultInstance()
Returns
Type Description
BfdStatusPacketCounts

getDescriptor()

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

newBuilder()

public static BfdStatusPacketCounts.Builder newBuilder()
Returns
Type Description
BfdStatusPacketCounts.Builder

newBuilder(BfdStatusPacketCounts prototype)

public static BfdStatusPacketCounts.Builder newBuilder(BfdStatusPacketCounts prototype)
Parameter
Name Description
prototype BfdStatusPacketCounts
Returns
Type Description
BfdStatusPacketCounts.Builder

parseDelimitedFrom(InputStream input)

public static BfdStatusPacketCounts parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
BfdStatusPacketCounts
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BfdStatusPacketCounts parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BfdStatusPacketCounts
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static BfdStatusPacketCounts parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
BfdStatusPacketCounts
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static BfdStatusPacketCounts parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BfdStatusPacketCounts
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static BfdStatusPacketCounts parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
BfdStatusPacketCounts
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static BfdStatusPacketCounts parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BfdStatusPacketCounts
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static BfdStatusPacketCounts parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
BfdStatusPacketCounts
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static BfdStatusPacketCounts parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BfdStatusPacketCounts
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static BfdStatusPacketCounts parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
BfdStatusPacketCounts
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BfdStatusPacketCounts parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BfdStatusPacketCounts
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static BfdStatusPacketCounts parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
BfdStatusPacketCounts
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static BfdStatusPacketCounts parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BfdStatusPacketCounts
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<BfdStatusPacketCounts> parser()
Returns
Type Description
Parser<BfdStatusPacketCounts>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public BfdStatusPacketCounts getDefaultInstanceForType()
Returns
Type Description
BfdStatusPacketCounts

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.

getParserForType()

public Parser<BfdStatusPacketCounts> getParserForType()
Returns
Type Description
Parser<BfdStatusPacketCounts>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public BfdStatusPacketCounts.Builder newBuilderForType()
Returns
Type Description
BfdStatusPacketCounts.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected BfdStatusPacketCounts.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
BfdStatusPacketCounts.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public BfdStatusPacketCounts.Builder toBuilder()
Returns
Type Description
BfdStatusPacketCounts.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException