Enum ImportStrategy (0.39.0)

public enum ImportStrategy extends Enum<ImportStrategy> implements ProtocolMessageEnum

Import strategies for the conflict resolution of resources (i.e. intents, entities, and webhooks) with identical display names during import operations.

Protobuf enum google.cloud.dialogflow.cx.v3beta1.ImportStrategy

Implements

ProtocolMessageEnum

Static Fields

Name Description
IMPORT_STRATEGY_CREATE_NEW

Create a new resource with a numeric suffix appended to the end of the existing display name.

IMPORT_STRATEGY_CREATE_NEW = 1;

IMPORT_STRATEGY_CREATE_NEW_VALUE

Create a new resource with a numeric suffix appended to the end of the existing display name.

IMPORT_STRATEGY_CREATE_NEW = 1;

IMPORT_STRATEGY_KEEP

Keep existing resource and discard incoming resource in the content to be imported.

IMPORT_STRATEGY_KEEP = 3;

IMPORT_STRATEGY_KEEP_VALUE

Keep existing resource and discard incoming resource in the content to be imported.

IMPORT_STRATEGY_KEEP = 3;

IMPORT_STRATEGY_MERGE

Combine existing and incoming resources when a conflict is encountered.

IMPORT_STRATEGY_MERGE = 4;

IMPORT_STRATEGY_MERGE_VALUE

Combine existing and incoming resources when a conflict is encountered.

IMPORT_STRATEGY_MERGE = 4;

IMPORT_STRATEGY_REPLACE

Replace existing resource with incoming resource in the content to be imported.

IMPORT_STRATEGY_REPLACE = 2;

IMPORT_STRATEGY_REPLACE_VALUE

Replace existing resource with incoming resource in the content to be imported.

IMPORT_STRATEGY_REPLACE = 2;

IMPORT_STRATEGY_THROW_ERROR

Throw error if a conflict is encountered.

IMPORT_STRATEGY_THROW_ERROR = 5;

IMPORT_STRATEGY_THROW_ERROR_VALUE

Throw error if a conflict is encountered.

IMPORT_STRATEGY_THROW_ERROR = 5;

IMPORT_STRATEGY_UNSPECIFIED

Unspecified. Treated as 'CREATE_NEW'.

IMPORT_STRATEGY_UNSPECIFIED = 0;

IMPORT_STRATEGY_UNSPECIFIED_VALUE

Unspecified. Treated as 'CREATE_NEW'.

IMPORT_STRATEGY_UNSPECIFIED = 0;

UNRECOGNIZED

Static Methods

Name Description
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

Name Description
getDescriptorForType()
getNumber()
getValueDescriptor()