Class ProductView.ItemIssue.Builder (0.6.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ProductView.ItemIssue build()
Returns
TypeDescription
ProductView.ItemIssue

buildPartial()

public ProductView.ItemIssue buildPartial()
Returns
TypeDescription
ProductView.ItemIssue

clear()

public ProductView.ItemIssue.Builder clear()
Returns
TypeDescription
ProductView.ItemIssue.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ProductView.ItemIssue.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ProductView.ItemIssue.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ProductView.ItemIssue.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ProductView.ItemIssue.Builder

clearType()

public ProductView.ItemIssue.Builder clearType()

Item issue type.

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

Returns
TypeDescription
ProductView.ItemIssue.Builder

clone()

public ProductView.ItemIssue.Builder clone()
Returns
TypeDescription
ProductView.ItemIssue.Builder
Overrides

getDefaultInstanceForType()

public ProductView.ItemIssue getDefaultInstanceForType()
Returns
TypeDescription
ProductView.ItemIssue

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getResolution()

public ProductView.ItemIssue.ItemIssueResolution getResolution()

Item issue resolution.

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

Returns
TypeDescription
ProductView.ItemIssue.ItemIssueResolution

The resolution.

getResolutionValue()

public int getResolutionValue()

Item issue resolution.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ProductView.ItemIssue.ItemIssueSeverity.Builder

getSeverityOrBuilder()

public ProductView.ItemIssue.ItemIssueSeverityOrBuilder getSeverityOrBuilder()

Item issue severity.

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

Returns
TypeDescription
ProductView.ItemIssue.ItemIssueSeverityOrBuilder

getType()

public ProductView.ItemIssue.ItemIssueType getType()

Item issue type.

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

Returns
TypeDescription
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
TypeDescription
ProductView.ItemIssue.ItemIssueType.Builder

getTypeOrBuilder()

public ProductView.ItemIssue.ItemIssueTypeOrBuilder getTypeOrBuilder()

Item issue type.

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

Returns
TypeDescription
ProductView.ItemIssue.ItemIssueTypeOrBuilder

hasResolution()

public boolean hasResolution()

Item issue resolution.

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

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

Whether the type field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public ProductView.ItemIssue.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ProductView.ItemIssue.Builder
Overrides

mergeFrom(ProductView.ItemIssue other)

public ProductView.ItemIssue.Builder mergeFrom(ProductView.ItemIssue other)
Parameter
NameDescription
otherProductView.ItemIssue
Returns
TypeDescription
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
NameDescription
valueProductView.ItemIssue.ItemIssueSeverity
Returns
TypeDescription
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
NameDescription
valueProductView.ItemIssue.ItemIssueType
Returns
TypeDescription
ProductView.ItemIssue.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ProductView.ItemIssue.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ProductView.ItemIssue.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ProductView.ItemIssue.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueProductView.ItemIssue.ItemIssueResolution

The resolution to set.

Returns
TypeDescription
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
NameDescription
valueint

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

Returns
TypeDescription
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
NameDescription
valueProductView.ItemIssue.ItemIssueSeverity
Returns
TypeDescription
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
NameDescription
builderForValueProductView.ItemIssue.ItemIssueSeverity.Builder
Returns
TypeDescription
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
NameDescription
valueProductView.ItemIssue.ItemIssueType
Returns
TypeDescription
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
NameDescription
builderForValueProductView.ItemIssue.ItemIssueType.Builder
Returns
TypeDescription
ProductView.ItemIssue.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final ProductView.ItemIssue.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ProductView.ItemIssue.Builder
Overrides