Class BatchCreateForecastAdjustmentsResponse.Builder (0.62.0)

public static final class BatchCreateForecastAdjustmentsResponse.Builder extends GeneratedMessage.Builder<BatchCreateForecastAdjustmentsResponse.Builder> implements BatchCreateForecastAdjustmentsResponseOrBuilder

Response object for BatchCreateForecastAdjustments method.

Protobuf type google.ads.admanager.v1.BatchCreateForecastAdjustmentsResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllForecastAdjustments(Iterable<? extends ForecastAdjustment> values)

public BatchCreateForecastAdjustmentsResponse.Builder addAllForecastAdjustments(Iterable<? extends ForecastAdjustment> values)

The ForecastAdjustment objects created.

repeated .google.ads.admanager.v1.ForecastAdjustment forecast_adjustments = 1;

Parameter
Name Description
values Iterable<? extends com.google.ads.admanager.v1.ForecastAdjustment>
Returns
Type Description
BatchCreateForecastAdjustmentsResponse.Builder

addForecastAdjustments(ForecastAdjustment value)

public BatchCreateForecastAdjustmentsResponse.Builder addForecastAdjustments(ForecastAdjustment value)

The ForecastAdjustment objects created.

repeated .google.ads.admanager.v1.ForecastAdjustment forecast_adjustments = 1;

Parameter
Name Description
value ForecastAdjustment
Returns
Type Description
BatchCreateForecastAdjustmentsResponse.Builder

addForecastAdjustments(ForecastAdjustment.Builder builderForValue)

public BatchCreateForecastAdjustmentsResponse.Builder addForecastAdjustments(ForecastAdjustment.Builder builderForValue)

The ForecastAdjustment objects created.

repeated .google.ads.admanager.v1.ForecastAdjustment forecast_adjustments = 1;

Parameter
Name Description
builderForValue ForecastAdjustment.Builder
Returns
Type Description
BatchCreateForecastAdjustmentsResponse.Builder

addForecastAdjustments(int index, ForecastAdjustment value)

public BatchCreateForecastAdjustmentsResponse.Builder addForecastAdjustments(int index, ForecastAdjustment value)

The ForecastAdjustment objects created.

repeated .google.ads.admanager.v1.ForecastAdjustment forecast_adjustments = 1;

Parameters
Name Description
index int
value ForecastAdjustment
Returns
Type Description
BatchCreateForecastAdjustmentsResponse.Builder

addForecastAdjustments(int index, ForecastAdjustment.Builder builderForValue)

public BatchCreateForecastAdjustmentsResponse.Builder addForecastAdjustments(int index, ForecastAdjustment.Builder builderForValue)

The ForecastAdjustment objects created.

repeated .google.ads.admanager.v1.ForecastAdjustment forecast_adjustments = 1;

Parameters
Name Description
index int
builderForValue ForecastAdjustment.Builder
Returns
Type Description
BatchCreateForecastAdjustmentsResponse.Builder

addForecastAdjustmentsBuilder()

public ForecastAdjustment.Builder addForecastAdjustmentsBuilder()

The ForecastAdjustment objects created.

repeated .google.ads.admanager.v1.ForecastAdjustment forecast_adjustments = 1;

Returns
Type Description
ForecastAdjustment.Builder

addForecastAdjustmentsBuilder(int index)

public ForecastAdjustment.Builder addForecastAdjustmentsBuilder(int index)

The ForecastAdjustment objects created.

repeated .google.ads.admanager.v1.ForecastAdjustment forecast_adjustments = 1;

Parameter
Name Description
index int
Returns
Type Description
ForecastAdjustment.Builder

build()

public BatchCreateForecastAdjustmentsResponse build()
Returns
Type Description
BatchCreateForecastAdjustmentsResponse

buildPartial()

public BatchCreateForecastAdjustmentsResponse buildPartial()
Returns
Type Description
BatchCreateForecastAdjustmentsResponse

clear()

public BatchCreateForecastAdjustmentsResponse.Builder clear()
Returns
Type Description
BatchCreateForecastAdjustmentsResponse.Builder
Overrides

clearForecastAdjustments()

public BatchCreateForecastAdjustmentsResponse.Builder clearForecastAdjustments()

The ForecastAdjustment objects created.

repeated .google.ads.admanager.v1.ForecastAdjustment forecast_adjustments = 1;

Returns
Type Description
BatchCreateForecastAdjustmentsResponse.Builder

