public final class CustomPacingGoal extends GeneratedMessage implements CustomPacingGoalOrBuilder
An interval of a CustomPacingCurve. A custom pacing goal contains a start
time and an amount. The goal will apply until either the next custom pacing
goal's getStartTime or the line item's end time if it is the last goal.
Protobuf type google.ads.admanager.v1.CustomPacingGoal
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
Static Fields
AMOUNT_FIELD_NUMBER
public static final int AMOUNT_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
START_TIME_FIELD_NUMBER
public static final int START_TIME_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
USE_LINE_ITEM_START_TIME_FIELD_NUMBER
public static final int USE_LINE_ITEM_START_TIME_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static CustomPacingGoal getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static CustomPacingGoal.Builder newBuilder()
newBuilder(CustomPacingGoal prototype)
public static CustomPacingGoal.Builder newBuilder(CustomPacingGoal prototype)
public static CustomPacingGoal parseDelimitedFrom(InputStream input)
public static CustomPacingGoal parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static CustomPacingGoal parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static CustomPacingGoal parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static CustomPacingGoal parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CustomPacingGoal parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CustomPacingGoal parseFrom(CodedInputStream input)
public static CustomPacingGoal parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static CustomPacingGoal parseFrom(InputStream input)
public static CustomPacingGoal parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static CustomPacingGoal parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static CustomPacingGoal parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<CustomPacingGoal> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getAmount()
Optional. The amount associated with the goal. This field is required.
optional int64 amount = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
long |
The amount.
|
getDefaultInstanceForType()
public CustomPacingGoal getDefaultInstanceForType()
getParserForType()
public Parser<CustomPacingGoal> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
getStartTime()
public Timestamp getStartTime()
Optional. The start date and time of the goal. This field is required
unless
use_line_item_start_time
is true.
optional .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
Timestamp |
The startTime.
|
getStartTimeOrBuilder()
public TimestampOrBuilder getStartTimeOrBuilder()
Optional. The start date and time of the goal. This field is required
unless
use_line_item_start_time
is true.
optional .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OPTIONAL];
getUseLineItemStartTime()
public boolean getUseLineItemStartTime()
Optional. Input only. Whether the [LineItem.start_time] should be used for
the start date and time of this goal. This field is not persisted and if it
is set to true, the [start_time] field will be populated by the line item's
start time.
optional bool use_line_item_start_time = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = INPUT_ONLY];
| Returns |
| Type |
Description |
boolean |
The useLineItemStartTime.
|
hasAmount()
public boolean hasAmount()
Optional. The amount associated with the goal. This field is required.
optional int64 amount = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
Whether the amount field is set.
|
hasStartTime()
public boolean hasStartTime()
Optional. The start date and time of the goal. This field is required
unless
use_line_item_start_time
is true.
optional .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
Whether the startTime field is set.
|
hasUseLineItemStartTime()
public boolean hasUseLineItemStartTime()
Optional. Input only. Whether the [LineItem.start_time] should be used for
the start date and time of this goal. This field is not persisted and if it
is set to true, the [start_time] field will be populated by the line item's
start time.
optional bool use_line_item_start_time = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = INPUT_ONLY];
| Returns |
| Type |
Description |
boolean |
Whether the useLineItemStartTime field is set.
|
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public CustomPacingGoal.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected CustomPacingGoal.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public CustomPacingGoal.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides