Class ProductView.ItemIssue.Builder (0.24.0)

public static final class ProductView.ItemIssue.Builder extends GeneratedMessageV3.Builder<ProductView.ItemIssue.Builder> implements ProductView.ItemIssueOrBuilder

Item issue associated with the product.

Protobuf type google.shopping.merchant.reports.v1beta.ProductView.ItemIssue

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ProductView.ItemIssue build()
Returns
Type Description
ProductView.ItemIssue

buildPartial()

public ProductView.ItemIssue buildPartial()
Returns
Type Description
ProductView.ItemIssue

clear()

public ProductView.ItemIssue.Builder clear()
Returns
Type Description
ProductView.ItemIssue.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ProductView.ItemIssue.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ProductView.ItemIssue.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ProductView.ItemIssue.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ProductView.ItemIssue.Builder
Overrides

clearResolution()

public ProductView.ItemIssue.Builder clearResolution()

Item issue resolution.

optional .google.shopping.merchant.reports.v1beta.ProductView.ItemIssue.ItemIssueResolution resolution = 3;

Returns
Type Description
ProductView.ItemIssue.Builder

This builder for chaining.

clearSeverity()

public ProductView.ItemIssue.Builder clearSeverity()

Item issue severity.

.google.shopping.merchant.reports.v1beta.ProductView.ItemIssue.ItemIssueSeverity severity = 2;

Returns
Type Description
ProductView.ItemIssue.Builder

clearType()

public ProductView.ItemIssue.Builder clearType()

Item issue type.

.google.shopping.merchant.reports.v1beta.ProductView.ItemIssue.ItemIssueType type = 1;

Returns
Type Description
ProductView.ItemIssue.Builder

clone()

public ProductView.ItemIssue.Builder clone()
Returns
Type Description
ProductView.ItemIssue.Builder
Overrides

getDefaultInstanceForType()

public ProductView.ItemIssue getDefaultInstanceForType()
Returns
Type Description
ProductView.ItemIssue

getDescriptorForType()

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

getResolution()

public ProductView.ItemIssue.ItemIssueResolution getResolution()

Item issue resolution.

optional .google.shopping.merchant.reports.v1beta.ProductView.ItemIssue.ItemIssueResolution resolution = 3;

Returns
Type Description
ProductView.ItemIssue.ItemIssueResolution

The resolution.

getResolutionValue()

public int getResolutionValue()

Item issue resolution.

optional .google.shopping.merchant.reports.v1beta.ProductView.ItemIssue.ItemIssueResolution resolution = 3;

Returns
Type Description
int

The enum numeric value on the wire for resolution.

getSeverity()

public ProductView.ItemIssue.ItemIssueSeverity getSeverity()

Item issue severity.

.google.shopping.merchant.reports.v1beta.ProductView.ItemIssue.ItemIssueSeverity severity = 2;

Returns
Type Description
ProductView.ItemIssue.ItemIssueSeverity

The severity.

getSeverityBuilder()

public ProductView.ItemIssue.ItemIssueSeverity.Builder getSeverityBuilder()

Item issue severity.

.google.shopping.merchant.reports.v1beta.ProductView.ItemIssue.ItemIssueSeverity severity = 2;

Returns
Type Description
ProductView.ItemIssue.ItemIssueSeverity.Builder

getSeverityOrBuilder()

public ProductView.ItemIssue.ItemIssueSeverityOrBuilder getSeverityOrBuilder()

Item issue severity.

.google.shopping.merchant.reports.v1beta.ProductView.ItemIssue.ItemIssueSeverity severity = 2;

Returns
Type Description
ProductView.ItemIssue.ItemIssueSeverityOrBuilder

getType()

public ProductView.ItemIssue.ItemIssueType getType()

Item issue type.

.google.shopping.merchant.reports.v1beta.ProductView.ItemIssue.ItemIssueType type = 1;

Returns
Type Description
ProductView.ItemIssue.ItemIssueType

The type.

getTypeBuilder()

public ProductView.ItemIssue.ItemIssueType.Builder getTypeBuilder()

Item issue type.

.google.shopping.merchant.reports.v1beta.ProductView.ItemIssue.ItemIssueType type = 1;

Returns
Type Description
ProductView.ItemIssue.ItemIssueType.Builder

getTypeOrBuilder()

public ProductView.ItemIssue.ItemIssueTypeOrBuilder getTypeOrBuilder()

Item issue type.

.google.shopping.merchant.reports.v1beta.ProductView.ItemIssue.ItemIssueType type = 1;

Returns
Type Description
ProductView.ItemIssue.ItemIssueTypeOrBuilder

hasResolution()

public boolean hasResolution()

Item issue resolution.

optional .google.shopping.merchant.reports.v1beta.ProductView.ItemIssue.ItemIssueResolution resolution = 3;

Returns
Type Description
boolean

