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

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
NameDescription
data array

Optional. Data for populating the Message object.

↳ field string
↳ count Google\Cloud\MigrationCenter\V1\AggregationResult\Count
↳ sum Google\Cloud\MigrationCenter\V1\AggregationResult\Sum
↳ histogram Google\Cloud\MigrationCenter\V1\AggregationResult\Histogram
↳ frequency Google\Cloud\MigrationCenter\V1\AggregationResult\Frequency

getField

Generated from protobuf field string field = 1;

Returns
TypeDescription
string

setField

Generated from protobuf field string field = 1;

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getCount

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

Returns
TypeDescription
Google\Cloud\MigrationCenter\V1\AggregationResult\Count|null

hasCount

setCount

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

Parameter
NameDescription
var Google\Cloud\MigrationCenter\V1\AggregationResult\Count
Returns
TypeDescription
$this

getSum

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

Returns
TypeDescription
Google\Cloud\MigrationCenter\V1\AggregationResult\Sum|null

hasSum

setSum

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

Parameter
NameDescription
var Google\Cloud\MigrationCenter\V1\AggregationResult\Sum
Returns
TypeDescription
$this

getHistogram

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

Returns
TypeDescription
Google\Cloud\MigrationCenter\V1\AggregationResult\Histogram|null

hasHistogram

setHistogram

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

Parameter
NameDescription
var Google\Cloud\MigrationCenter\V1\AggregationResult\Histogram
Returns
TypeDescription
$this

getFrequency

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

Returns
TypeDescription
Google\Cloud\MigrationCenter\V1\AggregationResult\Frequency|null

hasFrequency

setFrequency

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

Parameter
NameDescription
var Google\Cloud\MigrationCenter\V1\AggregationResult\Frequency
Returns
TypeDescription
$this

getResult

Returns
TypeDescription
string