Class InterconnectDiagnostics.PacketCounts (0.16.0)

public static final class InterconnectDiagnostics.PacketCounts extends GeneratedMessageV3 implements InterconnectDiagnostics.PacketCountsOrBuilder

Containing a collection of interface-related statistics objects.

Protobuf type google.cloud.edgenetwork.v1.InterconnectDiagnostics.PacketCounts

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > InterconnectDiagnostics.PacketCounts

Static Fields

INBOUND_DISCARDS_FIELD_NUMBER

public static final int INBOUND_DISCARDS_FIELD_NUMBER
Field Value
Type Description
int

INBOUND_ERRORS_FIELD_NUMBER

public static final int INBOUND_ERRORS_FIELD_NUMBER
Field Value
Type Description
int

INBOUND_UNICAST_FIELD_NUMBER

public static final int INBOUND_UNICAST_FIELD_NUMBER
Field Value
Type Description
int

OUTBOUND_DISCARDS_FIELD_NUMBER

public static final int OUTBOUND_DISCARDS_FIELD_NUMBER
Field Value
Type Description
int

OUTBOUND_ERRORS_FIELD_NUMBER

public static final int OUTBOUND_ERRORS_FIELD_NUMBER
Field Value
Type Description
int

OUTBOUND_UNICAST_FIELD_NUMBER

public static final int OUTBOUND_UNICAST_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static InterconnectDiagnostics.PacketCounts getDefaultInstance()
Returns
Type Description
InterconnectDiagnostics.PacketCounts

getDescriptor()

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

newBuilder()

public static InterconnectDiagnostics.PacketCounts.Builder newBuilder()
Returns
Type Description
InterconnectDiagnostics.PacketCounts.Builder

newBuilder(InterconnectDiagnostics.PacketCounts prototype)

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

parseDelimitedFrom(InputStream input)

public static InterconnectDiagnostics.PacketCounts parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
InterconnectDiagnostics.PacketCounts
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static InterconnectDiagnostics.PacketCounts parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
InterconnectDiagnostics.PacketCounts
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static InterconnectDiagnostics.PacketCounts parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
InterconnectDiagnostics.PacketCounts
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static InterconnectDiagnostics.PacketCounts parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
InterconnectDiagnostics.PacketCounts
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static InterconnectDiagnostics.PacketCounts parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
InterconnectDiagnostics.PacketCounts
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<InterconnectDiagnostics.PacketCounts> parser()
Returns
Type Description
Parser<PacketCounts>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public InterconnectDiagnostics.PacketCounts getDefaultInstanceForType()
Returns
Type Description
InterconnectDiagnostics.PacketCounts

getInboundDiscards()

public long getInboundDiscards()

The number of inbound packets that were chosen to be discarded even though no errors had been detected to prevent their being deliverable.

int64 inbound_discards = 3;

Returns
Type Description
long

The inboundDiscards.

getInboundErrors()

public long getInboundErrors()

The number of inbound packets that contained errors.

int64 inbound_errors = 2;

Returns
Type Description
long

The inboundErrors.

getInboundUnicast()

public long getInboundUnicast()

The number of packets that are delivered.

int64 inbound_unicast = 1;

Returns
Type Description
long

The inboundUnicast.

getOutboundDiscards()

public long getOutboundDiscards()

The number of outbound packets that were chosen to be discarded even though no errors had been detected to prevent their being transmitted.

int64 outbound_discards = 6;

Returns
Type Description
long

The outboundDiscards.

getOutboundErrors()

public long getOutboundErrors()

The number of outbound packets that could not be transmitted because of errors.

int64 outbound_errors = 5;

Returns
Type Description
long

The outboundErrors.

getOutboundUnicast()

public long getOutboundUnicast()

The total number of packets that are requested be transmitted.

int64 outbound_unicast = 4;

Returns
Type Description
long

The outboundUnicast.

getParserForType()

public Parser<InterconnectDiagnostics.PacketCounts> getParserForType()
Returns
Type Description
Parser<PacketCounts>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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 InterconnectDiagnostics.PacketCounts.Builder newBuilderForType()
Returns
Type Description
InterconnectDiagnostics.PacketCounts.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public InterconnectDiagnostics.PacketCounts.Builder toBuilder()
Returns
Type Description
InterconnectDiagnostics.PacketCounts.Builder

writeTo(CodedOutputStream output)

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