Class InterconnectDiagnostics.PacketCounts.Builder (0.1.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public InterconnectDiagnostics.PacketCounts.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
InterconnectDiagnostics.PacketCounts.Builder
Overrides

build()

public InterconnectDiagnostics.PacketCounts build()
Returns
TypeDescription
InterconnectDiagnostics.PacketCounts

buildPartial()

public InterconnectDiagnostics.PacketCounts buildPartial()
Returns
TypeDescription
InterconnectDiagnostics.PacketCounts

clear()

public InterconnectDiagnostics.PacketCounts.Builder clear()
Returns
TypeDescription
InterconnectDiagnostics.PacketCounts.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public InterconnectDiagnostics.PacketCounts.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
InterconnectDiagnostics.PacketCounts.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public InterconnectDiagnostics.PacketCounts.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
InterconnectDiagnostics.PacketCounts.Builder

This builder for chaining.

clone()

public InterconnectDiagnostics.PacketCounts.Builder clone()
Returns
TypeDescription
InterconnectDiagnostics.PacketCounts.Builder
Overrides

getDefaultInstanceForType()

public InterconnectDiagnostics.PacketCounts getDefaultInstanceForType()
Returns
TypeDescription
InterconnectDiagnostics.PacketCounts

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(InterconnectDiagnostics.PacketCounts other)

public InterconnectDiagnostics.PacketCounts.Builder mergeFrom(InterconnectDiagnostics.PacketCounts other)
Parameter
NameDescription
otherInterconnectDiagnostics.PacketCounts
Returns
TypeDescription
InterconnectDiagnostics.PacketCounts.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public InterconnectDiagnostics.PacketCounts.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
InterconnectDiagnostics.PacketCounts.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public InterconnectDiagnostics.PacketCounts.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
InterconnectDiagnostics.PacketCounts.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final InterconnectDiagnostics.PacketCounts.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
InterconnectDiagnostics.PacketCounts.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public InterconnectDiagnostics.PacketCounts.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valuelong

The inboundDiscards to set.

Returns
TypeDescription
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
NameDescription
valuelong

The inboundErrors to set.

Returns
TypeDescription
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
NameDescription
valuelong

The inboundUnicast to set.

Returns
TypeDescription
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
NameDescription
valuelong

The outboundDiscards to set.

Returns
TypeDescription
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
NameDescription
valuelong

The outboundErrors to set.

Returns
TypeDescription
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
NameDescription
valuelong

The outboundUnicast to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
InterconnectDiagnostics.PacketCounts.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final InterconnectDiagnostics.PacketCounts.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
InterconnectDiagnostics.PacketCounts.Builder
Overrides