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

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
Name Description
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
Type Description
int|string

setInboundUnicast

The number of packets that are delivered.

Parameter
Name Description
var int|string
Returns
Type Description
$this

getInboundErrors

The number of inbound packets that contained errors.

Returns
Type Description
int|string

setInboundErrors

The number of inbound packets that contained errors.

Parameter
Name Description
var int|string
Returns
Type Description
$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
Type Description
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
Name Description
var int|string
Returns
Type Description
$this

getOutboundUnicast

The total number of packets that are requested be transmitted.

Returns
Type Description
int|string

setOutboundUnicast

The total number of packets that are requested be transmitted.

Parameter
Name Description
var int|string
Returns
Type Description
$this

getOutboundErrors

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

Returns
Type Description
int|string

setOutboundErrors

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

Parameter
Name Description
var int|string
Returns
Type Description
$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
Type Description
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
Name Description
var int|string
Returns
Type Description
$this