Class AggregateProductStatus.Builder (0.7.0)

public static final class AggregateProductStatus.Builder extends GeneratedMessageV3.Builder<AggregateProductStatus.Builder> implements AggregateProductStatusOrBuilder

Aggregate product statuses for a given reporting context and country.

Protobuf type google.shopping.merchant.issueresolution.v1beta.AggregateProductStatus

Static Methods

getDescriptor()

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

Methods

addAllItemLevelIssues(Iterable<? extends AggregateProductStatus.ItemLevelIssue> values)

public AggregateProductStatus.Builder addAllItemLevelIssues(Iterable<? extends AggregateProductStatus.ItemLevelIssue> values)

The product issues that affect the given reporting context and country.

repeated .google.shopping.merchant.issueresolution.v1beta.AggregateProductStatus.ItemLevelIssue item_level_issues = 6;

Parameter
Name Description
values Iterable<? extends com.google.shopping.merchant.issueresolution.v1beta.AggregateProductStatus.ItemLevelIssue>
Returns
Type Description
AggregateProductStatus.Builder

addItemLevelIssues(AggregateProductStatus.ItemLevelIssue value)

public AggregateProductStatus.Builder addItemLevelIssues(AggregateProductStatus.ItemLevelIssue value)

The product issues that affect the given reporting context and country.

repeated .google.shopping.merchant.issueresolution.v1beta.AggregateProductStatus.ItemLevelIssue item_level_issues = 6;

Parameter
Name Description
value AggregateProductStatus.ItemLevelIssue
Returns
Type Description
AggregateProductStatus.Builder

addItemLevelIssues(AggregateProductStatus.ItemLevelIssue.Builder builderForValue)

public AggregateProductStatus.Builder addItemLevelIssues(AggregateProductStatus.ItemLevelIssue.Builder builderForValue)

The product issues that affect the given reporting context and country.

repeated .google.shopping.merchant.issueresolution.v1beta.AggregateProductStatus.ItemLevelIssue item_level_issues = 6;

Parameter
Name Description
builderForValue AggregateProductStatus.ItemLevelIssue.Builder
Returns
Type Description
AggregateProductStatus.Builder

addItemLevelIssues(int index, AggregateProductStatus.ItemLevelIssue value)

public AggregateProductStatus.Builder addItemLevelIssues(int index, AggregateProductStatus.ItemLevelIssue value)

The product issues that affect the given reporting context and country.

repeated .google.shopping.merchant.issueresolution.v1beta.AggregateProductStatus.ItemLevelIssue item_level_issues = 6;

Parameters
Name Description
index int
value AggregateProductStatus.ItemLevelIssue
Returns
Type Description
AggregateProductStatus.Builder

addItemLevelIssues(int index, AggregateProductStatus.ItemLevelIssue.Builder builderForValue)

public AggregateProductStatus.Builder addItemLevelIssues(int index, AggregateProductStatus.ItemLevelIssue.Builder builderForValue)

The product issues that affect the given reporting context and country.

repeated .google.shopping.merchant.issueresolution.v1beta.AggregateProductStatus.ItemLevelIssue item_level_issues = 6;

Parameters
Name Description
index int
builderForValue AggregateProductStatus.ItemLevelIssue.Builder
Returns
Type Description
AggregateProductStatus.Builder

addItemLevelIssuesBuilder()

public AggregateProductStatus.ItemLevelIssue.Builder addItemLevelIssuesBuilder()

The product issues that affect the given reporting context and country.

repeated .google.shopping.merchant.issueresolution.v1beta.AggregateProductStatus.ItemLevelIssue item_level_issues = 6;

Returns
Type Description
AggregateProductStatus.ItemLevelIssue.Builder

addItemLevelIssuesBuilder(int index)

public AggregateProductStatus.ItemLevelIssue.Builder addItemLevelIssuesBuilder(int index)

The product issues that affect the given reporting context and country.

repeated .google.shopping.merchant.issueresolution.v1beta.AggregateProductStatus.ItemLevelIssue item_level_issues = 6;

