public static final class PromotionStatus.ItemLevelIssue extends GeneratedMessageV3 implements PromotionStatus.ItemLevelIssueOrBuilder
The issue associated with the promotion.
Protobuf type google.shopping.merchant.promotions.v1beta.PromotionStatus.ItemLevelIssue
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
public static final int APPLICABLE_COUNTRIES_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int ATTRIBUTE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int CODE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int DESCRIPTION_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int DETAIL_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int DOCUMENTATION_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
REPORTING_CONTEXT_FIELD_NUMBER
public static final int REPORTING_CONTEXT_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int RESOLUTION_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int SEVERITY_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
public static PromotionStatus.ItemLevelIssue getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static PromotionStatus.ItemLevelIssue.Builder newBuilder()
public static PromotionStatus.ItemLevelIssue.Builder newBuilder(PromotionStatus.ItemLevelIssue prototype)
public static PromotionStatus.ItemLevelIssue parseDelimitedFrom(InputStream input)
public static PromotionStatus.ItemLevelIssue parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static PromotionStatus.ItemLevelIssue parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
public static PromotionStatus.ItemLevelIssue parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static PromotionStatus.ItemLevelIssue parseFrom(ByteString data)
public static PromotionStatus.ItemLevelIssue parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static PromotionStatus.ItemLevelIssue parseFrom(CodedInputStream input)
public static PromotionStatus.ItemLevelIssue parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static PromotionStatus.ItemLevelIssue parseFrom(InputStream input)
public static PromotionStatus.ItemLevelIssue parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static PromotionStatus.ItemLevelIssue parseFrom(ByteBuffer data)
public static PromotionStatus.ItemLevelIssue parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<PromotionStatus.ItemLevelIssue> parser()
Methods
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
public 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.
|
public 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.
|
public 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.
|
public ProtocolStringList 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];
public 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.
|
public 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.
|
Output only. The error code of the issue.
string code = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
String |
The code.
|
public 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.
|
public PromotionStatus.ItemLevelIssue getDefaultInstanceForType()
public 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.
|
public 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.
|
public 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.
|
public 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.
|
public 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.
|
public 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.
|
public Parser<PromotionStatus.ItemLevelIssue> getParserForType()
Overrides
getReportingContext()
public 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 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.
|
public 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.
|
public 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.
|
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
public 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];
public 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.
|
Returns |
Type |
Description |
int |
|
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public PromotionStatus.ItemLevelIssue.Builder newBuilderForType()
protected PromotionStatus.ItemLevelIssue.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
public PromotionStatus.ItemLevelIssue.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides