Class ProductView.ItemIssue.ItemIssueSeverity.Builder (0.10.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.shopping.merchant.reports.v1beta.ProductView.ItemIssue.ItemIssueSeverity.IssueSeverityPerReportingContext>
Returns
TypeDescription
ProductView.ItemIssue.ItemIssueSeverity.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

public ProductView.ItemIssue.ItemIssueSeverity.Builder clear()
Returns
TypeDescription
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
TypeDescription
ProductView.ItemIssue.ItemIssueSeverity.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public ProductView.ItemIssue.ItemIssueSeverity.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
int

The enum numeric value on the wire for aggregatedSeverity.

getDefaultInstanceForType()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

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

mergeFrom(Message other)

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

mergeFrom(ProductView.ItemIssue.ItemIssueSeverity other)

public ProductView.ItemIssue.ItemIssueSeverity.Builder mergeFrom(ProductView.ItemIssue.ItemIssueSeverity other)
Parameter
NameDescription
otherProductView.ItemIssue.ItemIssueSeverity
Returns
TypeDescription
ProductView.ItemIssue.ItemIssueSeverity.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ProductView.ItemIssue.ItemIssueSeverity.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
valueProductView.ItemIssue.ItemIssueSeverity.AggregatedIssueSeverity

The aggregatedSeverity to set.

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

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

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
indexint
valueProductView.ItemIssue.ItemIssueSeverity.IssueSeverityPerReportingContext
Returns
TypeDescription
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
NameDescription
indexint
builderForValueProductView.ItemIssue.ItemIssueSeverity.IssueSeverityPerReportingContext.Builder
Returns
TypeDescription
ProductView.ItemIssue.ItemIssueSeverity.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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