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
NUM_RX_REJECTED_FIELD_NUMBER
public static final int NUM_RX_REJECTED_FIELD_NUMBER
Field Value
NUM_RX_SUCCESSFUL_FIELD_NUMBER
public static final int NUM_RX_SUCCESSFUL_FIELD_NUMBER
Field Value
NUM_TX_FIELD_NUMBER
public static final int NUM_TX_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static BfdStatusPacketCounts getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static BfdStatusPacketCounts.Builder newBuilder()
Returns
newBuilder(BfdStatusPacketCounts prototype)
public static BfdStatusPacketCounts.Builder newBuilder(BfdStatusPacketCounts prototype)
Parameter
Returns
public static BfdStatusPacketCounts parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static BfdStatusPacketCounts parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static BfdStatusPacketCounts parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static BfdStatusPacketCounts parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static BfdStatusPacketCounts parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static BfdStatusPacketCounts parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static BfdStatusPacketCounts parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static BfdStatusPacketCounts parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static BfdStatusPacketCounts parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static BfdStatusPacketCounts parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static BfdStatusPacketCounts parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static BfdStatusPacketCounts parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<BfdStatusPacketCounts> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public BfdStatusPacketCounts getDefaultInstanceForType()
Returns
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()
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
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
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()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public BfdStatusPacketCounts.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected BfdStatusPacketCounts.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public BfdStatusPacketCounts.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions