# Interface PromotionStatusOrBuilder (1.21.0)

1.21.0 (latest) 1.19.0 1.16.0 1.15.0 1.13.0 1.11.0 1.10.0 1.8.0 1.6.0 1.4.0 1.3.0 1.2.0 1.1.0 1.0.0 0.26.0 0.24.0 0.23.0 0.20.0 0.19.0 0.18.0 0.16.0 0.15.0 0.14.0 0.13.0 0.12.0 0.11.0 0.10.0 0.9.0 0.8.0 0.7.0 0.5.0 0.4.0 0.3.0 0.2.0 0.1.0

    public interface PromotionStatusOrBuilder extends MessageOrBuilder

## Implements

[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)

## Methods

### getCreationDate()

    public abstract Timestamp getCreationDate()

Output only. Date on which the promotion has been created
in [ISO 8601](http://en.wikipedia.org/wiki/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** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.Timestamp.html` | The creationDate. |

### getCreationDateOrBuilder()

    public abstract TimestampOrBuilder getCreationDateOrBuilder()

Output only. Date on which the promotion has been created
in [ISO 8601](http://en.wikipedia.org/wiki/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** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.TimestampOrBuilder.html` |   |

### getDestinationStatuses(int index)

    public abstract PromotionStatus.DestinationStatus getDestinationStatuses(int index)

Output only. The intended destinations for the promotion.

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

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-shopping-merchant-promotions/latest/com.google.shopping.merchant.promotions.v1.PromotionStatus.DestinationStatus` |   |

### getDestinationStatusesCount()

    public abstract int getDestinationStatusesCount()

Output only. The intended destinations for the promotion.

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |   |

### getDestinationStatusesList()

    public abstract List<PromotionStatus.DestinationStatus> getDestinationStatusesList()

Output only. The intended destinations for the promotion.

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<https://docs.cloud.google.com/java/docs/reference/google-shopping-merchant-promotions/latest/com.google.shopping.merchant.promotions.v1.PromotionStatus.DestinationStatus>` |   |

### getDestinationStatusesOrBuilder(int index)

    public abstract PromotionStatus.DestinationStatusOrBuilder getDestinationStatusesOrBuilder(int index)

Output only. The intended destinations for the promotion.

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

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-shopping-merchant-promotions/latest/com.google.shopping.merchant.promotions.v1.PromotionStatus.DestinationStatusOrBuilder` |   |

### getDestinationStatusesOrBuilderList()

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

Output only. The intended destinations for the promotion.

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<? extends com.google.shopping.merchant.promotions.v1.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.v1.PromotionStatus.ItemLevelIssue item_level_issues = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-shopping-merchant-promotions/latest/com.google.shopping.merchant.promotions.v1.PromotionStatus.ItemLevelIssue` |   |

### getItemLevelIssuesCount()

    public abstract int getItemLevelIssuesCount()

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

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |   |

### getItemLevelIssuesList()

    public abstract List<PromotionStatus.ItemLevelIssue> getItemLevelIssuesList()

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

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<https://docs.cloud.google.com/java/docs/reference/google-shopping-merchant-promotions/latest/com.google.shopping.merchant.promotions.v1.PromotionStatus.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.v1.PromotionStatus.ItemLevelIssue item_level_issues = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-shopping-merchant-promotions/latest/com.google.shopping.merchant.promotions.v1.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.v1.PromotionStatus.ItemLevelIssue item_level_issues = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<? extends com.google.shopping.merchant.promotions.v1.PromotionStatus.ItemLevelIssueOrBuilder>` |   |

### getLastUpdateDate()

    public abstract Timestamp getLastUpdateDate()

Output only. Date on which the promotion status has been last updated
in [ISO 8601](http://en.wikipedia.org/wiki/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** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.Timestamp.html` | The lastUpdateDate. |

### getLastUpdateDateOrBuilder()

    public abstract TimestampOrBuilder getLastUpdateDateOrBuilder()

Output only. Date on which the promotion status has been last updated
in [ISO 8601](http://en.wikipedia.org/wiki/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** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.TimestampOrBuilder.html` |   |

### hasCreationDate()

    public abstract boolean hasCreationDate()

Output only. Date on which the promotion has been created
in [ISO 8601](http://en.wikipedia.org/wiki/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** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | 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](http://en.wikipedia.org/wiki/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** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the lastUpdateDate field is set. |