Class ProductView.ItemIssue.ItemIssueSeverity.Builder (0.20.0)

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

How the issue affects the serving of the product.

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

Static Methods

getDescriptor()

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

Methods

addAllSeverityPerReportingContext(Iterable<? extends ProductView.ItemIssue.ItemIssueSeverity.IssueSeverityPerReportingContext> values)

public ProductView.ItemIssue.ItemIssueSeverity.Builder addAllSeverityPerReportingContext(Iterable<? extends ProductView.ItemIssue.ItemIssueSeverity.IssueSeverityPerReportingContext> values)

Issue severity per reporting context.

repeated .google.shopping.merchant.reports.v1beta.ProductView.ItemIssue.ItemIssueSeverity.IssueSeverityPerReportingContext severity_per_reporting_context = 1;

Parameter
Name Description
values Iterable<? extends com.google.shopping.merchant.reports.v1beta.ProductView.ItemIssue.ItemIssueSeverity.IssueSeverityPerReportingContext>
Returns
Type Description
ProductView.ItemIssue.ItemIssueSeverity.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addSeverityPerReportingContext(ProductView.ItemIssue.ItemIssueSeverity.IssueSeverityPerReportingContext value)

public ProductView.ItemIssue.ItemIssueSeverity.Builder addSeverityPerReportingContext(ProductView.ItemIssue.ItemIssueSeverity.IssueSeverityPerReportingContext value)

Issue severity per reporting context.

repeated .google.shopping.merchant.reports.v1beta.ProductView.ItemIssue.ItemIssueSeverity.IssueSeverityPerReportingContext severity_per_reporting_context = 1;

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

addSeverityPerReportingContext(ProductView.ItemIssue.ItemIssueSeverity.IssueSeverityPerReportingContext.Builder builderForValue)

public ProductView.ItemIssue.ItemIssueSeverity.Builder addSeverityPerReportingContext(ProductView.ItemIssue.ItemIssueSeverity.IssueSeverityPerReportingContext.Builder builderForValue)

Issue severity per reporting context.

repeated .google.shopping.merchant.reports.v1beta.ProductView.ItemIssue.ItemIssueSeverity.IssueSeverityPerReportingContext severity_per_reporting_context = 1;

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

addSeverityPerReportingContext(int index, ProductView.ItemIssue.ItemIssueSeverity.IssueSeverityPerReportingContext value)

public ProductView.ItemIssue.ItemIssueSeverity.Builder addSeverityPerReportingContext(int index, ProductView.ItemIssue.ItemIssueSeverity.IssueSeverityPerReportingContext value)

Issue severity per reporting context.

repeated .google.shopping.merchant.reports.v1beta.ProductView.ItemIssue.ItemIssueSeverity.IssueSeverityPerReportingContext severity_per_reporting_context = 1;

Parameters
Name Description
index int
value ProductView.ItemIssue.ItemIssueSeverity.IssueSeverityPerReportingContext
Returns
Type Description
ProductView.ItemIssue.ItemIssueSeverity.Builder

addSeverityPerReportingContext(int index, ProductView.ItemIssue.ItemIssueSeverity.IssueSeverityPerReportingContext.Builder builderForValue)

public ProductView.ItemIssue.ItemIssueSeverity.Builder addSeverityPerReportingContext(int index, ProductView.ItemIssue.ItemIssueSeverity.IssueSeverityPerReportingContext.Builder builderForValue)

Issue severity per reporting context.

repeated .google.shopping.merchant.reports.v1beta.ProductView.ItemIssue.ItemIssueSeverity.IssueSeverityPerReportingContext severity_per_reporting_context = 1;

Parameters
Name Description
index int
builderForValue ProductView.ItemIssue.ItemIssueSeverity.IssueSeverityPerReportingContext.Builder
Returns
Type Description
ProductView.ItemIssue.ItemIssueSeverity.Builder

addSeverityPerReportingContextBuilder()

public ProductView.ItemIssue.ItemIssueSeverity.IssueSeverityPerReportingContext.Builder addSeverityPerReportingContextBuilder()

Issue severity per reporting context.

repeated .google.shopping.merchant.reports.v1beta.ProductView.ItemIssue.ItemIssueSeverity.IssueSeverityPerReportingContext severity_per_reporting_context = 1;

Returns
Type Description
ProductView.ItemIssue.ItemIssueSeverity.IssueSeverityPerReportingContext.Builder

addSeverityPerReportingContextBuilder(int index)

public ProductView.ItemIssue.ItemIssueSeverity.IssueSeverityPerReportingContext.Builder addSeverityPerReportingContextBuilder(int index)

Issue severity per reporting context.

repeated .google.shopping.merchant.reports.v1beta.ProductView.ItemIssue.ItemIssueSeverity.IssueSeverityPerReportingContext severity_per_reporting_context = 1;

