public static final class AggregateProductStatus.ItemLevelIssue.Builder extends GeneratedMessageV3.Builder<AggregateProductStatus.ItemLevelIssue.Builder> implements AggregateProductStatus.ItemLevelIssueOrBuilder
The ItemLevelIssue of the product status.
Protobuf type
google.shopping.merchant.issueresolution.v1beta.AggregateProductStatus.ItemLevelIssue
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > AggregateProductStatus.ItemLevelIssue.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AggregateProductStatus.ItemLevelIssue.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
AggregateProductStatus.ItemLevelIssue.Builder |
build()
public AggregateProductStatus.ItemLevelIssue build()
Returns | |
---|---|
Type | Description |
AggregateProductStatus.ItemLevelIssue |
buildPartial()
public AggregateProductStatus.ItemLevelIssue buildPartial()
Returns | |
---|---|
Type | Description |
AggregateProductStatus.ItemLevelIssue |
clear()
public AggregateProductStatus.ItemLevelIssue.Builder clear()
Returns | |
---|---|
Type | Description |
AggregateProductStatus.ItemLevelIssue.Builder |
clearAttribute()
public AggregateProductStatus.ItemLevelIssue.Builder clearAttribute()
The attribute's name, if the issue is caused by a single attribute.
string attribute = 4;
Returns | |
---|---|
Type | Description |
AggregateProductStatus.ItemLevelIssue.Builder |
This builder for chaining. |
clearCode()
public AggregateProductStatus.ItemLevelIssue.Builder clearCode()
The error code of the issue.
string code = 1;
Returns | |
---|---|
Type | Description |
AggregateProductStatus.ItemLevelIssue.Builder |
This builder for chaining. |
clearDescription()
public AggregateProductStatus.ItemLevelIssue.Builder clearDescription()
A short issue description in English.
string description = 6;
Returns | |
---|---|
Type | Description |
AggregateProductStatus.ItemLevelIssue.Builder |
This builder for chaining. |
clearDetail()
public AggregateProductStatus.ItemLevelIssue.Builder clearDetail()
A detailed issue description in English.
string detail = 7;
Returns | |
---|---|
Type | Description |
AggregateProductStatus.ItemLevelIssue.Builder |
This builder for chaining. |
clearDocumentationUri()
public AggregateProductStatus.ItemLevelIssue.Builder clearDocumentationUri()
The URL of a web page to help with resolving this issue.
string documentation_uri = 8;
Returns | |
---|---|
Type | Description |
AggregateProductStatus.ItemLevelIssue.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public AggregateProductStatus.ItemLevelIssue.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
AggregateProductStatus.ItemLevelIssue.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public AggregateProductStatus.ItemLevelIssue.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
AggregateProductStatus.ItemLevelIssue.Builder |
clearProductCount()
public AggregateProductStatus.ItemLevelIssue.Builder clearProductCount()
The number of products affected by this issue.
int64 product_count = 9;
Returns | |
---|---|
Type | Description |
AggregateProductStatus.ItemLevelIssue.Builder |
This builder for chaining. |
clearResolution()
public AggregateProductStatus.ItemLevelIssue.Builder clearResolution()
Whether the issue can be resolved by the merchant.
.google.shopping.merchant.issueresolution.v1beta.AggregateProductStatus.ItemLevelIssue.Resolution resolution = 3;
Returns | |
---|---|
Type | Description |
AggregateProductStatus.ItemLevelIssue.Builder |
This builder for chaining. |
clearSeverity()
public AggregateProductStatus.ItemLevelIssue.Builder clearSeverity()
How this issue affects serving of the offer.
.google.shopping.merchant.issueresolution.v1beta.AggregateProductStatus.ItemLevelIssue.Severity severity = 2;
Returns | |
---|---|
Type | Description |
AggregateProductStatus.ItemLevelIssue.Builder |
This builder for chaining. |
clone()
public AggregateProductStatus.ItemLevelIssue.Builder clone()
Returns | |
---|---|
Type | Description |
AggregateProductStatus.ItemLevelIssue.Builder |
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 AggregateProductStatus.ItemLevelIssue getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
AggregateProductStatus.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 |
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. |
getDocumentationUri()
public String getDocumentationUri()
The URL of a web page to help with resolving this issue.
string documentation_uri = 8;
Returns | |
---|---|
Type | Description |
String |
The documentationUri. |
getDocumentationUriBytes()
public ByteString getDocumentationUriBytes()
The URL of a web page to help with resolving this issue.
string documentation_uri = 8;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for documentationUri. |
getProductCount()
public long getProductCount()
The number of products affected by this issue.
int64 product_count = 9;
Returns | |
---|---|
Type | Description |
long |
The productCount. |
getResolution()
public AggregateProductStatus.ItemLevelIssue.Resolution getResolution()
Whether the issue can be resolved by the merchant.
.google.shopping.merchant.issueresolution.v1beta.AggregateProductStatus.ItemLevelIssue.Resolution resolution = 3;
Returns | |
---|---|
Type | Description |
AggregateProductStatus.ItemLevelIssue.Resolution |
The resolution. |
getResolutionValue()
public int getResolutionValue()
Whether the issue can be resolved by the merchant.
.google.shopping.merchant.issueresolution.v1beta.AggregateProductStatus.ItemLevelIssue.Resolution resolution = 3;
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for resolution. |
getSeverity()
public AggregateProductStatus.ItemLevelIssue.Severity getSeverity()
How this issue affects serving of the offer.
.google.shopping.merchant.issueresolution.v1beta.AggregateProductStatus.ItemLevelIssue.Severity severity = 2;
Returns | |
---|---|
Type | Description |
AggregateProductStatus.ItemLevelIssue.Severity |
The severity. |
getSeverityValue()
public int getSeverityValue()
How this issue affects serving of the offer.
.google.shopping.merchant.issueresolution.v1beta.AggregateProductStatus.ItemLevelIssue.Severity severity = 2;
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for severity. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AggregateProductStatus.ItemLevelIssue.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
AggregateProductStatus.ItemLevelIssue.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public AggregateProductStatus.ItemLevelIssue.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
AggregateProductStatus.ItemLevelIssue.Builder |
mergeFrom(AggregateProductStatus.ItemLevelIssue other)
public AggregateProductStatus.ItemLevelIssue.Builder mergeFrom(AggregateProductStatus.ItemLevelIssue other)
Parameter | |
---|---|
Name | Description |
other |
AggregateProductStatus.ItemLevelIssue |
Returns | |
---|---|
Type | Description |
AggregateProductStatus.ItemLevelIssue.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AggregateProductStatus.ItemLevelIssue.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
AggregateProductStatus.ItemLevelIssue.Builder |
setAttribute(String value)
public AggregateProductStatus.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 |
AggregateProductStatus.ItemLevelIssue.Builder |
This builder for chaining. |
setAttributeBytes(ByteString value)
public AggregateProductStatus.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 |
AggregateProductStatus.ItemLevelIssue.Builder |
This builder for chaining. |
setCode(String value)
public AggregateProductStatus.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 |
AggregateProductStatus.ItemLevelIssue.Builder |
This builder for chaining. |
setCodeBytes(ByteString value)
public AggregateProductStatus.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 |
AggregateProductStatus.ItemLevelIssue.Builder |
This builder for chaining. |
setDescription(String value)
public AggregateProductStatus.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 |
AggregateProductStatus.ItemLevelIssue.Builder |
This builder for chaining. |
setDescriptionBytes(ByteString value)
public AggregateProductStatus.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 |
AggregateProductStatus.ItemLevelIssue.Builder |
This builder for chaining. |
setDetail(String value)
public AggregateProductStatus.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 |
AggregateProductStatus.ItemLevelIssue.Builder |
This builder for chaining. |
setDetailBytes(ByteString value)
public AggregateProductStatus.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 |
AggregateProductStatus.ItemLevelIssue.Builder |
This builder for chaining. |
setDocumentationUri(String value)
public AggregateProductStatus.ItemLevelIssue.Builder setDocumentationUri(String value)
The URL of a web page to help with resolving this issue.
string documentation_uri = 8;
Parameter | |
---|---|
Name | Description |
value |
String The documentationUri to set. |
Returns | |
---|---|
Type | Description |
AggregateProductStatus.ItemLevelIssue.Builder |
This builder for chaining. |
setDocumentationUriBytes(ByteString value)
public AggregateProductStatus.ItemLevelIssue.Builder setDocumentationUriBytes(ByteString value)
The URL of a web page to help with resolving this issue.
string documentation_uri = 8;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for documentationUri to set. |
Returns | |
---|---|
Type | Description |
AggregateProductStatus.ItemLevelIssue.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public AggregateProductStatus.ItemLevelIssue.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
AggregateProductStatus.ItemLevelIssue.Builder |
setProductCount(long value)
public AggregateProductStatus.ItemLevelIssue.Builder setProductCount(long value)
The number of products affected by this issue.
int64 product_count = 9;
Parameter | |
---|---|
Name | Description |
value |
long The productCount to set. |
Returns | |
---|---|
Type | Description |
AggregateProductStatus.ItemLevelIssue.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AggregateProductStatus.ItemLevelIssue.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
AggregateProductStatus.ItemLevelIssue.Builder |
setResolution(AggregateProductStatus.ItemLevelIssue.Resolution value)
public AggregateProductStatus.ItemLevelIssue.Builder setResolution(AggregateProductStatus.ItemLevelIssue.Resolution value)
Whether the issue can be resolved by the merchant.
.google.shopping.merchant.issueresolution.v1beta.AggregateProductStatus.ItemLevelIssue.Resolution resolution = 3;
Parameter | |
---|---|
Name | Description |
value |
AggregateProductStatus.ItemLevelIssue.Resolution The resolution to set. |
Returns | |
---|---|
Type | Description |
AggregateProductStatus.ItemLevelIssue.Builder |
This builder for chaining. |
setResolutionValue(int value)
public AggregateProductStatus.ItemLevelIssue.Builder setResolutionValue(int value)
Whether the issue can be resolved by the merchant.
.google.shopping.merchant.issueresolution.v1beta.AggregateProductStatus.ItemLevelIssue.Resolution resolution = 3;
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for resolution to set. |
Returns | |
---|---|
Type | Description |
AggregateProductStatus.ItemLevelIssue.Builder |
This builder for chaining. |
setSeverity(AggregateProductStatus.ItemLevelIssue.Severity value)
public AggregateProductStatus.ItemLevelIssue.Builder setSeverity(AggregateProductStatus.ItemLevelIssue.Severity value)
How this issue affects serving of the offer.
.google.shopping.merchant.issueresolution.v1beta.AggregateProductStatus.ItemLevelIssue.Severity severity = 2;
Parameter | |
---|---|
Name | Description |
value |
AggregateProductStatus.ItemLevelIssue.Severity The severity to set. |
Returns | |
---|---|
Type | Description |
AggregateProductStatus.ItemLevelIssue.Builder |
This builder for chaining. |
setSeverityValue(int value)
public AggregateProductStatus.ItemLevelIssue.Builder setSeverityValue(int value)
How this issue affects serving of the offer.
.google.shopping.merchant.issueresolution.v1beta.AggregateProductStatus.ItemLevelIssue.Severity severity = 2;
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for severity to set. |
Returns | |
---|---|
Type | Description |
AggregateProductStatus.ItemLevelIssue.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final AggregateProductStatus.ItemLevelIssue.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
AggregateProductStatus.ItemLevelIssue.Builder |