public static interface ProductView.StatusPerReportingContextOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getApprovedCountries(int index)
public abstract String getApprovedCountries(int index) List of approved countries in the reporting context, represented in
ISO 3166 format, for
example, US.
repeated string approved_countries = 2;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The approvedCountries at the given index. |
getApprovedCountriesBytes(int index)
public abstract ByteString getApprovedCountriesBytes(int index) List of approved countries in the reporting context, represented in
ISO 3166 format, for
example, US.
repeated string approved_countries = 2;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the approvedCountries at the given index. |
getApprovedCountriesCount()
public abstract int getApprovedCountriesCount() List of approved countries in the reporting context, represented in
ISO 3166 format, for
example, US.
repeated string approved_countries = 2;
| Returns | |
|---|---|
| Type | Description |
int |
The count of approvedCountries. |
getApprovedCountriesList()
public abstract List<String> getApprovedCountriesList() List of approved countries in the reporting context, represented in
ISO 3166 format, for
example, US.
repeated string approved_countries = 2;
| Returns | |
|---|---|
| Type | Description |
List<String> |
A list containing the approvedCountries. |
getDisapprovedCountries(int index)
public abstract String getDisapprovedCountries(int index) List of disapproved countries in the reporting context, represented in
ISO 3166 format, for
example, US.
repeated string disapproved_countries = 3;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The disapprovedCountries at the given index. |
getDisapprovedCountriesBytes(int index)
public abstract ByteString getDisapprovedCountriesBytes(int index) List of disapproved countries in the reporting context, represented in
ISO 3166 format, for
example, US.
repeated string disapproved_countries = 3;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the disapprovedCountries at the given index. |
getDisapprovedCountriesCount()
public abstract int getDisapprovedCountriesCount() List of disapproved countries in the reporting context, represented in
ISO 3166 format, for
example, US.
repeated string disapproved_countries = 3;
| Returns | |
|---|---|
| Type | Description |
int |
The count of disapprovedCountries. |
getDisapprovedCountriesList()
public abstract List<String> getDisapprovedCountriesList() List of disapproved countries in the reporting context, represented in
ISO 3166 format, for
example, US.
repeated string disapproved_countries = 3;
| Returns | |
|---|---|
| Type | Description |
List<String> |
A list containing the disapprovedCountries. |
getPendingCountries(int index)
public abstract String getPendingCountries(int index) List of pending countries in the reporting context, represented in
ISO 3166 format, for
example, US.
repeated string pending_countries = 4;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The pendingCountries at the given index. |
getPendingCountriesBytes(int index)
public abstract ByteString getPendingCountriesBytes(int index) List of pending countries in the reporting context, represented in
ISO 3166 format, for
example, US.
repeated string pending_countries = 4;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the pendingCountries at the given index. |
getPendingCountriesCount()
public abstract int getPendingCountriesCount() List of pending countries in the reporting context, represented in
ISO 3166 format, for
example, US.
repeated string pending_countries = 4;
| Returns | |
|---|---|
| Type | Description |
int |
The count of pendingCountries. |
getPendingCountriesList()
public abstract List<String> getPendingCountriesList() List of pending countries in the reporting context, represented in
ISO 3166 format, for
example, US.
repeated string pending_countries = 4;
| Returns | |
|---|---|
| Type | Description |
List<String> |
A list containing the pendingCountries. |
getReportingContext()
public abstract ReportingContext.ReportingContextEnum getReportingContext()Reporting context the status applies to.
optional .google.shopping.type.ReportingContext.ReportingContextEnum reporting_context = 1;
| Returns | |
|---|---|
| Type | Description |
com.google.shopping.type.ReportingContext.ReportingContextEnum |
The reportingContext. |
getReportingContextValue()
public abstract int getReportingContextValue()Reporting context the status applies to.
optional .google.shopping.type.ReportingContext.ReportingContextEnum reporting_context = 1;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for reportingContext. |
hasReportingContext()
public abstract boolean hasReportingContext()Reporting context the status applies to.
optional .google.shopping.type.ReportingContext.ReportingContextEnum reporting_context = 1;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the reportingContext field is set. |