public static final class RunAvailabilityForecastRequest.Builder extends GeneratedMessage.Builder<RunAvailabilityForecastRequest.Builder> implements RunAvailabilityForecastRequestOrBuilder Request object for RunAvailabilityForecast method.
Protobuf type google.ads.admanager.v1.RunAvailabilityForecastRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > RunAvailabilityForecastRequest.BuilderImplements
RunAvailabilityForecastRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public RunAvailabilityForecastRequest build()| Returns | |
|---|---|
| Type | Description |
RunAvailabilityForecastRequest |
|
buildPartial()
public RunAvailabilityForecastRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
RunAvailabilityForecastRequest |
|
clear()
public RunAvailabilityForecastRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
RunAvailabilityForecastRequest.Builder |
|
clearAvailabilityForecastOptions()
public RunAvailabilityForecastRequest.Builder clearAvailabilityForecastOptions()Required. The availability forecast options.
.google.ads.admanager.v1.AvailabilityForecastOptions availability_forecast_options = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
RunAvailabilityForecastRequest.Builder |
|
clearExistingLineItem()
public RunAvailabilityForecastRequest.Builder clearExistingLineItem() Optional. The resource name of the
LineItem to be forecasted. Format:
networks/{network_code}/lineItems/{line_item_id}
string existing_line_item = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
RunAvailabilityForecastRequest.Builder |
This builder for chaining. |
clearForecastingLineItem()
public RunAvailabilityForecastRequest.Builder clearForecastingLineItem()Optional. The ForecastingLineItem to be forecasted.
.google.ads.admanager.v1.ForecastingLineItem forecasting_line_item = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
RunAvailabilityForecastRequest.Builder |
|
clearLineItemData()
public RunAvailabilityForecastRequest.Builder clearLineItemData()| Returns | |
|---|---|
| Type | Description |
RunAvailabilityForecastRequest.Builder |
|
clearParent()
public RunAvailabilityForecastRequest.Builder clearParent() Required. Format: networks/{network_code}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
RunAvailabilityForecastRequest.Builder |
This builder for chaining. |
getAvailabilityForecastOptions()
public AvailabilityForecastOptions getAvailabilityForecastOptions()Required. The availability forecast options.
.google.ads.admanager.v1.AvailabilityForecastOptions availability_forecast_options = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
AvailabilityForecastOptions |
The availabilityForecastOptions. |
getAvailabilityForecastOptionsBuilder()
public AvailabilityForecastOptions.Builder getAvailabilityForecastOptionsBuilder()Required. The availability forecast options.
.google.ads.admanager.v1.AvailabilityForecastOptions availability_forecast_options = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
AvailabilityForecastOptions.Builder |
|
getAvailabilityForecastOptionsOrBuilder()
public AvailabilityForecastOptionsOrBuilder getAvailabilityForecastOptionsOrBuilder()Required. The availability forecast options.
.google.ads.admanager.v1.AvailabilityForecastOptions availability_forecast_options = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
AvailabilityForecastOptionsOrBuilder |
|
getDefaultInstanceForType()
public RunAvailabilityForecastRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
RunAvailabilityForecastRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getExistingLineItem()
public String getExistingLineItem() Optional. The resource name of the
LineItem to be forecasted. Format:
networks/{network_code}/lineItems/{line_item_id}
string existing_line_item = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The existingLineItem. |
getExistingLineItemBytes()
public ByteString getExistingLineItemBytes() Optional. The resource name of the
LineItem to be forecasted. Format:
networks/{network_code}/lineItems/{line_item_id}
string existing_line_item = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for existingLineItem. |
getForecastingLineItem()
public ForecastingLineItem getForecastingLineItem()Optional. The ForecastingLineItem to be forecasted.
.google.ads.admanager.v1.ForecastingLineItem forecasting_line_item = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ForecastingLineItem |
The forecastingLineItem. |
getForecastingLineItemBuilder()
public ForecastingLineItem.Builder getForecastingLineItemBuilder()Optional. The ForecastingLineItem to be forecasted.
.google.ads.admanager.v1.ForecastingLineItem forecasting_line_item = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ForecastingLineItem.Builder |
|
getForecastingLineItemOrBuilder()
public ForecastingLineItemOrBuilder getForecastingLineItemOrBuilder()Optional. The ForecastingLineItem to be forecasted.
.google.ads.admanager.v1.ForecastingLineItem forecasting_line_item = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ForecastingLineItemOrBuilder |
|
getLineItemDataCase()
public RunAvailabilityForecastRequest.LineItemDataCase getLineItemDataCase()| Returns | |
|---|---|
| Type | Description |
RunAvailabilityForecastRequest.LineItemDataCase |
|
getParent()
public String getParent() Required. Format: networks/{network_code}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The parent. |
getParentBytes()
public ByteString getParentBytes() Required. Format: networks/{network_code}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for parent. |
hasAvailabilityForecastOptions()
public boolean hasAvailabilityForecastOptions()Required. The availability forecast options.
.google.ads.admanager.v1.AvailabilityForecastOptions availability_forecast_options = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the availabilityForecastOptions field is set. |
hasExistingLineItem()
public boolean hasExistingLineItem() Optional. The resource name of the
LineItem to be forecasted. Format:
networks/{network_code}/lineItems/{line_item_id}
string existing_line_item = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the existingLineItem field is set. |
hasForecastingLineItem()
public boolean hasForecastingLineItem()Optional. The ForecastingLineItem to be forecasted.
.google.ads.admanager.v1.ForecastingLineItem forecasting_line_item = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the forecastingLineItem field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeAvailabilityForecastOptions(AvailabilityForecastOptions value)
public RunAvailabilityForecastRequest.Builder mergeAvailabilityForecastOptions(AvailabilityForecastOptions value)Required. The availability forecast options.
.google.ads.admanager.v1.AvailabilityForecastOptions availability_forecast_options = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
AvailabilityForecastOptions |
| Returns | |
|---|---|
| Type | Description |
RunAvailabilityForecastRequest.Builder |
|
mergeForecastingLineItem(ForecastingLineItem value)
public RunAvailabilityForecastRequest.Builder mergeForecastingLineItem(ForecastingLineItem value)Optional. The ForecastingLineItem to be forecasted.
.google.ads.admanager.v1.ForecastingLineItem forecasting_line_item = 6 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ForecastingLineItem |
| Returns | |
|---|---|
| Type | Description |
RunAvailabilityForecastRequest.Builder |
|
mergeFrom(RunAvailabilityForecastRequest other)
public RunAvailabilityForecastRequest.Builder mergeFrom(RunAvailabilityForecastRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
RunAvailabilityForecastRequest |
| Returns | |
|---|---|
| Type | Description |
RunAvailabilityForecastRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public RunAvailabilityForecastRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
RunAvailabilityForecastRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public RunAvailabilityForecastRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
RunAvailabilityForecastRequest.Builder |
|
setAvailabilityForecastOptions(AvailabilityForecastOptions value)
public RunAvailabilityForecastRequest.Builder setAvailabilityForecastOptions(AvailabilityForecastOptions value)Required. The availability forecast options.
.google.ads.admanager.v1.AvailabilityForecastOptions availability_forecast_options = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
AvailabilityForecastOptions |
| Returns | |
|---|---|
| Type | Description |
RunAvailabilityForecastRequest.Builder |
|
setAvailabilityForecastOptions(AvailabilityForecastOptions.Builder builderForValue)
public RunAvailabilityForecastRequest.Builder setAvailabilityForecastOptions(AvailabilityForecastOptions.Builder builderForValue)Required. The availability forecast options.
.google.ads.admanager.v1.AvailabilityForecastOptions availability_forecast_options = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
AvailabilityForecastOptions.Builder |
| Returns | |
|---|---|
| Type | Description |
RunAvailabilityForecastRequest.Builder |
|
setExistingLineItem(String value)
public RunAvailabilityForecastRequest.Builder setExistingLineItem(String value) Optional. The resource name of the
LineItem to be forecasted. Format:
networks/{network_code}/lineItems/{line_item_id}
string existing_line_item = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe existingLineItem to set. |
| Returns | |
|---|---|
| Type | Description |
RunAvailabilityForecastRequest.Builder |
This builder for chaining. |
setExistingLineItemBytes(ByteString value)
public RunAvailabilityForecastRequest.Builder setExistingLineItemBytes(ByteString value) Optional. The resource name of the
LineItem to be forecasted. Format:
networks/{network_code}/lineItems/{line_item_id}
string existing_line_item = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for existingLineItem to set. |
| Returns | |
|---|---|
| Type | Description |
RunAvailabilityForecastRequest.Builder |
This builder for chaining. |
setForecastingLineItem(ForecastingLineItem value)
public RunAvailabilityForecastRequest.Builder setForecastingLineItem(ForecastingLineItem value)Optional. The ForecastingLineItem to be forecasted.
.google.ads.admanager.v1.ForecastingLineItem forecasting_line_item = 6 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ForecastingLineItem |
| Returns | |
|---|---|
| Type | Description |
RunAvailabilityForecastRequest.Builder |
|
setForecastingLineItem(ForecastingLineItem.Builder builderForValue)
public RunAvailabilityForecastRequest.Builder setForecastingLineItem(ForecastingLineItem.Builder builderForValue)Optional. The ForecastingLineItem to be forecasted.
.google.ads.admanager.v1.ForecastingLineItem forecasting_line_item = 6 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
ForecastingLineItem.Builder |
| Returns | |
|---|---|
| Type | Description |
RunAvailabilityForecastRequest.Builder |
|
setParent(String value)
public RunAvailabilityForecastRequest.Builder setParent(String value) Required. Format: networks/{network_code}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe parent to set. |
| Returns | |
|---|---|
| Type | Description |
RunAvailabilityForecastRequest.Builder |
This builder for chaining. |
setParentBytes(ByteString value)
public RunAvailabilityForecastRequest.Builder setParentBytes(ByteString value) Required. Format: networks/{network_code}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for parent to set. |
| Returns | |
|---|---|
| Type | Description |
RunAvailabilityForecastRequest.Builder |
This builder for chaining. |