Parameter
Name Description
index int
Returns
Type Description
AggregateProductStatus.ItemLevelIssue.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AggregateProductStatus build()
Returns
Type Description
AggregateProductStatus

buildPartial()

public AggregateProductStatus buildPartial()
Returns
Type Description
AggregateProductStatus

clear()

public AggregateProductStatus.Builder clear()
Returns
Type Description
AggregateProductStatus.Builder
Overrides

clearCountry()

public AggregateProductStatus.Builder clearCountry()

The country of the aggregate product statuses. Represented as a CLDR territory code.

string country = 4;

Returns
Type Description
AggregateProductStatus.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearItemLevelIssues()

public AggregateProductStatus.Builder clearItemLevelIssues()

The product issues that affect the given reporting context and country.

repeated .google.shopping.merchant.issueresolution.v1beta.AggregateProductStatus.ItemLevelIssue item_level_issues = 6;

Returns
Type Description
AggregateProductStatus.Builder

clearName()

public AggregateProductStatus.Builder clearName()

Identifier. The name of the AggregateProductStatuses resource. Format: accounts/{account}/aggregateProductStatuses/{aggregateProductStatuses}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
AggregateProductStatus.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearReportingContext()

public AggregateProductStatus.Builder clearReportingContext()

The reporting context of the aggregate product statuses.

.google.shopping.type.ReportingContext.ReportingContextEnum reporting_context = 3;

Returns
Type Description
AggregateProductStatus.Builder

This builder for chaining.

clearStats()

public AggregateProductStatus.Builder clearStats()

Products statistics for the given reporting context and country.

.google.shopping.merchant.issueresolution.v1beta.AggregateProductStatus.Stats stats = 5;

Returns
Type Description
AggregateProductStatus.Builder

clone()

public AggregateProductStatus.Builder clone()
Returns
Type Description
AggregateProductStatus.Builder
Overrides

getCountry()

public String getCountry()

The country of the aggregate product statuses. Represented as a CLDR territory code.

string country = 4;

Returns
Type Description
String

The country.

getCountryBytes()

public ByteString getCountryBytes()

The country of the aggregate product statuses. Represented as a CLDR territory code.

string country = 4;

Returns
Type Description
ByteString

The bytes for country.

getDefaultInstanceForType()

public AggregateProductStatus getDefaultInstanceForType()
Returns
Type Description
AggregateProductStatus

getDescriptorForType()

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

getItemLevelIssues(int index)

public AggregateProductStatus.ItemLevelIssue getItemLevelIssues(int index)

The product issues that affect the given reporting context and country.

repeated .google.shopping.merchant.issueresolution.v1beta.AggregateProductStatus.ItemLevelIssue item_level_issues = 6;

Parameter
Name Description
index int
Returns
Type Description
AggregateProductStatus.ItemLevelIssue

getItemLevelIssuesBuilder(int index)

public AggregateProductStatus.ItemLevelIssue.Builder getItemLevelIssuesBuilder(int index)

The product issues that affect the given reporting context and country.

repeated .google.shopping.merchant.issueresolution.v1beta.AggregateProductStatus.ItemLevelIssue item_level_issues = 6;

Parameter
Name Description
index int
Returns
Type Description
AggregateProductStatus.ItemLevelIssue.Builder

getItemLevelIssuesBuilderList()

public List<AggregateProductStatus.ItemLevelIssue.Builder> getItemLevelIssuesBuilderList()

The product issues that affect the given reporting context and country.

repeated .google.shopping.merchant.issueresolution.v1beta.AggregateProductStatus.ItemLevelIssue item_level_issues = 6;

Returns
Type Description
List<Builder>

getItemLevelIssuesCount()

public int getItemLevelIssuesCount()

The product issues that affect the given reporting context and country.

repeated .google.shopping.merchant.issueresolution.v1beta.AggregateProductStatus.ItemLevelIssue item_level_issues = 6;

Returns
Type Description
int

getItemLevelIssuesList()

public List<AggregateProductStatus.ItemLevelIssue> getItemLevelIssuesList()

The product issues that affect the given reporting context and country.

