public static interface ProductView.ItemIssue.ItemIssueSeverity.IssueSeverityPerReportingContextOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getDemotedCountries(int index)
public abstract String getDemotedCountries(int index)List of demoted countries in the reporting context, represented in ISO 3166 format.
repeated string demoted_countries = 3;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The demotedCountries at the given index. |
getDemotedCountriesBytes(int index)
public abstract ByteString getDemotedCountriesBytes(int index)List of demoted countries in the reporting context, represented in ISO 3166 format.
repeated string demoted_countries = 3;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the demotedCountries at the given index. |
getDemotedCountriesCount()
public abstract int getDemotedCountriesCount()List of demoted countries in the reporting context, represented in ISO 3166 format.
repeated string demoted_countries = 3;
| Returns | |
|---|---|
| Type | Description |
int |
The count of demotedCountries. |
getDemotedCountriesList()
public abstract List<String> getDemotedCountriesList()List of demoted countries in the reporting context, represented in ISO 3166 format.
repeated string demoted_countries = 3;
| Returns | |
|---|---|
| Type | Description |
List<String> |
A list containing the demotedCountries. |
getDisapprovedCountries(int index)
public abstract String getDisapprovedCountries(int index)List of disapproved countries in the reporting context, represented in ISO 3166 format.
repeated string disapproved_countries = 2;
| 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.
repeated string disapproved_countries = 2;
| 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.
repeated string disapproved_countries = 2;
| 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.
repeated string disapproved_countries = 2;
| Returns | |
|---|---|
| Type | Description |
List<String> |
A list containing the disapprovedCountries. |
getReportingContext()
public abstract ReportingContext.ReportingContextEnum getReportingContext()Reporting context the issue 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 issue 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 issue applies to.
optional .google.shopping.type.ReportingContext.ReportingContextEnum reporting_context = 1;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the reportingContext field is set. |