Class ProductStatus.Builder (0.3.0)

public static final class ProductStatus.Builder extends GeneratedMessageV3.Builder<ProductStatus.Builder> implements ProductStatusOrBuilder

The status of a product, data validation issues, that is, information about a product computed asynchronously.

Protobuf type google.shopping.merchant.products.v1beta.ProductStatus

Static Methods

getDescriptor()

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

Methods

addAllDestinationStatuses(Iterable<? extends ProductStatus.DestinationStatus> values)

public ProductStatus.Builder addAllDestinationStatuses(Iterable<? extends ProductStatus.DestinationStatus> values)

The intended destinations for the product.

repeated .google.shopping.merchant.products.v1beta.ProductStatus.DestinationStatus destination_statuses = 3;

Parameter
Name Description
values Iterable<? extends com.google.shopping.merchant.products.v1beta.ProductStatus.DestinationStatus>
Returns
Type Description
ProductStatus.Builder

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

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

A list of all issues associated with the product.

repeated .google.shopping.merchant.products.v1beta.ProductStatus.ItemLevelIssue item_level_issues = 4;

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

addDestinationStatuses(ProductStatus.DestinationStatus value)

public ProductStatus.Builder addDestinationStatuses(ProductStatus.DestinationStatus value)

The intended destinations for the product.

repeated .google.shopping.merchant.products.v1beta.ProductStatus.DestinationStatus destination_statuses = 3;

Parameter
Name Description
value ProductStatus.DestinationStatus
Returns
Type Description
ProductStatus.Builder

addDestinationStatuses(ProductStatus.DestinationStatus.Builder builderForValue)

public ProductStatus.Builder addDestinationStatuses(ProductStatus.DestinationStatus.Builder builderForValue)

The intended destinations for the product.

repeated .google.shopping.merchant.products.v1beta.ProductStatus.DestinationStatus destination_statuses = 3;

Parameter
Name Description
builderForValue ProductStatus.DestinationStatus.Builder
Returns
Type Description
ProductStatus.Builder

addDestinationStatuses(int index, ProductStatus.DestinationStatus value)

public ProductStatus.Builder addDestinationStatuses(int index, ProductStatus.DestinationStatus value)

The intended destinations for the product.

repeated .google.shopping.merchant.products.v1beta.ProductStatus.DestinationStatus destination_statuses = 3;

Parameters
Name Description
index int
value ProductStatus.DestinationStatus
Returns
Type Description
ProductStatus.Builder

addDestinationStatuses(int index, ProductStatus.DestinationStatus.Builder builderForValue)

public ProductStatus.Builder addDestinationStatuses(int index, ProductStatus.DestinationStatus.Builder builderForValue)

The intended destinations for the product.

repeated .google.shopping.merchant.products.v1beta.ProductStatus.DestinationStatus destination_statuses = 3;

Parameters
Name Description
index int
builderForValue ProductStatus.DestinationStatus.Builder
Returns
Type Description
ProductStatus.Builder

addDestinationStatusesBuilder()

public ProductStatus.DestinationStatus.Builder addDestinationStatusesBuilder()

The intended destinations for the product.

repeated .google.shopping.merchant.products.v1beta.ProductStatus.DestinationStatus destination_statuses = 3;

Returns
Type Description
ProductStatus.DestinationStatus.Builder

addDestinationStatusesBuilder(int index)

public ProductStatus.DestinationStatus.Builder addDestinationStatusesBuilder(int index)

The intended destinations for the product.

repeated .google.shopping.merchant.products.v1beta.ProductStatus.DestinationStatus destination_statuses = 3;

Parameter
Name Description
index int
Returns
Type Description
ProductStatus.DestinationStatus.Builder

addItemLevelIssues(ProductStatus.ItemLevelIssue value)

public ProductStatus.Builder addItemLevelIssues(ProductStatus.ItemLevelIssue value)

A list of all issues associated with the product.

repeated .google.shopping.merchant.products.v1beta.ProductStatus.ItemLevelIssue item_level_issues = 4;

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

addItemLevelIssues(ProductStatus.ItemLevelIssue.Builder builderForValue)

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

A list of all issues associated with the product.

repeated .google.shopping.merchant.products.v1beta.ProductStatus.ItemLevelIssue item_level_issues = 4;

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

addItemLevelIssues(int index, ProductStatus.ItemLevelIssue value)

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

A list of all issues associated with the product.

repeated .google.shopping.merchant.products.v1beta.ProductStatus.ItemLevelIssue item_level_issues = 4;

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

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

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

A list of all issues associated with the product.

repeated .google.shopping.merchant.products.v1beta.ProductStatus.ItemLevelIssue item_level_issues = 4;

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

addItemLevelIssuesBuilder()

public ProductStatus.ItemLevelIssue.Builder addItemLevelIssuesBuilder()

A list of all issues associated with the product.

repeated .google.shopping.merchant.products.v1beta.ProductStatus.ItemLevelIssue item_level_issues = 4;

Returns
Type Description
ProductStatus.ItemLevelIssue.Builder

addItemLevelIssuesBuilder(int index)

public ProductStatus.ItemLevelIssue.Builder addItemLevelIssuesBuilder(int index)

A list of all issues associated with the product.

repeated .google.shopping.merchant.products.v1beta.ProductStatus.ItemLevelIssue item_level_issues = 4;

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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ProductStatus build()
Returns
Type Description
ProductStatus

buildPartial()

public ProductStatus buildPartial()
Returns
Type Description
ProductStatus

clear()

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

clearCreationDate()

public ProductStatus.Builder clearCreationDate()

Date on which the item has been created, in ISO 8601 format.

.google.protobuf.Timestamp creation_date = 5;

Returns
Type Description
ProductStatus.Builder

clearDestinationStatuses()

public ProductStatus.Builder clearDestinationStatuses()

The intended destinations for the product.

repeated .google.shopping.merchant.products.v1beta.ProductStatus.DestinationStatus destination_statuses = 3;

Returns
Type Description
ProductStatus.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearGoogleExpirationDate()

public ProductStatus.Builder clearGoogleExpirationDate()

Date on which the item expires, in ISO 8601 format.

.google.protobuf.Timestamp google_expiration_date = 7;

Returns
Type Description
ProductStatus.Builder

clearItemLevelIssues()

public ProductStatus.Builder clearItemLevelIssues()

A list of all issues associated with the product.

repeated .google.shopping.merchant.products.v1beta.ProductStatus.ItemLevelIssue item_level_issues = 4;

Returns
Type Description
ProductStatus.Builder

clearLastUpdateDate()

public ProductStatus.Builder clearLastUpdateDate()

Date on which the item has been last updated, in ISO 8601 format.

.google.protobuf.Timestamp last_update_date = 6;

Returns
Type Description
ProductStatus.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getCreationDate()

public Timestamp getCreationDate()

Date on which the item has been created, in ISO 8601 format.

.google.protobuf.Timestamp creation_date = 5;

Returns
Type Description
Timestamp

The creationDate.

getCreationDateBuilder()

public Timestamp.Builder getCreationDateBuilder()

Date on which the item has been created, in ISO 8601 format.

.google.protobuf.Timestamp creation_date = 5;

Returns
Type Description
Builder

getCreationDateOrBuilder()

public TimestampOrBuilder getCreationDateOrBuilder()

Date on which the item has been created, in ISO 8601 format.

.google.protobuf.Timestamp creation_date = 5;

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public ProductStatus getDefaultInstanceForType()
Returns
Type Description
ProductStatus

getDescriptorForType()

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

getDestinationStatuses(int index)

public ProductStatus.DestinationStatus getDestinationStatuses(int index)

The intended destinations for the product.

repeated .google.shopping.merchant.products.v1beta.ProductStatus.DestinationStatus destination_statuses = 3;

