public static final class QueryForecastsResponse.Builder extends GeneratedMessage.Builder<QueryForecastsResponse.Builder> implements QueryForecastsResponseOrBuilder
The QueryForecasts response.
Protobuf type google.cloud.capacityplanner.v1beta.QueryForecastsResponse
Inherited Members
com.google.protobuf.GeneratedMessage.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessage.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldsProto3(com.google.protobuf.UnknownFieldSet)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllForecasts(Iterable<? extends Forecast> values)
public QueryForecastsResponse.Builder addAllForecasts(Iterable<? extends Forecast> values)
The forecasts that match the request.
repeated .google.cloud.capacityplanner.v1beta.Forecast forecasts = 1;
| Parameter |
| Name |
Description |
values |
Iterable<? extends com.google.cloud.capacityplanner.v1beta.Forecast>
|
addForecasts(Forecast value)
public QueryForecastsResponse.Builder addForecasts(Forecast value)
The forecasts that match the request.
repeated .google.cloud.capacityplanner.v1beta.Forecast forecasts = 1;
| Parameter |
| Name |
Description |
value |
Forecast
|
addForecasts(Forecast.Builder builderForValue)
public QueryForecastsResponse.Builder addForecasts(Forecast.Builder builderForValue)
The forecasts that match the request.
repeated .google.cloud.capacityplanner.v1beta.Forecast forecasts = 1;
addForecasts(int index, Forecast value)
public QueryForecastsResponse.Builder addForecasts(int index, Forecast value)
The forecasts that match the request.
repeated .google.cloud.capacityplanner.v1beta.Forecast forecasts = 1;
addForecasts(int index, Forecast.Builder builderForValue)
public QueryForecastsResponse.Builder addForecasts(int index, Forecast.Builder builderForValue)
The forecasts that match the request.
repeated .google.cloud.capacityplanner.v1beta.Forecast forecasts = 1;
addForecastsBuilder()
public Forecast.Builder addForecastsBuilder()
The forecasts that match the request.
repeated .google.cloud.capacityplanner.v1beta.Forecast forecasts = 1;
addForecastsBuilder(int index)
public Forecast.Builder addForecastsBuilder(int index)
The forecasts that match the request.
repeated .google.cloud.capacityplanner.v1beta.Forecast forecasts = 1;
| Parameter |
| Name |
Description |
index |
int
|
build()
public QueryForecastsResponse build()
buildPartial()
public QueryForecastsResponse buildPartial()
clear()
public QueryForecastsResponse.Builder clear()
Overrides
clearForecasts()
public QueryForecastsResponse.Builder clearForecasts()
The forecasts that match the request.
repeated .google.cloud.capacityplanner.v1beta.Forecast forecasts = 1;
getDefaultInstanceForType()
public QueryForecastsResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getForecasts(int index)
public Forecast getForecasts(int index)
The forecasts that match the request.
repeated .google.cloud.capacityplanner.v1beta.Forecast forecasts = 1;
| Parameter |
| Name |
Description |
index |
int
|
getForecastsBuilder(int index)
public Forecast.Builder getForecastsBuilder(int index)
The forecasts that match the request.
repeated .google.cloud.capacityplanner.v1beta.Forecast forecasts = 1;
| Parameter |
| Name |
Description |
index |
int
|
getForecastsBuilderList()
public List<Forecast.Builder> getForecastsBuilderList()
The forecasts that match the request.
repeated .google.cloud.capacityplanner.v1beta.Forecast forecasts = 1;
getForecastsCount()
public int getForecastsCount()
The forecasts that match the request.
repeated .google.cloud.capacityplanner.v1beta.Forecast forecasts = 1;
| Returns |
| Type |
Description |
int |
|
getForecastsList()
public List<Forecast> getForecastsList()
The forecasts that match the request.
repeated .google.cloud.capacityplanner.v1beta.Forecast forecasts = 1;
getForecastsOrBuilder(int index)
public ForecastOrBuilder getForecastsOrBuilder(int index)
The forecasts that match the request.
repeated .google.cloud.capacityplanner.v1beta.Forecast forecasts = 1;
| Parameter |
| Name |
Description |
index |
int
|
getForecastsOrBuilderList()
public List<? extends ForecastOrBuilder> getForecastsOrBuilderList()
The forecasts that match the request.
repeated .google.cloud.capacityplanner.v1beta.Forecast forecasts = 1;
| Returns |
| Type |
Description |
List<? extends com.google.cloud.capacityplanner.v1beta.ForecastOrBuilder> |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(QueryForecastsResponse other)
public QueryForecastsResponse.Builder mergeFrom(QueryForecastsResponse other)
public QueryForecastsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public QueryForecastsResponse.Builder mergeFrom(Message other)
| Parameter |
| Name |
Description |
other |
Message
|
Overrides
removeForecasts(int index)
public QueryForecastsResponse.Builder removeForecasts(int index)
The forecasts that match the request.
repeated .google.cloud.capacityplanner.v1beta.Forecast forecasts = 1;
| Parameter |
| Name |
Description |
index |
int
|
setForecasts(int index, Forecast value)
public QueryForecastsResponse.Builder setForecasts(int index, Forecast value)
The forecasts that match the request.
repeated .google.cloud.capacityplanner.v1beta.Forecast forecasts = 1;
setForecasts(int index, Forecast.Builder builderForValue)
public QueryForecastsResponse.Builder setForecasts(int index, Forecast.Builder builderForValue)
The forecasts that match the request.
repeated .google.cloud.capacityplanner.v1beta.Forecast forecasts = 1;