public static final class TargetingCriteriaBreakdown.Builder extends GeneratedMessage.Builder<TargetingCriteriaBreakdown.Builder> implements TargetingCriteriaBreakdownOrBuilderA single targeting criteria breakdown result.
Protobuf type google.ads.admanager.v1.TargetingCriteriaBreakdown
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > TargetingCriteriaBreakdown.BuilderImplements
TargetingCriteriaBreakdownOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public TargetingCriteriaBreakdown build()| Returns | |
|---|---|
| Type | Description |
TargetingCriteriaBreakdown |
|
buildPartial()
public TargetingCriteriaBreakdown buildPartial()| Returns | |
|---|---|
| Type | Description |
TargetingCriteriaBreakdown |
|
clear()
public TargetingCriteriaBreakdown.Builder clear()| Returns | |
|---|---|
| Type | Description |
TargetingCriteriaBreakdown.Builder |
|
clearAvailableUnits()
public TargetingCriteriaBreakdown.Builder clearAvailableUnits()The available units for this breakdown.
optional int64 available_units = 5;
| Returns | |
|---|---|
| Type | Description |
TargetingCriteriaBreakdown.Builder |
This builder for chaining. |
clearExcluded()
public TargetingCriteriaBreakdown.Builder clearExcluded()When true, the breakdown is negative.
optional bool excluded = 4;
| Returns | |
|---|---|
| Type | Description |
TargetingCriteriaBreakdown.Builder |
This builder for chaining. |
clearMatchedUnits()
public TargetingCriteriaBreakdown.Builder clearMatchedUnits()The matched units for this breakdown.
optional int64 matched_units = 6;
| Returns | |
|---|---|
| Type | Description |
TargetingCriteriaBreakdown.Builder |
This builder for chaining. |
clearTargetingCriteria()
public TargetingCriteriaBreakdown.Builder clearTargetingCriteria()The name of the targeting criteria.
optional string targeting_criteria = 3;
| Returns | |
|---|---|
| Type | Description |
TargetingCriteriaBreakdown.Builder |
This builder for chaining. |
clearTargetingCriteriaId()
public TargetingCriteriaBreakdown.Builder clearTargetingCriteriaId()The unique ID of the targeting criteria.
optional int64 targeting_criteria_id = 2;
| Returns | |
|---|---|
| Type | Description |
TargetingCriteriaBreakdown.Builder |
This builder for chaining. |
clearTargetingDimension()
public TargetingCriteriaBreakdown.Builder clearTargetingDimension()The dimension of this breakdown
optional .google.ads.admanager.v1.ForecastingTargetingDimensionEnum.ForecastingTargetingDimension targeting_dimension = 1;
| Returns | |
|---|---|
| Type | Description |
TargetingCriteriaBreakdown.Builder |
This builder for chaining. |
getAvailableUnits()
public long getAvailableUnits()The available units for this breakdown.
optional int64 available_units = 5;
| Returns | |
|---|---|
| Type | Description |
long |
The availableUnits. |
getDefaultInstanceForType()
public TargetingCriteriaBreakdown getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
TargetingCriteriaBreakdown |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getExcluded()
public boolean getExcluded()When true, the breakdown is negative.
optional bool excluded = 4;
| Returns | |
|---|---|
| Type | Description |
boolean |
The excluded. |
getMatchedUnits()
public long getMatchedUnits()The matched units for this breakdown.
optional int64 matched_units = 6;
| Returns | |
|---|---|
| Type | Description |
long |
The matchedUnits. |
getTargetingCriteria()
public String getTargetingCriteria()The name of the targeting criteria.
optional string targeting_criteria = 3;
| Returns | |
|---|---|
| Type | Description |
String |
The targetingCriteria. |
getTargetingCriteriaBytes()
public ByteString getTargetingCriteriaBytes()The name of the targeting criteria.
optional string targeting_criteria = 3;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for targetingCriteria. |
getTargetingCriteriaId()
public long getTargetingCriteriaId()The unique ID of the targeting criteria.
optional int64 targeting_criteria_id = 2;
| Returns | |
|---|---|
| Type | Description |
long |
The targetingCriteriaId. |
getTargetingDimension()
public ForecastingTargetingDimensionEnum.ForecastingTargetingDimension getTargetingDimension()The dimension of this breakdown
optional .google.ads.admanager.v1.ForecastingTargetingDimensionEnum.ForecastingTargetingDimension targeting_dimension = 1;
| Returns | |
|---|---|
| Type | Description |
ForecastingTargetingDimensionEnum.ForecastingTargetingDimension |
The targetingDimension. |
getTargetingDimensionValue()
public int getTargetingDimensionValue()The dimension of this breakdown
optional .google.ads.admanager.v1.ForecastingTargetingDimensionEnum.ForecastingTargetingDimension targeting_dimension = 1;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for targetingDimension. |
hasAvailableUnits()
public boolean hasAvailableUnits()The available units for this breakdown.
optional int64 available_units = 5;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the availableUnits field is set. |
hasExcluded()
public boolean hasExcluded()When true, the breakdown is negative.
optional bool excluded = 4;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the excluded field is set. |
hasMatchedUnits()
public boolean hasMatchedUnits()The matched units for this breakdown.
optional int64 matched_units = 6;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the matchedUnits field is set. |
hasTargetingCriteria()
public boolean hasTargetingCriteria()The name of the targeting criteria.
optional string targeting_criteria = 3;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the targetingCriteria field is set. |
hasTargetingCriteriaId()
public boolean hasTargetingCriteriaId()The unique ID of the targeting criteria.
optional int64 targeting_criteria_id = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the targetingCriteriaId field is set. |
hasTargetingDimension()
public boolean hasTargetingDimension()The dimension of this breakdown
optional .google.ads.admanager.v1.ForecastingTargetingDimensionEnum.ForecastingTargetingDimension targeting_dimension = 1;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the targetingDimension field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(TargetingCriteriaBreakdown other)
public TargetingCriteriaBreakdown.Builder mergeFrom(TargetingCriteriaBreakdown other)| Parameter | |
|---|---|
| Name | Description |
other |
TargetingCriteriaBreakdown |
| Returns | |
|---|---|
| Type | Description |
TargetingCriteriaBreakdown.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public TargetingCriteriaBreakdown.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
TargetingCriteriaBreakdown.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public TargetingCriteriaBreakdown.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
TargetingCriteriaBreakdown.Builder |
|
setAvailableUnits(long value)
public TargetingCriteriaBreakdown.Builder setAvailableUnits(long value)The available units for this breakdown.
optional int64 available_units = 5;
| Parameter | |
|---|---|
| Name | Description |
value |
longThe availableUnits to set. |
| Returns | |
|---|---|
| Type | Description |
TargetingCriteriaBreakdown.Builder |
This builder for chaining. |
setExcluded(boolean value)
public TargetingCriteriaBreakdown.Builder setExcluded(boolean value)When true, the breakdown is negative.
optional bool excluded = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe excluded to set. |
| Returns | |
|---|---|
| Type | Description |
TargetingCriteriaBreakdown.Builder |
This builder for chaining. |
setMatchedUnits(long value)
public TargetingCriteriaBreakdown.Builder setMatchedUnits(long value)The matched units for this breakdown.
optional int64 matched_units = 6;
| Parameter | |
|---|---|
| Name | Description |
value |
longThe matchedUnits to set. |
| Returns | |
|---|---|
| Type | Description |
TargetingCriteriaBreakdown.Builder |
This builder for chaining. |
setTargetingCriteria(String value)
public TargetingCriteriaBreakdown.Builder setTargetingCriteria(String value)The name of the targeting criteria.
optional string targeting_criteria = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe targetingCriteria to set. |
| Returns | |
|---|---|
| Type | Description |
TargetingCriteriaBreakdown.Builder |
This builder for chaining. |
setTargetingCriteriaBytes(ByteString value)
public TargetingCriteriaBreakdown.Builder setTargetingCriteriaBytes(ByteString value)The name of the targeting criteria.
optional string targeting_criteria = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for targetingCriteria to set. |
| Returns | |
|---|---|
| Type | Description |
TargetingCriteriaBreakdown.Builder |
This builder for chaining. |
setTargetingCriteriaId(long value)
public TargetingCriteriaBreakdown.Builder setTargetingCriteriaId(long value)The unique ID of the targeting criteria.
optional int64 targeting_criteria_id = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
longThe targetingCriteriaId to set. |
| Returns | |
|---|---|
| Type | Description |
TargetingCriteriaBreakdown.Builder |
This builder for chaining. |
setTargetingDimension(ForecastingTargetingDimensionEnum.ForecastingTargetingDimension value)
public TargetingCriteriaBreakdown.Builder setTargetingDimension(ForecastingTargetingDimensionEnum.ForecastingTargetingDimension value)The dimension of this breakdown
optional .google.ads.admanager.v1.ForecastingTargetingDimensionEnum.ForecastingTargetingDimension targeting_dimension = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ForecastingTargetingDimensionEnum.ForecastingTargetingDimensionThe targetingDimension to set. |
| Returns | |
|---|---|
| Type | Description |
TargetingCriteriaBreakdown.Builder |
This builder for chaining. |
setTargetingDimensionValue(int value)
public TargetingCriteriaBreakdown.Builder setTargetingDimensionValue(int value)The dimension of this breakdown
optional .google.ads.admanager.v1.ForecastingTargetingDimensionEnum.ForecastingTargetingDimension targeting_dimension = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for targetingDimension to set. |
| Returns | |
|---|---|
| Type | Description |
TargetingCriteriaBreakdown.Builder |
This builder for chaining. |