Parameter
Name Description
index int
Returns
Type Description
ProductStatus.DestinationStatus

getDestinationStatusesBuilder(int index)

public ProductStatus.DestinationStatus.Builder getDestinationStatusesBuilder(int index)

The intended destinations for the product.

repeated .google.shopping.merchant.products.v1beta.ProductStatus.DestinationStatus destination_statuses = 3;

Parameter
Name Description
index int
Returns
Type Description
ProductStatus.DestinationStatus.Builder

getDestinationStatusesBuilderList()

public List<ProductStatus.DestinationStatus.Builder> getDestinationStatusesBuilderList()

The intended destinations for the product.

repeated .google.shopping.merchant.products.v1beta.ProductStatus.DestinationStatus destination_statuses = 3;

Returns
Type Description
List<Builder>

getDestinationStatusesCount()

public int getDestinationStatusesCount()

The intended destinations for the product.

repeated .google.shopping.merchant.products.v1beta.ProductStatus.DestinationStatus destination_statuses = 3;

Returns
Type Description
int

getDestinationStatusesList()

public List<ProductStatus.DestinationStatus> getDestinationStatusesList()

The intended destinations for the product.

repeated .google.shopping.merchant.products.v1beta.ProductStatus.DestinationStatus destination_statuses = 3;

Returns
Type Description
List<DestinationStatus>

getDestinationStatusesOrBuilder(int index)

public ProductStatus.DestinationStatusOrBuilder getDestinationStatusesOrBuilder(int index)

The intended destinations for the product.

repeated .google.shopping.merchant.products.v1beta.ProductStatus.DestinationStatus destination_statuses = 3;

Parameter
Name Description
index int
Returns
Type Description
ProductStatus.DestinationStatusOrBuilder

getDestinationStatusesOrBuilderList()

public List<? extends ProductStatus.DestinationStatusOrBuilder> getDestinationStatusesOrBuilderList()

The intended destinations for the product.

repeated .google.shopping.merchant.products.v1beta.ProductStatus.DestinationStatus destination_statuses = 3;

Returns
Type Description
List<? extends com.google.shopping.merchant.products.v1beta.ProductStatus.DestinationStatusOrBuilder>

getGoogleExpirationDate()

public Timestamp getGoogleExpirationDate()

Date on which the item expires, in ISO 8601 format.

.google.protobuf.Timestamp google_expiration_date = 7;

Returns
Type Description
Timestamp

The googleExpirationDate.

getGoogleExpirationDateBuilder()

public Timestamp.Builder getGoogleExpirationDateBuilder()

Date on which the item expires, in ISO 8601 format.

.google.protobuf.Timestamp google_expiration_date = 7;

Returns
Type Description
Builder

getGoogleExpirationDateOrBuilder()

public TimestampOrBuilder getGoogleExpirationDateOrBuilder()

Date on which the item expires, in ISO 8601 format.

.google.protobuf.Timestamp google_expiration_date = 7;

Returns
Type Description
TimestampOrBuilder

getItemLevelIssues(int index)

public ProductStatus.ItemLevelIssue getItemLevelIssues(int index)

A list of all issues associated with the product.

repeated .google.shopping.merchant.products.v1beta.ProductStatus.ItemLevelIssue item_level_issues = 4;

Parameter
Name Description
index int
Returns
Type Description
ProductStatus.ItemLevelIssue

getItemLevelIssuesBuilder(int index)

public ProductStatus.ItemLevelIssue.Builder getItemLevelIssuesBuilder(int index)

A list of all issues associated with the product.

repeated .google.shopping.merchant.products.v1beta.ProductStatus.ItemLevelIssue item_level_issues = 4;

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

getItemLevelIssuesBuilderList()

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

A list of all issues associated with the product.

repeated .google.shopping.merchant.products.v1beta.ProductStatus.ItemLevelIssue item_level_issues = 4;

Returns
Type Description
List<Builder>

