Class ProductStatus.ItemLevelIssue (0.2.0)

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

Static Fields

APPLICABLE_COUNTRIES_FIELD_NUMBER

public static final int APPLICABLE_COUNTRIES_FIELD_NUMBER
Field Value
Type Description
int

ATTRIBUTE_FIELD_NUMBER

public static final int ATTRIBUTE_FIELD_NUMBER
Field Value
Type Description
int

CODE_FIELD_NUMBER

public static final int CODE_FIELD_NUMBER
Field Value
Type Description
int

DESCRIPTION_FIELD_NUMBER

public static final int DESCRIPTION_FIELD_NUMBER
Field Value
Type Description
int

DETAIL_FIELD_NUMBER

public static final int DETAIL_FIELD_NUMBER
Field Value
Type Description
int

DOCUMENTATION_FIELD_NUMBER

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

RESOLUTION_FIELD_NUMBER

public static final int RESOLUTION_FIELD_NUMBER
Field Value
Type Description
int

SEVERITY_FIELD_NUMBER

public static final int SEVERITY_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ProductStatus.ItemLevelIssue getDefaultInstance()
Returns
Type Description
ProductStatus.ItemLevelIssue

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static ProductStatus.ItemLevelIssue.Builder newBuilder()
Returns
Type Description
ProductStatus.ItemLevelIssue.Builder

newBuilder(ProductStatus.ItemLevelIssue prototype)

public static ProductStatus.ItemLevelIssue.Builder newBuilder(ProductStatus.ItemLevelIssue prototype)
Parameter
Name Description
prototype ProductStatus.ItemLevelIssue
Returns
Type Description
ProductStatus.ItemLevelIssue.Builder

parseDelimitedFrom(InputStream input)

public static ProductStatus.ItemLevelIssue parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ProductStatus.ItemLevelIssue
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ProductStatus.ItemLevelIssue parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ProductStatus.ItemLevelIssue
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ProductStatus.ItemLevelIssue parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ProductStatus.ItemLevelIssue
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ProductStatus.ItemLevelIssue parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ProductStatus.ItemLevelIssue
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ProductStatus.ItemLevelIssue parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ProductStatus.ItemLevelIssue
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ProductStatus.ItemLevelIssue parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ProductStatus.ItemLevelIssue
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ProductStatus.ItemLevelIssue parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ProductStatus.ItemLevelIssue
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ProductStatus.ItemLevelIssue parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ProductStatus.ItemLevelIssue
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ProductStatus.ItemLevelIssue parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ProductStatus.ItemLevelIssue
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ProductStatus.ItemLevelIssue parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ProductStatus.ItemLevelIssue
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ProductStatus.ItemLevelIssue parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ProductStatus.ItemLevelIssue
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ProductStatus.ItemLevelIssue parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ProductStatus.ItemLevelIssue
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ProductStatus.ItemLevelIssue> parser()
Returns
Type Description
Parser<ItemLevelIssue>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getApplicableCountries(int index)

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.

getApplicableCountriesBytes(int 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.

getApplicableCountriesCount()

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.

getApplicableCountriesList()

public ProtocolStringList getApplicableCountriesList()

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

repeated string applicable_countries = 9;

Returns
Type Description
ProtocolStringList

A list containing the applicableCountries.

getAttribute()

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.

getAttributeBytes()

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.

getCode()

public String getCode()

The error code of the issue.

string code = 1;

Returns
Type Description
String

The code.

getCodeBytes()

public ByteString getCodeBytes()

The error code of the issue.

string code = 1;

Returns
Type Description
ByteString

The bytes for code.

getDefaultInstanceForType()

public ProductStatus.ItemLevelIssue getDefaultInstanceForType()
Returns
Type Description
ProductStatus.ItemLevelIssue

getDescription()

public String getDescription()

A short issue description in English.

string description = 6;

Returns
Type Description
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

A short issue description in English.

string description = 6;

Returns
Type Description
ByteString

The bytes for description.

getDetail()

public String getDetail()

A detailed issue description in English.

string detail = 7;

Returns
Type Description
String

The detail.

getDetailBytes()

public ByteString getDetailBytes()

A detailed issue description in English.

string detail = 7;

Returns
Type Description
ByteString

The bytes for detail.

getDocumentation()

public String getDocumentation()

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

string documentation = 8;

Returns
Type Description
String

The documentation.

getDocumentationBytes()

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.

getParserForType()

public Parser<ProductStatus.ItemLevelIssue> getParserForType()
Returns
Type Description
Parser<ItemLevelIssue>
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.

getResolution()

public String getResolution()

Whether the issue can be resolved by the merchant.

string resolution = 3;

Returns
Type Description
String

The resolution.

getResolutionBytes()

public ByteString getResolutionBytes()

Whether the issue can be resolved by the merchant.

string resolution = 3;

Returns
Type Description
ByteString

The bytes for resolution.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSeverity()

public ProductStatus.ItemLevelIssue.Severity getSeverity()

How this issue affects serving of the offer.

.google.shopping.merchant.products.v1beta.ProductStatus.ItemLevelIssue.Severity severity = 2;

Returns
Type Description
ProductStatus.ItemLevelIssue.Severity

The severity.

getSeverityValue()

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ProductStatus.ItemLevelIssue.Builder newBuilderForType()
Returns
Type Description
ProductStatus.ItemLevelIssue.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ProductStatus.ItemLevelIssue.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ProductStatus.ItemLevelIssue.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ProductStatus.ItemLevelIssue.Builder toBuilder()
Returns
Type Description
ProductStatus.ItemLevelIssue.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException