Class CssProductStatus.ItemLevelIssue.Builder (0.1.0)

public static final class CssProductStatus.ItemLevelIssue.Builder extends GeneratedMessageV3.Builder<CssProductStatus.ItemLevelIssue.Builder> implements CssProductStatus.ItemLevelIssueOrBuilder

The ItemLevelIssue of the product status.

Protobuf type google.shopping.css.v1.CssProductStatus.ItemLevelIssue

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllApplicableCountries(Iterable<String> values)

public CssProductStatus.ItemLevelIssue.Builder addAllApplicableCountries(Iterable<String> values)

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

repeated string applicable_countries = 9;

Parameter
NameDescription
valuesIterable<String>

The applicableCountries to add.

Returns
TypeDescription
CssProductStatus.ItemLevelIssue.Builder

This builder for chaining.

addApplicableCountries(String value)

public CssProductStatus.ItemLevelIssue.Builder addApplicableCountries(String value)

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

repeated string applicable_countries = 9;

Parameter
NameDescription
valueString

The applicableCountries to add.

Returns
TypeDescription
CssProductStatus.ItemLevelIssue.Builder

This builder for chaining.

addApplicableCountriesBytes(ByteString value)

public CssProductStatus.ItemLevelIssue.Builder addApplicableCountriesBytes(ByteString value)

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

repeated string applicable_countries = 9;

Parameter
NameDescription
valueByteString

The bytes of the applicableCountries to add.

Returns
TypeDescription
CssProductStatus.ItemLevelIssue.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CssProductStatus.ItemLevelIssue.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
CssProductStatus.ItemLevelIssue.Builder
Overrides

build()

public CssProductStatus.ItemLevelIssue build()
Returns
TypeDescription
CssProductStatus.ItemLevelIssue

buildPartial()

public CssProductStatus.ItemLevelIssue buildPartial()
Returns
TypeDescription
CssProductStatus.ItemLevelIssue

clear()

public CssProductStatus.ItemLevelIssue.Builder clear()
Returns
TypeDescription
CssProductStatus.ItemLevelIssue.Builder
Overrides

clearApplicableCountries()

public CssProductStatus.ItemLevelIssue.Builder clearApplicableCountries()

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

repeated string applicable_countries = 9;

Returns
TypeDescription
CssProductStatus.ItemLevelIssue.Builder

This builder for chaining.

clearAttribute()

public CssProductStatus.ItemLevelIssue.Builder clearAttribute()

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

string attribute = 4;

Returns
TypeDescription
CssProductStatus.ItemLevelIssue.Builder

This builder for chaining.

clearCode()

public CssProductStatus.ItemLevelIssue.Builder clearCode()

The error code of the issue.

string code = 1;

Returns
TypeDescription
CssProductStatus.ItemLevelIssue.Builder

This builder for chaining.

clearDescription()

public CssProductStatus.ItemLevelIssue.Builder clearDescription()

A short issue description in English.

string description = 6;

Returns
TypeDescription
CssProductStatus.ItemLevelIssue.Builder

This builder for chaining.

clearDestination()

public CssProductStatus.ItemLevelIssue.Builder clearDestination()

The destination the issue applies to.

string destination = 5;

Returns
TypeDescription
CssProductStatus.ItemLevelIssue.Builder

This builder for chaining.

clearDetail()

public CssProductStatus.ItemLevelIssue.Builder clearDetail()

A detailed issue description in English.

string detail = 7;

Returns
TypeDescription
CssProductStatus.ItemLevelIssue.Builder

This builder for chaining.

clearDocumentation()

public CssProductStatus.ItemLevelIssue.Builder clearDocumentation()

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

string documentation = 8;

Returns
TypeDescription
CssProductStatus.ItemLevelIssue.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public CssProductStatus.ItemLevelIssue.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
CssProductStatus.ItemLevelIssue.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public CssProductStatus.ItemLevelIssue.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
CssProductStatus.ItemLevelIssue.Builder
Overrides

clearResolution()

public CssProductStatus.ItemLevelIssue.Builder clearResolution()

Whether the issue can be resolved by the merchant.

string resolution = 3;

Returns
TypeDescription
CssProductStatus.ItemLevelIssue.Builder

This builder for chaining.

clearServability()

public CssProductStatus.ItemLevelIssue.Builder clearServability()

How this issue affects serving of the aggregate offer.

string servability = 2;

Returns
TypeDescription
CssProductStatus.ItemLevelIssue.Builder

This builder for chaining.

clone()

public CssProductStatus.ItemLevelIssue.Builder clone()
Returns
TypeDescription
CssProductStatus.ItemLevelIssue.Builder
Overrides

getApplicableCountries(int index)

