Interface CustomPacingGoalOrBuilder (0.54.0)

public interface CustomPacingGoalOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAmount()

public abstract long 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.

getStartTime()

public abstract 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 abstract 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];

Returns
Type Description
TimestampOrBuilder

getUseLineItemStartTime()

public abstract 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 abstract 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 abstract 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 abstract 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.