public static enum ImportProductsRequest.ReconciliationMode extends Enum<ImportProductsRequest.ReconciliationMode> implements com.google.protobuf.ProtocolMessageEnum
Indicates how imported products are reconciled with the existing products created or imported before.Protobuf enum
google.cloud.retail.v2alpha.ImportProductsRequest.ReconciliationMode| Enum Constant and Description |
|---|
FULL
Calculates diff and replaces the entire product dataset.
|
INCREMENTAL
Inserts new products or updates existing products.
|
RECONCILIATION_MODE_UNSPECIFIED
Defaults to INCREMENTAL.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
FULL_VALUE
Calculates diff and replaces the entire product dataset.
|
static int |
INCREMENTAL_VALUE
Inserts new products or updates existing products.
|
static int |
RECONCILIATION_MODE_UNSPECIFIED_VALUE
Defaults to INCREMENTAL.
|
| Modifier and Type | Method and Description |
|---|---|
static ImportProductsRequest.ReconciliationMode |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<ImportProductsRequest.ReconciliationMode> |
internalGetValueMap() |
static ImportProductsRequest.ReconciliationMode |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static ImportProductsRequest.ReconciliationMode |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static ImportProductsRequest.ReconciliationMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ImportProductsRequest.ReconciliationMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ImportProductsRequest.ReconciliationMode RECONCILIATION_MODE_UNSPECIFIED
Defaults to INCREMENTAL.
RECONCILIATION_MODE_UNSPECIFIED = 0;public static final ImportProductsRequest.ReconciliationMode INCREMENTAL
Inserts new products or updates existing products.
INCREMENTAL = 1;public static final ImportProductsRequest.ReconciliationMode FULL
Calculates diff and replaces the entire product dataset. Existing products may be deleted if they are not present in the source location.
FULL = 2;public static final ImportProductsRequest.ReconciliationMode UNRECOGNIZED
public static final int RECONCILIATION_MODE_UNSPECIFIED_VALUE
Defaults to INCREMENTAL.
RECONCILIATION_MODE_UNSPECIFIED = 0;public static final int INCREMENTAL_VALUE
Inserts new products or updates existing products.
INCREMENTAL = 1;public static final int FULL_VALUE
Calculates diff and replaces the entire product dataset. Existing products may be deleted if they are not present in the source location.
FULL = 2;public static ImportProductsRequest.ReconciliationMode[] values()
for (ImportProductsRequest.ReconciliationMode c : ImportProductsRequest.ReconciliationMode.values()) System.out.println(c);
public static ImportProductsRequest.ReconciliationMode valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static ImportProductsRequest.ReconciliationMode valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static ImportProductsRequest.ReconciliationMode forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<ImportProductsRequest.ReconciliationMode> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static ImportProductsRequest.ReconciliationMode valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024 Google LLC. All rights reserved.