public String getApplicableCountries(int index)

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

repeated string applicable_countries = 9;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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 aggregate offer.

repeated string applicable_countries = 9;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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 aggregate offer.

repeated string applicable_countries = 9;

Returns
TypeDescription
int

The count of applicableCountries.

getApplicableCountriesList()

public ProtocolStringList getApplicableCountriesList()

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

repeated string applicable_countries = 9;

Returns
TypeDescription
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
TypeDescription
String

The attribute.

getAttributeBytes()

public ByteString getAttributeBytes()

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

string attribute = 4;

Returns
TypeDescription
ByteString

The bytes for attribute.

getCode()

public String getCode()

The error code of the issue.

string code = 1;

Returns
TypeDescription
String

The code.

getCodeBytes()

public ByteString getCodeBytes()

The error code of the issue.

string code = 1;

Returns
TypeDescription
ByteString

The bytes for code.

getDefaultInstanceForType()

public CssProductStatus.ItemLevelIssue getDefaultInstanceForType()
Returns
TypeDescription
CssProductStatus.ItemLevelIssue

getDescription()

public String getDescription()

A short issue description in English.

string description = 6;

Returns
TypeDescription
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

A short issue description in English.

string description = 6;

Returns
TypeDescription
ByteString

The bytes for description.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDestination()

public String getDestination()

The destination the issue applies to.

string destination = 5;

Returns
TypeDescription
String

The destination.

getDestinationBytes()

public ByteString getDestinationBytes()

The destination the issue applies to.

string destination = 5;

Returns
TypeDescription
ByteString

The bytes for destination.

getDetail()

public String getDetail()

A detailed issue description in English.

string detail = 7;

Returns
TypeDescription
String

The detail.

getDetailBytes()

public ByteString getDetailBytes()

A detailed issue description in English.

string detail = 7;

Returns
TypeDescription
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
TypeDescription
String

The documentation.

getDocumentationBytes()

public ByteString getDocumentationBytes()

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

string documentation = 8;

Returns
TypeDescription
ByteString

The bytes for documentation.

getResolution()

public String getResolution()

Whether the issue can be resolved by the merchant.

string resolution = 3;

Returns
TypeDescription
String

The resolution.

getResolutionBytes()

public ByteString getResolutionBytes()

Whether the issue can be resolved by the merchant.

string resolution = 3;

Returns
TypeDescription
ByteString

The bytes for resolution.

getServability()

public String getServability()

How this issue affects serving of the aggregate offer.

string servability = 2;

Returns
TypeDescription
String

The servability.

getServabilityBytes()

public ByteString getServabilityBytes()

How this issue affects serving of the aggregate offer.

string servability = 2;

Returns
TypeDescription
ByteString

The bytes for servability.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CssProductStatus.ItemLevelIssue.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CssProductStatus.ItemLevelIssue.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public CssProductStatus.ItemLevelIssue.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
CssProductStatus.ItemLevelIssue.Builder
Overrides

mergeFrom(CssProductStatus.ItemLevelIssue other)

public CssProductStatus.ItemLevelIssue.Builder mergeFrom(CssProductStatus.ItemLevelIssue other)
Parameter
NameDescription
otherCssProductStatus.ItemLevelIssue
Returns
TypeDescription
CssProductStatus.ItemLevelIssue.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CssProductStatus.ItemLevelIssue.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CssProductStatus.ItemLevelIssue.Builder
Overrides

setApplicableCountries(int index, String value)

public CssProductStatus.ItemLevelIssue.Builder setApplicableCountries(int index, String value)

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

repeated string applicable_countries = 9;

Parameters
NameDescription
indexint

The index to set the value at.

valueString

The applicableCountries to set.

Returns
TypeDescription
CssProductStatus.ItemLevelIssue.Builder

This builder for chaining.

setAttribute(String value)

public CssProductStatus.ItemLevelIssue.Builder setAttribute(String value)

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

string attribute = 4;

Parameter
NameDescription
valueString

The attribute to set.

Returns
TypeDescription
CssProductStatus.ItemLevelIssue.Builder

This builder for chaining.

setAttributeBytes(ByteString value)

public CssProductStatus.ItemLevelIssue.Builder setAttributeBytes(ByteString value)

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

string attribute = 4;

Parameter
NameDescription
valueByteString

The bytes for attribute to set.

Returns
TypeDescription
CssProductStatus.ItemLevelIssue.Builder

This builder for chaining.

setCode(String value)

public CssProductStatus.ItemLevelIssue.Builder setCode(String value)

The error code of the issue.

string code = 1;

Parameter
NameDescription
valueString

The code to set.

Returns
TypeDescription
CssProductStatus.ItemLevelIssue.Builder

