Class CssProductStatus.Builder (0.21.0)

public static final class CssProductStatus.Builder extends GeneratedMessageV3.Builder<CssProductStatus.Builder> implements CssProductStatusOrBuilder

The status of the Css Product, data validation issues, that is, information about the Css Product computed asynchronously.

Protobuf type google.shopping.css.v1.CssProductStatus

Static Methods

getDescriptor()

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

Methods

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

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

The intended destinations for the product.

repeated .google.shopping.css.v1.CssProductStatus.DestinationStatus destination_statuses = 3;

Parameter
Name Description
values Iterable<? extends com.google.shopping.css.v1.CssProductStatus.DestinationStatus>
Returns
Type Description
CssProductStatus.Builder

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

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

A list of all issues associated with the product.

repeated .google.shopping.css.v1.CssProductStatus.ItemLevelIssue item_level_issues = 4;

Parameter
Name Description
values Iterable<? extends com.google.shopping.css.v1.CssProductStatus.ItemLevelIssue>
Returns
Type Description
CssProductStatus.Builder

addDestinationStatuses(CssProductStatus.DestinationStatus value)

public CssProductStatus.Builder addDestinationStatuses(CssProductStatus.DestinationStatus value)

The intended destinations for the product.

repeated .google.shopping.css.v1.CssProductStatus.DestinationStatus destination_statuses = 3;

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

addDestinationStatuses(CssProductStatus.DestinationStatus.Builder builderForValue)

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

The intended destinations for the product.

repeated .google.shopping.css.v1.CssProductStatus.DestinationStatus destination_statuses = 3;

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

addDestinationStatuses(int index, CssProductStatus.DestinationStatus value)

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

The intended destinations for the product.

repeated .google.shopping.css.v1.CssProductStatus.DestinationStatus destination_statuses = 3;

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

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

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

The intended destinations for the product.

repeated .google.shopping.css.v1.CssProductStatus.DestinationStatus destination_statuses = 3;

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

addDestinationStatusesBuilder()

public CssProductStatus.DestinationStatus.Builder addDestinationStatusesBuilder()

The intended destinations for the product.

repeated .google.shopping.css.v1.CssProductStatus.DestinationStatus destination_statuses = 3;

Returns
Type Description
CssProductStatus.DestinationStatus.Builder

addDestinationStatusesBuilder(int index)

public CssProductStatus.DestinationStatus.Builder addDestinationStatusesBuilder(int index)

The intended destinations for the product.

repeated .google.shopping.css.v1.CssProductStatus.DestinationStatus destination_statuses = 3;

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

addItemLevelIssues(CssProductStatus.ItemLevelIssue value)

public CssProductStatus.Builder addItemLevelIssues(CssProductStatus.ItemLevelIssue value)

A list of all issues associated with the product.

repeated .google.shopping.css.v1.CssProductStatus.ItemLevelIssue item_level_issues = 4;

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

addItemLevelIssues(CssProductStatus.ItemLevelIssue.Builder builderForValue)

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

A list of all issues associated with the product.

repeated .google.shopping.css.v1.CssProductStatus.ItemLevelIssue item_level_issues = 4;

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

addItemLevelIssues(int index, CssProductStatus.ItemLevelIssue value)

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

A list of all issues associated with the product.

repeated .google.shopping.css.v1.CssProductStatus.ItemLevelIssue item_level_issues = 4;

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

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

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

A list of all issues associated with the product.

repeated .google.shopping.css.v1.CssProductStatus.ItemLevelIssue item_level_issues = 4;

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

addItemLevelIssuesBuilder()

public CssProductStatus.ItemLevelIssue.Builder addItemLevelIssuesBuilder()

A list of all issues associated with the product.

repeated .google.shopping.css.v1.CssProductStatus.ItemLevelIssue item_level_issues = 4;

Returns
Type Description
CssProductStatus.ItemLevelIssue.Builder

addItemLevelIssuesBuilder(int index)

