public static final class AddFulfillmentPlacesRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<AddFulfillmentPlacesRequest.Builder> implements AddFulfillmentPlacesRequestOrBuilder
Request message for [ProductService.AddFulfillmentPlaces][google.cloud.retail.v2.ProductService.AddFulfillmentPlaces] method.Protobuf type
google.cloud.retail.v2.AddFulfillmentPlacesRequest| Modifier and Type | Method and Description |
|---|---|
AddFulfillmentPlacesRequest.Builder |
addAllPlaceIds(Iterable<String> values)
Required.
|
AddFulfillmentPlacesRequest.Builder |
addPlaceIds(String value)
Required.
|
AddFulfillmentPlacesRequest.Builder |
addPlaceIdsBytes(com.google.protobuf.ByteString value)
Required.
|
AddFulfillmentPlacesRequest.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
AddFulfillmentPlacesRequest |
build() |
AddFulfillmentPlacesRequest |
buildPartial() |
AddFulfillmentPlacesRequest.Builder |
clear() |
AddFulfillmentPlacesRequest.Builder |
clearAddTime()
The time when the fulfillment updates are issued, used to prevent
out-of-order updates on fulfillment information.
|
AddFulfillmentPlacesRequest.Builder |
clearAllowMissing()
If set to true, and the [Product][google.cloud.retail.v2.Product] is not
found, the fulfillment information will still be processed and retained for
at most 1 day and processed once the
[Product][google.cloud.retail.v2.Product] is created.
|
AddFulfillmentPlacesRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
AddFulfillmentPlacesRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
AddFulfillmentPlacesRequest.Builder |
clearPlaceIds()
Required.
|
AddFulfillmentPlacesRequest.Builder |
clearProduct()
Required.
|
AddFulfillmentPlacesRequest.Builder |
clearType()
Required.
|
AddFulfillmentPlacesRequest.Builder |
clone() |
com.google.protobuf.Timestamp |
getAddTime()
The time when the fulfillment updates are issued, used to prevent
out-of-order updates on fulfillment information.
|
com.google.protobuf.Timestamp.Builder |
getAddTimeBuilder()
The time when the fulfillment updates are issued, used to prevent
out-of-order updates on fulfillment information.
|
com.google.protobuf.TimestampOrBuilder |
getAddTimeOrBuilder()
The time when the fulfillment updates are issued, used to prevent
out-of-order updates on fulfillment information.
|
boolean |
getAllowMissing()
If set to true, and the [Product][google.cloud.retail.v2.Product] is not
found, the fulfillment information will still be processed and retained for
at most 1 day and processed once the
[Product][google.cloud.retail.v2.Product] is created.
|
AddFulfillmentPlacesRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getPlaceIds(int index)
Required.
|
com.google.protobuf.ByteString |
getPlaceIdsBytes(int index)
Required.
|
int |
getPlaceIdsCount()
Required.
|
com.google.protobuf.ProtocolStringList |
getPlaceIdsList()
Required.
|
String |
getProduct()
Required.
|
com.google.protobuf.ByteString |
getProductBytes()
Required.
|
String |
getType()
Required.
|
com.google.protobuf.ByteString |
getTypeBytes()
Required.
|
boolean |
hasAddTime()
The time when the fulfillment updates are issued, used to prevent
out-of-order updates on fulfillment information.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
AddFulfillmentPlacesRequest.Builder |
mergeAddTime(com.google.protobuf.Timestamp value)
The time when the fulfillment updates are issued, used to prevent
out-of-order updates on fulfillment information.
|
AddFulfillmentPlacesRequest.Builder |
mergeFrom(AddFulfillmentPlacesRequest other) |
AddFulfillmentPlacesRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
AddFulfillmentPlacesRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
AddFulfillmentPlacesRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
AddFulfillmentPlacesRequest.Builder |
setAddTime(com.google.protobuf.Timestamp.Builder builderForValue)
The time when the fulfillment updates are issued, used to prevent
out-of-order updates on fulfillment information.
|
AddFulfillmentPlacesRequest.Builder |
setAddTime(com.google.protobuf.Timestamp value)
The time when the fulfillment updates are issued, used to prevent
out-of-order updates on fulfillment information.
|
AddFulfillmentPlacesRequest.Builder |
setAllowMissing(boolean value)
If set to true, and the [Product][google.cloud.retail.v2.Product] is not
found, the fulfillment information will still be processed and retained for
at most 1 day and processed once the
[Product][google.cloud.retail.v2.Product] is created.
|
AddFulfillmentPlacesRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
AddFulfillmentPlacesRequest.Builder |
setPlaceIds(int index,
String value)
Required.
|
AddFulfillmentPlacesRequest.Builder |
setProduct(String value)
Required.
|
AddFulfillmentPlacesRequest.Builder |
setProductBytes(com.google.protobuf.ByteString value)
Required.
|
AddFulfillmentPlacesRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
AddFulfillmentPlacesRequest.Builder |
setType(String value)
Required.
|
AddFulfillmentPlacesRequest.Builder |
setTypeBytes(com.google.protobuf.ByteString value)
Required.
|
AddFulfillmentPlacesRequest.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<AddFulfillmentPlacesRequest.Builder>public AddFulfillmentPlacesRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<AddFulfillmentPlacesRequest.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<AddFulfillmentPlacesRequest.Builder>public AddFulfillmentPlacesRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic AddFulfillmentPlacesRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic AddFulfillmentPlacesRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic AddFulfillmentPlacesRequest.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<AddFulfillmentPlacesRequest.Builder>public AddFulfillmentPlacesRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<AddFulfillmentPlacesRequest.Builder>public AddFulfillmentPlacesRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<AddFulfillmentPlacesRequest.Builder>public AddFulfillmentPlacesRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<AddFulfillmentPlacesRequest.Builder>public AddFulfillmentPlacesRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<AddFulfillmentPlacesRequest.Builder>public AddFulfillmentPlacesRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<AddFulfillmentPlacesRequest.Builder>public AddFulfillmentPlacesRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<AddFulfillmentPlacesRequest.Builder>public AddFulfillmentPlacesRequest.Builder mergeFrom(AddFulfillmentPlacesRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<AddFulfillmentPlacesRequest.Builder>public AddFulfillmentPlacesRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<AddFulfillmentPlacesRequest.Builder>IOExceptionpublic String getProduct()
Required. Full resource name of [Product][google.cloud.retail.v2.Product], such as `projects/*/locations/global/catalogs/default_catalog/branches/default_branch/products/some_product_id`. If the caller does not have permission to access the [Product][google.cloud.retail.v2.Product], regardless of whether or not it exists, a PERMISSION_DENIED error is returned.
string product = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getProduct in interface AddFulfillmentPlacesRequestOrBuilderpublic com.google.protobuf.ByteString getProductBytes()
Required. Full resource name of [Product][google.cloud.retail.v2.Product], such as `projects/*/locations/global/catalogs/default_catalog/branches/default_branch/products/some_product_id`. If the caller does not have permission to access the [Product][google.cloud.retail.v2.Product], regardless of whether or not it exists, a PERMISSION_DENIED error is returned.
string product = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getProductBytes in interface AddFulfillmentPlacesRequestOrBuilderpublic AddFulfillmentPlacesRequest.Builder setProduct(String value)
Required. Full resource name of [Product][google.cloud.retail.v2.Product], such as `projects/*/locations/global/catalogs/default_catalog/branches/default_branch/products/some_product_id`. If the caller does not have permission to access the [Product][google.cloud.retail.v2.Product], regardless of whether or not it exists, a PERMISSION_DENIED error is returned.
string product = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value - The product to set.public AddFulfillmentPlacesRequest.Builder clearProduct()
Required. Full resource name of [Product][google.cloud.retail.v2.Product], such as `projects/*/locations/global/catalogs/default_catalog/branches/default_branch/products/some_product_id`. If the caller does not have permission to access the [Product][google.cloud.retail.v2.Product], regardless of whether or not it exists, a PERMISSION_DENIED error is returned.
string product = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
public AddFulfillmentPlacesRequest.Builder setProductBytes(com.google.protobuf.ByteString value)
Required. Full resource name of [Product][google.cloud.retail.v2.Product], such as `projects/*/locations/global/catalogs/default_catalog/branches/default_branch/products/some_product_id`. If the caller does not have permission to access the [Product][google.cloud.retail.v2.Product], regardless of whether or not it exists, a PERMISSION_DENIED error is returned.
string product = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value - The bytes for product to set.public String getType()
Required. The fulfillment type, including commonly used types (such as pickup in store and same day delivery), and custom types. Supported values: * "pickup-in-store" * "ship-to-store" * "same-day-delivery" * "next-day-delivery" * "custom-type-1" * "custom-type-2" * "custom-type-3" * "custom-type-4" * "custom-type-5" If this field is set to an invalid value other than these, an INVALID_ARGUMENT error is returned. This field directly corresponds to [Product.fulfillment_info.type][google.cloud.retail.v2.FulfillmentInfo.type].
string type = 2 [(.google.api.field_behavior) = REQUIRED];getType in interface AddFulfillmentPlacesRequestOrBuilderpublic com.google.protobuf.ByteString getTypeBytes()
Required. The fulfillment type, including commonly used types (such as pickup in store and same day delivery), and custom types. Supported values: * "pickup-in-store" * "ship-to-store" * "same-day-delivery" * "next-day-delivery" * "custom-type-1" * "custom-type-2" * "custom-type-3" * "custom-type-4" * "custom-type-5" If this field is set to an invalid value other than these, an INVALID_ARGUMENT error is returned. This field directly corresponds to [Product.fulfillment_info.type][google.cloud.retail.v2.FulfillmentInfo.type].
string type = 2 [(.google.api.field_behavior) = REQUIRED];getTypeBytes in interface AddFulfillmentPlacesRequestOrBuilderpublic AddFulfillmentPlacesRequest.Builder setType(String value)
Required. The fulfillment type, including commonly used types (such as pickup in store and same day delivery), and custom types. Supported values: * "pickup-in-store" * "ship-to-store" * "same-day-delivery" * "next-day-delivery" * "custom-type-1" * "custom-type-2" * "custom-type-3" * "custom-type-4" * "custom-type-5" If this field is set to an invalid value other than these, an INVALID_ARGUMENT error is returned. This field directly corresponds to [Product.fulfillment_info.type][google.cloud.retail.v2.FulfillmentInfo.type].
string type = 2 [(.google.api.field_behavior) = REQUIRED];value - The type to set.public AddFulfillmentPlacesRequest.Builder clearType()
Required. The fulfillment type, including commonly used types (such as pickup in store and same day delivery), and custom types. Supported values: * "pickup-in-store" * "ship-to-store" * "same-day-delivery" * "next-day-delivery" * "custom-type-1" * "custom-type-2" * "custom-type-3" * "custom-type-4" * "custom-type-5" If this field is set to an invalid value other than these, an INVALID_ARGUMENT error is returned. This field directly corresponds to [Product.fulfillment_info.type][google.cloud.retail.v2.FulfillmentInfo.type].
string type = 2 [(.google.api.field_behavior) = REQUIRED];public AddFulfillmentPlacesRequest.Builder setTypeBytes(com.google.protobuf.ByteString value)
Required. The fulfillment type, including commonly used types (such as pickup in store and same day delivery), and custom types. Supported values: * "pickup-in-store" * "ship-to-store" * "same-day-delivery" * "next-day-delivery" * "custom-type-1" * "custom-type-2" * "custom-type-3" * "custom-type-4" * "custom-type-5" If this field is set to an invalid value other than these, an INVALID_ARGUMENT error is returned. This field directly corresponds to [Product.fulfillment_info.type][google.cloud.retail.v2.FulfillmentInfo.type].
string type = 2 [(.google.api.field_behavior) = REQUIRED];value - The bytes for type to set.public com.google.protobuf.ProtocolStringList getPlaceIdsList()
Required. The IDs for this [type][google.cloud.retail.v2.AddFulfillmentPlacesRequest.type], such as the store IDs for "pickup-in-store" or the region IDs for "same-day-delivery" to be added for this [type][google.cloud.retail.v2.AddFulfillmentPlacesRequest.type]. Duplicate IDs will be automatically ignored. At least 1 value is required, and a maximum of 2000 values are allowed. Each value must be a string with a length limit of 10 characters, matching the pattern `[a-zA-Z0-9_-]+`, such as "store1" or "REGION-2". Otherwise, an INVALID_ARGUMENT error is returned. If the total number of place IDs exceeds 2000 for this [type][google.cloud.retail.v2.AddFulfillmentPlacesRequest.type] after adding, then the update will be rejected.
repeated string place_ids = 3 [(.google.api.field_behavior) = REQUIRED];getPlaceIdsList in interface AddFulfillmentPlacesRequestOrBuilderpublic int getPlaceIdsCount()
Required. The IDs for this [type][google.cloud.retail.v2.AddFulfillmentPlacesRequest.type], such as the store IDs for "pickup-in-store" or the region IDs for "same-day-delivery" to be added for this [type][google.cloud.retail.v2.AddFulfillmentPlacesRequest.type]. Duplicate IDs will be automatically ignored. At least 1 value is required, and a maximum of 2000 values are allowed. Each value must be a string with a length limit of 10 characters, matching the pattern `[a-zA-Z0-9_-]+`, such as "store1" or "REGION-2". Otherwise, an INVALID_ARGUMENT error is returned. If the total number of place IDs exceeds 2000 for this [type][google.cloud.retail.v2.AddFulfillmentPlacesRequest.type] after adding, then the update will be rejected.
repeated string place_ids = 3 [(.google.api.field_behavior) = REQUIRED];getPlaceIdsCount in interface AddFulfillmentPlacesRequestOrBuilderpublic String getPlaceIds(int index)
Required. The IDs for this [type][google.cloud.retail.v2.AddFulfillmentPlacesRequest.type], such as the store IDs for "pickup-in-store" or the region IDs for "same-day-delivery" to be added for this [type][google.cloud.retail.v2.AddFulfillmentPlacesRequest.type]. Duplicate IDs will be automatically ignored. At least 1 value is required, and a maximum of 2000 values are allowed. Each value must be a string with a length limit of 10 characters, matching the pattern `[a-zA-Z0-9_-]+`, such as "store1" or "REGION-2". Otherwise, an INVALID_ARGUMENT error is returned. If the total number of place IDs exceeds 2000 for this [type][google.cloud.retail.v2.AddFulfillmentPlacesRequest.type] after adding, then the update will be rejected.
repeated string place_ids = 3 [(.google.api.field_behavior) = REQUIRED];getPlaceIds in interface AddFulfillmentPlacesRequestOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getPlaceIdsBytes(int index)
Required. The IDs for this [type][google.cloud.retail.v2.AddFulfillmentPlacesRequest.type], such as the store IDs for "pickup-in-store" or the region IDs for "same-day-delivery" to be added for this [type][google.cloud.retail.v2.AddFulfillmentPlacesRequest.type]. Duplicate IDs will be automatically ignored. At least 1 value is required, and a maximum of 2000 values are allowed. Each value must be a string with a length limit of 10 characters, matching the pattern `[a-zA-Z0-9_-]+`, such as "store1" or "REGION-2". Otherwise, an INVALID_ARGUMENT error is returned. If the total number of place IDs exceeds 2000 for this [type][google.cloud.retail.v2.AddFulfillmentPlacesRequest.type] after adding, then the update will be rejected.
repeated string place_ids = 3 [(.google.api.field_behavior) = REQUIRED];getPlaceIdsBytes in interface AddFulfillmentPlacesRequestOrBuilderindex - The index of the value to return.public AddFulfillmentPlacesRequest.Builder setPlaceIds(int index, String value)
Required. The IDs for this [type][google.cloud.retail.v2.AddFulfillmentPlacesRequest.type], such as the store IDs for "pickup-in-store" or the region IDs for "same-day-delivery" to be added for this [type][google.cloud.retail.v2.AddFulfillmentPlacesRequest.type]. Duplicate IDs will be automatically ignored. At least 1 value is required, and a maximum of 2000 values are allowed. Each value must be a string with a length limit of 10 characters, matching the pattern `[a-zA-Z0-9_-]+`, such as "store1" or "REGION-2". Otherwise, an INVALID_ARGUMENT error is returned. If the total number of place IDs exceeds 2000 for this [type][google.cloud.retail.v2.AddFulfillmentPlacesRequest.type] after adding, then the update will be rejected.
repeated string place_ids = 3 [(.google.api.field_behavior) = REQUIRED];index - The index to set the value at.value - The placeIds to set.public AddFulfillmentPlacesRequest.Builder addPlaceIds(String value)
Required. The IDs for this [type][google.cloud.retail.v2.AddFulfillmentPlacesRequest.type], such as the store IDs for "pickup-in-store" or the region IDs for "same-day-delivery" to be added for this [type][google.cloud.retail.v2.AddFulfillmentPlacesRequest.type]. Duplicate IDs will be automatically ignored. At least 1 value is required, and a maximum of 2000 values are allowed. Each value must be a string with a length limit of 10 characters, matching the pattern `[a-zA-Z0-9_-]+`, such as "store1" or "REGION-2". Otherwise, an INVALID_ARGUMENT error is returned. If the total number of place IDs exceeds 2000 for this [type][google.cloud.retail.v2.AddFulfillmentPlacesRequest.type] after adding, then the update will be rejected.
repeated string place_ids = 3 [(.google.api.field_behavior) = REQUIRED];value - The placeIds to add.public AddFulfillmentPlacesRequest.Builder addAllPlaceIds(Iterable<String> values)
Required. The IDs for this [type][google.cloud.retail.v2.AddFulfillmentPlacesRequest.type], such as the store IDs for "pickup-in-store" or the region IDs for "same-day-delivery" to be added for this [type][google.cloud.retail.v2.AddFulfillmentPlacesRequest.type]. Duplicate IDs will be automatically ignored. At least 1 value is required, and a maximum of 2000 values are allowed. Each value must be a string with a length limit of 10 characters, matching the pattern `[a-zA-Z0-9_-]+`, such as "store1" or "REGION-2". Otherwise, an INVALID_ARGUMENT error is returned. If the total number of place IDs exceeds 2000 for this [type][google.cloud.retail.v2.AddFulfillmentPlacesRequest.type] after adding, then the update will be rejected.
repeated string place_ids = 3 [(.google.api.field_behavior) = REQUIRED];values - The placeIds to add.public AddFulfillmentPlacesRequest.Builder clearPlaceIds()
Required. The IDs for this [type][google.cloud.retail.v2.AddFulfillmentPlacesRequest.type], such as the store IDs for "pickup-in-store" or the region IDs for "same-day-delivery" to be added for this [type][google.cloud.retail.v2.AddFulfillmentPlacesRequest.type]. Duplicate IDs will be automatically ignored. At least 1 value is required, and a maximum of 2000 values are allowed. Each value must be a string with a length limit of 10 characters, matching the pattern `[a-zA-Z0-9_-]+`, such as "store1" or "REGION-2". Otherwise, an INVALID_ARGUMENT error is returned. If the total number of place IDs exceeds 2000 for this [type][google.cloud.retail.v2.AddFulfillmentPlacesRequest.type] after adding, then the update will be rejected.
repeated string place_ids = 3 [(.google.api.field_behavior) = REQUIRED];public AddFulfillmentPlacesRequest.Builder addPlaceIdsBytes(com.google.protobuf.ByteString value)
Required. The IDs for this [type][google.cloud.retail.v2.AddFulfillmentPlacesRequest.type], such as the store IDs for "pickup-in-store" or the region IDs for "same-day-delivery" to be added for this [type][google.cloud.retail.v2.AddFulfillmentPlacesRequest.type]. Duplicate IDs will be automatically ignored. At least 1 value is required, and a maximum of 2000 values are allowed. Each value must be a string with a length limit of 10 characters, matching the pattern `[a-zA-Z0-9_-]+`, such as "store1" or "REGION-2". Otherwise, an INVALID_ARGUMENT error is returned. If the total number of place IDs exceeds 2000 for this [type][google.cloud.retail.v2.AddFulfillmentPlacesRequest.type] after adding, then the update will be rejected.
repeated string place_ids = 3 [(.google.api.field_behavior) = REQUIRED];value - The bytes of the placeIds to add.public boolean hasAddTime()
The time when the fulfillment updates are issued, used to prevent out-of-order updates on fulfillment information. If not provided, the internal system time will be used.
.google.protobuf.Timestamp add_time = 4;hasAddTime in interface AddFulfillmentPlacesRequestOrBuilderpublic com.google.protobuf.Timestamp getAddTime()
The time when the fulfillment updates are issued, used to prevent out-of-order updates on fulfillment information. If not provided, the internal system time will be used.
.google.protobuf.Timestamp add_time = 4;getAddTime in interface AddFulfillmentPlacesRequestOrBuilderpublic AddFulfillmentPlacesRequest.Builder setAddTime(com.google.protobuf.Timestamp value)
The time when the fulfillment updates are issued, used to prevent out-of-order updates on fulfillment information. If not provided, the internal system time will be used.
.google.protobuf.Timestamp add_time = 4;public AddFulfillmentPlacesRequest.Builder setAddTime(com.google.protobuf.Timestamp.Builder builderForValue)
The time when the fulfillment updates are issued, used to prevent out-of-order updates on fulfillment information. If not provided, the internal system time will be used.
.google.protobuf.Timestamp add_time = 4;public AddFulfillmentPlacesRequest.Builder mergeAddTime(com.google.protobuf.Timestamp value)
The time when the fulfillment updates are issued, used to prevent out-of-order updates on fulfillment information. If not provided, the internal system time will be used.
.google.protobuf.Timestamp add_time = 4;public AddFulfillmentPlacesRequest.Builder clearAddTime()
The time when the fulfillment updates are issued, used to prevent out-of-order updates on fulfillment information. If not provided, the internal system time will be used.
.google.protobuf.Timestamp add_time = 4;public com.google.protobuf.Timestamp.Builder getAddTimeBuilder()
The time when the fulfillment updates are issued, used to prevent out-of-order updates on fulfillment information. If not provided, the internal system time will be used.
.google.protobuf.Timestamp add_time = 4;public com.google.protobuf.TimestampOrBuilder getAddTimeOrBuilder()
The time when the fulfillment updates are issued, used to prevent out-of-order updates on fulfillment information. If not provided, the internal system time will be used.
.google.protobuf.Timestamp add_time = 4;getAddTimeOrBuilder in interface AddFulfillmentPlacesRequestOrBuilderpublic boolean getAllowMissing()
If set to true, and the [Product][google.cloud.retail.v2.Product] is not found, the fulfillment information will still be processed and retained for at most 1 day and processed once the [Product][google.cloud.retail.v2.Product] is created. If set to false, a NOT_FOUND error is returned if the [Product][google.cloud.retail.v2.Product] is not found.
bool allow_missing = 5;getAllowMissing in interface AddFulfillmentPlacesRequestOrBuilderpublic AddFulfillmentPlacesRequest.Builder setAllowMissing(boolean value)
If set to true, and the [Product][google.cloud.retail.v2.Product] is not found, the fulfillment information will still be processed and retained for at most 1 day and processed once the [Product][google.cloud.retail.v2.Product] is created. If set to false, a NOT_FOUND error is returned if the [Product][google.cloud.retail.v2.Product] is not found.
bool allow_missing = 5;value - The allowMissing to set.public AddFulfillmentPlacesRequest.Builder clearAllowMissing()
If set to true, and the [Product][google.cloud.retail.v2.Product] is not found, the fulfillment information will still be processed and retained for at most 1 day and processed once the [Product][google.cloud.retail.v2.Product] is created. If set to false, a NOT_FOUND error is returned if the [Product][google.cloud.retail.v2.Product] is not found.
bool allow_missing = 5;public final AddFulfillmentPlacesRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<AddFulfillmentPlacesRequest.Builder>public final AddFulfillmentPlacesRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<AddFulfillmentPlacesRequest.Builder>Copyright © 2023 Google LLC. All rights reserved.