# Interface AggregateProductStatusOrBuilder (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.9.0 1.8.0 1.6.0 1.4.0 1.3.0 1.2.0 1.1.0 1.0.0 0.10.0 0.8.0 0.7.0 0.4.0 0.3.0 0.2.0

    public interface AggregateProductStatusOrBuilder extends MessageOrBuilder

## Implements

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

## Methods

### getCountry()

    public abstract String getCountry()

The country of the aggregate product statuses. Represented as a
[CLDR territory
code](https://github.com/unicode-org/cldr/blob/latest/common/main/en.xml).

`string country = 4;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The country. |

### getCountryBytes()

    public abstract ByteString getCountryBytes()

The country of the aggregate product statuses. Represented as a
[CLDR territory
code](https://github.com/unicode-org/cldr/blob/latest/common/main/en.xml).

`string country = 4;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for country. |

### getItemLevelIssues(int index)

    public abstract AggregateProductStatus.ItemLevelIssue getItemLevelIssues(int index)

The product issues that affect the given reporting context and country.

`
repeated .google.shopping.merchant.issueresolution.v1beta.AggregateProductStatus.ItemLevelIssue item_level_issues = 6;
`

| **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-issue-resolution/latest/com.google.shopping.merchant.issueresolution.v1beta.AggregateProductStatus.ItemLevelIssue` |   |

### getItemLevelIssuesCount()

    public abstract int getItemLevelIssuesCount()

The product issues that affect the given reporting context and country.

`
repeated .google.shopping.merchant.issueresolution.v1beta.AggregateProductStatus.ItemLevelIssue item_level_issues = 6;
`

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

### getItemLevelIssuesList()

    public abstract List<AggregateProductStatus.ItemLevelIssue> getItemLevelIssuesList()

The product issues that affect the given reporting context and country.

`
repeated .google.shopping.merchant.issueresolution.v1beta.AggregateProductStatus.ItemLevelIssue item_level_issues = 6;
`

| **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-issue-resolution/latest/com.google.shopping.merchant.issueresolution.v1beta.AggregateProductStatus.ItemLevelIssue>` |   |

### getItemLevelIssuesOrBuilder(int index)

    public abstract AggregateProductStatus.ItemLevelIssueOrBuilder getItemLevelIssuesOrBuilder(int index)

The product issues that affect the given reporting context and country.

`
repeated .google.shopping.merchant.issueresolution.v1beta.AggregateProductStatus.ItemLevelIssue item_level_issues = 6;
`

| **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-issue-resolution/latest/com.google.shopping.merchant.issueresolution.v1beta.AggregateProductStatus.ItemLevelIssueOrBuilder` |   |

### getItemLevelIssuesOrBuilderList()

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

The product issues that affect the given reporting context and country.

`
repeated .google.shopping.merchant.issueresolution.v1beta.AggregateProductStatus.ItemLevelIssue item_level_issues = 6;
`

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

### getName()

    public abstract String getName()

Identifier. The name of the `AggregateProductStatuses` resource.
Format:
`accounts/{account}/aggregateProductStatuses/{aggregateProductStatuses}`

`string name = 1 [(.google.api.field_behavior) = IDENTIFIER];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The name. |

### getNameBytes()

    public abstract ByteString getNameBytes()

Identifier. The name of the `AggregateProductStatuses` resource.
Format:
`accounts/{account}/aggregateProductStatuses/{aggregateProductStatuses}`

`string name = 1 [(.google.api.field_behavior) = IDENTIFIER];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for name. |

### getReportingContext()

    public abstract ReportingContext.ReportingContextEnum getReportingContext()

The reporting context of the aggregate product statuses.

`.google.shopping.type.ReportingContext.ReportingContextEnum reporting_context = 3;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `com.google.shopping.type.ReportingContext.ReportingContextEnum` | The reportingContext. |

### getReportingContextValue()

    public abstract int getReportingContextValue()

The reporting context of the aggregate product statuses.

`.google.shopping.type.ReportingContext.ReportingContextEnum reporting_context = 3;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The enum numeric value on the wire for reportingContext. |

### getStats()

    public abstract AggregateProductStatus.Stats getStats()

Products statistics for the given reporting context and country.

`.google.shopping.merchant.issueresolution.v1beta.AggregateProductStatus.Stats stats = 5;
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-shopping-merchant-issue-resolution/latest/com.google.shopping.merchant.issueresolution.v1beta.AggregateProductStatus.Stats` | The stats. |

### getStatsOrBuilder()

    public abstract AggregateProductStatus.StatsOrBuilder getStatsOrBuilder()

Products statistics for the given reporting context and country.

`.google.shopping.merchant.issueresolution.v1beta.AggregateProductStatus.Stats stats = 5;
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-shopping-merchant-issue-resolution/latest/com.google.shopping.merchant.issueresolution.v1beta.AggregateProductStatus.StatsOrBuilder` |   |

### hasStats()

    public abstract boolean hasStats()

Products statistics for the given reporting context and country.

`.google.shopping.merchant.issueresolution.v1beta.AggregateProductStatus.Stats stats = 5;
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the stats field is set. |