This builder for chaining.

setCodeBytes(ByteString value)

public CssProductStatus.ItemLevelIssue.Builder setCodeBytes(ByteString value)

The error code of the issue.

string code = 1;

Parameter
NameDescription
valueByteString

The bytes for code to set.

Returns
TypeDescription
CssProductStatus.ItemLevelIssue.Builder

This builder for chaining.

setDescription(String value)

public CssProductStatus.ItemLevelIssue.Builder setDescription(String value)

A short issue description in English.

string description = 6;

Parameter
NameDescription
valueString

The description to set.

Returns
TypeDescription
CssProductStatus.ItemLevelIssue.Builder

This builder for chaining.

setDescriptionBytes(ByteString value)

public CssProductStatus.ItemLevelIssue.Builder setDescriptionBytes(ByteString value)

A short issue description in English.

string description = 6;

Parameter
NameDescription
valueByteString

The bytes for description to set.

Returns
TypeDescription
CssProductStatus.ItemLevelIssue.Builder

This builder for chaining.

setDestination(String value)

public CssProductStatus.ItemLevelIssue.Builder setDestination(String value)

The destination the issue applies to.

string destination = 5;

Parameter
NameDescription
valueString

The destination to set.

Returns
TypeDescription
CssProductStatus.ItemLevelIssue.Builder

This builder for chaining.

setDestinationBytes(ByteString value)

public CssProductStatus.ItemLevelIssue.Builder setDestinationBytes(ByteString value)

The destination the issue applies to.

string destination = 5;

Parameter
NameDescription
valueByteString

The bytes for destination to set.

Returns
TypeDescription
CssProductStatus.ItemLevelIssue.Builder

This builder for chaining.

setDetail(String value)

public CssProductStatus.ItemLevelIssue.Builder setDetail(String value)

A detailed issue description in English.

string detail = 7;

Parameter
NameDescription
valueString

The detail to set.

Returns
TypeDescription
CssProductStatus.ItemLevelIssue.Builder

This builder for chaining.

setDetailBytes(ByteString value)

public CssProductStatus.ItemLevelIssue.Builder setDetailBytes(ByteString value)

A detailed issue description in English.

string detail = 7;

Parameter
NameDescription
valueByteString

The bytes for detail to set.

Returns
TypeDescription
CssProductStatus.ItemLevelIssue.Builder

This builder for chaining.

setDocumentation(String value)

public CssProductStatus.ItemLevelIssue.Builder setDocumentation(String value)

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

string documentation = 8;

Parameter
NameDescription
valueString

The documentation to set.

Returns
TypeDescription
CssProductStatus.ItemLevelIssue.Builder

This builder for chaining.

setDocumentationBytes(ByteString value)

public CssProductStatus.ItemLevelIssue.Builder setDocumentationBytes(ByteString value)

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

string documentation = 8;

Parameter
NameDescription
valueByteString

The bytes for documentation to set.

Returns
TypeDescription
CssProductStatus.ItemLevelIssue.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public CssProductStatus.ItemLevelIssue.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
CssProductStatus.ItemLevelIssue.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public CssProductStatus.ItemLevelIssue.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
CssProductStatus.ItemLevelIssue.Builder
Overrides

setResolution(String value)

public CssProductStatus.ItemLevelIssue.Builder setResolution(String value)

Whether the issue can be resolved by the merchant.

string resolution = 3;

Parameter
NameDescription
valueString

The resolution to set.

Returns
TypeDescription
CssProductStatus.ItemLevelIssue.Builder

This builder for chaining.

setResolutionBytes(ByteString value)

public CssProductStatus.ItemLevelIssue.Builder setResolutionBytes(ByteString value)

Whether the issue can be resolved by the merchant.

string resolution = 3;

Parameter
NameDescription
valueByteString

The bytes for resolution to set.

Returns
TypeDescription
CssProductStatus.ItemLevelIssue.Builder

This builder for chaining.

setServability(String value)

public CssProductStatus.ItemLevelIssue.Builder setServability(String value)

How this issue affects serving of the aggregate offer.

string servability = 2;

Parameter
NameDescription
valueString

The servability to set.

Returns
TypeDescription
CssProductStatus.ItemLevelIssue.Builder

This builder for chaining.

setServabilityBytes(ByteString value)

public CssProductStatus.ItemLevelIssue.Builder setServabilityBytes(ByteString value)

How this issue affects serving of the aggregate offer.

string servability = 2;

Parameter
NameDescription
valueByteString

The bytes for servability to set.

Returns
TypeDescription
CssProductStatus.ItemLevelIssue.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final CssProductStatus.ItemLevelIssue.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CssProductStatus.ItemLevelIssue.Builder
Overrides