Package com.google.cloud.retail.v2alpha
Class AddLocalInventoriesRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<AddLocalInventoriesRequest.Builder>
com.google.cloud.retail.v2alpha.AddLocalInventoriesRequest.Builder
- All Implemented Interfaces:
AddLocalInventoriesRequestOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- AddLocalInventoriesRequest
public static final class AddLocalInventoriesRequest.Builder
extends com.google.protobuf.GeneratedMessage.Builder<AddLocalInventoriesRequest.Builder>
implements AddLocalInventoriesRequestOrBuilder
Request message for [ProductService.AddLocalInventories][google.cloud.retail.v2alpha.ProductService.AddLocalInventories] method.Protobuf type
google.cloud.retail.v2alpha.AddLocalInventoriesRequest-
Method Summary
Modifier and TypeMethodDescriptionaddAllLocalInventories(Iterable<? extends LocalInventory> values) Required.addLocalInventories(int index, LocalInventory value) Required.addLocalInventories(int index, LocalInventory.Builder builderForValue) Required.Required.addLocalInventories(LocalInventory.Builder builderForValue) Required.Required.addLocalInventoriesBuilder(int index) Required.build()clear()Indicates which inventory fields in the provided list of [LocalInventory][google.cloud.retail.v2alpha.LocalInventory] to update.The time when the inventory updates are issued.If set to true, and the [Product][google.cloud.retail.v2alpha.Product] is not found, the local inventory will still be processed and retained for at most 1 day and processed once the [Product][google.cloud.retail.v2alpha.Product] is created.Required.Required.com.google.protobuf.FieldMaskIndicates which inventory fields in the provided list of [LocalInventory][google.cloud.retail.v2alpha.LocalInventory] to update.com.google.protobuf.FieldMask.BuilderIndicates which inventory fields in the provided list of [LocalInventory][google.cloud.retail.v2alpha.LocalInventory] to update.com.google.protobuf.FieldMaskOrBuilderIndicates which inventory fields in the provided list of [LocalInventory][google.cloud.retail.v2alpha.LocalInventory] to update.com.google.protobuf.TimestampThe time when the inventory updates are issued.com.google.protobuf.Timestamp.BuilderThe time when the inventory updates are issued.com.google.protobuf.TimestampOrBuilderThe time when the inventory updates are issued.booleanIf set to true, and the [Product][google.cloud.retail.v2alpha.Product] is not found, the local inventory will still be processed and retained for at most 1 day and processed once the [Product][google.cloud.retail.v2alpha.Product] is created.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetLocalInventories(int index) Required.getLocalInventoriesBuilder(int index) Required.Required.intRequired.Required.getLocalInventoriesOrBuilder(int index) Required.List<? extends LocalInventoryOrBuilder>Required.Required.com.google.protobuf.ByteStringRequired.booleanIndicates which inventory fields in the provided list of [LocalInventory][google.cloud.retail.v2alpha.LocalInventory] to update.booleanThe time when the inventory updates are issued.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeAddMask(com.google.protobuf.FieldMask value) Indicates which inventory fields in the provided list of [LocalInventory][google.cloud.retail.v2alpha.LocalInventory] to update.mergeAddTime(com.google.protobuf.Timestamp value) The time when the inventory updates are issued.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeLocalInventories(int index) Required.setAddMask(com.google.protobuf.FieldMask value) Indicates which inventory fields in the provided list of [LocalInventory][google.cloud.retail.v2alpha.LocalInventory] to update.setAddMask(com.google.protobuf.FieldMask.Builder builderForValue) Indicates which inventory fields in the provided list of [LocalInventory][google.cloud.retail.v2alpha.LocalInventory] to update.setAddTime(com.google.protobuf.Timestamp value) The time when the inventory updates are issued.setAddTime(com.google.protobuf.Timestamp.Builder builderForValue) The time when the inventory updates are issued.setAllowMissing(boolean value) If set to true, and the [Product][google.cloud.retail.v2alpha.Product] is not found, the local inventory will still be processed and retained for at most 1 day and processed once the [Product][google.cloud.retail.v2alpha.Product] is created.setLocalInventories(int index, LocalInventory value) Required.setLocalInventories(int index, LocalInventory.Builder builderForValue) Required.setProduct(String value) Required.setProductBytes(com.google.protobuf.ByteString value) Required.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<AddLocalInventoriesRequest.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<AddLocalInventoriesRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<AddLocalInventoriesRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AddLocalInventoriesRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<AddLocalInventoriesRequest.Builder>
-
mergeFrom
public AddLocalInventoriesRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AddLocalInventoriesRequest.Builder>- Throws:
IOException
-
getProduct
Required. Full resource name of [Product][google.cloud.retail.v2alpha.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.v2alpha.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) = { ... }- Specified by:
getProductin interfaceAddLocalInventoriesRequestOrBuilder- Returns:
- The product.
-
getProductBytes
public com.google.protobuf.ByteString getProductBytes()Required. Full resource name of [Product][google.cloud.retail.v2alpha.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.v2alpha.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) = { ... }- Specified by:
getProductBytesin interfaceAddLocalInventoriesRequestOrBuilder- Returns:
- The bytes for product.
-
setProduct
Required. Full resource name of [Product][google.cloud.retail.v2alpha.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.v2alpha.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) = { ... }- Parameters:
value- The product to set.- Returns:
- This builder for chaining.
-
clearProduct
Required. Full resource name of [Product][google.cloud.retail.v2alpha.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.v2alpha.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) = { ... }- Returns:
- This builder for chaining.
-
setProductBytes
Required. Full resource name of [Product][google.cloud.retail.v2alpha.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.v2alpha.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) = { ... }- Parameters:
value- The bytes for product to set.- Returns:
- This builder for chaining.
-
getLocalInventoriesList
Required. A list of inventory information at difference places. Each place is identified by its place ID. At most 3000 inventories are allowed per request.
repeated .google.cloud.retail.v2alpha.LocalInventory local_inventories = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getLocalInventoriesListin interfaceAddLocalInventoriesRequestOrBuilder
-
getLocalInventoriesCount
public int getLocalInventoriesCount()Required. A list of inventory information at difference places. Each place is identified by its place ID. At most 3000 inventories are allowed per request.
repeated .google.cloud.retail.v2alpha.LocalInventory local_inventories = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getLocalInventoriesCountin interfaceAddLocalInventoriesRequestOrBuilder
-
getLocalInventories
Required. A list of inventory information at difference places. Each place is identified by its place ID. At most 3000 inventories are allowed per request.
repeated .google.cloud.retail.v2alpha.LocalInventory local_inventories = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getLocalInventoriesin interfaceAddLocalInventoriesRequestOrBuilder
-
setLocalInventories
Required. A list of inventory information at difference places. Each place is identified by its place ID. At most 3000 inventories are allowed per request.
repeated .google.cloud.retail.v2alpha.LocalInventory local_inventories = 2 [(.google.api.field_behavior) = REQUIRED]; -
setLocalInventories
public AddLocalInventoriesRequest.Builder setLocalInventories(int index, LocalInventory.Builder builderForValue) Required. A list of inventory information at difference places. Each place is identified by its place ID. At most 3000 inventories are allowed per request.
repeated .google.cloud.retail.v2alpha.LocalInventory local_inventories = 2 [(.google.api.field_behavior) = REQUIRED]; -
addLocalInventories
Required. A list of inventory information at difference places. Each place is identified by its place ID. At most 3000 inventories are allowed per request.
repeated .google.cloud.retail.v2alpha.LocalInventory local_inventories = 2 [(.google.api.field_behavior) = REQUIRED]; -
addLocalInventories
Required. A list of inventory information at difference places. Each place is identified by its place ID. At most 3000 inventories are allowed per request.
repeated .google.cloud.retail.v2alpha.LocalInventory local_inventories = 2 [(.google.api.field_behavior) = REQUIRED]; -
addLocalInventories
public AddLocalInventoriesRequest.Builder addLocalInventories(LocalInventory.Builder builderForValue) Required. A list of inventory information at difference places. Each place is identified by its place ID. At most 3000 inventories are allowed per request.
repeated .google.cloud.retail.v2alpha.LocalInventory local_inventories = 2 [(.google.api.field_behavior) = REQUIRED]; -
addLocalInventories
public AddLocalInventoriesRequest.Builder addLocalInventories(int index, LocalInventory.Builder builderForValue) Required. A list of inventory information at difference places. Each place is identified by its place ID. At most 3000 inventories are allowed per request.
repeated .google.cloud.retail.v2alpha.LocalInventory local_inventories = 2 [(.google.api.field_behavior) = REQUIRED]; -
addAllLocalInventories
public AddLocalInventoriesRequest.Builder addAllLocalInventories(Iterable<? extends LocalInventory> values) Required. A list of inventory information at difference places. Each place is identified by its place ID. At most 3000 inventories are allowed per request.
repeated .google.cloud.retail.v2alpha.LocalInventory local_inventories = 2 [(.google.api.field_behavior) = REQUIRED]; -
clearLocalInventories
Required. A list of inventory information at difference places. Each place is identified by its place ID. At most 3000 inventories are allowed per request.
repeated .google.cloud.retail.v2alpha.LocalInventory local_inventories = 2 [(.google.api.field_behavior) = REQUIRED]; -
removeLocalInventories
Required. A list of inventory information at difference places. Each place is identified by its place ID. At most 3000 inventories are allowed per request.
repeated .google.cloud.retail.v2alpha.LocalInventory local_inventories = 2 [(.google.api.field_behavior) = REQUIRED]; -
getLocalInventoriesBuilder
Required. A list of inventory information at difference places. Each place is identified by its place ID. At most 3000 inventories are allowed per request.
repeated .google.cloud.retail.v2alpha.LocalInventory local_inventories = 2 [(.google.api.field_behavior) = REQUIRED]; -
getLocalInventoriesOrBuilder
Required. A list of inventory information at difference places. Each place is identified by its place ID. At most 3000 inventories are allowed per request.
repeated .google.cloud.retail.v2alpha.LocalInventory local_inventories = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getLocalInventoriesOrBuilderin interfaceAddLocalInventoriesRequestOrBuilder
-
getLocalInventoriesOrBuilderList
Required. A list of inventory information at difference places. Each place is identified by its place ID. At most 3000 inventories are allowed per request.
repeated .google.cloud.retail.v2alpha.LocalInventory local_inventories = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getLocalInventoriesOrBuilderListin interfaceAddLocalInventoriesRequestOrBuilder
-
addLocalInventoriesBuilder
Required. A list of inventory information at difference places. Each place is identified by its place ID. At most 3000 inventories are allowed per request.
repeated .google.cloud.retail.v2alpha.LocalInventory local_inventories = 2 [(.google.api.field_behavior) = REQUIRED]; -
addLocalInventoriesBuilder
Required. A list of inventory information at difference places. Each place is identified by its place ID. At most 3000 inventories are allowed per request.
repeated .google.cloud.retail.v2alpha.LocalInventory local_inventories = 2 [(.google.api.field_behavior) = REQUIRED]; -
getLocalInventoriesBuilderList
Required. A list of inventory information at difference places. Each place is identified by its place ID. At most 3000 inventories are allowed per request.
repeated .google.cloud.retail.v2alpha.LocalInventory local_inventories = 2 [(.google.api.field_behavior) = REQUIRED]; -
hasAddMask
public boolean hasAddMask()Indicates which inventory fields in the provided list of [LocalInventory][google.cloud.retail.v2alpha.LocalInventory] to update. The field is updated to the provided value. If a field is set while the place does not have a previous local inventory, the local inventory at that store is created. If a field is set while the value of that field is not provided, the original field value, if it exists, is deleted. If the mask is not set or set with empty paths, all inventory fields will be updated. If an unsupported or unknown field is provided, an INVALID_ARGUMENT error is returned and the entire update will be ignored.
.google.protobuf.FieldMask add_mask = 4;- Specified by:
hasAddMaskin interfaceAddLocalInventoriesRequestOrBuilder- Returns:
- Whether the addMask field is set.
-
getAddMask
public com.google.protobuf.FieldMask getAddMask()Indicates which inventory fields in the provided list of [LocalInventory][google.cloud.retail.v2alpha.LocalInventory] to update. The field is updated to the provided value. If a field is set while the place does not have a previous local inventory, the local inventory at that store is created. If a field is set while the value of that field is not provided, the original field value, if it exists, is deleted. If the mask is not set or set with empty paths, all inventory fields will be updated. If an unsupported or unknown field is provided, an INVALID_ARGUMENT error is returned and the entire update will be ignored.
.google.protobuf.FieldMask add_mask = 4;- Specified by:
getAddMaskin interfaceAddLocalInventoriesRequestOrBuilder- Returns:
- The addMask.
-
setAddMask
Indicates which inventory fields in the provided list of [LocalInventory][google.cloud.retail.v2alpha.LocalInventory] to update. The field is updated to the provided value. If a field is set while the place does not have a previous local inventory, the local inventory at that store is created. If a field is set while the value of that field is not provided, the original field value, if it exists, is deleted. If the mask is not set or set with empty paths, all inventory fields will be updated. If an unsupported or unknown field is provided, an INVALID_ARGUMENT error is returned and the entire update will be ignored.
.google.protobuf.FieldMask add_mask = 4; -
setAddMask
public AddLocalInventoriesRequest.Builder setAddMask(com.google.protobuf.FieldMask.Builder builderForValue) Indicates which inventory fields in the provided list of [LocalInventory][google.cloud.retail.v2alpha.LocalInventory] to update. The field is updated to the provided value. If a field is set while the place does not have a previous local inventory, the local inventory at that store is created. If a field is set while the value of that field is not provided, the original field value, if it exists, is deleted. If the mask is not set or set with empty paths, all inventory fields will be updated. If an unsupported or unknown field is provided, an INVALID_ARGUMENT error is returned and the entire update will be ignored.
.google.protobuf.FieldMask add_mask = 4; -
mergeAddMask
Indicates which inventory fields in the provided list of [LocalInventory][google.cloud.retail.v2alpha.LocalInventory] to update. The field is updated to the provided value. If a field is set while the place does not have a previous local inventory, the local inventory at that store is created. If a field is set while the value of that field is not provided, the original field value, if it exists, is deleted. If the mask is not set or set with empty paths, all inventory fields will be updated. If an unsupported or unknown field is provided, an INVALID_ARGUMENT error is returned and the entire update will be ignored.
.google.protobuf.FieldMask add_mask = 4; -
clearAddMask
Indicates which inventory fields in the provided list of [LocalInventory][google.cloud.retail.v2alpha.LocalInventory] to update. The field is updated to the provided value. If a field is set while the place does not have a previous local inventory, the local inventory at that store is created. If a field is set while the value of that field is not provided, the original field value, if it exists, is deleted. If the mask is not set or set with empty paths, all inventory fields will be updated. If an unsupported or unknown field is provided, an INVALID_ARGUMENT error is returned and the entire update will be ignored.
.google.protobuf.FieldMask add_mask = 4; -
getAddMaskBuilder
public com.google.protobuf.FieldMask.Builder getAddMaskBuilder()Indicates which inventory fields in the provided list of [LocalInventory][google.cloud.retail.v2alpha.LocalInventory] to update. The field is updated to the provided value. If a field is set while the place does not have a previous local inventory, the local inventory at that store is created. If a field is set while the value of that field is not provided, the original field value, if it exists, is deleted. If the mask is not set or set with empty paths, all inventory fields will be updated. If an unsupported or unknown field is provided, an INVALID_ARGUMENT error is returned and the entire update will be ignored.
.google.protobuf.FieldMask add_mask = 4; -
getAddMaskOrBuilder
public com.google.protobuf.FieldMaskOrBuilder getAddMaskOrBuilder()Indicates which inventory fields in the provided list of [LocalInventory][google.cloud.retail.v2alpha.LocalInventory] to update. The field is updated to the provided value. If a field is set while the place does not have a previous local inventory, the local inventory at that store is created. If a field is set while the value of that field is not provided, the original field value, if it exists, is deleted. If the mask is not set or set with empty paths, all inventory fields will be updated. If an unsupported or unknown field is provided, an INVALID_ARGUMENT error is returned and the entire update will be ignored.
.google.protobuf.FieldMask add_mask = 4;- Specified by:
getAddMaskOrBuilderin interfaceAddLocalInventoriesRequestOrBuilder
-
hasAddTime
public boolean hasAddTime()The time when the inventory updates are issued. Used to prevent out-of-order updates on local inventory fields. If not provided, the internal system time will be used.
.google.protobuf.Timestamp add_time = 5;- Specified by:
hasAddTimein interfaceAddLocalInventoriesRequestOrBuilder- Returns:
- Whether the addTime field is set.
-
getAddTime
public com.google.protobuf.Timestamp getAddTime()The time when the inventory updates are issued. Used to prevent out-of-order updates on local inventory fields. If not provided, the internal system time will be used.
.google.protobuf.Timestamp add_time = 5;- Specified by:
getAddTimein interfaceAddLocalInventoriesRequestOrBuilder- Returns:
- The addTime.
-
setAddTime
The time when the inventory updates are issued. Used to prevent out-of-order updates on local inventory fields. If not provided, the internal system time will be used.
.google.protobuf.Timestamp add_time = 5; -
setAddTime
public AddLocalInventoriesRequest.Builder setAddTime(com.google.protobuf.Timestamp.Builder builderForValue) The time when the inventory updates are issued. Used to prevent out-of-order updates on local inventory fields. If not provided, the internal system time will be used.
.google.protobuf.Timestamp add_time = 5; -
mergeAddTime
The time when the inventory updates are issued. Used to prevent out-of-order updates on local inventory fields. If not provided, the internal system time will be used.
.google.protobuf.Timestamp add_time = 5; -
clearAddTime
The time when the inventory updates are issued. Used to prevent out-of-order updates on local inventory fields. If not provided, the internal system time will be used.
.google.protobuf.Timestamp add_time = 5; -
getAddTimeBuilder
public com.google.protobuf.Timestamp.Builder getAddTimeBuilder()The time when the inventory updates are issued. Used to prevent out-of-order updates on local inventory fields. If not provided, the internal system time will be used.
.google.protobuf.Timestamp add_time = 5; -
getAddTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getAddTimeOrBuilder()The time when the inventory updates are issued. Used to prevent out-of-order updates on local inventory fields. If not provided, the internal system time will be used.
.google.protobuf.Timestamp add_time = 5;- Specified by:
getAddTimeOrBuilderin interfaceAddLocalInventoriesRequestOrBuilder
-
getAllowMissing
public boolean getAllowMissing()If set to true, and the [Product][google.cloud.retail.v2alpha.Product] is not found, the local inventory will still be processed and retained for at most 1 day and processed once the [Product][google.cloud.retail.v2alpha.Product] is created. If set to false, a NOT_FOUND error is returned if the [Product][google.cloud.retail.v2alpha.Product] is not found.
bool allow_missing = 6;- Specified by:
getAllowMissingin interfaceAddLocalInventoriesRequestOrBuilder- Returns:
- The allowMissing.
-
setAllowMissing
If set to true, and the [Product][google.cloud.retail.v2alpha.Product] is not found, the local inventory will still be processed and retained for at most 1 day and processed once the [Product][google.cloud.retail.v2alpha.Product] is created. If set to false, a NOT_FOUND error is returned if the [Product][google.cloud.retail.v2alpha.Product] is not found.
bool allow_missing = 6;- Parameters:
value- The allowMissing to set.- Returns:
- This builder for chaining.
-
clearAllowMissing
If set to true, and the [Product][google.cloud.retail.v2alpha.Product] is not found, the local inventory will still be processed and retained for at most 1 day and processed once the [Product][google.cloud.retail.v2alpha.Product] is created. If set to false, a NOT_FOUND error is returned if the [Product][google.cloud.retail.v2alpha.Product] is not found.
bool allow_missing = 6;- Returns:
- This builder for chaining.
-