Parameter
Name Description
index int
Returns
Type Description
ProductView.ItemIssue.ItemIssueSeverity.IssueSeverityPerReportingContext.Builder

build()

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

buildPartial()

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

clear()

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

clearAggregatedSeverity()

public ProductView.ItemIssue.ItemIssueSeverity.Builder clearAggregatedSeverity()

Aggregated severity of the issue for all reporting contexts it affects.

This field can be used for filtering the results.

optional .google.shopping.merchant.reports.v1beta.ProductView.ItemIssue.ItemIssueSeverity.AggregatedIssueSeverity aggregated_severity = 2;

Returns
Type Description
ProductView.ItemIssue.ItemIssueSeverity.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSeverityPerReportingContext()

public ProductView.ItemIssue.ItemIssueSeverity.Builder clearSeverityPerReportingContext()

Issue severity per reporting context.

repeated .google.shopping.merchant.reports.v1beta.ProductView.ItemIssue.ItemIssueSeverity.IssueSeverityPerReportingContext severity_per_reporting_context = 1;

Returns
Type Description
ProductView.ItemIssue.ItemIssueSeverity.Builder

clone()

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

getAggregatedSeverity()

public ProductView.ItemIssue.ItemIssueSeverity.AggregatedIssueSeverity getAggregatedSeverity()

Aggregated severity of the issue for all reporting contexts it affects.

This field can be used for filtering the results.

optional .google.shopping.merchant.reports.v1beta.ProductView.ItemIssue.ItemIssueSeverity.AggregatedIssueSeverity aggregated_severity = 2;

Returns
Type Description
ProductView.ItemIssue.ItemIssueSeverity.AggregatedIssueSeverity

The aggregatedSeverity.

getAggregatedSeverityValue()

public int getAggregatedSeverityValue()

Aggregated severity of the issue for all reporting contexts it affects.

This field can be used for filtering the results.

optional .google.shopping.merchant.reports.v1beta.ProductView.ItemIssue.ItemIssueSeverity.AggregatedIssueSeverity aggregated_severity = 2;

Returns
Type Description
int

The enum numeric value on the wire for aggregatedSeverity.

getDefaultInstanceForType()

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

getDescriptorForType()

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

getSeverityPerReportingContext(int index)

public ProductView.ItemIssue.ItemIssueSeverity.IssueSeverityPerReportingContext getSeverityPerReportingContext(int index)

Issue severity per reporting context.

repeated .google.shopping.merchant.reports.v1beta.ProductView.ItemIssue.ItemIssueSeverity.IssueSeverityPerReportingContext severity_per_reporting_context = 1;

Parameter
Name Description
index int
Returns
Type Description
ProductView.ItemIssue.ItemIssueSeverity.IssueSeverityPerReportingContext

getSeverityPerReportingContextBuilder(int index)

public ProductView.ItemIssue.ItemIssueSeverity.IssueSeverityPerReportingContext.Builder getSeverityPerReportingContextBuilder(int index)

Issue severity per reporting context.

repeated .google.shopping.merchant.reports.v1beta.ProductView.ItemIssue.ItemIssueSeverity.IssueSeverityPerReportingContext severity_per_reporting_context = 1;

Parameter
Name Description
index int
Returns
Type Description
ProductView.ItemIssue.ItemIssueSeverity.IssueSeverityPerReportingContext.Builder

getSeverityPerReportingContextBuilderList()

public List<ProductView.ItemIssue.ItemIssueSeverity.IssueSeverityPerReportingContext.Builder> getSeverityPerReportingContextBuilderList()

Issue severity per reporting context.

repeated .google.shopping.merchant.reports.v1beta.ProductView.ItemIssue.ItemIssueSeverity.IssueSeverityPerReportingContext severity_per_reporting_context = 1;

Returns
Type Description
List<Builder>

getSeverityPerReportingContextCount()

public int getSeverityPerReportingContextCount()

Issue severity per reporting context.

repeated .google.shopping.merchant.reports.v1beta.ProductView.ItemIssue.ItemIssueSeverity.IssueSeverityPerReportingContext severity_per_reporting_context = 1;

Returns
Type Description
int

getSeverityPerReportingContextList()

public List<ProductView.ItemIssue.ItemIssueSeverity.IssueSeverityPerReportingContext> getSeverityPerReportingContextList()

Issue severity per reporting context.

repeated .google.shopping.merchant.reports.v1beta.ProductView.ItemIssue.ItemIssueSeverity.IssueSeverityPerReportingContext severity_per_reporting_context = 1;

Returns
Type Description
List<IssueSeverityPerReportingContext>

getSeverityPerReportingContextOrBuilder(int index)

public ProductView.ItemIssue.ItemIssueSeverity.IssueSeverityPerReportingContextOrBuilder getSeverityPerReportingContextOrBuilder(int index)

Issue severity per reporting context.

repeated .google.shopping.merchant.reports.v1beta.ProductView.ItemIssue.ItemIssueSeverity.IssueSeverityPerReportingContext severity_per_reporting_context = 1;