getDefaultInstanceForType()

public BatchCreateForecastAdjustmentsResponse getDefaultInstanceForType()
Returns
Type Description
BatchCreateForecastAdjustmentsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getForecastAdjustments(int index)

public ForecastAdjustment getForecastAdjustments(int index)

The ForecastAdjustment objects created.

repeated .google.ads.admanager.v1.ForecastAdjustment forecast_adjustments = 1;

Parameter
Name Description
index int
Returns
Type Description
ForecastAdjustment

getForecastAdjustmentsBuilder(int index)

public ForecastAdjustment.Builder getForecastAdjustmentsBuilder(int index)

The ForecastAdjustment objects created.

repeated .google.ads.admanager.v1.ForecastAdjustment forecast_adjustments = 1;

Parameter
Name Description
index int
Returns
Type Description
ForecastAdjustment.Builder

getForecastAdjustmentsBuilderList()

public List<ForecastAdjustment.Builder> getForecastAdjustmentsBuilderList()

The ForecastAdjustment objects created.

repeated .google.ads.admanager.v1.ForecastAdjustment forecast_adjustments = 1;

Returns
Type Description
List<Builder>

getForecastAdjustmentsCount()

public int getForecastAdjustmentsCount()

The ForecastAdjustment objects created.

repeated .google.ads.admanager.v1.ForecastAdjustment forecast_adjustments = 1;

Returns
Type Description
int

getForecastAdjustmentsList()

public List<ForecastAdjustment> getForecastAdjustmentsList()

The ForecastAdjustment objects created.

repeated .google.ads.admanager.v1.ForecastAdjustment forecast_adjustments = 1;

Returns
Type Description
List<ForecastAdjustment>

getForecastAdjustmentsOrBuilder(int index)

public ForecastAdjustmentOrBuilder getForecastAdjustmentsOrBuilder(int index)

The ForecastAdjustment objects created.

repeated .google.ads.admanager.v1.ForecastAdjustment forecast_adjustments = 1;

Parameter
Name Description
index int
Returns
Type Description
ForecastAdjustmentOrBuilder

getForecastAdjustmentsOrBuilderList()

public List<? extends ForecastAdjustmentOrBuilder> getForecastAdjustmentsOrBuilderList()

The ForecastAdjustment objects created.

repeated .google.ads.admanager.v1.ForecastAdjustment forecast_adjustments = 1;

Returns
Type Description
List<? extends com.google.ads.admanager.v1.ForecastAdjustmentOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(BatchCreateForecastAdjustmentsResponse other)

public BatchCreateForecastAdjustmentsResponse.Builder mergeFrom(BatchCreateForecastAdjustmentsResponse other)
Parameter
Name Description
other BatchCreateForecastAdjustmentsResponse
Returns
Type Description
BatchCreateForecastAdjustmentsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public BatchCreateForecastAdjustmentsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BatchCreateForecastAdjustmentsResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public BatchCreateForecastAdjustmentsResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
BatchCreateForecastAdjustmentsResponse.Builder
Overrides

removeForecastAdjustments(int index)

public BatchCreateForecastAdjustmentsResponse.Builder removeForecastAdjustments(int index)

The ForecastAdjustment objects created.

repeated .google.ads.admanager.v1.ForecastAdjustment forecast_adjustments = 1;

Parameter
Name Description
index int
Returns
Type Description
BatchCreateForecastAdjustmentsResponse.Builder

setForecastAdjustments(int index, ForecastAdjustment value)

public BatchCreateForecastAdjustmentsResponse.Builder setForecastAdjustments(int index, ForecastAdjustment value)

The ForecastAdjustment objects created.

repeated .google.ads.admanager.v1.ForecastAdjustment forecast_adjustments = 1;

Parameters
Name Description
index int
value ForecastAdjustment
Returns
Type Description
BatchCreateForecastAdjustmentsResponse.Builder

setForecastAdjustments(int index, ForecastAdjustment.Builder builderForValue)

public BatchCreateForecastAdjustmentsResponse.Builder setForecastAdjustments(int index, ForecastAdjustment.Builder builderForValue)

The ForecastAdjustment objects created.

repeated .google.ads.admanager.v1.ForecastAdjustment forecast_adjustments = 1;

Parameters
Name Description
index int
builderForValue ForecastAdjustment.Builder
Returns
Type Description
BatchCreateForecastAdjustmentsResponse.Builder