public static enum ImportDocumentsRequest.ReconciliationMode extends Enum<ImportDocumentsRequest.ReconciliationMode> implements com.google.protobuf.ProtocolMessageEnum
Indicates how imported documents are reconciled with the existing documents created or imported before.Protobuf enum
google.cloud.discoveryengine.v1beta.ImportDocumentsRequest.ReconciliationMode| Enum Constant and Description |
|---|
FULL
Calculates diff and replaces the entire document dataset.
|
INCREMENTAL
Inserts new documents or updates existing documents.
|
RECONCILIATION_MODE_UNSPECIFIED
Defaults to `INCREMENTAL`.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
FULL_VALUE
Calculates diff and replaces the entire document dataset.
|
static int |
INCREMENTAL_VALUE
Inserts new documents or updates existing documents.
|
static int |
RECONCILIATION_MODE_UNSPECIFIED_VALUE
Defaults to `INCREMENTAL`.
|
| Modifier and Type | Method and Description |
|---|---|
static ImportDocumentsRequest.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<ImportDocumentsRequest.ReconciliationMode> |
internalGetValueMap() |
static ImportDocumentsRequest.ReconciliationMode |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static ImportDocumentsRequest.ReconciliationMode |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static ImportDocumentsRequest.ReconciliationMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ImportDocumentsRequest.ReconciliationMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ImportDocumentsRequest.ReconciliationMode RECONCILIATION_MODE_UNSPECIFIED
Defaults to `INCREMENTAL`.
RECONCILIATION_MODE_UNSPECIFIED = 0;public static final ImportDocumentsRequest.ReconciliationMode INCREMENTAL
Inserts new documents or updates existing documents.
INCREMENTAL = 1;public static final ImportDocumentsRequest.ReconciliationMode FULL
Calculates diff and replaces the entire document dataset. Existing documents may be deleted if they are not present in the source location.
FULL = 2;public static final ImportDocumentsRequest.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 documents or updates existing documents.
INCREMENTAL = 1;public static final int FULL_VALUE
Calculates diff and replaces the entire document dataset. Existing documents may be deleted if they are not present in the source location.
FULL = 2;public static ImportDocumentsRequest.ReconciliationMode[] values()
for (ImportDocumentsRequest.ReconciliationMode c : ImportDocumentsRequest.ReconciliationMode.values()) System.out.println(c);
public static ImportDocumentsRequest.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 ImportDocumentsRequest.ReconciliationMode valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static ImportDocumentsRequest.ReconciliationMode forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<ImportDocumentsRequest.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 ImportDocumentsRequest.ReconciliationMode valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024 Google LLC. All rights reserved.