getItemLevelIssuesCount()

public int getItemLevelIssuesCount()

A list of all issues associated with the product.

repeated .google.shopping.merchant.products.v1beta.ProductStatus.ItemLevelIssue item_level_issues = 4;

Returns
Type Description
int

getItemLevelIssuesList()

public List<ProductStatus.ItemLevelIssue> getItemLevelIssuesList()

A list of all issues associated with the product.

repeated .google.shopping.merchant.products.v1beta.ProductStatus.ItemLevelIssue item_level_issues = 4;

Returns
Type Description
List<ItemLevelIssue>

getItemLevelIssuesOrBuilder(int index)

public ProductStatus.ItemLevelIssueOrBuilder getItemLevelIssuesOrBuilder(int index)

A list of all issues associated with the product.

repeated .google.shopping.merchant.products.v1beta.ProductStatus.ItemLevelIssue item_level_issues = 4;

Parameter
Name Description
index int
Returns
Type Description
ProductStatus.ItemLevelIssueOrBuilder

getItemLevelIssuesOrBuilderList()

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

A list of all issues associated with the product.

repeated .google.shopping.merchant.products.v1beta.ProductStatus.ItemLevelIssue item_level_issues = 4;

Returns
Type Description
List<? extends com.google.shopping.merchant.products.v1beta.ProductStatus.ItemLevelIssueOrBuilder>

getLastUpdateDate()

public Timestamp getLastUpdateDate()

Date on which the item has been last updated, in ISO 8601 format.

.google.protobuf.Timestamp last_update_date = 6;

Returns
Type Description
Timestamp

The lastUpdateDate.

getLastUpdateDateBuilder()

public Timestamp.Builder getLastUpdateDateBuilder()

Date on which the item has been last updated, in ISO 8601 format.

.google.protobuf.Timestamp last_update_date = 6;

Returns
Type Description
Builder

getLastUpdateDateOrBuilder()

public TimestampOrBuilder getLastUpdateDateOrBuilder()

Date on which the item has been last updated, in ISO 8601 format.

.google.protobuf.Timestamp last_update_date = 6;

Returns
Type Description
TimestampOrBuilder

hasCreationDate()

public boolean hasCreationDate()

Date on which the item has been created, in ISO 8601 format.

.google.protobuf.Timestamp creation_date = 5;

Returns
Type Description
boolean

Whether the creationDate field is set.

hasGoogleExpirationDate()

public boolean hasGoogleExpirationDate()

Date on which the item expires, in ISO 8601 format.

.google.protobuf.Timestamp google_expiration_date = 7;

Returns
Type Description
boolean

Whether the googleExpirationDate field is set.

hasLastUpdateDate()

public boolean hasLastUpdateDate()

Date on which the item has been last updated, in ISO 8601 format.

.google.protobuf.Timestamp last_update_date = 6;

Returns
Type Description
boolean

Whether the lastUpdateDate field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCreationDate(Timestamp value)

public ProductStatus.Builder mergeCreationDate(Timestamp value)

Date on which the item has been created, in ISO 8601 format.

.google.protobuf.Timestamp creation_date = 5;

Parameter
Name Description
value Timestamp
Returns
Type Description
ProductStatus.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ProductStatus.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ProductStatus.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

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

mergeFrom(ProductStatus other)

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

mergeGoogleExpirationDate(Timestamp value)

public ProductStatus.Builder mergeGoogleExpirationDate(Timestamp value)

Date on which the item expires, in ISO 8601 format.

.google.protobuf.Timestamp google_expiration_date = 7;

Parameter
Name Description
value Timestamp
Returns
Type Description
ProductStatus.Builder

mergeLastUpdateDate(Timestamp value)

public ProductStatus.Builder mergeLastUpdateDate(Timestamp value)

Date on which the item has been last updated, in ISO 8601 format.

.google.protobuf.Timestamp last_update_date = 6;

