Interface PromotionStatusOrBuilder (0.3.0)

public interface PromotionStatusOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCreationDate()

public abstract Timestamp getCreationDate()

Output only. Date on which the promotion has been created in ISO 8601 format: Date, time, and offset, for example 2020-01-02T09:00:00+01:00 or 2020-01-02T09:00:00Z

.google.protobuf.Timestamp creation_date = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The creationDate.

getCreationDateOrBuilder()

public abstract TimestampOrBuilder getCreationDateOrBuilder()

Output only. Date on which the promotion has been created in ISO 8601 format: Date, time, and offset, for example 2020-01-02T09:00:00+01:00 or 2020-01-02T09:00:00Z

.google.protobuf.Timestamp creation_date = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getDestinationStatuses(int index)

public abstract PromotionStatus.DestinationStatus getDestinationStatuses(int index)

Output only. The intended destinations for the promotion.

repeated .google.shopping.merchant.promotions.v1beta.PromotionStatus.DestinationStatus destination_statuses = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
PromotionStatus.DestinationStatus

getDestinationStatusesCount()

public abstract int getDestinationStatusesCount()

Output only. The intended destinations for the promotion.

repeated .google.shopping.merchant.promotions.v1beta.PromotionStatus.DestinationStatus destination_statuses = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getDestinationStatusesList()

public abstract List<PromotionStatus.DestinationStatus> getDestinationStatusesList()

Output only. The intended destinations for the promotion.

repeated .google.shopping.merchant.promotions.v1beta.PromotionStatus.DestinationStatus destination_statuses = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<DestinationStatus>

getDestinationStatusesOrBuilder(int index)

public abstract PromotionStatus.DestinationStatusOrBuilder getDestinationStatusesOrBuilder(int index)

Output only. The intended destinations for the promotion.

repeated .google.shopping.merchant.promotions.v1beta.PromotionStatus.DestinationStatus destination_statuses = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
PromotionStatus.DestinationStatusOrBuilder

getDestinationStatusesOrBuilderList()

public abstract List<? extends PromotionStatus.DestinationStatusOrBuilder> getDestinationStatusesOrBuilderList()

Output only. The intended destinations for the promotion.

repeated .google.shopping.merchant.promotions.v1beta.PromotionStatus.DestinationStatus destination_statuses = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<? extends com.google.shopping.merchant.promotions.v1beta.PromotionStatus.DestinationStatusOrBuilder>

getItemLevelIssues(int index)

public abstract PromotionStatus.ItemLevelIssue getItemLevelIssues(int index)

Output only. A list of issues associated with the promotion.

repeated .google.shopping.merchant.promotions.v1beta.PromotionStatus.ItemLevelIssue item_level_issues = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
PromotionStatus.ItemLevelIssue

getItemLevelIssuesCount()

public abstract int getItemLevelIssuesCount()

Output only. A list of issues associated with the promotion.

repeated .google.shopping.merchant.promotions.v1beta.PromotionStatus.ItemLevelIssue item_level_issues = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getItemLevelIssuesList()

public abstract List<PromotionStatus.ItemLevelIssue> getItemLevelIssuesList()

Output only. A list of issues associated with the promotion.

repeated .google.shopping.merchant.promotions.v1beta.PromotionStatus.ItemLevelIssue item_level_issues = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<ItemLevelIssue>

getItemLevelIssuesOrBuilder(int index)

public abstract PromotionStatus.ItemLevelIssueOrBuilder getItemLevelIssuesOrBuilder(int index)

Output only. A list of issues associated with the promotion.

repeated .google.shopping.merchant.promotions.v1beta.PromotionStatus.ItemLevelIssue item_level_issues = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
PromotionStatus.ItemLevelIssueOrBuilder

getItemLevelIssuesOrBuilderList()

public abstract List<? extends PromotionStatus.ItemLevelIssueOrBuilder> getItemLevelIssuesOrBuilderList()

Output only. A list of issues associated with the promotion.

repeated .google.shopping.merchant.promotions.v1beta.PromotionStatus.ItemLevelIssue item_level_issues = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<? extends com.google.shopping.merchant.promotions.v1beta.PromotionStatus.ItemLevelIssueOrBuilder>

getLastUpdateDate()

public abstract Timestamp getLastUpdateDate()

Output only. Date on which the promotion status has been last updated in ISO 8601 format: Date, time, and offset, for example 2020-01-02T09:00:00+01:00 or 2020-01-02T09:00:00Z

.google.protobuf.Timestamp last_update_date = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The lastUpdateDate.

getLastUpdateDateOrBuilder()

public abstract TimestampOrBuilder getLastUpdateDateOrBuilder()

Output only. Date on which the promotion status has been last updated in ISO 8601 format: Date, time, and offset, for example 2020-01-02T09:00:00+01:00 or 2020-01-02T09:00:00Z

.google.protobuf.Timestamp last_update_date = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

hasCreationDate()

public abstract boolean hasCreationDate()

Output only. Date on which the promotion has been created in ISO 8601 format: Date, time, and offset, for example 2020-01-02T09:00:00+01:00 or 2020-01-02T09:00:00Z

.google.protobuf.Timestamp creation_date = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the creationDate field is set.

hasLastUpdateDate()

public abstract boolean hasLastUpdateDate()

Output only. Date on which the promotion status has been last updated in ISO 8601 format: Date, time, and offset, for example 2020-01-02T09:00:00+01:00 or 2020-01-02T09:00:00Z

.google.protobuf.Timestamp last_update_date = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the lastUpdateDate field is set.