Class ProductView.ItemIssue.ItemIssueSeverity.Builder (0.4.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

addAllSeverityPerDestination(Iterable<? extends ProductView.ItemIssue.ItemIssueSeverity.IssueSeverityPerDestination> values)

public ProductView.ItemIssue.ItemIssueSeverity.Builder addAllSeverityPerDestination(Iterable<? extends ProductView.ItemIssue.ItemIssueSeverity.IssueSeverityPerDestination> values)

Issue severity per destination.

repeated .google.shopping.merchant.reports.v1beta.ProductView.ItemIssue.ItemIssueSeverity.IssueSeverityPerDestination severity_per_destination = 1;

Parameter
NameDescription
valuesIterable<? extends com.google.shopping.merchant.reports.v1beta.ProductView.ItemIssue.ItemIssueSeverity.IssueSeverityPerDestination>
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

addSeverityPerDestination(ProductView.ItemIssue.ItemIssueSeverity.IssueSeverityPerDestination value)

public ProductView.ItemIssue.ItemIssueSeverity.Builder addSeverityPerDestination(ProductView.ItemIssue.ItemIssueSeverity.IssueSeverityPerDestination value)

Issue severity per destination.

repeated .google.shopping.merchant.reports.v1beta.ProductView.ItemIssue.ItemIssueSeverity.IssueSeverityPerDestination severity_per_destination = 1;

Parameter
NameDescription
valueProductView.ItemIssue.ItemIssueSeverity.IssueSeverityPerDestination
Returns
TypeDescription
ProductView.ItemIssue.ItemIssueSeverity.Builder

addSeverityPerDestination(ProductView.ItemIssue.ItemIssueSeverity.IssueSeverityPerDestination.Builder builderForValue)

public ProductView.ItemIssue.ItemIssueSeverity.Builder addSeverityPerDestination(ProductView.ItemIssue.ItemIssueSeverity.IssueSeverityPerDestination.Builder builderForValue)

Issue severity per destination.

repeated .google.shopping.merchant.reports.v1beta.ProductView.ItemIssue.ItemIssueSeverity.IssueSeverityPerDestination severity_per_destination = 1;

Parameter
NameDescription
builderForValueProductView.ItemIssue.ItemIssueSeverity.IssueSeverityPerDestination.Builder
Returns
TypeDescription
ProductView.ItemIssue.ItemIssueSeverity.Builder

addSeverityPerDestination(int index, ProductView.ItemIssue.ItemIssueSeverity.IssueSeverityPerDestination value)

public ProductView.ItemIssue.ItemIssueSeverity.Builder addSeverityPerDestination(int index, ProductView.ItemIssue.ItemIssueSeverity.IssueSeverityPerDestination value)

Issue severity per destination.

repeated .google.shopping.merchant.reports.v1beta.ProductView.ItemIssue.ItemIssueSeverity.IssueSeverityPerDestination severity_per_destination = 1;

Parameters
NameDescription
indexint
valueProductView.ItemIssue.ItemIssueSeverity.IssueSeverityPerDestination
Returns
TypeDescription
ProductView.ItemIssue.ItemIssueSeverity.Builder

addSeverityPerDestination(int index, ProductView.ItemIssue.ItemIssueSeverity.IssueSeverityPerDestination.Builder builderForValue)

public ProductView.ItemIssue.ItemIssueSeverity.Builder addSeverityPerDestination(int index, ProductView.ItemIssue.ItemIssueSeverity.IssueSeverityPerDestination.Builder builderForValue)

Issue severity per destination.

repeated .google.shopping.merchant.reports.v1beta.ProductView.ItemIssue.ItemIssueSeverity.IssueSeverityPerDestination severity_per_destination = 1;

Parameters
NameDescription
indexint
builderForValueProductView.ItemIssue.ItemIssueSeverity.IssueSeverityPerDestination.Builder
Returns
TypeDescription
ProductView.ItemIssue.ItemIssueSeverity.Builder

addSeverityPerDestinationBuilder()

public ProductView.ItemIssue.ItemIssueSeverity.IssueSeverityPerDestination.Builder addSeverityPerDestinationBuilder()

Issue severity per destination.

repeated .google.shopping.merchant.reports.v1beta.ProductView.ItemIssue.ItemIssueSeverity.IssueSeverityPerDestination severity_per_destination = 1;

Returns
TypeDescription
ProductView.ItemIssue.ItemIssueSeverity.IssueSeverityPerDestination.Builder

addSeverityPerDestinationBuilder(int index)

public ProductView.ItemIssue.ItemIssueSeverity.IssueSeverityPerDestination.Builder addSeverityPerDestinationBuilder(int index)

Issue severity per destination.

repeated .google.shopping.merchant.reports.v1beta.ProductView.ItemIssue.ItemIssueSeverity.IssueSeverityPerDestination severity_per_destination = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ProductView.ItemIssue.ItemIssueSeverity.IssueSeverityPerDestination.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 destinations 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

clearSeverityPerDestination()

public ProductView.ItemIssue.ItemIssueSeverity.Builder clearSeverityPerDestination()

Issue severity per destination.

repeated .google.shopping.merchant.reports.v1beta.ProductView.ItemIssue.ItemIssueSeverity.IssueSeverityPerDestination severity_per_destination = 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 destinations 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 destinations 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

getSeverityPerDestination(int index)

public ProductView.ItemIssue.ItemIssueSeverity.IssueSeverityPerDestination getSeverityPerDestination(int index)

Issue severity per destination.

repeated .google.shopping.merchant.reports.v1beta.ProductView.ItemIssue.ItemIssueSeverity.IssueSeverityPerDestination severity_per_destination = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ProductView.ItemIssue.ItemIssueSeverity.IssueSeverityPerDestination

getSeverityPerDestinationBuilder(int index)

public ProductView.ItemIssue.ItemIssueSeverity.IssueSeverityPerDestination.Builder getSeverityPerDestinationBuilder(int index)

Issue severity per destination.

repeated .google.shopping.merchant.reports.v1beta.ProductView.ItemIssue.ItemIssueSeverity.IssueSeverityPerDestination severity_per_destination = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ProductView.ItemIssue.ItemIssueSeverity.IssueSeverityPerDestination.Builder

getSeverityPerDestinationBuilderList()

public List<ProductView.ItemIssue.ItemIssueSeverity.IssueSeverityPerDestination.Builder> getSeverityPerDestinationBuilderList()

Issue severity per destination.

repeated .google.shopping.merchant.reports.v1beta.ProductView.ItemIssue.ItemIssueSeverity.IssueSeverityPerDestination severity_per_destination = 1;

Returns
TypeDescription
List<Builder>

getSeverityPerDestinationCount()

public int getSeverityPerDestinationCount()

Issue severity per destination.

repeated .google.shopping.merchant.reports.v1beta.ProductView.ItemIssue.ItemIssueSeverity.IssueSeverityPerDestination severity_per_destination = 1;

Returns
TypeDescription
int

getSeverityPerDestinationList()

public List<ProductView.ItemIssue.ItemIssueSeverity.IssueSeverityPerDestination> getSeverityPerDestinationList()

Issue severity per destination.

repeated .google.shopping.merchant.reports.v1beta.ProductView.ItemIssue.ItemIssueSeverity.IssueSeverityPerDestination severity_per_destination = 1;

Returns
TypeDescription
List<IssueSeverityPerDestination>

getSeverityPerDestinationOrBuilder(int index)

public ProductView.ItemIssue.ItemIssueSeverity.IssueSeverityPerDestinationOrBuilder getSeverityPerDestinationOrBuilder(int index)

Issue severity per destination.

repeated .google.shopping.merchant.reports.v1beta.ProductView.ItemIssue.ItemIssueSeverity.IssueSeverityPerDestination severity_per_destination = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ProductView.ItemIssue.ItemIssueSeverity.IssueSeverityPerDestinationOrBuilder

getSeverityPerDestinationOrBuilderList()

public List<? extends ProductView.ItemIssue.ItemIssueSeverity.IssueSeverityPerDestinationOrBuilder> getSeverityPerDestinationOrBuilderList()

Issue severity per destination.

repeated .google.shopping.merchant.reports.v1beta.ProductView.ItemIssue.ItemIssueSeverity.IssueSeverityPerDestination severity_per_destination = 1;

Returns
TypeDescription
List<? extends com.google.shopping.merchant.reports.v1beta.ProductView.ItemIssue.ItemIssueSeverity.IssueSeverityPerDestinationOrBuilder>

hasAggregatedSeverity()

public boolean hasAggregatedSeverity()

Aggregated severity of the issue for all destinations 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

removeSeverityPerDestination(int index)

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

Issue severity per destination.

repeated .google.shopping.merchant.reports.v1beta.ProductView.ItemIssue.ItemIssueSeverity.IssueSeverityPerDestination severity_per_destination = 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 destinations 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 destinations 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

setSeverityPerDestination(int index, ProductView.ItemIssue.ItemIssueSeverity.IssueSeverityPerDestination value)

public ProductView.ItemIssue.ItemIssueSeverity.Builder setSeverityPerDestination(int index, ProductView.ItemIssue.ItemIssueSeverity.IssueSeverityPerDestination value)

Issue severity per destination.

repeated .google.shopping.merchant.reports.v1beta.ProductView.ItemIssue.ItemIssueSeverity.IssueSeverityPerDestination severity_per_destination = 1;

Parameters
NameDescription
indexint
valueProductView.ItemIssue.ItemIssueSeverity.IssueSeverityPerDestination
Returns
TypeDescription
ProductView.ItemIssue.ItemIssueSeverity.Builder

setSeverityPerDestination(int index, ProductView.ItemIssue.ItemIssueSeverity.IssueSeverityPerDestination.Builder builderForValue)

public ProductView.ItemIssue.ItemIssueSeverity.Builder setSeverityPerDestination(int index, ProductView.ItemIssue.ItemIssueSeverity.IssueSeverityPerDestination.Builder builderForValue)

Issue severity per destination.

repeated .google.shopping.merchant.reports.v1beta.ProductView.ItemIssue.ItemIssueSeverity.IssueSeverityPerDestination severity_per_destination = 1;

Parameters
NameDescription
indexint
builderForValueProductView.ItemIssue.ItemIssueSeverity.IssueSeverityPerDestination.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