Parameter
Name Description
value Timestamp
Returns
Type Description
ProductStatus.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeDestinationStatuses(int index)

public ProductStatus.Builder removeDestinationStatuses(int index)

The intended destinations for the product.

repeated .google.shopping.merchant.products.v1beta.ProductStatus.DestinationStatus destination_statuses = 3;

Parameter
Name Description
index int
Returns
Type Description
ProductStatus.Builder

removeItemLevelIssues(int index)

public ProductStatus.Builder removeItemLevelIssues(int index)

A list of all issues associated with the product.

repeated .google.shopping.merchant.products.v1beta.ProductStatus.ItemLevelIssue item_level_issues = 4;

Parameter
Name Description
index int
Returns
Type Description
ProductStatus.Builder

setCreationDate(Timestamp value)

public ProductStatus.Builder setCreationDate(Timestamp value)

Date on which the item has been created, in ISO 8601 format.

.google.protobuf.Timestamp creation_date = 5;

Parameter
Name Description
value Timestamp
Returns
Type Description
ProductStatus.Builder

setCreationDate(Timestamp.Builder builderForValue)

public ProductStatus.Builder setCreationDate(Timestamp.Builder builderForValue)

Date on which the item has been created, in ISO 8601 format.

.google.protobuf.Timestamp creation_date = 5;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
ProductStatus.Builder

setDestinationStatuses(int index, ProductStatus.DestinationStatus value)

public ProductStatus.Builder setDestinationStatuses(int index, ProductStatus.DestinationStatus value)

The intended destinations for the product.

repeated .google.shopping.merchant.products.v1beta.ProductStatus.DestinationStatus destination_statuses = 3;

Parameters
Name Description
index int
value ProductStatus.DestinationStatus
Returns
Type Description
ProductStatus.Builder

setDestinationStatuses(int index, ProductStatus.DestinationStatus.Builder builderForValue)

public ProductStatus.Builder setDestinationStatuses(int index, ProductStatus.DestinationStatus.Builder builderForValue)

The intended destinations for the product.

repeated .google.shopping.merchant.products.v1beta.ProductStatus.DestinationStatus destination_statuses = 3;

Parameters
Name Description
index int
builderForValue ProductStatus.DestinationStatus.Builder
Returns
Type Description
ProductStatus.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setGoogleExpirationDate(Timestamp value)

public ProductStatus.Builder setGoogleExpirationDate(Timestamp value)

Date on which the item expires, in ISO 8601 format.

.google.protobuf.Timestamp google_expiration_date = 7;

Parameter
Name Description
value Timestamp
Returns
Type Description
ProductStatus.Builder

setGoogleExpirationDate(Timestamp.Builder builderForValue)

public ProductStatus.Builder setGoogleExpirationDate(Timestamp.Builder builderForValue)

Date on which the item expires, in ISO 8601 format.

.google.protobuf.Timestamp google_expiration_date = 7;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
ProductStatus.Builder

setItemLevelIssues(int index, ProductStatus.ItemLevelIssue value)

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

A list of all issues associated with the product.

repeated .google.shopping.merchant.products.v1beta.ProductStatus.ItemLevelIssue item_level_issues = 4;

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

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

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

A list of all issues associated with the product.

repeated .google.shopping.merchant.products.v1beta.ProductStatus.ItemLevelIssue item_level_issues = 4;

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

setLastUpdateDate(Timestamp value)

public ProductStatus.Builder setLastUpdateDate(Timestamp value)

Date on which the item has been last updated, in ISO 8601 format.

.google.protobuf.Timestamp last_update_date = 6;

Parameter
Name Description
value Timestamp
Returns
Type Description
ProductStatus.Builder

setLastUpdateDate(Timestamp.Builder builderForValue)

public ProductStatus.Builder setLastUpdateDate(Timestamp.Builder builderForValue)

Date on which the item has been last updated, in ISO 8601 format.

.google.protobuf.Timestamp last_update_date = 6;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
ProductStatus.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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