public CssProductStatus.ItemLevelIssue.Builder addItemLevelIssuesBuilder(int index)

A list of all issues associated with the product.

repeated .google.shopping.css.v1.CssProductStatus.ItemLevelIssue item_level_issues = 4;

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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CssProductStatus build()
Returns
Type Description
CssProductStatus

buildPartial()

public CssProductStatus buildPartial()
Returns
Type Description
CssProductStatus

clear()

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

clearCreationDate()

public CssProductStatus.Builder clearCreationDate()

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

.google.protobuf.Timestamp creation_date = 5;

Returns
Type Description
CssProductStatus.Builder

clearDestinationStatuses()

public CssProductStatus.Builder clearDestinationStatuses()

The intended destinations for the product.

repeated .google.shopping.css.v1.CssProductStatus.DestinationStatus destination_statuses = 3;

Returns
Type Description
CssProductStatus.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearGoogleExpirationDate()

public CssProductStatus.Builder clearGoogleExpirationDate()

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

.google.protobuf.Timestamp google_expiration_date = 7;

Returns
Type Description
CssProductStatus.Builder

clearItemLevelIssues()

public CssProductStatus.Builder clearItemLevelIssues()

A list of all issues associated with the product.

repeated .google.shopping.css.v1.CssProductStatus.ItemLevelIssue item_level_issues = 4;

Returns
Type Description
CssProductStatus.Builder

clearLastUpdateDate()

public CssProductStatus.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
CssProductStatus.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public CssProductStatus.Builder clone()
Returns
Type Description
CssProductStatus.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 CssProductStatus getDefaultInstanceForType()
Returns
Type Description
CssProductStatus

getDescriptorForType()

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

getDestinationStatuses(int index)

public CssProductStatus.DestinationStatus getDestinationStatuses(int index)

The intended destinations for the product.

repeated .google.shopping.css.v1.CssProductStatus.DestinationStatus destination_statuses = 3;

Parameter
Name Description
index int
Returns
Type Description
CssProductStatus.DestinationStatus

getDestinationStatusesBuilder(int index)

public CssProductStatus.DestinationStatus.Builder getDestinationStatusesBuilder(int index)

The intended destinations for the product.

repeated .google.shopping.css.v1.CssProductStatus.DestinationStatus destination_statuses = 3;

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

getDestinationStatusesBuilderList()

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

The intended destinations for the product.

repeated .google.shopping.css.v1.CssProductStatus.DestinationStatus destination_statuses = 3;

Returns
Type Description
List<Builder>

getDestinationStatusesCount()

public int getDestinationStatusesCount()

The intended destinations for the product.

repeated .google.shopping.css.v1.CssProductStatus.DestinationStatus destination_statuses = 3;

Returns
Type Description
int

getDestinationStatusesList()

public List<CssProductStatus.DestinationStatus> getDestinationStatusesList()

The intended destinations for the product.

repeated .google.shopping.css.v1.CssProductStatus.DestinationStatus destination_statuses = 3;

Returns
Type Description
List<DestinationStatus>

getDestinationStatusesOrBuilder(int index)

public CssProductStatus.DestinationStatusOrBuilder getDestinationStatusesOrBuilder(int index)

The intended destinations for the product.

repeated .google.shopping.css.v1.CssProductStatus.DestinationStatus destination_statuses = 3;

Parameter
Name Description
index int
Returns
Type Description
CssProductStatus.DestinationStatusOrBuilder

getDestinationStatusesOrBuilderList()

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

The intended destinations for the product.

repeated .google.shopping.css.v1.CssProductStatus.DestinationStatus destination_statuses = 3;

Returns
Type Description
List<? extends com.google.shopping.css.v1.CssProductStatus.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 CssProductStatus.ItemLevelIssue getItemLevelIssues(int index)

A list of all issues associated with the product.

repeated .google.shopping.css.v1.CssProductStatus.ItemLevelIssue item_level_issues = 4;

Parameter
Name Description
index int
Returns
Type Description
CssProductStatus.ItemLevelIssue

