Reference documentation and code samples for the Google Cloud Edge Network V1 Client class PrefixCounter.
PrefixCounter contains a collection of prefixes related counts.
Generated from protobuf message google.cloud.edgenetwork.v1.RouterStatus.PrefixCounter
Namespace
Google \ Cloud \ EdgeNetwork \ V1 \ RouterStatusMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ advertised |
int|string
Number of prefixes advertised. |
↳ denied |
int|string
Number of prefixes denied. |
↳ received |
int|string
Number of prefixes received. |
↳ sent |
int|string
Number of prefixes sent. |
↳ suppressed |
int|string
Number of prefixes suppressed. |
↳ withdrawn |
int|string
Number of prefixes withdrawn. |
getAdvertised
Number of prefixes advertised.
Returns | |
---|---|
Type | Description |
int|string |
setAdvertised
Number of prefixes advertised.
Parameter | |
---|---|
Name | Description |
var |
int|string
|
Returns | |
---|---|
Type | Description |
$this |
getDenied
Number of prefixes denied.
Returns | |
---|---|
Type | Description |
int|string |
setDenied
Number of prefixes denied.
Parameter | |
---|---|
Name | Description |
var |
int|string
|
Returns | |
---|---|
Type | Description |
$this |
getReceived
Number of prefixes received.
Returns | |
---|---|
Type | Description |
int|string |
setReceived
Number of prefixes received.
Parameter | |
---|---|
Name | Description |
var |
int|string
|
Returns | |
---|---|
Type | Description |
$this |
getSent
Number of prefixes sent.
Returns | |
---|---|
Type | Description |
int|string |
setSent
Number of prefixes sent.
Parameter | |
---|---|
Name | Description |
var |
int|string
|
Returns | |
---|---|
Type | Description |
$this |
getSuppressed
Number of prefixes suppressed.
Returns | |
---|---|
Type | Description |
int|string |
setSuppressed
Number of prefixes suppressed.
Parameter | |
---|---|
Name | Description |
var |
int|string
|
Returns | |
---|---|
Type | Description |
$this |
getWithdrawn
Number of prefixes withdrawn.
Returns | |
---|---|
Type | Description |
int|string |
setWithdrawn
Number of prefixes withdrawn.
Parameter | |
---|---|
Name | Description |
var |
int|string
|
Returns | |
---|---|
Type | Description |
$this |