Parameter
Name Description
index int
Returns
Type Description
ProductView.ItemIssue.ItemIssueSeverity.IssueSeverityPerReportingContextOrBuilder

getSeverityPerReportingContextOrBuilderList()

public List<? extends ProductView.ItemIssue.ItemIssueSeverity.IssueSeverityPerReportingContextOrBuilder> getSeverityPerReportingContextOrBuilderList()

Issue severity per reporting context.

repeated .google.shopping.merchant.reports.v1beta.ProductView.ItemIssue.ItemIssueSeverity.IssueSeverityPerReportingContext severity_per_reporting_context = 1;

Returns
Type Description
List<? extends com.google.shopping.merchant.reports.v1beta.ProductView.ItemIssue.ItemIssueSeverity.IssueSeverityPerReportingContextOrBuilder>

hasAggregatedSeverity()

public boolean hasAggregatedSeverity()

Aggregated severity of the issue for all reporting contexts it affects.

This field can be used for filtering the results.

optional .google.shopping.merchant.reports.v1beta.ProductView.ItemIssue.ItemIssueSeverity.AggregatedIssueSeverity aggregated_severity = 2;

Returns
Type Description
boolean

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

mergeFrom(Message other)

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

mergeFrom(ProductView.ItemIssue.ItemIssueSeverity other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeSeverityPerReportingContext(int index)

public ProductView.ItemIssue.ItemIssueSeverity.Builder removeSeverityPerReportingContext(int index)

Issue severity per reporting context.

repeated .google.shopping.merchant.reports.v1beta.ProductView.ItemIssue.ItemIssueSeverity.IssueSeverityPerReportingContext severity_per_reporting_context = 1;

Parameter
Name Description
index int
Returns
Type Description
ProductView.ItemIssue.ItemIssueSeverity.Builder

setAggregatedSeverity(ProductView.ItemIssue.ItemIssueSeverity.AggregatedIssueSeverity value)

public ProductView.ItemIssue.ItemIssueSeverity.Builder setAggregatedSeverity(ProductView.ItemIssue.ItemIssueSeverity.AggregatedIssueSeverity value)

Aggregated severity of the issue for all reporting contexts it affects.

This field can be used for filtering the results.

optional .google.shopping.merchant.reports.v1beta.ProductView.ItemIssue.ItemIssueSeverity.AggregatedIssueSeverity aggregated_severity = 2;

Parameter
Name Description
value ProductView.ItemIssue.ItemIssueSeverity.AggregatedIssueSeverity

The aggregatedSeverity to set.

Returns
Type Description
ProductView.ItemIssue.ItemIssueSeverity.Builder

This builder for chaining.

setAggregatedSeverityValue(int value)

public ProductView.ItemIssue.ItemIssueSeverity.Builder setAggregatedSeverityValue(int value)

Aggregated severity of the issue for all reporting contexts it affects.

This field can be used for filtering the results.

optional .google.shopping.merchant.reports.v1beta.ProductView.ItemIssue.ItemIssueSeverity.AggregatedIssueSeverity aggregated_severity = 2;

Parameter
Name Description
value int

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

Returns
Type Description
ProductView.ItemIssue.ItemIssueSeverity.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setSeverityPerReportingContext(int index, ProductView.ItemIssue.ItemIssueSeverity.IssueSeverityPerReportingContext value)

public ProductView.ItemIssue.ItemIssueSeverity.Builder setSeverityPerReportingContext(int index, ProductView.ItemIssue.ItemIssueSeverity.IssueSeverityPerReportingContext value)

Issue severity per reporting context.

repeated .google.shopping.merchant.reports.v1beta.ProductView.ItemIssue.ItemIssueSeverity.IssueSeverityPerReportingContext severity_per_reporting_context = 1;

Parameters
Name Description
index int
value ProductView.ItemIssue.ItemIssueSeverity.IssueSeverityPerReportingContext
Returns
Type Description
ProductView.ItemIssue.ItemIssueSeverity.Builder

setSeverityPerReportingContext(int index, ProductView.ItemIssue.ItemIssueSeverity.IssueSeverityPerReportingContext.Builder builderForValue)

public ProductView.ItemIssue.ItemIssueSeverity.Builder setSeverityPerReportingContext(int index, ProductView.ItemIssue.ItemIssueSeverity.IssueSeverityPerReportingContext.Builder builderForValue)

Issue severity per reporting context.

repeated .google.shopping.merchant.reports.v1beta.ProductView.ItemIssue.ItemIssueSeverity.IssueSeverityPerReportingContext severity_per_reporting_context = 1;

Parameters
Name Description
index int
builderForValue ProductView.ItemIssue.ItemIssueSeverity.IssueSeverityPerReportingContext.Builder
Returns
Type Description
ProductView.ItemIssue.ItemIssueSeverity.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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