public static final class ProductStatus.ItemLevelIssue extends GeneratedMessageV3 implements ProductStatus.ItemLevelIssueOrBuilder
The ItemLevelIssue of the product status.
Protobuf type google.shopping.merchant.products.v1beta.ProductStatus.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 ProductStatus.ItemLevelIssue getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static ProductStatus.ItemLevelIssue.Builder newBuilder()
public static ProductStatus.ItemLevelIssue.Builder newBuilder(ProductStatus.ItemLevelIssue prototype)
public static ProductStatus.ItemLevelIssue parseDelimitedFrom(InputStream input)
public static ProductStatus.ItemLevelIssue parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ProductStatus.ItemLevelIssue parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
public static ProductStatus.ItemLevelIssue parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ProductStatus.ItemLevelIssue parseFrom(ByteString data)
public static ProductStatus.ItemLevelIssue parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ProductStatus.ItemLevelIssue parseFrom(CodedInputStream input)
public static ProductStatus.ItemLevelIssue parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ProductStatus.ItemLevelIssue parseFrom(InputStream input)
public static ProductStatus.ItemLevelIssue parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ProductStatus.ItemLevelIssue parseFrom(ByteBuffer data)
public static ProductStatus.ItemLevelIssue parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<ProductStatus.ItemLevelIssue> parser()
Methods
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
public String getApplicableCountries(int index)
List of country codes (ISO 3166-1 alpha-2) where issue applies to the
offer.
repeated string applicable_countries = 9;
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)
List of country codes (ISO 3166-1 alpha-2) where issue applies to the
offer.
repeated string applicable_countries = 9;
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()
List of country codes (ISO 3166-1 alpha-2) where issue applies to the
offer.
repeated string applicable_countries = 9;
Returns |
Type |
Description |
int |
The count of applicableCountries.
|
public ProtocolStringList getApplicableCountriesList()
List of country codes (ISO 3166-1 alpha-2) where issue applies to the
offer.
repeated string applicable_countries = 9;
public String getAttribute()
The attribute's name, if the issue is caused by a single attribute.
string attribute = 4;
Returns |
Type |
Description |
String |
The attribute.
|
public ByteString getAttributeBytes()
The attribute's name, if the issue is caused by a single attribute.
string attribute = 4;
Returns |
Type |
Description |
ByteString |
The bytes for attribute.
|
The error code of the issue.
string code = 1;
Returns |
Type |
Description |
String |
The code.
|
public ByteString getCodeBytes()
The error code of the issue.
string code = 1;
Returns |
Type |
Description |
ByteString |
The bytes for code.
|
public ProductStatus.ItemLevelIssue getDefaultInstanceForType()
public String getDescription()
A short issue description in English.
string description = 6;
Returns |
Type |
Description |
String |
The description.
|
public ByteString getDescriptionBytes()
A short issue description in English.
string description = 6;
Returns |
Type |
Description |
ByteString |
The bytes for description.
|
public String getDetail()
A detailed issue description in English.
string detail = 7;
Returns |
Type |
Description |
String |
The detail.
|
public ByteString getDetailBytes()
A detailed issue description in English.
string detail = 7;
Returns |
Type |
Description |
ByteString |
The bytes for detail.
|
public String getDocumentation()
The URL of a web page to help with resolving this issue.
string documentation = 8;
Returns |
Type |
Description |
String |
The documentation.
|
public ByteString getDocumentationBytes()
The URL of a web page to help with resolving this issue.
string documentation = 8;
Returns |
Type |
Description |
ByteString |
The bytes for documentation.
|
public Parser<ProductStatus.ItemLevelIssue> getParserForType()
Overrides
getReportingContext()
public ReportingContext.ReportingContextEnum getReportingContext()
The reporting context the issue applies to.
.google.shopping.type.ReportingContext.ReportingContextEnum reporting_context = 5;
Returns |
Type |
Description |
com.google.shopping.type.ReportingContext.ReportingContextEnum |
The reportingContext.
|
getReportingContextValue()
public int getReportingContextValue()
The reporting context the issue applies to.
.google.shopping.type.ReportingContext.ReportingContextEnum reporting_context = 5;
Returns |
Type |
Description |
int |
The enum numeric value on the wire for reportingContext.
|
public String getResolution()
Whether the issue can be resolved by the merchant.
string resolution = 3;
Returns |
Type |
Description |
String |
The resolution.
|
public ByteString getResolutionBytes()
Whether the issue can be resolved by the merchant.
string resolution = 3;
Returns |
Type |
Description |
ByteString |
The bytes for resolution.
|
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
public ProductStatus.ItemLevelIssue.Severity getSeverity()
How this issue affects serving of the offer.
.google.shopping.merchant.products.v1beta.ProductStatus.ItemLevelIssue.Severity severity = 2;
public int getSeverityValue()
How this issue affects serving of the offer.
.google.shopping.merchant.products.v1beta.ProductStatus.ItemLevelIssue.Severity severity = 2;
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 ProductStatus.ItemLevelIssue.Builder newBuilderForType()
protected ProductStatus.ItemLevelIssue.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
public ProductStatus.ItemLevelIssue.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides