Class ProductReviewStatus.ProductReviewItemLevelIssue.Builder (0.1.0)

public static final class ProductReviewStatus.ProductReviewItemLevelIssue.Builder extends GeneratedMessageV3.Builder<ProductReviewStatus.ProductReviewItemLevelIssue.Builder> implements ProductReviewStatus.ProductReviewItemLevelIssueOrBuilder

The ItemLevelIssue of the product review status.

Protobuf type google.shopping.merchant.reviews.v1beta.ProductReviewStatus.ProductReviewItemLevelIssue

Inheritance

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ProductReviewStatus.ProductReviewItemLevelIssue.Builder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ProductReviewStatus.ProductReviewItemLevelIssue.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ProductReviewStatus.ProductReviewItemLevelIssue.Builder
Overrides

build()

public ProductReviewStatus.ProductReviewItemLevelIssue build()
Returns
Type Description
ProductReviewStatus.ProductReviewItemLevelIssue

buildPartial()

public ProductReviewStatus.ProductReviewItemLevelIssue buildPartial()
Returns
Type Description
ProductReviewStatus.ProductReviewItemLevelIssue

clear()

public ProductReviewStatus.ProductReviewItemLevelIssue.Builder clear()
Returns
Type Description
ProductReviewStatus.ProductReviewItemLevelIssue.Builder
Overrides

clearAttribute()

public ProductReviewStatus.ProductReviewItemLevelIssue.Builder clearAttribute()

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

string attribute = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ProductReviewStatus.ProductReviewItemLevelIssue.Builder

This builder for chaining.

clearCode()

public ProductReviewStatus.ProductReviewItemLevelIssue.Builder clearCode()

Output only. The error code of the issue.

string code = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ProductReviewStatus.ProductReviewItemLevelIssue.Builder

This builder for chaining.

clearDescription()

public ProductReviewStatus.ProductReviewItemLevelIssue.Builder clearDescription()

Output only. A short issue description in English.

string description = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ProductReviewStatus.ProductReviewItemLevelIssue.Builder

This builder for chaining.

clearDetail()

public ProductReviewStatus.ProductReviewItemLevelIssue.Builder clearDetail()

Output only. A detailed issue description in English.

string detail = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ProductReviewStatus.ProductReviewItemLevelIssue.Builder

This builder for chaining.

clearDocumentation()

public ProductReviewStatus.ProductReviewItemLevelIssue.Builder clearDocumentation()

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

string documentation = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ProductReviewStatus.ProductReviewItemLevelIssue.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public ProductReviewStatus.ProductReviewItemLevelIssue.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ProductReviewStatus.ProductReviewItemLevelIssue.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ProductReviewStatus.ProductReviewItemLevelIssue.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ProductReviewStatus.ProductReviewItemLevelIssue.Builder
Overrides

clearReportingContext()

public ProductReviewStatus.ProductReviewItemLevelIssue.Builder clearReportingContext()

Output only. The reporting context the issue applies to.

.google.shopping.type.ReportingContext.ReportingContextEnum reporting_context = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ProductReviewStatus.ProductReviewItemLevelIssue.Builder

This builder for chaining.

clearResolution()

public ProductReviewStatus.ProductReviewItemLevelIssue.Builder clearResolution()

Output only. Whether the issue can be resolved by the merchant.

string resolution = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ProductReviewStatus.ProductReviewItemLevelIssue.Builder

This builder for chaining.

clearSeverity()

public ProductReviewStatus.ProductReviewItemLevelIssue.Builder clearSeverity()

Output only. How this issue affects serving of the product review.

.google.shopping.merchant.reviews.v1beta.ProductReviewStatus.ProductReviewItemLevelIssue.Severity severity = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ProductReviewStatus.ProductReviewItemLevelIssue.Builder

This builder for chaining.

clone()

public ProductReviewStatus.ProductReviewItemLevelIssue.Builder clone()
Returns
Type Description
ProductReviewStatus.ProductReviewItemLevelIssue.Builder
Overrides

getAttribute()

public String getAttribute()

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

string attribute = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The attribute.

getAttributeBytes()

public ByteString getAttributeBytes()

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

string attribute = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for attribute.

getCode()

public String getCode()

Output only. The error code of the issue.

string code = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The code.

getCodeBytes()

public ByteString getCodeBytes()

Output only. The error code of the issue.

string code = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for code.

getDefaultInstanceForType()

public ProductReviewStatus.ProductReviewItemLevelIssue getDefaultInstanceForType()
Returns
Type Description
ProductReviewStatus.ProductReviewItemLevelIssue

getDescription()

public String getDescription()

Output only. A short issue description in English.

string description = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

Output only. A short issue description in English.

string description = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for description.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getDetail()

public String getDetail()

Output only. A detailed issue description in English.

string detail = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The detail.

getDetailBytes()

public ByteString getDetailBytes()

Output only. A detailed issue description in English.

string detail = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for detail.

getDocumentation()

public String getDocumentation()

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

string documentation = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The documentation.

getDocumentationBytes()

public ByteString getDocumentationBytes()

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

string documentation = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for documentation.

getReportingContext()

public ReportingContext.ReportingContextEnum getReportingContext()

Output only. The reporting context the issue applies to.

.google.shopping.type.ReportingContext.ReportingContextEnum reporting_context = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
com.google.shopping.type.ReportingContext.ReportingContextEnum

The reportingContext.

getReportingContextValue()

public int getReportingContextValue()

Output only. The reporting context the issue applies to.

.google.shopping.type.ReportingContext.ReportingContextEnum reporting_context = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for reportingContext.

getResolution()

public String getResolution()

Output only. Whether the issue can be resolved by the merchant.

string resolution = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The resolution.

getResolutionBytes()

public ByteString getResolutionBytes()

Output only. Whether the issue can be resolved by the merchant.

string resolution = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for resolution.

getSeverity()

public ProductReviewStatus.ProductReviewItemLevelIssue.Severity getSeverity()

Output only. How this issue affects serving of the product review.

.google.shopping.merchant.reviews.v1beta.ProductReviewStatus.ProductReviewItemLevelIssue.Severity severity = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ProductReviewStatus.ProductReviewItemLevelIssue.Severity

The severity.

getSeverityValue()

public int getSeverityValue()

Output only. How this issue affects serving of the product review.

.google.shopping.merchant.reviews.v1beta.ProductReviewStatus.ProductReviewItemLevelIssue.Severity severity = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for severity.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ProductReviewStatus.ProductReviewItemLevelIssue.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ProductReviewStatus.ProductReviewItemLevelIssue.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ProductReviewStatus.ProductReviewItemLevelIssue.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ProductReviewStatus.ProductReviewItemLevelIssue.Builder
Overrides

mergeFrom(ProductReviewStatus.ProductReviewItemLevelIssue other)

public ProductReviewStatus.ProductReviewItemLevelIssue.Builder mergeFrom(ProductReviewStatus.ProductReviewItemLevelIssue other)
Parameter
Name Description
other ProductReviewStatus.ProductReviewItemLevelIssue
Returns
Type Description
ProductReviewStatus.ProductReviewItemLevelIssue.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ProductReviewStatus.ProductReviewItemLevelIssue.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ProductReviewStatus.ProductReviewItemLevelIssue.Builder
Overrides

setAttribute(String value)

public ProductReviewStatus.ProductReviewItemLevelIssue.Builder setAttribute(String value)

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

string attribute = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The attribute to set.

Returns
Type Description
ProductReviewStatus.ProductReviewItemLevelIssue.Builder

This builder for chaining.

setAttributeBytes(ByteString value)

public ProductReviewStatus.ProductReviewItemLevelIssue.Builder setAttributeBytes(ByteString value)

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

string attribute = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for attribute to set.

Returns
Type Description
ProductReviewStatus.ProductReviewItemLevelIssue.Builder

This builder for chaining.

setCode(String value)

public ProductReviewStatus.ProductReviewItemLevelIssue.Builder setCode(String value)

Output only. The error code of the issue.

string code = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The code to set.

Returns
Type Description
ProductReviewStatus.ProductReviewItemLevelIssue.Builder

This builder for chaining.

setCodeBytes(ByteString value)

public ProductReviewStatus.ProductReviewItemLevelIssue.Builder setCodeBytes(ByteString value)

Output only. The error code of the issue.

string code = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for code to set.

Returns
Type Description
ProductReviewStatus.ProductReviewItemLevelIssue.Builder

This builder for chaining.

setDescription(String value)

public ProductReviewStatus.ProductReviewItemLevelIssue.Builder setDescription(String value)

Output only. A short issue description in English.

string description = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The description to set.

Returns
Type Description
ProductReviewStatus.ProductReviewItemLevelIssue.Builder

This builder for chaining.

setDescriptionBytes(ByteString value)

public ProductReviewStatus.ProductReviewItemLevelIssue.Builder setDescriptionBytes(ByteString value)

Output only. A short issue description in English.

string description = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for description to set.

Returns
Type Description
ProductReviewStatus.ProductReviewItemLevelIssue.Builder

This builder for chaining.

setDetail(String value)

public ProductReviewStatus.ProductReviewItemLevelIssue.Builder setDetail(String value)

Output only. A detailed issue description in English.

string detail = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The detail to set.

Returns
Type Description
ProductReviewStatus.ProductReviewItemLevelIssue.Builder

This builder for chaining.

setDetailBytes(ByteString value)

public ProductReviewStatus.ProductReviewItemLevelIssue.Builder setDetailBytes(ByteString value)

Output only. A detailed issue description in English.

string detail = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for detail to set.

Returns
Type Description
ProductReviewStatus.ProductReviewItemLevelIssue.Builder

This builder for chaining.

setDocumentation(String value)

public ProductReviewStatus.ProductReviewItemLevelIssue.Builder setDocumentation(String value)

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

string documentation = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The documentation to set.

Returns
Type Description
ProductReviewStatus.ProductReviewItemLevelIssue.Builder

This builder for chaining.

setDocumentationBytes(ByteString value)

public ProductReviewStatus.ProductReviewItemLevelIssue.Builder setDocumentationBytes(ByteString value)

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

string documentation = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for documentation to set.

Returns
Type Description
ProductReviewStatus.ProductReviewItemLevelIssue.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public ProductReviewStatus.ProductReviewItemLevelIssue.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ProductReviewStatus.ProductReviewItemLevelIssue.Builder
Overrides

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

public ProductReviewStatus.ProductReviewItemLevelIssue.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ProductReviewStatus.ProductReviewItemLevelIssue.Builder
Overrides

setReportingContext(ReportingContext.ReportingContextEnum value)

public ProductReviewStatus.ProductReviewItemLevelIssue.Builder setReportingContext(ReportingContext.ReportingContextEnum value)

Output only. The reporting context the issue applies to.

.google.shopping.type.ReportingContext.ReportingContextEnum reporting_context = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value com.google.shopping.type.ReportingContext.ReportingContextEnum

The reportingContext to set.

Returns
Type Description
ProductReviewStatus.ProductReviewItemLevelIssue.Builder

This builder for chaining.

setReportingContextValue(int value)

public ProductReviewStatus.ProductReviewItemLevelIssue.Builder setReportingContextValue(int value)

Output only. The reporting context the issue applies to.

.google.shopping.type.ReportingContext.ReportingContextEnum reporting_context = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value int

The enum numeric value on the wire for reportingContext to set.

Returns
Type Description
ProductReviewStatus.ProductReviewItemLevelIssue.Builder

This builder for chaining.

setResolution(String value)

public ProductReviewStatus.ProductReviewItemLevelIssue.Builder setResolution(String value)

Output only. Whether the issue can be resolved by the merchant.

string resolution = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The resolution to set.

Returns
Type Description
ProductReviewStatus.ProductReviewItemLevelIssue.Builder

This builder for chaining.

setResolutionBytes(ByteString value)

public ProductReviewStatus.ProductReviewItemLevelIssue.Builder setResolutionBytes(ByteString value)

Output only. Whether the issue can be resolved by the merchant.

string resolution = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for resolution to set.

Returns
Type Description
ProductReviewStatus.ProductReviewItemLevelIssue.Builder

This builder for chaining.

setSeverity(ProductReviewStatus.ProductReviewItemLevelIssue.Severity value)

public ProductReviewStatus.ProductReviewItemLevelIssue.Builder setSeverity(ProductReviewStatus.ProductReviewItemLevelIssue.Severity value)

Output only. How this issue affects serving of the product review.

.google.shopping.merchant.reviews.v1beta.ProductReviewStatus.ProductReviewItemLevelIssue.Severity severity = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ProductReviewStatus.ProductReviewItemLevelIssue.Severity

The severity to set.

Returns
Type Description
ProductReviewStatus.ProductReviewItemLevelIssue.Builder

This builder for chaining.

setSeverityValue(int value)

public ProductReviewStatus.ProductReviewItemLevelIssue.Builder setSeverityValue(int value)

Output only. How this issue affects serving of the product review.

.google.shopping.merchant.reviews.v1beta.ProductReviewStatus.ProductReviewItemLevelIssue.Severity severity = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value int

The enum numeric value on the wire for severity to set.

Returns
Type Description
ProductReviewStatus.ProductReviewItemLevelIssue.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final ProductReviewStatus.ProductReviewItemLevelIssue.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ProductReviewStatus.ProductReviewItemLevelIssue.Builder
Overrides