getItemLevelIssuesBuilder(int index)

public CssProductStatus.ItemLevelIssue.Builder getItemLevelIssuesBuilder(int index)

A list of all issues associated with the product.

repeated .google.shopping.css.v1.CssProductStatus.ItemLevelIssue item_level_issues = 4;

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

getItemLevelIssuesBuilderList()

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

A list of all issues associated with the product.

repeated .google.shopping.css.v1.CssProductStatus.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.css.v1.CssProductStatus.ItemLevelIssue item_level_issues = 4;

Returns
Type Description
int

getItemLevelIssuesList()

public List<CssProductStatus.ItemLevelIssue> getItemLevelIssuesList()

A list of all issues associated with the product.

repeated .google.shopping.css.v1.CssProductStatus.ItemLevelIssue item_level_issues = 4;

Returns
Type Description
List<ItemLevelIssue>

getItemLevelIssuesOrBuilder(int index)

public CssProductStatus.ItemLevelIssueOrBuilder getItemLevelIssuesOrBuilder(int index)

A list of all issues associated with the product.

repeated .google.shopping.css.v1.CssProductStatus.ItemLevelIssue item_level_issues = 4;

Parameter
Name Description
index int
Returns
Type Description
CssProductStatus.ItemLevelIssueOrBuilder

getItemLevelIssuesOrBuilderList()

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

A list of all issues associated with the product.

repeated .google.shopping.css.v1.CssProductStatus.ItemLevelIssue item_level_issues = 4;

Returns
Type Description
List<? extends com.google.shopping.css.v1.CssProductStatus.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 CssProductStatus.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
CssProductStatus.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeFrom(CssProductStatus other)

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

mergeGoogleExpirationDate(Timestamp value)

public CssProductStatus.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
CssProductStatus.Builder

mergeLastUpdateDate(Timestamp value)

public CssProductStatus.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
CssProductStatus.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeDestinationStatuses(int index)

public CssProductStatus.Builder removeDestinationStatuses(int index)

The intended destinations for the product.

repeated .google.shopping.css.v1.CssProductStatus.DestinationStatus destination_statuses = 3;

Parameter
Name Description
index int
Returns
Type Description
CssProductStatus.Builder

removeItemLevelIssues(int index)

public CssProductStatus.Builder removeItemLevelIssues(int index)

A list of all issues associated with the product.

repeated .google.shopping.css.v1.CssProductStatus.ItemLevelIssue item_level_issues = 4;

Parameter
Name Description
index int
Returns
Type Description
CssProductStatus.Builder

setCreationDate(Timestamp value)

public CssProductStatus.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
CssProductStatus.Builder

setCreationDate(Timestamp.Builder builderForValue)

public CssProductStatus.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
CssProductStatus.Builder

setDestinationStatuses(int index, CssProductStatus.DestinationStatus value)

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

The intended destinations for the product.

repeated .google.shopping.css.v1.CssProductStatus.DestinationStatus destination_statuses = 3;

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

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

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

The intended destinations for the product.

repeated .google.shopping.css.v1.CssProductStatus.DestinationStatus destination_statuses = 3;

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setGoogleExpirationDate(Timestamp value)

public CssProductStatus.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
CssProductStatus.Builder

setGoogleExpirationDate(Timestamp.Builder builderForValue)

public CssProductStatus.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
CssProductStatus.Builder

setItemLevelIssues(int index, CssProductStatus.ItemLevelIssue value)

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

A list of all issues associated with the product.

repeated .google.shopping.css.v1.CssProductStatus.ItemLevelIssue item_level_issues = 4;

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

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

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

A list of all issues associated with the product.

repeated .google.shopping.css.v1.CssProductStatus.ItemLevelIssue item_level_issues = 4;

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

setLastUpdateDate(Timestamp value)

public CssProductStatus.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
CssProductStatus.Builder

setLastUpdateDate(Timestamp.Builder builderForValue)

public CssProductStatus.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
CssProductStatus.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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