Interface UsageHistoryOrBuilder (0.1.0)

public interface UsageHistoryOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAggregationMethod()

public abstract UsageHistory.AggregationMethod getAggregationMethod()

Method used to convert sampled usage data to time series values.

.google.cloud.capacityplanner.v1beta.UsageHistory.AggregationMethod aggregation_method = 2;

Returns
Type Description
UsageHistory.AggregationMethod

The aggregationMethod.

getAggregationMethodValue()

public abstract int getAggregationMethodValue()

Method used to convert sampled usage data to time series values.

.google.cloud.capacityplanner.v1beta.UsageHistory.AggregationMethod aggregation_method = 2;

Returns
Type Description
int

The enum numeric value on the wire for aggregationMethod.

getTimeSeries()

public abstract TimeSeries getTimeSeries()

The collection of data points that represent the historical values.

.google.cloud.capacityplanner.v1beta.TimeSeries time_series = 1;

Returns
Type Description
TimeSeries

The timeSeries.

getTimeSeriesOrBuilder()

public abstract TimeSeriesOrBuilder getTimeSeriesOrBuilder()

The collection of data points that represent the historical values.

.google.cloud.capacityplanner.v1beta.TimeSeries time_series = 1;

Returns
Type Description
TimeSeriesOrBuilder

hasTimeSeries()

public abstract boolean hasTimeSeries()

The collection of data points that represent the historical values.

.google.cloud.capacityplanner.v1beta.TimeSeries time_series = 1;

Returns
Type Description
boolean

Whether the timeSeries field is set.