Interface MaintenanceSummary.StatsOrBuilder (0.2.0)

public static interface MaintenanceSummary.StatsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAggregates(int index)

public abstract MaintenanceSummary.Aggregate getAggregates(int index)

Aggregates is a list <group, count> pairs. For example, if the group_by is "state" a possible tuple in the aggregates list could be "SCHEDULED" : 11,

repeated .google.cloud.maintenance.api.v1beta.MaintenanceSummary.Aggregate aggregates = 2;

Parameter
Name Description
index int
Returns
Type Description
MaintenanceSummary.Aggregate

getAggregatesCount()

public abstract int getAggregatesCount()

Aggregates is a list <group, count> pairs. For example, if the group_by is "state" a possible tuple in the aggregates list could be "SCHEDULED" : 11,

repeated .google.cloud.maintenance.api.v1beta.MaintenanceSummary.Aggregate aggregates = 2;

Returns
Type Description
int

getAggregatesList()

public abstract List<MaintenanceSummary.Aggregate> getAggregatesList()

Aggregates is a list <group, count> pairs. For example, if the group_by is "state" a possible tuple in the aggregates list could be "SCHEDULED" : 11,

repeated .google.cloud.maintenance.api.v1beta.MaintenanceSummary.Aggregate aggregates = 2;

Returns
Type Description
List<Aggregate>

getAggregatesOrBuilder(int index)

public abstract MaintenanceSummary.AggregateOrBuilder getAggregatesOrBuilder(int index)

Aggregates is a list <group, count> pairs. For example, if the group_by is "state" a possible tuple in the aggregates list could be "SCHEDULED" : 11,

repeated .google.cloud.maintenance.api.v1beta.MaintenanceSummary.Aggregate aggregates = 2;

Parameter
Name Description
index int
Returns
Type Description
MaintenanceSummary.AggregateOrBuilder

getAggregatesOrBuilderList()

public abstract List<? extends MaintenanceSummary.AggregateOrBuilder> getAggregatesOrBuilderList()

Aggregates is a list <group, count> pairs. For example, if the group_by is "state" a possible tuple in the aggregates list could be "SCHEDULED" : 11,

repeated .google.cloud.maintenance.api.v1beta.MaintenanceSummary.Aggregate aggregates = 2;

Returns
Type Description
List<? extends com.google.cloud.maintenance.api.v1beta.MaintenanceSummary.AggregateOrBuilder>

getGroupBy()

public abstract String getGroupBy()

groupBy specifies the type of aggregate. For example a group_by might be "state"

string group_by = 1;

Returns
Type Description
String

The groupBy.

getGroupByBytes()

public abstract ByteString getGroupByBytes()

groupBy specifies the type of aggregate. For example a group_by might be "state"

string group_by = 1;

Returns
Type Description
ByteString

The bytes for groupBy.