Interface PromotionStatus.ItemLevelIssueOrBuilder (0.8.0)

public static interface PromotionStatus.ItemLevelIssueOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getApplicableCountries(int index)

public abstract String getApplicableCountries(int index)

Output only. List of country codes (ISO 3166-1 alpha-2) where issue applies to the offer.

repeated string applicable_countries = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The applicableCountries at the given index.

getApplicableCountriesBytes(int index)

public abstract ByteString getApplicableCountriesBytes(int index)

Output only. List of country codes (ISO 3166-1 alpha-2) where issue applies to the offer.

repeated string applicable_countries = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the applicableCountries at the given index.

getApplicableCountriesCount()

public abstract int getApplicableCountriesCount()

Output only. List of country codes (ISO 3166-1 alpha-2) where issue applies to the offer.

repeated string applicable_countries = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The count of applicableCountries.

getApplicableCountriesList()

public abstract List<String> getApplicableCountriesList()

Output only. List of country codes (ISO 3166-1 alpha-2) where issue applies to the offer.

repeated string applicable_countries = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<String>

A list containing the applicableCountries.

getAttribute()

public abstract String getAttribute()

Output only. The attribute's name, if the issue is caused by a single attribute.

string attribute = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The attribute.

getAttributeBytes()

public abstract ByteString getAttributeBytes()

Output only. The attribute's name, if the issue is caused by a single attribute.

string attribute = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for attribute.

getCode()

public abstract String getCode()

Output only. The error code of the issue.

string code = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The code.

getCodeBytes()

public abstract ByteString getCodeBytes()

Output only. The error code of the issue.

string code = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for code.

getDescription()

public abstract String getDescription()

Output only. A short issue description in English.

string description = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The description.

getDescriptionBytes()

public abstract ByteString getDescriptionBytes()

Output only. A short issue description in English.

string description = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for description.

getDetail()

public abstract String getDetail()

Output only. A detailed issue description in English.

string detail = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The detail.

getDetailBytes()

public abstract ByteString getDetailBytes()

Output only. A detailed issue description in English.

string detail = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for detail.

getDocumentation()

public abstract String getDocumentation()

Output only. The URL of a web page to help with resolving this issue.

string documentation = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The documentation.

getDocumentationBytes()

public abstract ByteString getDocumentationBytes()

Output only. The URL of a web page to help with resolving this issue.

string documentation = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for documentation.

getReportingContext()

public abstract ReportingContext.ReportingContextEnum getReportingContext()

Output only. The destination the issue applies to.

.google.shopping.type.ReportingContext.ReportingContextEnum reporting_context = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
com.google.shopping.type.ReportingContext.ReportingContextEnum

The reportingContext.

getReportingContextValue()

public abstract int getReportingContextValue()

Output only. The destination the issue applies to.

.google.shopping.type.ReportingContext.ReportingContextEnum reporting_context = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for reportingContext.

getResolution()

public abstract String getResolution()

Output only. Whether the issue can be resolved by the merchant.

string resolution = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The resolution.

getResolutionBytes()

public abstract ByteString getResolutionBytes()

Output only. Whether the issue can be resolved by the merchant.

string resolution = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for resolution.

getSeverity()

public abstract PromotionStatus.ItemLevelIssue.Severity getSeverity()

Output only. How this issue affects serving of the promotion.

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

Returns
Type Description
PromotionStatus.ItemLevelIssue.Severity

The severity.

getSeverityValue()

public abstract int getSeverityValue()

Output only. How this issue affects serving of the promotion.

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

Returns
Type Description
int

The enum numeric value on the wire for severity.