public static final class ForecastBreakdownTarget.Builder extends GeneratedMessage.Builder<ForecastBreakdownTarget.Builder> implements ForecastBreakdownTargetOrBuilderSpecifies inventory targeted by a breakdown entry.
Protobuf type google.ads.admanager.v1.ForecastBreakdownTarget
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ForecastBreakdownTarget.BuilderImplements
ForecastBreakdownTargetOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public ForecastBreakdownTarget build()| Returns | |
|---|---|
| Type | Description |
ForecastBreakdownTarget |
|
buildPartial()
public ForecastBreakdownTarget buildPartial()| Returns | |
|---|---|
| Type | Description |
ForecastBreakdownTarget |
|
clear()
public ForecastBreakdownTarget.Builder clear()| Returns | |
|---|---|
| Type | Description |
ForecastBreakdownTarget.Builder |
|
clearCreativePlaceholder()
public ForecastBreakdownTarget.Builder clearCreativePlaceholder()If specified, restrict the breakdown to only inventory matching this creative.
optional .google.ads.admanager.v1.CreativePlaceholder creative_placeholder = 3;
| Returns | |
|---|---|
| Type | Description |
ForecastBreakdownTarget.Builder |
|
clearDisplayName()
public ForecastBreakdownTarget.Builder clearDisplayName()An optional name for this breakdown target, to be populated in the corresponding ForecastBreakdownEntry.displayName field.
optional string display_name = 1;
| Returns | |
|---|---|
| Type | Description |
ForecastBreakdownTarget.Builder |
This builder for chaining. |
clearTargeting()
public ForecastBreakdownTarget.Builder clearTargeting() If specified, the targeting for this breakdown.
Format: networks/{network_code}/targetings/{targeting}
optional .google.ads.admanager.v1.Targeting targeting = 2;
| Returns | |
|---|---|
| Type | Description |
ForecastBreakdownTarget.Builder |
|
getCreativePlaceholder()
public CreativePlaceholder getCreativePlaceholder()If specified, restrict the breakdown to only inventory matching this creative.
optional .google.ads.admanager.v1.CreativePlaceholder creative_placeholder = 3;
| Returns | |
|---|---|
| Type | Description |
CreativePlaceholder |
The creativePlaceholder. |
getCreativePlaceholderBuilder()
public CreativePlaceholder.Builder getCreativePlaceholderBuilder()If specified, restrict the breakdown to only inventory matching this creative.
optional .google.ads.admanager.v1.CreativePlaceholder creative_placeholder = 3;
| Returns | |
|---|---|
| Type | Description |
CreativePlaceholder.Builder |
|
getCreativePlaceholderOrBuilder()
public CreativePlaceholderOrBuilder getCreativePlaceholderOrBuilder()If specified, restrict the breakdown to only inventory matching this creative.
optional .google.ads.admanager.v1.CreativePlaceholder creative_placeholder = 3;
| Returns | |
|---|---|
| Type | Description |
CreativePlaceholderOrBuilder |
|
getDefaultInstanceForType()
public ForecastBreakdownTarget getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ForecastBreakdownTarget |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getDisplayName()
public String getDisplayName()An optional name for this breakdown target, to be populated in the corresponding ForecastBreakdownEntry.displayName field.
optional string display_name = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The displayName. |
getDisplayNameBytes()
public ByteString getDisplayNameBytes()An optional name for this breakdown target, to be populated in the corresponding ForecastBreakdownEntry.displayName field.
optional string display_name = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for displayName. |
getTargeting()
public Targeting getTargeting() If specified, the targeting for this breakdown.
Format: networks/{network_code}/targetings/{targeting}
optional .google.ads.admanager.v1.Targeting targeting = 2;
| Returns | |
|---|---|
| Type | Description |
Targeting |
The targeting. |
getTargetingBuilder()
public Targeting.Builder getTargetingBuilder() If specified, the targeting for this breakdown.
Format: networks/{network_code}/targetings/{targeting}
optional .google.ads.admanager.v1.Targeting targeting = 2;
| Returns | |
|---|---|
| Type | Description |
Targeting.Builder |
|
getTargetingOrBuilder()
public TargetingOrBuilder getTargetingOrBuilder() If specified, the targeting for this breakdown.
Format: networks/{network_code}/targetings/{targeting}
optional .google.ads.admanager.v1.Targeting targeting = 2;
| Returns | |
|---|---|
| Type | Description |
TargetingOrBuilder |
|
hasCreativePlaceholder()
public boolean hasCreativePlaceholder()If specified, restrict the breakdown to only inventory matching this creative.
optional .google.ads.admanager.v1.CreativePlaceholder creative_placeholder = 3;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the creativePlaceholder field is set. |
hasDisplayName()
public boolean hasDisplayName()An optional name for this breakdown target, to be populated in the corresponding ForecastBreakdownEntry.displayName field.
optional string display_name = 1;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the displayName field is set. |
hasTargeting()
public boolean hasTargeting() If specified, the targeting for this breakdown.
Format: networks/{network_code}/targetings/{targeting}
optional .google.ads.admanager.v1.Targeting targeting = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the targeting field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeCreativePlaceholder(CreativePlaceholder value)
public ForecastBreakdownTarget.Builder mergeCreativePlaceholder(CreativePlaceholder value)If specified, restrict the breakdown to only inventory matching this creative.
optional .google.ads.admanager.v1.CreativePlaceholder creative_placeholder = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
CreativePlaceholder |
| Returns | |
|---|---|
| Type | Description |
ForecastBreakdownTarget.Builder |
|
mergeFrom(ForecastBreakdownTarget other)
public ForecastBreakdownTarget.Builder mergeFrom(ForecastBreakdownTarget other)| Parameter | |
|---|---|
| Name | Description |
other |
ForecastBreakdownTarget |
| Returns | |
|---|---|
| Type | Description |
ForecastBreakdownTarget.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ForecastBreakdownTarget.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ForecastBreakdownTarget.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ForecastBreakdownTarget.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ForecastBreakdownTarget.Builder |
|
mergeTargeting(Targeting value)
public ForecastBreakdownTarget.Builder mergeTargeting(Targeting value) If specified, the targeting for this breakdown.
Format: networks/{network_code}/targetings/{targeting}
optional .google.ads.admanager.v1.Targeting targeting = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
Targeting |
| Returns | |
|---|---|
| Type | Description |
ForecastBreakdownTarget.Builder |
|
setCreativePlaceholder(CreativePlaceholder value)
public ForecastBreakdownTarget.Builder setCreativePlaceholder(CreativePlaceholder value)If specified, restrict the breakdown to only inventory matching this creative.
optional .google.ads.admanager.v1.CreativePlaceholder creative_placeholder = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
CreativePlaceholder |
| Returns | |
|---|---|
| Type | Description |
ForecastBreakdownTarget.Builder |
|
setCreativePlaceholder(CreativePlaceholder.Builder builderForValue)
public ForecastBreakdownTarget.Builder setCreativePlaceholder(CreativePlaceholder.Builder builderForValue)If specified, restrict the breakdown to only inventory matching this creative.
optional .google.ads.admanager.v1.CreativePlaceholder creative_placeholder = 3;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
CreativePlaceholder.Builder |
| Returns | |
|---|---|
| Type | Description |
ForecastBreakdownTarget.Builder |
|
setDisplayName(String value)
public ForecastBreakdownTarget.Builder setDisplayName(String value)An optional name for this breakdown target, to be populated in the corresponding ForecastBreakdownEntry.displayName field.
optional string display_name = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe displayName to set. |
| Returns | |
|---|---|
| Type | Description |
ForecastBreakdownTarget.Builder |
This builder for chaining. |
setDisplayNameBytes(ByteString value)
public ForecastBreakdownTarget.Builder setDisplayNameBytes(ByteString value)An optional name for this breakdown target, to be populated in the corresponding ForecastBreakdownEntry.displayName field.
optional string display_name = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for displayName to set. |
| Returns | |
|---|---|
| Type | Description |
ForecastBreakdownTarget.Builder |
This builder for chaining. |
setTargeting(Targeting value)
public ForecastBreakdownTarget.Builder setTargeting(Targeting value) If specified, the targeting for this breakdown.
Format: networks/{network_code}/targetings/{targeting}
optional .google.ads.admanager.v1.Targeting targeting = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
Targeting |
| Returns | |
|---|---|
| Type | Description |
ForecastBreakdownTarget.Builder |
|
setTargeting(Targeting.Builder builderForValue)
public ForecastBreakdownTarget.Builder setTargeting(Targeting.Builder builderForValue) If specified, the targeting for this breakdown.
Format: networks/{network_code}/targetings/{targeting}
optional .google.ads.admanager.v1.Targeting targeting = 2;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Targeting.Builder |
| Returns | |
|---|---|
| Type | Description |
ForecastBreakdownTarget.Builder |
|