repeated .google.shopping.merchant.issueresolution.v1beta.AggregateProductStatus.ItemLevelIssue item_level_issues = 6;

Returns
Type Description
List<ItemLevelIssue>

getItemLevelIssuesOrBuilder(int index)

public AggregateProductStatus.ItemLevelIssueOrBuilder getItemLevelIssuesOrBuilder(int index)

The product issues that affect the given reporting context and country.

repeated .google.shopping.merchant.issueresolution.v1beta.AggregateProductStatus.ItemLevelIssue item_level_issues = 6;

Parameter
Name Description
index int
Returns
Type Description
AggregateProductStatus.ItemLevelIssueOrBuilder

getItemLevelIssuesOrBuilderList()

public List<? extends AggregateProductStatus.ItemLevelIssueOrBuilder> getItemLevelIssuesOrBuilderList()

The product issues that affect the given reporting context and country.

repeated .google.shopping.merchant.issueresolution.v1beta.AggregateProductStatus.ItemLevelIssue item_level_issues = 6;

Returns
Type Description
List<? extends com.google.shopping.merchant.issueresolution.v1beta.AggregateProductStatus.ItemLevelIssueOrBuilder>

getName()

public String getName()

Identifier. The name of the AggregateProductStatuses resource. Format: accounts/{account}/aggregateProductStatuses/{aggregateProductStatuses}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Identifier. The name of the AggregateProductStatuses resource. Format: accounts/{account}/aggregateProductStatuses/{aggregateProductStatuses}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
ByteString

The bytes for name.

getReportingContext()

public ReportingContext.ReportingContextEnum getReportingContext()

The reporting context of the aggregate product statuses.

.google.shopping.type.ReportingContext.ReportingContextEnum reporting_context = 3;

Returns
Type Description
com.google.shopping.type.ReportingContext.ReportingContextEnum

The reportingContext.

getReportingContextValue()

public int getReportingContextValue()

The reporting context of the aggregate product statuses.

.google.shopping.type.ReportingContext.ReportingContextEnum reporting_context = 3;

Returns
Type Description
int

The enum numeric value on the wire for reportingContext.

getStats()

public AggregateProductStatus.Stats getStats()

Products statistics for the given reporting context and country.

.google.shopping.merchant.issueresolution.v1beta.AggregateProductStatus.Stats stats = 5;

Returns
Type Description
AggregateProductStatus.Stats

The stats.

getStatsBuilder()

public AggregateProductStatus.Stats.Builder getStatsBuilder()

Products statistics for the given reporting context and country.

.google.shopping.merchant.issueresolution.v1beta.AggregateProductStatus.Stats stats = 5;

Returns
Type Description
AggregateProductStatus.Stats.Builder

getStatsOrBuilder()

public AggregateProductStatus.StatsOrBuilder getStatsOrBuilder()

Products statistics for the given reporting context and country.

.google.shopping.merchant.issueresolution.v1beta.AggregateProductStatus.Stats stats = 5;

Returns
Type Description
AggregateProductStatus.StatsOrBuilder

hasStats()

public boolean hasStats()

Products statistics for the given reporting context and country.

.google.shopping.merchant.issueresolution.v1beta.AggregateProductStatus.Stats stats = 5;

Returns
Type Description
boolean

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

mergeFrom(Message other)

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

mergeFrom(AggregateProductStatus other)

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

mergeStats(AggregateProductStatus.Stats value)

public AggregateProductStatus.Builder mergeStats(AggregateProductStatus.Stats value)

Products statistics for the given reporting context and country.

.google.shopping.merchant.issueresolution.v1beta.AggregateProductStatus.Stats stats = 5;

Parameter
Name Description
value AggregateProductStatus.Stats
Returns
Type Description
AggregateProductStatus.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeItemLevelIssues(int index)

public AggregateProductStatus.Builder removeItemLevelIssues(int index)

The product issues that affect the given reporting context and country.

repeated .google.shopping.merchant.issueresolution.v1beta.AggregateProductStatus.ItemLevelIssue item_level_issues = 6;

Parameter
Name Description
index int
Returns
Type Description
AggregateProductStatus.Builder

setCountry(String value)

