public static final class AddLocalInventoriesRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<AddLocalInventoriesRequest.Builder> implements AddLocalInventoriesRequestOrBuilder
Request message for [ProductService.AddLocalInventories][google.cloud.retail.v2.ProductService.AddLocalInventories] method.Protobuf type
google.cloud.retail.v2.AddLocalInventoriesRequest| Modifier and Type | Method and Description |
|---|---|
AddLocalInventoriesRequest.Builder |
addAllLocalInventories(Iterable<? extends LocalInventory> values)
Required.
|
AddLocalInventoriesRequest.Builder |
addLocalInventories(int index,
LocalInventory.Builder builderForValue)
Required.
|
AddLocalInventoriesRequest.Builder |
addLocalInventories(int index,
LocalInventory value)
Required.
|
AddLocalInventoriesRequest.Builder |
addLocalInventories(LocalInventory.Builder builderForValue)
Required.
|
AddLocalInventoriesRequest.Builder |
addLocalInventories(LocalInventory value)
Required.
|
LocalInventory.Builder |
addLocalInventoriesBuilder()
Required.
|
LocalInventory.Builder |
addLocalInventoriesBuilder(int index)
Required.
|
AddLocalInventoriesRequest.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
AddLocalInventoriesRequest |
build() |
AddLocalInventoriesRequest |
buildPartial() |
AddLocalInventoriesRequest.Builder |
clear() |
AddLocalInventoriesRequest.Builder |
clearAddMask()
Indicates which inventory fields in the provided list of
[LocalInventory][google.cloud.retail.v2.LocalInventory] to update.
|
AddLocalInventoriesRequest.Builder |
clearAddTime()
The time when the inventory updates are issued.
|
AddLocalInventoriesRequest.Builder |
clearAllowMissing()
If set to true, and the [Product][google.cloud.retail.v2.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.v2.Product] is
created.
|
AddLocalInventoriesRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
AddLocalInventoriesRequest.Builder |
clearLocalInventories()
Required.
|
AddLocalInventoriesRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
AddLocalInventoriesRequest.Builder |
clearProduct()
Required.
|
AddLocalInventoriesRequest.Builder |
clone() |
com.google.protobuf.FieldMask |
getAddMask()
Indicates which inventory fields in the provided list of
[LocalInventory][google.cloud.retail.v2.LocalInventory] to update.
|
com.google.protobuf.FieldMask.Builder |
getAddMaskBuilder()
Indicates which inventory fields in the provided list of
[LocalInventory][google.cloud.retail.v2.LocalInventory] to update.
|
com.google.protobuf.FieldMaskOrBuilder |
getAddMaskOrBuilder()
Indicates which inventory fields in the provided list of
[LocalInventory][google.cloud.retail.v2.LocalInventory] to update.
|
com.google.protobuf.Timestamp |
getAddTime()
The time when the inventory updates are issued.
|
com.google.protobuf.Timestamp.Builder |
getAddTimeBuilder()
The time when the inventory updates are issued.
|
com.google.protobuf.TimestampOrBuilder |
getAddTimeOrBuilder()
The time when the inventory updates are issued.
|
boolean |
getAllowMissing()
If set to true, and the [Product][google.cloud.retail.v2.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.v2.Product] is
created.
|
AddLocalInventoriesRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
LocalInventory |
getLocalInventories(int index)
Required.
|
LocalInventory.Builder |
getLocalInventoriesBuilder(int index)
Required.
|
List<LocalInventory.Builder> |
getLocalInventoriesBuilderList()
Required.
|
int |
getLocalInventoriesCount()
Required.
|
List<LocalInventory> |
getLocalInventoriesList()
Required.
|
LocalInventoryOrBuilder |
getLocalInventoriesOrBuilder(int index)
Required.
|
List<? extends LocalInventoryOrBuilder> |
getLocalInventoriesOrBuilderList()
Required.
|
String |
getProduct()
Required.
|
com.google.protobuf.ByteString |
getProductBytes()
Required.
|
boolean |
hasAddMask()
Indicates which inventory fields in the provided list of
[LocalInventory][google.cloud.retail.v2.LocalInventory] to update.
|
boolean |
hasAddTime()
The time when the inventory updates are issued.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
AddLocalInventoriesRequest.Builder |
mergeAddMask(com.google.protobuf.FieldMask value)
Indicates which inventory fields in the provided list of
[LocalInventory][google.cloud.retail.v2.LocalInventory] to update.
|
AddLocalInventoriesRequest.Builder |
mergeAddTime(com.google.protobuf.Timestamp value)
The time when the inventory updates are issued.
|
AddLocalInventoriesRequest.Builder |
mergeFrom(AddLocalInventoriesRequest other) |
AddLocalInventoriesRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
AddLocalInventoriesRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
AddLocalInventoriesRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
AddLocalInventoriesRequest.Builder |
removeLocalInventories(int index)
Required.
|
AddLocalInventoriesRequest.Builder |
setAddMask(com.google.protobuf.FieldMask.Builder builderForValue)
Indicates which inventory fields in the provided list of
[LocalInventory][google.cloud.retail.v2.LocalInventory] to update.
|
AddLocalInventoriesRequest.Builder |
setAddMask(com.google.protobuf.FieldMask value)
Indicates which inventory fields in the provided list of
[LocalInventory][google.cloud.retail.v2.LocalInventory] to update.
|
AddLocalInventoriesRequest.Builder |
setAddTime(com.google.protobuf.Timestamp.Builder builderForValue)
The time when the inventory updates are issued.
|
AddLocalInventoriesRequest.Builder |
setAddTime(com.google.protobuf.Timestamp value)
The time when the inventory updates are issued.
|
AddLocalInventoriesRequest.Builder |
setAllowMissing(boolean value)
If set to true, and the [Product][google.cloud.retail.v2.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.v2.Product] is
created.
|
AddLocalInventoriesRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
AddLocalInventoriesRequest.Builder |
setLocalInventories(int index,
LocalInventory.Builder builderForValue)
Required.
|
AddLocalInventoriesRequest.Builder |
setLocalInventories(int index,
LocalInventory value)
Required.
|
AddLocalInventoriesRequest.Builder |
setProduct(String value)
Required.
|
AddLocalInventoriesRequest.Builder |
setProductBytes(com.google.protobuf.ByteString value)
Required.
|
AddLocalInventoriesRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
AddLocalInventoriesRequest.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<AddLocalInventoriesRequest.Builder>public AddLocalInventoriesRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<AddLocalInventoriesRequest.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<AddLocalInventoriesRequest.Builder>public AddLocalInventoriesRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic AddLocalInventoriesRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic AddLocalInventoriesRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic AddLocalInventoriesRequest.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<AddLocalInventoriesRequest.Builder>public AddLocalInventoriesRequest.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<AddLocalInventoriesRequest.Builder>public AddLocalInventoriesRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<AddLocalInventoriesRequest.Builder>public AddLocalInventoriesRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<AddLocalInventoriesRequest.Builder>public AddLocalInventoriesRequest.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<AddLocalInventoriesRequest.Builder>public AddLocalInventoriesRequest.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<AddLocalInventoriesRequest.Builder>public AddLocalInventoriesRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<AddLocalInventoriesRequest.Builder>public AddLocalInventoriesRequest.Builder mergeFrom(AddLocalInventoriesRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<AddLocalInventoriesRequest.Builder>public AddLocalInventoriesRequest.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<AddLocalInventoriesRequest.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 AddLocalInventoriesRequestOrBuilderpublic 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 AddLocalInventoriesRequestOrBuilderpublic AddLocalInventoriesRequest.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 AddLocalInventoriesRequest.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 AddLocalInventoriesRequest.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 List<LocalInventory> 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.v2.LocalInventory local_inventories = 2 [(.google.api.field_behavior) = REQUIRED];
getLocalInventoriesList in interface AddLocalInventoriesRequestOrBuilderpublic 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.v2.LocalInventory local_inventories = 2 [(.google.api.field_behavior) = REQUIRED];
getLocalInventoriesCount in interface AddLocalInventoriesRequestOrBuilderpublic LocalInventory getLocalInventories(int index)
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.v2.LocalInventory local_inventories = 2 [(.google.api.field_behavior) = REQUIRED];
getLocalInventories in interface AddLocalInventoriesRequestOrBuilderpublic AddLocalInventoriesRequest.Builder setLocalInventories(int index, LocalInventory value)
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.v2.LocalInventory local_inventories = 2 [(.google.api.field_behavior) = REQUIRED];
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.v2.LocalInventory local_inventories = 2 [(.google.api.field_behavior) = REQUIRED];
public AddLocalInventoriesRequest.Builder addLocalInventories(LocalInventory value)
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.v2.LocalInventory local_inventories = 2 [(.google.api.field_behavior) = REQUIRED];
public AddLocalInventoriesRequest.Builder addLocalInventories(int index, LocalInventory value)
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.v2.LocalInventory local_inventories = 2 [(.google.api.field_behavior) = REQUIRED];
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.v2.LocalInventory local_inventories = 2 [(.google.api.field_behavior) = REQUIRED];
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.v2.LocalInventory local_inventories = 2 [(.google.api.field_behavior) = REQUIRED];
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.v2.LocalInventory local_inventories = 2 [(.google.api.field_behavior) = REQUIRED];
public AddLocalInventoriesRequest.Builder 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.v2.LocalInventory local_inventories = 2 [(.google.api.field_behavior) = REQUIRED];
public AddLocalInventoriesRequest.Builder removeLocalInventories(int index)
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.v2.LocalInventory local_inventories = 2 [(.google.api.field_behavior) = REQUIRED];
public LocalInventory.Builder getLocalInventoriesBuilder(int index)
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.v2.LocalInventory local_inventories = 2 [(.google.api.field_behavior) = REQUIRED];
public LocalInventoryOrBuilder getLocalInventoriesOrBuilder(int index)
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.v2.LocalInventory local_inventories = 2 [(.google.api.field_behavior) = REQUIRED];
getLocalInventoriesOrBuilder in interface AddLocalInventoriesRequestOrBuilderpublic List<? extends LocalInventoryOrBuilder> 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.v2.LocalInventory local_inventories = 2 [(.google.api.field_behavior) = REQUIRED];
getLocalInventoriesOrBuilderList in interface AddLocalInventoriesRequestOrBuilderpublic LocalInventory.Builder 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.v2.LocalInventory local_inventories = 2 [(.google.api.field_behavior) = REQUIRED];
public LocalInventory.Builder addLocalInventoriesBuilder(int index)
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.v2.LocalInventory local_inventories = 2 [(.google.api.field_behavior) = REQUIRED];
public List<LocalInventory.Builder> 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.v2.LocalInventory local_inventories = 2 [(.google.api.field_behavior) = REQUIRED];
public boolean hasAddMask()
Indicates which inventory fields in the provided list of [LocalInventory][google.cloud.retail.v2.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;hasAddMask in interface AddLocalInventoriesRequestOrBuilderpublic com.google.protobuf.FieldMask getAddMask()
Indicates which inventory fields in the provided list of [LocalInventory][google.cloud.retail.v2.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;getAddMask in interface AddLocalInventoriesRequestOrBuilderpublic AddLocalInventoriesRequest.Builder setAddMask(com.google.protobuf.FieldMask value)
Indicates which inventory fields in the provided list of [LocalInventory][google.cloud.retail.v2.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;public AddLocalInventoriesRequest.Builder setAddMask(com.google.protobuf.FieldMask.Builder builderForValue)
Indicates which inventory fields in the provided list of [LocalInventory][google.cloud.retail.v2.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;public AddLocalInventoriesRequest.Builder mergeAddMask(com.google.protobuf.FieldMask value)
Indicates which inventory fields in the provided list of [LocalInventory][google.cloud.retail.v2.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;public AddLocalInventoriesRequest.Builder clearAddMask()
Indicates which inventory fields in the provided list of [LocalInventory][google.cloud.retail.v2.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;public com.google.protobuf.FieldMask.Builder getAddMaskBuilder()
Indicates which inventory fields in the provided list of [LocalInventory][google.cloud.retail.v2.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;public com.google.protobuf.FieldMaskOrBuilder getAddMaskOrBuilder()
Indicates which inventory fields in the provided list of [LocalInventory][google.cloud.retail.v2.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 in interface AddLocalInventoriesRequestOrBuilderpublic 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;hasAddTime in interface AddLocalInventoriesRequestOrBuilderpublic 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;getAddTime in interface AddLocalInventoriesRequestOrBuilderpublic AddLocalInventoriesRequest.Builder setAddTime(com.google.protobuf.Timestamp value)
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;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;public AddLocalInventoriesRequest.Builder mergeAddTime(com.google.protobuf.Timestamp value)
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;public AddLocalInventoriesRequest.Builder 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;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;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;getAddTimeOrBuilder in interface AddLocalInventoriesRequestOrBuilderpublic boolean getAllowMissing()
If set to true, and the [Product][google.cloud.retail.v2.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.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 = 6;getAllowMissing in interface AddLocalInventoriesRequestOrBuilderpublic AddLocalInventoriesRequest.Builder setAllowMissing(boolean value)
If set to true, and the [Product][google.cloud.retail.v2.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.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 = 6;value - The allowMissing to set.public AddLocalInventoriesRequest.Builder clearAllowMissing()
If set to true, and the [Product][google.cloud.retail.v2.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.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 = 6;public final AddLocalInventoriesRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<AddLocalInventoriesRequest.Builder>public final AddLocalInventoriesRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<AddLocalInventoriesRequest.Builder>Copyright © 2024 Google LLC. All rights reserved.