Whether the resolution field is set.

hasSeverity()

public boolean hasSeverity()

Item issue severity.

.google.shopping.merchant.reports.v1beta.ProductView.ItemIssue.ItemIssueSeverity severity = 2;

Returns
Type Description
boolean

Whether the severity field is set.

hasType()

public boolean hasType()

Item issue type.

.google.shopping.merchant.reports.v1beta.ProductView.ItemIssue.ItemIssueType type = 1;

Returns
Type Description
boolean

Whether the type field is set.

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 ProductView.ItemIssue.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ProductView.ItemIssue.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ProductView.ItemIssue.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ProductView.ItemIssue.Builder
Overrides

mergeFrom(ProductView.ItemIssue other)

public ProductView.ItemIssue.Builder mergeFrom(ProductView.ItemIssue other)
Parameter
Name Description
other ProductView.ItemIssue
Returns
Type Description
ProductView.ItemIssue.Builder

mergeSeverity(ProductView.ItemIssue.ItemIssueSeverity value)

public ProductView.ItemIssue.Builder mergeSeverity(ProductView.ItemIssue.ItemIssueSeverity value)

Item issue severity.

.google.shopping.merchant.reports.v1beta.ProductView.ItemIssue.ItemIssueSeverity severity = 2;

Parameter
Name Description
value ProductView.ItemIssue.ItemIssueSeverity
Returns
Type Description
ProductView.ItemIssue.Builder

mergeType(ProductView.ItemIssue.ItemIssueType value)

public ProductView.ItemIssue.Builder mergeType(ProductView.ItemIssue.ItemIssueType value)

Item issue type.

.google.shopping.merchant.reports.v1beta.ProductView.ItemIssue.ItemIssueType type = 1;

Parameter
Name Description
value ProductView.ItemIssue.ItemIssueType
Returns
Type Description
ProductView.ItemIssue.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ProductView.ItemIssue.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ProductView.ItemIssue.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setResolution(ProductView.ItemIssue.ItemIssueResolution value)

public ProductView.ItemIssue.Builder setResolution(ProductView.ItemIssue.ItemIssueResolution value)

Item issue resolution.

optional .google.shopping.merchant.reports.v1beta.ProductView.ItemIssue.ItemIssueResolution resolution = 3;

Parameter
Name Description
value ProductView.ItemIssue.ItemIssueResolution

The resolution to set.

Returns
Type Description
ProductView.ItemIssue.Builder

This builder for chaining.

setResolutionValue(int value)

public ProductView.ItemIssue.Builder setResolutionValue(int value)

Item issue resolution.

optional .google.shopping.merchant.reports.v1beta.ProductView.ItemIssue.ItemIssueResolution resolution = 3;

Parameter
Name Description
value int

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

Returns
Type Description
ProductView.ItemIssue.Builder

This builder for chaining.

setSeverity(ProductView.ItemIssue.ItemIssueSeverity value)

public ProductView.ItemIssue.Builder setSeverity(ProductView.ItemIssue.ItemIssueSeverity value)

Item issue severity.

.google.shopping.merchant.reports.v1beta.ProductView.ItemIssue.ItemIssueSeverity severity = 2;

Parameter
Name Description
value ProductView.ItemIssue.ItemIssueSeverity
Returns
Type Description
ProductView.ItemIssue.Builder

setSeverity(ProductView.ItemIssue.ItemIssueSeverity.Builder builderForValue)

public ProductView.ItemIssue.Builder setSeverity(ProductView.ItemIssue.ItemIssueSeverity.Builder builderForValue)

Item issue severity.

.google.shopping.merchant.reports.v1beta.ProductView.ItemIssue.ItemIssueSeverity severity = 2;

Parameter
Name Description
builderForValue ProductView.ItemIssue.ItemIssueSeverity.Builder
Returns
Type Description
ProductView.ItemIssue.Builder

setType(ProductView.ItemIssue.ItemIssueType value)

public ProductView.ItemIssue.Builder setType(ProductView.ItemIssue.ItemIssueType value)

Item issue type.

.google.shopping.merchant.reports.v1beta.ProductView.ItemIssue.ItemIssueType type = 1;

Parameter
Name Description
value ProductView.ItemIssue.ItemIssueType
Returns
Type Description
ProductView.ItemIssue.Builder

setType(ProductView.ItemIssue.ItemIssueType.Builder builderForValue)

public ProductView.ItemIssue.Builder setType(ProductView.ItemIssue.ItemIssueType.Builder builderForValue)

Item issue type.

.google.shopping.merchant.reports.v1beta.ProductView.ItemIssue.ItemIssueType type = 1;

Parameter
Name Description
builderForValue ProductView.ItemIssue.ItemIssueType.Builder
Returns
Type Description
ProductView.ItemIssue.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final ProductView.ItemIssue.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ProductView.ItemIssue.Builder
Overrides