Class BfdStatusPacketCounts (1.15.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
TypeDescription
int

NUM_RX_REJECTED_FIELD_NUMBER

public static final int NUM_RX_REJECTED_FIELD_NUMBER
Field Value
TypeDescription
int

NUM_RX_SUCCESSFUL_FIELD_NUMBER

public static final int NUM_RX_SUCCESSFUL_FIELD_NUMBER
Field Value
TypeDescription
int

NUM_TX_FIELD_NUMBER

public static final int NUM_TX_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static BfdStatusPacketCounts getDefaultInstance()
Returns
TypeDescription
BfdStatusPacketCounts

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static BfdStatusPacketCounts.Builder newBuilder()
Returns
TypeDescription
BfdStatusPacketCounts.Builder

newBuilder(BfdStatusPacketCounts prototype)

public static BfdStatusPacketCounts.Builder newBuilder(BfdStatusPacketCounts prototype)
Parameter
NameDescription
prototypeBfdStatusPacketCounts
Returns
TypeDescription
BfdStatusPacketCounts.Builder

parseDelimitedFrom(InputStream input)

public static BfdStatusPacketCounts parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
BfdStatusPacketCounts
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BfdStatusPacketCounts parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BfdStatusPacketCounts
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static BfdStatusPacketCounts parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
BfdStatusPacketCounts
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static BfdStatusPacketCounts parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BfdStatusPacketCounts
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static BfdStatusPacketCounts parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
BfdStatusPacketCounts
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static BfdStatusPacketCounts parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BfdStatusPacketCounts
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static BfdStatusPacketCounts parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
BfdStatusPacketCounts
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static BfdStatusPacketCounts parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BfdStatusPacketCounts
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static BfdStatusPacketCounts parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
BfdStatusPacketCounts
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BfdStatusPacketCounts parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BfdStatusPacketCounts
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static BfdStatusPacketCounts parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
BfdStatusPacketCounts
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static BfdStatusPacketCounts parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BfdStatusPacketCounts
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<BfdStatusPacketCounts> parser()
Returns
TypeDescription
Parser<BfdStatusPacketCounts>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public BfdStatusPacketCounts getDefaultInstanceForType()
Returns
TypeDescription
BfdStatusPacketCounts

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.

getParserForType()

public Parser<BfdStatusPacketCounts> getParserForType()
Returns
TypeDescription
Parser<BfdStatusPacketCounts>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public BfdStatusPacketCounts.Builder newBuilderForType()
Returns
TypeDescription
BfdStatusPacketCounts.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected BfdStatusPacketCounts.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
BfdStatusPacketCounts.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public BfdStatusPacketCounts.Builder toBuilder()
Returns
TypeDescription
BfdStatusPacketCounts.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException