Google Cloud Edge Network V1 Client - Class PacketCounts (0.1.1)

Reference documentation and code samples for the Google Cloud Edge Network V1 Client class PacketCounts.

Containing a collection of interface-related statistics objects.

Generated from protobuf message google.cloud.edgenetwork.v1.InterconnectDiagnostics.PacketCounts

Namespace

Google \ Cloud \ EdgeNetwork \ V1 \ InterconnectDiagnostics

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ inbound_unicast int|string

The number of packets that are delivered.

↳ inbound_errors int|string

The number of inbound packets that contained errors.

↳ inbound_discards int|string

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

↳ outbound_unicast int|string

The total number of packets that are requested be transmitted.

↳ outbound_errors int|string

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

↳ outbound_discards int|string

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

getInboundUnicast

The number of packets that are delivered.

Returns
TypeDescription
int|string

setInboundUnicast

The number of packets that are delivered.

Parameter
NameDescription
var int|string
Returns
TypeDescription
$this

getInboundErrors

The number of inbound packets that contained errors.

Returns
TypeDescription
int|string

setInboundErrors

The number of inbound packets that contained errors.

Parameter
NameDescription
var int|string
Returns
TypeDescription
$this

getInboundDiscards

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

Returns
TypeDescription
int|string

setInboundDiscards

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

Parameter
NameDescription
var int|string
Returns
TypeDescription
$this

getOutboundUnicast

The total number of packets that are requested be transmitted.

Returns
TypeDescription
int|string

setOutboundUnicast

The total number of packets that are requested be transmitted.

Parameter
NameDescription
var int|string
Returns
TypeDescription
$this

getOutboundErrors

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

Returns
TypeDescription
int|string

setOutboundErrors

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

Parameter
NameDescription
var int|string
Returns
TypeDescription
$this

getOutboundDiscards

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

Returns
TypeDescription
int|string

setOutboundDiscards

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

Parameter
NameDescription
var int|string
Returns
TypeDescription
$this