public static final class CustomPacingCurve.Builder extends GeneratedMessage.Builder<CustomPacingCurve.Builder> implements CustomPacingCurveOrBuilderA curve consisting of CustomPacingGoal objects that is used to pace line item delivery.
Protobuf type google.ads.admanager.v1.CustomPacingCurve
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > CustomPacingCurve.BuilderImplements
CustomPacingCurveOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllCustomPacingGoals(Iterable<? extends CustomPacingGoal> values)
public CustomPacingCurve.Builder addAllCustomPacingGoals(Iterable<? extends CustomPacingGoal> values)Required. The list of goals that make up the custom pacing curve.
repeated .google.ads.admanager.v1.CustomPacingGoal custom_pacing_goals = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.ads.admanager.v1.CustomPacingGoal> |
| Returns | |
|---|---|
| Type | Description |
CustomPacingCurve.Builder |
|
addCustomPacingGoals(CustomPacingGoal value)
public CustomPacingCurve.Builder addCustomPacingGoals(CustomPacingGoal value)Required. The list of goals that make up the custom pacing curve.
repeated .google.ads.admanager.v1.CustomPacingGoal custom_pacing_goals = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
CustomPacingGoal |
| Returns | |
|---|---|
| Type | Description |
CustomPacingCurve.Builder |
|
addCustomPacingGoals(CustomPacingGoal.Builder builderForValue)
public CustomPacingCurve.Builder addCustomPacingGoals(CustomPacingGoal.Builder builderForValue)Required. The list of goals that make up the custom pacing curve.
repeated .google.ads.admanager.v1.CustomPacingGoal custom_pacing_goals = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
CustomPacingGoal.Builder |
| Returns | |
|---|---|
| Type | Description |
CustomPacingCurve.Builder |
|
addCustomPacingGoals(int index, CustomPacingGoal value)
public CustomPacingCurve.Builder addCustomPacingGoals(int index, CustomPacingGoal value)Required. The list of goals that make up the custom pacing curve.
repeated .google.ads.admanager.v1.CustomPacingGoal custom_pacing_goals = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
CustomPacingGoal |
| Returns | |
|---|---|
| Type | Description |
CustomPacingCurve.Builder |
|
addCustomPacingGoals(int index, CustomPacingGoal.Builder builderForValue)
public CustomPacingCurve.Builder addCustomPacingGoals(int index, CustomPacingGoal.Builder builderForValue)Required. The list of goals that make up the custom pacing curve.
repeated .google.ads.admanager.v1.CustomPacingGoal custom_pacing_goals = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
CustomPacingGoal.Builder |
| Returns | |
|---|---|
| Type | Description |
CustomPacingCurve.Builder |
|
addCustomPacingGoalsBuilder()
public CustomPacingGoal.Builder addCustomPacingGoalsBuilder()Required. The list of goals that make up the custom pacing curve.
repeated .google.ads.admanager.v1.CustomPacingGoal custom_pacing_goals = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
CustomPacingGoal.Builder |
|
addCustomPacingGoalsBuilder(int index)
public CustomPacingGoal.Builder addCustomPacingGoalsBuilder(int index)Required. The list of goals that make up the custom pacing curve.
repeated .google.ads.admanager.v1.CustomPacingGoal custom_pacing_goals = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
CustomPacingGoal.Builder |
|
build()
public CustomPacingCurve build()| Returns | |
|---|---|
| Type | Description |
CustomPacingCurve |
|
buildPartial()
public CustomPacingCurve buildPartial()| Returns | |
|---|---|
| Type | Description |
CustomPacingCurve |
|
clear()
public CustomPacingCurve.Builder clear()| Returns | |
|---|---|
| Type | Description |
CustomPacingCurve.Builder |
|
clearCustomPacingGoalUnit()
public CustomPacingCurve.Builder clearCustomPacingGoalUnit()Required. The unit of the CustomPacingGoal.amount values.
optional .google.ads.admanager.v1.CustomPacingGoalUnitEnum.CustomPacingGoalUnit custom_pacing_goal_unit = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
CustomPacingCurve.Builder |
This builder for chaining. |
clearCustomPacingGoals()
public CustomPacingCurve.Builder clearCustomPacingGoals()Required. The list of goals that make up the custom pacing curve.
repeated .google.ads.admanager.v1.CustomPacingGoal custom_pacing_goals = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
CustomPacingCurve.Builder |
|
getCustomPacingGoalUnit()
public CustomPacingGoalUnitEnum.CustomPacingGoalUnit getCustomPacingGoalUnit()Required. The unit of the CustomPacingGoal.amount values.
optional .google.ads.admanager.v1.CustomPacingGoalUnitEnum.CustomPacingGoalUnit custom_pacing_goal_unit = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
CustomPacingGoalUnitEnum.CustomPacingGoalUnit |
The customPacingGoalUnit. |
getCustomPacingGoalUnitValue()
public int getCustomPacingGoalUnitValue()Required. The unit of the CustomPacingGoal.amount values.
optional .google.ads.admanager.v1.CustomPacingGoalUnitEnum.CustomPacingGoalUnit custom_pacing_goal_unit = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for customPacingGoalUnit. |
getCustomPacingGoals(int index)
public CustomPacingGoal getCustomPacingGoals(int index)Required. The list of goals that make up the custom pacing curve.
repeated .google.ads.admanager.v1.CustomPacingGoal custom_pacing_goals = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
CustomPacingGoal |
|
getCustomPacingGoalsBuilder(int index)
public CustomPacingGoal.Builder getCustomPacingGoalsBuilder(int index)Required. The list of goals that make up the custom pacing curve.
repeated .google.ads.admanager.v1.CustomPacingGoal custom_pacing_goals = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
CustomPacingGoal.Builder |
|
getCustomPacingGoalsBuilderList()
public List<CustomPacingGoal.Builder> getCustomPacingGoalsBuilderList()Required. The list of goals that make up the custom pacing curve.
repeated .google.ads.admanager.v1.CustomPacingGoal custom_pacing_goals = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getCustomPacingGoalsCount()
public int getCustomPacingGoalsCount()Required. The list of goals that make up the custom pacing curve.
repeated .google.ads.admanager.v1.CustomPacingGoal custom_pacing_goals = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
int |
|
getCustomPacingGoalsList()
public List<CustomPacingGoal> getCustomPacingGoalsList()Required. The list of goals that make up the custom pacing curve.
repeated .google.ads.admanager.v1.CustomPacingGoal custom_pacing_goals = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
List<CustomPacingGoal> |
|
getCustomPacingGoalsOrBuilder(int index)
public CustomPacingGoalOrBuilder getCustomPacingGoalsOrBuilder(int index)Required. The list of goals that make up the custom pacing curve.
repeated .google.ads.admanager.v1.CustomPacingGoal custom_pacing_goals = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
CustomPacingGoalOrBuilder |
|
getCustomPacingGoalsOrBuilderList()
public List<? extends CustomPacingGoalOrBuilder> getCustomPacingGoalsOrBuilderList()Required. The list of goals that make up the custom pacing curve.
repeated .google.ads.admanager.v1.CustomPacingGoal custom_pacing_goals = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.ads.admanager.v1.CustomPacingGoalOrBuilder> |
|
getDefaultInstanceForType()
public CustomPacingCurve getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
CustomPacingCurve |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
hasCustomPacingGoalUnit()
public boolean hasCustomPacingGoalUnit()Required. The unit of the CustomPacingGoal.amount values.
optional .google.ads.admanager.v1.CustomPacingGoalUnitEnum.CustomPacingGoalUnit custom_pacing_goal_unit = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the customPacingGoalUnit field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(CustomPacingCurve other)
public CustomPacingCurve.Builder mergeFrom(CustomPacingCurve other)| Parameter | |
|---|---|
| Name | Description |
other |
CustomPacingCurve |
| Returns | |
|---|---|
| Type | Description |
CustomPacingCurve.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CustomPacingCurve.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CustomPacingCurve.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public CustomPacingCurve.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
CustomPacingCurve.Builder |
|
removeCustomPacingGoals(int index)
public CustomPacingCurve.Builder removeCustomPacingGoals(int index)Required. The list of goals that make up the custom pacing curve.
repeated .google.ads.admanager.v1.CustomPacingGoal custom_pacing_goals = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
CustomPacingCurve.Builder |
|
setCustomPacingGoalUnit(CustomPacingGoalUnitEnum.CustomPacingGoalUnit value)
public CustomPacingCurve.Builder setCustomPacingGoalUnit(CustomPacingGoalUnitEnum.CustomPacingGoalUnit value)Required. The unit of the CustomPacingGoal.amount values.
optional .google.ads.admanager.v1.CustomPacingGoalUnitEnum.CustomPacingGoalUnit custom_pacing_goal_unit = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
CustomPacingGoalUnitEnum.CustomPacingGoalUnitThe customPacingGoalUnit to set. |
| Returns | |
|---|---|
| Type | Description |
CustomPacingCurve.Builder |
This builder for chaining. |
setCustomPacingGoalUnitValue(int value)
public CustomPacingCurve.Builder setCustomPacingGoalUnitValue(int value)Required. The unit of the CustomPacingGoal.amount values.
optional .google.ads.admanager.v1.CustomPacingGoalUnitEnum.CustomPacingGoalUnit custom_pacing_goal_unit = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for customPacingGoalUnit to set. |
| Returns | |
|---|---|
| Type | Description |
CustomPacingCurve.Builder |
This builder for chaining. |
setCustomPacingGoals(int index, CustomPacingGoal value)
public CustomPacingCurve.Builder setCustomPacingGoals(int index, CustomPacingGoal value)Required. The list of goals that make up the custom pacing curve.
repeated .google.ads.admanager.v1.CustomPacingGoal custom_pacing_goals = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
CustomPacingGoal |
| Returns | |
|---|---|
| Type | Description |
CustomPacingCurve.Builder |
|
setCustomPacingGoals(int index, CustomPacingGoal.Builder builderForValue)
public CustomPacingCurve.Builder setCustomPacingGoals(int index, CustomPacingGoal.Builder builderForValue)Required. The list of goals that make up the custom pacing curve.
repeated .google.ads.admanager.v1.CustomPacingGoal custom_pacing_goals = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
CustomPacingGoal.Builder |
| Returns | |
|---|---|
| Type | Description |
CustomPacingCurve.Builder |
|