Class PromotionStatus.Builder (0.11.0)

public static final class PromotionStatus.Builder extends GeneratedMessageV3.Builder<PromotionStatus.Builder> implements PromotionStatusOrBuilder

The status of the promotion.

Protobuf type google.shopping.merchant.promotions.v1beta.PromotionStatus

Static Methods

getDescriptor()

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

Methods

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

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

Output only. The intended destinations for the promotion.

repeated .google.shopping.merchant.promotions.v1beta.PromotionStatus.DestinationStatus destination_statuses = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

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

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

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

Output only. A list of issues associated with the promotion.

repeated .google.shopping.merchant.promotions.v1beta.PromotionStatus.ItemLevelIssue item_level_issues = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

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

addDestinationStatuses(PromotionStatus.DestinationStatus value)

public PromotionStatus.Builder addDestinationStatuses(PromotionStatus.DestinationStatus value)

Output only. The intended destinations for the promotion.

repeated .google.shopping.merchant.promotions.v1beta.PromotionStatus.DestinationStatus destination_statuses = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

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

addDestinationStatuses(PromotionStatus.DestinationStatus.Builder builderForValue)

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

Output only. The intended destinations for the promotion.

repeated .google.shopping.merchant.promotions.v1beta.PromotionStatus.DestinationStatus destination_statuses = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

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

addDestinationStatuses(int index, PromotionStatus.DestinationStatus value)

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

Output only. The intended destinations for the promotion.

repeated .google.shopping.merchant.promotions.v1beta.PromotionStatus.DestinationStatus destination_statuses = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

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

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

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

Output only. The intended destinations for the promotion.

repeated .google.shopping.merchant.promotions.v1beta.PromotionStatus.DestinationStatus destination_statuses = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

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

addDestinationStatusesBuilder()

public PromotionStatus.DestinationStatus.Builder addDestinationStatusesBuilder()

Output only. The intended destinations for the promotion.

repeated .google.shopping.merchant.promotions.v1beta.PromotionStatus.DestinationStatus destination_statuses = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
PromotionStatus.DestinationStatus.Builder

addDestinationStatusesBuilder(int index)

public PromotionStatus.DestinationStatus.Builder addDestinationStatusesBuilder(int index)

Output only. The intended destinations for the promotion.

repeated .google.shopping.merchant.promotions.v1beta.PromotionStatus.DestinationStatus destination_statuses = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

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

addItemLevelIssues(PromotionStatus.ItemLevelIssue value)

public PromotionStatus.Builder addItemLevelIssues(PromotionStatus.ItemLevelIssue value)

Output only. A list of issues associated with the promotion.

repeated .google.shopping.merchant.promotions.v1beta.PromotionStatus.ItemLevelIssue item_level_issues = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

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

addItemLevelIssues(PromotionStatus.ItemLevelIssue.Builder builderForValue)

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

Output only. A list of issues associated with the promotion.

repeated .google.shopping.merchant.promotions.v1beta.PromotionStatus.ItemLevelIssue item_level_issues = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

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

addItemLevelIssues(int index, PromotionStatus.ItemLevelIssue value)

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

Output only. A list of issues associated with the promotion.

repeated .google.shopping.merchant.promotions.v1beta.PromotionStatus.ItemLevelIssue item_level_issues = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

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

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

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

Output only. A list of issues associated with the promotion.

repeated .google.shopping.merchant.promotions.v1beta.PromotionStatus.ItemLevelIssue item_level_issues = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

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

addItemLevelIssuesBuilder()

public PromotionStatus.ItemLevelIssue.Builder addItemLevelIssuesBuilder()

Output only. A list of issues associated with the promotion.

repeated .google.shopping.merchant.promotions.v1beta.PromotionStatus.ItemLevelIssue item_level_issues = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
PromotionStatus.ItemLevelIssue.Builder

addItemLevelIssuesBuilder(int index)

public PromotionStatus.ItemLevelIssue.Builder addItemLevelIssuesBuilder(int index)

Output only. A list of issues associated with the promotion.

