Class InterconnectDiagnostics.PacketCounts.Builder (0.20.0)

public static final class InterconnectDiagnostics.PacketCounts.Builder extends GeneratedMessageV3.Builder<InterconnectDiagnostics.PacketCounts.Builder> implements InterconnectDiagnostics.PacketCountsOrBuilder

Containing a collection of interface-related statistics objects.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public InterconnectDiagnostics.PacketCounts.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
InterconnectDiagnostics.PacketCounts.Builder
Overrides

build()

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

buildPartial()

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

clear()

public InterconnectDiagnostics.PacketCounts.Builder clear()
Returns
Type Description
InterconnectDiagnostics.PacketCounts.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public InterconnectDiagnostics.PacketCounts.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
InterconnectDiagnostics.PacketCounts.Builder
Overrides

clearInboundDiscards()

public InterconnectDiagnostics.PacketCounts.Builder clearInboundDiscards()

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
InterconnectDiagnostics.PacketCounts.Builder

This builder for chaining.

clearInboundErrors()

public InterconnectDiagnostics.PacketCounts.Builder clearInboundErrors()

The number of inbound packets that contained errors.

int64 inbound_errors = 2;

Returns
Type Description
InterconnectDiagnostics.PacketCounts.Builder

This builder for chaining.

clearInboundUnicast()

public InterconnectDiagnostics.PacketCounts.Builder clearInboundUnicast()

The number of packets that are delivered.

int64 inbound_unicast = 1;

Returns
Type Description
InterconnectDiagnostics.PacketCounts.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public InterconnectDiagnostics.PacketCounts.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
InterconnectDiagnostics.PacketCounts.Builder
Overrides

clearOutboundDiscards()

public InterconnectDiagnostics.PacketCounts.Builder clearOutboundDiscards()

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
InterconnectDiagnostics.PacketCounts.Builder

This builder for chaining.

clearOutboundErrors()

public InterconnectDiagnostics.PacketCounts.Builder clearOutboundErrors()

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

int64 outbound_errors = 5;

Returns
Type Description
InterconnectDiagnostics.PacketCounts.Builder

This builder for chaining.

clearOutboundUnicast()

public InterconnectDiagnostics.PacketCounts.Builder clearOutboundUnicast()

The total number of packets that are requested be transmitted.

int64 outbound_unicast = 4;

Returns
Type Description
InterconnectDiagnostics.PacketCounts.Builder

This builder for chaining.

clone()

public InterconnectDiagnostics.PacketCounts.Builder clone()
Returns
Type Description
InterconnectDiagnostics.PacketCounts.Builder
Overrides

getDefaultInstanceForType()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(InterconnectDiagnostics.PacketCounts other)

public InterconnectDiagnostics.PacketCounts.Builder mergeFrom(InterconnectDiagnostics.PacketCounts other)
Parameter
Name Description
other InterconnectDiagnostics.PacketCounts
Returns
Type Description
InterconnectDiagnostics.PacketCounts.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public InterconnectDiagnostics.PacketCounts.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
InterconnectDiagnostics.PacketCounts.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public InterconnectDiagnostics.PacketCounts.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
InterconnectDiagnostics.PacketCounts.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final InterconnectDiagnostics.PacketCounts.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
InterconnectDiagnostics.PacketCounts.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public InterconnectDiagnostics.PacketCounts.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
InterconnectDiagnostics.PacketCounts.Builder
Overrides

setInboundDiscards(long value)

public InterconnectDiagnostics.PacketCounts.Builder setInboundDiscards(long value)

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;

Parameter
Name Description
value long

The inboundDiscards to set.

Returns
Type Description
InterconnectDiagnostics.PacketCounts.Builder

This builder for chaining.

setInboundErrors(long value)

public InterconnectDiagnostics.PacketCounts.Builder setInboundErrors(long value)

The number of inbound packets that contained errors.

int64 inbound_errors = 2;

Parameter
Name Description
value long

The inboundErrors to set.

Returns
Type Description
InterconnectDiagnostics.PacketCounts.Builder

This builder for chaining.

setInboundUnicast(long value)

public InterconnectDiagnostics.PacketCounts.Builder setInboundUnicast(long value)

The number of packets that are delivered.

int64 inbound_unicast = 1;

Parameter
Name Description
value long

The inboundUnicast to set.

Returns
Type Description
InterconnectDiagnostics.PacketCounts.Builder

This builder for chaining.

setOutboundDiscards(long value)

public InterconnectDiagnostics.PacketCounts.Builder setOutboundDiscards(long value)

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;

Parameter
Name Description
value long

The outboundDiscards to set.

Returns
Type Description
InterconnectDiagnostics.PacketCounts.Builder

This builder for chaining.

setOutboundErrors(long value)

public InterconnectDiagnostics.PacketCounts.Builder setOutboundErrors(long value)

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

int64 outbound_errors = 5;

Parameter
Name Description
value long

The outboundErrors to set.

Returns
Type Description
InterconnectDiagnostics.PacketCounts.Builder

This builder for chaining.

setOutboundUnicast(long value)

public InterconnectDiagnostics.PacketCounts.Builder setOutboundUnicast(long value)

The total number of packets that are requested be transmitted.

int64 outbound_unicast = 4;

Parameter
Name Description
value long

The outboundUnicast to set.

Returns
Type Description
InterconnectDiagnostics.PacketCounts.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public InterconnectDiagnostics.PacketCounts.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
InterconnectDiagnostics.PacketCounts.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final InterconnectDiagnostics.PacketCounts.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
InterconnectDiagnostics.PacketCounts.Builder
Overrides