Enum UpdateType (0.29.0)

public enum UpdateType extends Enum<UpdateType> implements ProtocolMessageEnum

Update type of the requests.

Protobuf enum google.cloud.contentwarehouse.v1.UpdateType

Implements

ProtocolMessageEnum

Static Fields

NameDescription
UNRECOGNIZED
UPDATE_TYPE_DELETE_PROPERTIES_BY_NAMES

Delete the properties by names.

UPDATE_TYPE_DELETE_PROPERTIES_BY_NAMES = 5;

UPDATE_TYPE_DELETE_PROPERTIES_BY_NAMES_VALUE

Delete the properties by names.

UPDATE_TYPE_DELETE_PROPERTIES_BY_NAMES = 5;

UPDATE_TYPE_INSERT_PROPERTIES_BY_NAMES

Inserts the properties by names.

UPDATE_TYPE_INSERT_PROPERTIES_BY_NAMES = 3;

UPDATE_TYPE_INSERT_PROPERTIES_BY_NAMES_VALUE

Inserts the properties by names.

UPDATE_TYPE_INSERT_PROPERTIES_BY_NAMES = 3;

UPDATE_TYPE_MERGE

Merge the fields into the existing entities.

UPDATE_TYPE_MERGE = 2;

UPDATE_TYPE_MERGE_AND_REPLACE_OR_INSERT_PROPERTIES_BY_NAMES

For each of the property, replaces the property if the it exists, otherwise inserts a new property. And for the rest of the fields, merge them based on update mask and merge fields options.

UPDATE_TYPE_MERGE_AND_REPLACE_OR_INSERT_PROPERTIES_BY_NAMES = 6;

UPDATE_TYPE_MERGE_AND_REPLACE_OR_INSERT_PROPERTIES_BY_NAMES_VALUE

For each of the property, replaces the property if the it exists, otherwise inserts a new property. And for the rest of the fields, merge them based on update mask and merge fields options.

UPDATE_TYPE_MERGE_AND_REPLACE_OR_INSERT_PROPERTIES_BY_NAMES = 6;

UPDATE_TYPE_MERGE_VALUE

Merge the fields into the existing entities.

UPDATE_TYPE_MERGE = 2;

UPDATE_TYPE_REPLACE

Fully replace all the fields (including previously linked raw document). Any field masks will be ignored.

UPDATE_TYPE_REPLACE = 1;

UPDATE_TYPE_REPLACE_PROPERTIES_BY_NAMES

Replace the properties by names.

UPDATE_TYPE_REPLACE_PROPERTIES_BY_NAMES = 4;

UPDATE_TYPE_REPLACE_PROPERTIES_BY_NAMES_VALUE

Replace the properties by names.

UPDATE_TYPE_REPLACE_PROPERTIES_BY_NAMES = 4;

UPDATE_TYPE_REPLACE_VALUE

Fully replace all the fields (including previously linked raw document). Any field masks will be ignored.

UPDATE_TYPE_REPLACE = 1;

UPDATE_TYPE_UNSPECIFIED

Defaults to full replace behavior, ie. FULL_REPLACE.

UPDATE_TYPE_UNSPECIFIED = 0;

UPDATE_TYPE_UNSPECIFIED_VALUE

Defaults to full replace behavior, ie. FULL_REPLACE.

UPDATE_TYPE_UNSPECIFIED = 0;

Static Methods

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

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

NameDescription
getDescriptorForType()
getNumber()
getValueDescriptor()