repeated .google.shopping.merchant.promotions.v1beta.PromotionStatus.ItemLevelIssue item_level_issues = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public PromotionStatus build()
Returns
Type Description
PromotionStatus

buildPartial()

public PromotionStatus buildPartial()
Returns
Type Description
PromotionStatus

clear()

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

clearCreationDate()

public PromotionStatus.Builder clearCreationDate()

Output only. Date on which the promotion has been created in ISO 8601 format: Date, time, and offset, for example 2020-01-02T09:00:00+01:00 or 2020-01-02T09:00:00Z

.google.protobuf.Timestamp creation_date = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
PromotionStatus.Builder

clearDestinationStatuses()

public PromotionStatus.Builder clearDestinationStatuses()

Output only. The intended destinations for the promotion.

repeated .google.shopping.merchant.promotions.v1beta.PromotionStatus.DestinationStatus destination_statuses = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
PromotionStatus.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearItemLevelIssues()

public PromotionStatus.Builder clearItemLevelIssues()

Output only. A list of issues associated with the promotion.

repeated .google.shopping.merchant.promotions.v1beta.PromotionStatus.ItemLevelIssue item_level_issues = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
PromotionStatus.Builder

clearLastUpdateDate()

public PromotionStatus.Builder clearLastUpdateDate()

Output only. Date on which the promotion status has been last updated in ISO 8601 format: Date, time, and offset, for example 2020-01-02T09:00:00+01:00 or 2020-01-02T09:00:00Z

.google.protobuf.Timestamp last_update_date = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
PromotionStatus.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getCreationDate()

public Timestamp getCreationDate()

Output only. Date on which the promotion has been created in ISO 8601 format: Date, time, and offset, for example 2020-01-02T09:00:00+01:00 or 2020-01-02T09:00:00Z

.google.protobuf.Timestamp creation_date = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The creationDate.

getCreationDateBuilder()

public Timestamp.Builder getCreationDateBuilder()

Output only. Date on which the promotion has been created in ISO 8601 format: Date, time, and offset, for example 2020-01-02T09:00:00+01:00 or 2020-01-02T09:00:00Z

.google.protobuf.Timestamp creation_date = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getCreationDateOrBuilder()

public TimestampOrBuilder getCreationDateOrBuilder()

Output only. Date on which the promotion has been created in ISO 8601 format: Date, time, and offset, for example 2020-01-02T09:00:00+01:00 or 2020-01-02T09:00:00Z

.google.protobuf.Timestamp creation_date = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public PromotionStatus getDefaultInstanceForType()
Returns
Type Description
PromotionStatus

getDescriptorForType()

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

getDestinationStatuses(int index)

public PromotionStatus.DestinationStatus getDestinationStatuses(int index)

Output only. The intended destinations for the promotion.

repeated .google.shopping.merchant.promotions.v1beta.PromotionStatus.DestinationStatus destination_statuses = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
PromotionStatus.DestinationStatus

getDestinationStatusesBuilder(int index)

public PromotionStatus.DestinationStatus.Builder getDestinationStatusesBuilder(int index)

Output only. The intended destinations for the promotion.

repeated .google.shopping.merchant.promotions.v1beta.PromotionStatus.DestinationStatus destination_statuses = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

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

getDestinationStatusesBuilderList()

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

Output only. The intended destinations for the promotion.

repeated .google.shopping.merchant.promotions.v1beta.PromotionStatus.DestinationStatus destination_statuses = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<Builder>

getDestinationStatusesCount()

public int getDestinationStatusesCount()

Output only. The intended destinations for the promotion.

repeated .google.shopping.merchant.promotions.v1beta.PromotionStatus.DestinationStatus destination_statuses = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getDestinationStatusesList()

public List<PromotionStatus.DestinationStatus> getDestinationStatusesList()

Output only. The intended destinations for the promotion.

repeated .google.shopping.merchant.promotions.v1beta.PromotionStatus.DestinationStatus destination_statuses = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<DestinationStatus>

getDestinationStatusesOrBuilder(int index)

public PromotionStatus.DestinationStatusOrBuilder getDestinationStatusesOrBuilder(int index)

Output only. The intended destinations for the promotion.

repeated .google.shopping.merchant.promotions.v1beta.PromotionStatus.DestinationStatus destination_statuses = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
PromotionStatus.DestinationStatusOrBuilder

getDestinationStatusesOrBuilderList()

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

Output only. The intended destinations for the promotion.

repeated .google.shopping.merchant.promotions.v1beta.PromotionStatus.DestinationStatus destination_statuses = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<? extends com.google.shopping.merchant.promotions.v1beta.PromotionStatus.DestinationStatusOrBuilder>

getItemLevelIssues(int index)

public PromotionStatus.ItemLevelIssue getItemLevelIssues(int index)

Output only. A list of issues associated with the promotion.

repeated .google.shopping.merchant.promotions.v1beta.PromotionStatus.ItemLevelIssue item_level_issues = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
PromotionStatus.ItemLevelIssue

getItemLevelIssuesBuilder(int index)

public PromotionStatus.ItemLevelIssue.Builder getItemLevelIssuesBuilder(int index)

Output only. A list of issues associated with the promotion.

repeated .google.shopping.merchant.promotions.v1beta.PromotionStatus.ItemLevelIssue item_level_issues = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

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

getItemLevelIssuesBuilderList()

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

Output only. A list of issues associated with the promotion.

repeated .google.shopping.merchant.promotions.v1beta.PromotionStatus.ItemLevelIssue item_level_issues = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<Builder>

getItemLevelIssuesCount()

public int getItemLevelIssuesCount()

Output only. A list of issues associated with the promotion.

repeated .google.shopping.merchant.promotions.v1beta.PromotionStatus.ItemLevelIssue item_level_issues = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getItemLevelIssuesList()

public List<PromotionStatus.ItemLevelIssue> getItemLevelIssuesList()

Output only. A list of issues associated with the promotion.

repeated .google.shopping.merchant.promotions.v1beta.PromotionStatus.ItemLevelIssue item_level_issues = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<ItemLevelIssue>

getItemLevelIssuesOrBuilder(int index)

public PromotionStatus.ItemLevelIssueOrBuilder getItemLevelIssuesOrBuilder(int index)

Output only. A list of issues associated with the promotion.

repeated .google.shopping.merchant.promotions.v1beta.PromotionStatus.ItemLevelIssue item_level_issues = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
PromotionStatus.ItemLevelIssueOrBuilder

getItemLevelIssuesOrBuilderList()

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

Output only. A list of issues associated with the promotion.

repeated .google.shopping.merchant.promotions.v1beta.PromotionStatus.ItemLevelIssue item_level_issues = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<? extends com.google.shopping.merchant.promotions.v1beta.PromotionStatus.ItemLevelIssueOrBuilder>

getLastUpdateDate()

public Timestamp getLastUpdateDate()

Output only. Date on which the promotion status has been last updated in ISO 8601 format: Date, time, and offset, for example 2020-01-02T09:00:00+01:00 or 2020-01-02T09:00:00Z

.google.protobuf.Timestamp last_update_date = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The lastUpdateDate.

getLastUpdateDateBuilder()

public Timestamp.Builder getLastUpdateDateBuilder()

Output only. Date on which the promotion status has been last updated in ISO 8601 format: Date, time, and offset, for example 2020-01-02T09:00:00+01:00 or 2020-01-02T09:00:00Z

.google.protobuf.Timestamp last_update_date = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getLastUpdateDateOrBuilder()

public TimestampOrBuilder getLastUpdateDateOrBuilder()

Output only. Date on which the promotion status has been last updated in ISO 8601 format: Date, time, and offset, for example 2020-01-02T09:00:00+01:00 or 2020-01-02T09:00:00Z

.google.protobuf.Timestamp last_update_date = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

hasCreationDate()

public boolean hasCreationDate()

Output only. Date on which the promotion has been created in ISO 8601 format: Date, time, and offset, for example 2020-01-02T09:00:00+01:00 or 2020-01-02T09:00:00Z

.google.protobuf.Timestamp creation_date = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the creationDate field is set.

hasLastUpdateDate()

