Class InterconnectDiagnostics.PacketCounts (0.4.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
TypeDescription
int

INBOUND_ERRORS_FIELD_NUMBER

public static final int INBOUND_ERRORS_FIELD_NUMBER
Field Value
TypeDescription
int

INBOUND_UNICAST_FIELD_NUMBER

public static final int INBOUND_UNICAST_FIELD_NUMBER
Field Value
TypeDescription
int

OUTBOUND_DISCARDS_FIELD_NUMBER

public static final int OUTBOUND_DISCARDS_FIELD_NUMBER
Field Value
TypeDescription
int

OUTBOUND_ERRORS_FIELD_NUMBER

public static final int OUTBOUND_ERRORS_FIELD_NUMBER
Field Value
TypeDescription
int

OUTBOUND_UNICAST_FIELD_NUMBER

public static final int OUTBOUND_UNICAST_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static InterconnectDiagnostics.PacketCounts getDefaultInstance()
Returns
TypeDescription
InterconnectDiagnostics.PacketCounts

getDescriptor()

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

newBuilder()

public static InterconnectDiagnostics.PacketCounts.Builder newBuilder()
Returns
TypeDescription
InterconnectDiagnostics.PacketCounts.Builder

newBuilder(InterconnectDiagnostics.PacketCounts prototype)

public static InterconnectDiagnostics.PacketCounts.Builder newBuilder(InterconnectDiagnostics.PacketCounts prototype)
Parameter
NameDescription
prototypeInterconnectDiagnostics.PacketCounts
Returns
TypeDescription
InterconnectDiagnostics.PacketCounts.Builder

parseDelimitedFrom(InputStream input)

public static InterconnectDiagnostics.PacketCounts parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
InterconnectDiagnostics.PacketCounts
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static InterconnectDiagnostics.PacketCounts parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
InterconnectDiagnostics.PacketCounts
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static InterconnectDiagnostics.PacketCounts parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
InterconnectDiagnostics.PacketCounts
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static InterconnectDiagnostics.PacketCounts parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
InterconnectDiagnostics.PacketCounts
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static InterconnectDiagnostics.PacketCounts parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
InterconnectDiagnostics.PacketCounts
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public InterconnectDiagnostics.PacketCounts getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
long

The inboundDiscards.

getInboundErrors()

public long getInboundErrors()

The number of inbound packets that contained errors.

int64 inbound_errors = 2;

Returns
TypeDescription
long

The inboundErrors.

getInboundUnicast()

public long getInboundUnicast()

The number of packets that are delivered.

int64 inbound_unicast = 1;

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

The outboundErrors.

getOutboundUnicast()

public long getOutboundUnicast()

The total number of packets that are requested be transmitted.

int64 outbound_unicast = 4;

Returns
TypeDescription
long

The outboundUnicast.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public InterconnectDiagnostics.PacketCounts.Builder toBuilder()
Returns
TypeDescription
InterconnectDiagnostics.PacketCounts.Builder

writeTo(CodedOutputStream output)

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