Class DeleteDocumentAction.Builder (0.79.0)

public static final class DeleteDocumentAction.Builder extends GeneratedMessage.Builder<DeleteDocumentAction.Builder> implements DeleteDocumentActionOrBuilder

Represents the action responsible for deleting the document.

Protobuf type google.cloud.contentwarehouse.v1.DeleteDocumentAction

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public DeleteDocumentAction build()
Returns
Type Description
DeleteDocumentAction

buildPartial()

public DeleteDocumentAction buildPartial()
Returns
Type Description
DeleteDocumentAction

clear()

public DeleteDocumentAction.Builder clear()
Returns
Type Description
DeleteDocumentAction.Builder
Overrides

clearEnableHardDelete()

public DeleteDocumentAction.Builder clearEnableHardDelete()

Boolean field to select between hard vs soft delete options. Set 'true' for 'hard delete' and 'false' for 'soft delete'.

bool enable_hard_delete = 1;

Returns
Type Description
DeleteDocumentAction.Builder

This builder for chaining.

getDefaultInstanceForType()

public DeleteDocumentAction getDefaultInstanceForType()
Returns
Type Description
DeleteDocumentAction

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getEnableHardDelete()

public boolean getEnableHardDelete()

Boolean field to select between hard vs soft delete options. Set 'true' for 'hard delete' and 'false' for 'soft delete'.

bool enable_hard_delete = 1;

Returns
Type Description
boolean

The enableHardDelete.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DeleteDocumentAction other)

public DeleteDocumentAction.Builder mergeFrom(DeleteDocumentAction other)
Parameter
Name Description
other DeleteDocumentAction
Returns
Type Description
DeleteDocumentAction.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DeleteDocumentAction.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DeleteDocumentAction.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public DeleteDocumentAction.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
DeleteDocumentAction.Builder
Overrides

setEnableHardDelete(boolean value)

public DeleteDocumentAction.Builder setEnableHardDelete(boolean value)

Boolean field to select between hard vs soft delete options. Set 'true' for 'hard delete' and 'false' for 'soft delete'.

bool enable_hard_delete = 1;

Parameter
Name Description
value boolean

The enableHardDelete to set.

Returns
Type Description
DeleteDocumentAction.Builder

This builder for chaining.