public boolean hasLastUpdateDate()

Output only. Date on which the promotion status has been last updated in ISO 8601 format: Date, time, and offset, for example 2020-01-02T09:00:00+01:00 or 2020-01-02T09:00:00Z

.google.protobuf.Timestamp last_update_date = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

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 PromotionStatus.Builder mergeCreationDate(Timestamp value)

Output only. Date on which the promotion has been created in ISO 8601 format: Date, time, and offset, for example 2020-01-02T09:00:00+01:00 or 2020-01-02T09:00:00Z

.google.protobuf.Timestamp creation_date = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
PromotionStatus.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeFrom(PromotionStatus other)

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

mergeLastUpdateDate(Timestamp value)

public PromotionStatus.Builder mergeLastUpdateDate(Timestamp value)

Output only. Date on which the promotion status has been last updated in ISO 8601 format: Date, time, and offset, for example 2020-01-02T09:00:00+01:00 or 2020-01-02T09:00:00Z

.google.protobuf.Timestamp last_update_date = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
PromotionStatus.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeDestinationStatuses(int index)

public PromotionStatus.Builder removeDestinationStatuses(int index)

Output only. The intended destinations for the promotion.

repeated .google.shopping.merchant.promotions.v1beta.PromotionStatus.DestinationStatus destination_statuses = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
PromotionStatus.Builder

removeItemLevelIssues(int index)

public PromotionStatus.Builder removeItemLevelIssues(int index)

Output only. A list of issues associated with the promotion.

repeated .google.shopping.merchant.promotions.v1beta.PromotionStatus.ItemLevelIssue item_level_issues = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
PromotionStatus.Builder

setCreationDate(Timestamp value)

public PromotionStatus.Builder setCreationDate(Timestamp value)

Output only. Date on which the promotion has been created in ISO 8601 format: Date, time, and offset, for example 2020-01-02T09:00:00+01:00 or 2020-01-02T09:00:00Z

.google.protobuf.Timestamp creation_date = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
PromotionStatus.Builder

setCreationDate(Timestamp.Builder builderForValue)

public PromotionStatus.Builder setCreationDate(Timestamp.Builder builderForValue)

Output only. Date on which the promotion has been created in ISO 8601 format: Date, time, and offset, for example 2020-01-02T09:00:00+01:00 or 2020-01-02T09:00:00Z

.google.protobuf.Timestamp creation_date = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
PromotionStatus.Builder

setDestinationStatuses(int index, PromotionStatus.DestinationStatus value)

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

Output only. The intended destinations for the promotion.

repeated .google.shopping.merchant.promotions.v1beta.PromotionStatus.DestinationStatus destination_statuses = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

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

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

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

Output only. The intended destinations for the promotion.

repeated .google.shopping.merchant.promotions.v1beta.PromotionStatus.DestinationStatus destination_statuses = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setItemLevelIssues(int index, PromotionStatus.ItemLevelIssue value)

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

Output only. A list of issues associated with the promotion.

repeated .google.shopping.merchant.promotions.v1beta.PromotionStatus.ItemLevelIssue item_level_issues = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

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

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

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

Output only. A list of issues associated with the promotion.

repeated .google.shopping.merchant.promotions.v1beta.PromotionStatus.ItemLevelIssue item_level_issues = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

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

setLastUpdateDate(Timestamp value)

public PromotionStatus.Builder setLastUpdateDate(Timestamp value)

Output only. Date on which the promotion status has been last updated in ISO 8601 format: Date, time, and offset, for example 2020-01-02T09:00:00+01:00 or 2020-01-02T09:00:00Z

.google.protobuf.Timestamp last_update_date = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
PromotionStatus.Builder

setLastUpdateDate(Timestamp.Builder builderForValue)

public PromotionStatus.Builder setLastUpdateDate(Timestamp.Builder builderForValue)

Output only. Date on which the promotion status has been last updated in ISO 8601 format: Date, time, and offset, for example 2020-01-02T09:00:00+01:00 or 2020-01-02T09:00:00Z

.google.protobuf.Timestamp last_update_date = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
PromotionStatus.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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