public AggregateProductStatus.Builder setCountry(String value)

The country of the aggregate product statuses. Represented as a CLDR territory code.

string country = 4;

Parameter
Name Description
value String

The country to set.

Returns
Type Description
AggregateProductStatus.Builder

This builder for chaining.

setCountryBytes(ByteString value)

public AggregateProductStatus.Builder setCountryBytes(ByteString value)

The country of the aggregate product statuses. Represented as a CLDR territory code.

string country = 4;

Parameter
Name Description
value ByteString

The bytes for country to set.

Returns
Type Description
AggregateProductStatus.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setItemLevelIssues(int index, AggregateProductStatus.ItemLevelIssue value)

public AggregateProductStatus.Builder setItemLevelIssues(int index, AggregateProductStatus.ItemLevelIssue value)

The product issues that affect the given reporting context and country.

repeated .google.shopping.merchant.issueresolution.v1beta.AggregateProductStatus.ItemLevelIssue item_level_issues = 6;

Parameters
Name Description
index int
value AggregateProductStatus.ItemLevelIssue
Returns
Type Description
AggregateProductStatus.Builder

setItemLevelIssues(int index, AggregateProductStatus.ItemLevelIssue.Builder builderForValue)

public AggregateProductStatus.Builder setItemLevelIssues(int index, AggregateProductStatus.ItemLevelIssue.Builder builderForValue)

The product issues that affect the given reporting context and country.

repeated .google.shopping.merchant.issueresolution.v1beta.AggregateProductStatus.ItemLevelIssue item_level_issues = 6;

Parameters
Name Description
index int
builderForValue AggregateProductStatus.ItemLevelIssue.Builder
Returns
Type Description
AggregateProductStatus.Builder

setName(String value)

public AggregateProductStatus.Builder setName(String value)

Identifier. The name of the AggregateProductStatuses resource. Format: accounts/{account}/aggregateProductStatuses/{aggregateProductStatuses}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Parameter
Name Description
value String

The name to set.

Returns
Type Description
AggregateProductStatus.Builder

This builder for chaining.

setNameBytes(ByteString value)

public AggregateProductStatus.Builder setNameBytes(ByteString value)

Identifier. The name of the AggregateProductStatuses resource. Format: accounts/{account}/aggregateProductStatuses/{aggregateProductStatuses}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
AggregateProductStatus.Builder

This builder for chaining.

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

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

setReportingContext(ReportingContext.ReportingContextEnum value)

public AggregateProductStatus.Builder setReportingContext(ReportingContext.ReportingContextEnum value)

The reporting context of the aggregate product statuses.

.google.shopping.type.ReportingContext.ReportingContextEnum reporting_context = 3;

Parameter
Name Description
value com.google.shopping.type.ReportingContext.ReportingContextEnum

The reportingContext to set.

Returns
Type Description
AggregateProductStatus.Builder

This builder for chaining.

setReportingContextValue(int value)

public AggregateProductStatus.Builder setReportingContextValue(int value)

The reporting context of the aggregate product statuses.

.google.shopping.type.ReportingContext.ReportingContextEnum reporting_context = 3;

Parameter
Name Description
value int

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

Returns
Type Description
AggregateProductStatus.Builder

This builder for chaining.

setStats(AggregateProductStatus.Stats value)

public AggregateProductStatus.Builder setStats(AggregateProductStatus.Stats value)

Products statistics for the given reporting context and country.

.google.shopping.merchant.issueresolution.v1beta.AggregateProductStatus.Stats stats = 5;

Parameter
Name Description
value AggregateProductStatus.Stats
Returns
Type Description
AggregateProductStatus.Builder

setStats(AggregateProductStatus.Stats.Builder builderForValue)

public AggregateProductStatus.Builder setStats(AggregateProductStatus.Stats.Builder builderForValue)

Products statistics for the given reporting context and country.

.google.shopping.merchant.issueresolution.v1beta.AggregateProductStatus.Stats stats = 5;

Parameter
Name Description
builderForValue AggregateProductStatus.Stats.Builder
Returns
Type Description
AggregateProductStatus.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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