public interface ForecastOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getAggregationMethod()
public abstract UsageHistory.AggregationMethod getAggregationMethod()Aggregation Method of the historical usage for which the forecast is generated
.google.cloud.capacityplanner.v1beta.UsageHistory.AggregationMethod aggregation_method = 6;
| Returns | |
|---|---|
| Type | Description |
UsageHistory.AggregationMethod |
The aggregationMethod. |
getAggregationMethodValue()
public abstract int getAggregationMethodValue()Aggregation Method of the historical usage for which the forecast is generated
.google.cloud.capacityplanner.v1beta.UsageHistory.AggregationMethod aggregation_method = 6;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for aggregationMethod. |
getBounds()
public abstract Forecast.Bounds getBounds()The bounds represented by this forecast time series.
.google.cloud.capacityplanner.v1beta.Forecast.Bounds bounds = 4;
| Returns | |
|---|---|
| Type | Description |
Forecast.Bounds |
The bounds. |
getBoundsValue()
public abstract int getBoundsValue()The bounds represented by this forecast time series.
.google.cloud.capacityplanner.v1beta.Forecast.Bounds bounds = 4;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for bounds. |
getForecastType()
public abstract Forecast.ForecastType getForecastType()The type of forecast.
.google.cloud.capacityplanner.v1beta.Forecast.ForecastType forecast_type = 3;
| Returns | |
|---|---|
| Type | Description |
Forecast.ForecastType |
The forecastType. |
getForecastTypeValue()
public abstract int getForecastTypeValue()The type of forecast.
.google.cloud.capacityplanner.v1beta.Forecast.ForecastType forecast_type = 3;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for forecastType. |
getName()
public abstract String getName() The resource name of the connection in the form of:
projects/{project_id}/locations/{location_id}/forecasts/{forecast_id} or
organizations/{organization_id}/locations/{location_id}/forecasts/{forecast_id}
or folders/{folder_id}/locations/{location_id}/forecasts/{forecast_id}
string name = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public abstract ByteString getNameBytes() The resource name of the connection in the form of:
projects/{project_id}/locations/{location_id}/forecasts/{forecast_id} or
organizations/{organization_id}/locations/{location_id}/forecasts/{forecast_id}
or folders/{folder_id}/locations/{location_id}/forecasts/{forecast_id}
string name = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getPredictionInterval()
public abstract Forecast.PredictionInterval getPredictionInterval()The prediction interval represented by the time series.
.google.cloud.capacityplanner.v1beta.Forecast.PredictionInterval prediction_interval = 5;
| Returns | |
|---|---|
| Type | Description |
Forecast.PredictionInterval |
The predictionInterval. |
getPredictionIntervalValue()
public abstract int getPredictionIntervalValue()The prediction interval represented by the time series.
.google.cloud.capacityplanner.v1beta.Forecast.PredictionInterval prediction_interval = 5;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for predictionInterval. |
getTimeSeries()
public abstract TimeSeries getTimeSeries()The collection of data points that represent the predicted values. Note that some of these values may be in the past (if, for example, the forecast was created in the past and predicted values for the present day).
.google.cloud.capacityplanner.v1beta.TimeSeries time_series = 2;
| Returns | |
|---|---|
| Type | Description |
TimeSeries |
The timeSeries. |
getTimeSeriesOrBuilder()
public abstract TimeSeriesOrBuilder getTimeSeriesOrBuilder()The collection of data points that represent the predicted values. Note that some of these values may be in the past (if, for example, the forecast was created in the past and predicted values for the present day).
.google.cloud.capacityplanner.v1beta.TimeSeries time_series = 2;
| Returns | |
|---|---|
| Type | Description |
TimeSeriesOrBuilder |
|
hasTimeSeries()
public abstract boolean hasTimeSeries()The collection of data points that represent the predicted values. Note that some of these values may be in the past (if, for example, the forecast was created in the past and predicted values for the present day).
.google.cloud.capacityplanner.v1beta.TimeSeries time_series = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the timeSeries field is set. |