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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > CssProductStatus.ItemLevelIssue.BuilderImplements
CssProductStatus.ItemLevelIssueOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
values | Iterable<String> The applicableCountries to add. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value | String The applicableCountries to add. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value | ByteString The bytes of the applicableCountries to add. |
Returns | |
---|---|
Type | Description |
CssProductStatus.ItemLevelIssue.Builder | This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CssProductStatus.ItemLevelIssue.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
CssProductStatus.ItemLevelIssue.Builder |
build()
public CssProductStatus.ItemLevelIssue build()
Returns | |
---|---|
Type | Description |
CssProductStatus.ItemLevelIssue |
buildPartial()
public CssProductStatus.ItemLevelIssue buildPartial()
Returns | |
---|---|
Type | Description |
CssProductStatus.ItemLevelIssue |
clear()
public CssProductStatus.ItemLevelIssue.Builder clear()
Returns | |
---|---|
Type | Description |
CssProductStatus.ItemLevelIssue.Builder |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
CssProductStatus.ItemLevelIssue.Builder | This builder for chaining. |
clearCode()
public CssProductStatus.ItemLevelIssue.Builder clearCode()
The error code of the issue.
string code = 1;
Returns | |
---|---|
Type | Description |
CssProductStatus.ItemLevelIssue.Builder | This builder for chaining. |
clearDescription()
public CssProductStatus.ItemLevelIssue.Builder clearDescription()
A short issue description in English.
string description = 6;
Returns | |
---|---|
Type | Description |
CssProductStatus.ItemLevelIssue.Builder | This builder for chaining. |
clearDestination()
public CssProductStatus.ItemLevelIssue.Builder clearDestination()
The destination the issue applies to.
string destination = 5;
Returns | |
---|---|
Type | Description |
CssProductStatus.ItemLevelIssue.Builder | This builder for chaining. |
clearDetail()
public CssProductStatus.ItemLevelIssue.Builder clearDetail()
A detailed issue description in English.
string detail = 7;
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
CssProductStatus.ItemLevelIssue.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public CssProductStatus.ItemLevelIssue.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
CssProductStatus.ItemLevelIssue.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public CssProductStatus.ItemLevelIssue.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
CssProductStatus.ItemLevelIssue.Builder |
clearResolution()
public CssProductStatus.ItemLevelIssue.Builder clearResolution()
Whether the issue can be resolved by the merchant.
string resolution = 3;
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
CssProductStatus.ItemLevelIssue.Builder | This builder for chaining. |
clone()
public CssProductStatus.ItemLevelIssue.Builder clone()
Returns | |
---|---|
Type | Description |
CssProductStatus.ItemLevelIssue.Builder |
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 | |
---|---|
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 aggregate 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 aggregate 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 aggregate 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 CssProductStatus.ItemLevelIssue getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
CssProductStatus.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. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getDestination()
public String getDestination()
The destination the issue applies to.
string destination = 5;
Returns | |
---|---|
Type | Description |
String | The destination. |
getDestinationBytes()
public ByteString getDestinationBytes()
The destination the issue applies to.
string destination = 5;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for destination. |
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. |
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. |
getServability()
public String getServability()
How this issue affects serving of the aggregate offer.
string servability = 2;
Returns | |
---|---|
Type | Description |
String | The servability. |
getServabilityBytes()
public ByteString getServabilityBytes()
How this issue affects serving of the aggregate offer.
string servability = 2;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for servability. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CssProductStatus.ItemLevelIssue.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
CssProductStatus.ItemLevelIssue.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public CssProductStatus.ItemLevelIssue.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
CssProductStatus.ItemLevelIssue.Builder |
mergeFrom(CssProductStatus.ItemLevelIssue other)
public CssProductStatus.ItemLevelIssue.Builder mergeFrom(CssProductStatus.ItemLevelIssue other)
Parameter | |
---|---|
Name | Description |
other | CssProductStatus.ItemLevelIssue |
Returns | |
---|---|
Type | Description |
CssProductStatus.ItemLevelIssue.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CssProductStatus.ItemLevelIssue.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
CssProductStatus.ItemLevelIssue.Builder |
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 | |
---|---|
Name | Description |
index | int The index to set the value at. |
value | String The applicableCountries to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value | String The attribute to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value | ByteString The bytes for attribute to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value | String The code to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value | ByteString The bytes for code to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value | String The description to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value | ByteString The bytes for description to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value | String The destination to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value | ByteString The bytes for destination to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value | String The detail to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value | ByteString The bytes for detail to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value | String The documentation to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value | ByteString The bytes for documentation to set. |
Returns | |
---|---|
Type | Description |
CssProductStatus.ItemLevelIssue.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public CssProductStatus.ItemLevelIssue.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
CssProductStatus.ItemLevelIssue.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CssProductStatus.ItemLevelIssue.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
CssProductStatus.ItemLevelIssue.Builder |
setResolution(String value)
public CssProductStatus.ItemLevelIssue.Builder setResolution(String value)
Whether the issue can be resolved by the merchant.
string resolution = 3;
Parameter | |
---|---|
Name | Description |
value | String The resolution to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value | ByteString The bytes for resolution to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value | String The servability to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value | ByteString The bytes for servability to set. |
Returns | |
---|---|
Type | Description |
CssProductStatus.ItemLevelIssue.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final CssProductStatus.ItemLevelIssue.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
CssProductStatus.ItemLevelIssue.Builder |