Google Cloud Migration Center V1 Client - Class AggregationResult (1.0.2)

Reference documentation and code samples for the Google Cloud Migration Center V1 Client class AggregationResult.

Message describing a result of an aggregation.

Generated from protobuf message google.cloud.migrationcenter.v1.AggregationResult

Namespace

Google \ Cloud \ MigrationCenter \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ field string
↳ count AggregationResult\Count
↳ sum AggregationResult\Sum
↳ histogram AggregationResult\Histogram
↳ frequency AggregationResult\Frequency

getField

Generated from protobuf field string field = 1;

Returns
Type Description
string

setField

Generated from protobuf field string field = 1;

Parameter
Name Description
var string
Returns
Type Description
$this

getCount

Generated from protobuf field .google.cloud.migrationcenter.v1.AggregationResult.Count count = 2;

Returns
Type Description
AggregationResult\Count|null

hasCount

setCount

Generated from protobuf field .google.cloud.migrationcenter.v1.AggregationResult.Count count = 2;

Parameter
Name Description
var AggregationResult\Count
Returns
Type Description
$this

getSum

Generated from protobuf field .google.cloud.migrationcenter.v1.AggregationResult.Sum sum = 3;

Returns
Type Description
AggregationResult\Sum|null

hasSum

setSum

Generated from protobuf field .google.cloud.migrationcenter.v1.AggregationResult.Sum sum = 3;

Parameter
Name Description
var AggregationResult\Sum
Returns
Type Description
$this

getHistogram

Generated from protobuf field .google.cloud.migrationcenter.v1.AggregationResult.Histogram histogram = 4;

Returns
Type Description
AggregationResult\Histogram|null

hasHistogram

setHistogram

Generated from protobuf field .google.cloud.migrationcenter.v1.AggregationResult.Histogram histogram = 4;

Parameter
Name Description
var AggregationResult\Histogram
Returns
Type Description
$this

getFrequency

Generated from protobuf field .google.cloud.migrationcenter.v1.AggregationResult.Frequency frequency = 5;

Returns
Type Description
AggregationResult\Frequency|null

hasFrequency

setFrequency

Generated from protobuf field .google.cloud.migrationcenter.v1.AggregationResult.Frequency frequency = 5;

Parameter
Name Description
var AggregationResult\Frequency
Returns
Type Description
$this

getResult

Returns
Type Description
string