Class Action.Builder (0.51.0)

public static final class Action.Builder extends GeneratedMessageV3.Builder<Action.Builder> implements ActionOrBuilder

Represents the action triggered by Rule Engine when the rule is true.

Protobuf type google.cloud.contentwarehouse.v1.Action

Implements

ActionOrBuilder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Action.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Action.Builder
Overrides

build()

public Action build()
Returns
Type Description
Action

buildPartial()

public Action buildPartial()
Returns
Type Description
Action

clear()

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

clearAccessControl()

public Action.Builder clearAccessControl()

Action triggering access control operations.

.google.cloud.contentwarehouse.v1.AccessControlAction access_control = 2;

Returns
Type Description
Action.Builder

clearAction()

public Action.Builder clearAction()
Returns
Type Description
Action.Builder

clearActionId()

public Action.Builder clearActionId()

ID of the action. Managed internally.

string action_id = 1;

Returns
Type Description
Action.Builder

This builder for chaining.

clearAddToFolder()

public Action.Builder clearAddToFolder()

Action triggering create document link operation.

.google.cloud.contentwarehouse.v1.AddToFolderAction add_to_folder = 5;

Returns
Type Description
Action.Builder

clearDataUpdate()

public Action.Builder clearDataUpdate()

Action triggering data update operations.

.google.cloud.contentwarehouse.v1.DataUpdateAction data_update = 4;

Returns
Type Description
Action.Builder

clearDataValidation()

public Action.Builder clearDataValidation()

Action triggering data validation operations.

.google.cloud.contentwarehouse.v1.DataValidationAction data_validation = 3;

Returns
Type Description
Action.Builder

clearDeleteDocumentAction()

public Action.Builder clearDeleteDocumentAction()

Action deleting the document.

.google.cloud.contentwarehouse.v1.DeleteDocumentAction delete_document_action = 10;

Returns
Type Description
Action.Builder

clearField(Descriptors.FieldDescriptor field)

public Action.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Action.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public Action.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Action.Builder
Overrides

clearPublishToPubSub()

public Action.Builder clearPublishToPubSub()

Action publish to Pub/Sub operation.

.google.cloud.contentwarehouse.v1.PublishAction publish_to_pub_sub = 6;

Returns
Type Description
Action.Builder

clearRemoveFromFolderAction()

public Action.Builder clearRemoveFromFolderAction()

Action removing a document from a folder.

.google.cloud.contentwarehouse.v1.RemoveFromFolderAction remove_from_folder_action = 9;

Returns
Type Description
Action.Builder

clone()

public Action.Builder clone()
Returns
Type Description
Action.Builder
Overrides

getAccessControl()

public AccessControlAction getAccessControl()

Action triggering access control operations.

.google.cloud.contentwarehouse.v1.AccessControlAction access_control = 2;

Returns
Type Description
AccessControlAction

The accessControl.

getAccessControlBuilder()

public AccessControlAction.Builder getAccessControlBuilder()

Action triggering access control operations.

.google.cloud.contentwarehouse.v1.AccessControlAction access_control = 2;

Returns
Type Description
AccessControlAction.Builder

getAccessControlOrBuilder()

public AccessControlActionOrBuilder getAccessControlOrBuilder()

Action triggering access control operations.

.google.cloud.contentwarehouse.v1.AccessControlAction access_control = 2;

Returns
Type Description
AccessControlActionOrBuilder

getActionCase()

public Action.ActionCase getActionCase()
Returns
Type Description
Action.ActionCase

getActionId()

public String getActionId()

ID of the action. Managed internally.

string action_id = 1;

Returns
Type Description
String

The actionId.

getActionIdBytes()

public ByteString getActionIdBytes()

ID of the action. Managed internally.

string action_id = 1;

Returns
Type Description
ByteString

The bytes for actionId.

getAddToFolder()

public AddToFolderAction getAddToFolder()

Action triggering create document link operation.

.google.cloud.contentwarehouse.v1.AddToFolderAction add_to_folder = 5;

Returns
Type Description
AddToFolderAction

The addToFolder.

getAddToFolderBuilder()

public AddToFolderAction.Builder getAddToFolderBuilder()

Action triggering create document link operation.

.google.cloud.contentwarehouse.v1.AddToFolderAction add_to_folder = 5;

Returns
Type Description
AddToFolderAction.Builder

getAddToFolderOrBuilder()

public AddToFolderActionOrBuilder getAddToFolderOrBuilder()

Action triggering create document link operation.

.google.cloud.contentwarehouse.v1.AddToFolderAction add_to_folder = 5;

Returns
Type Description
AddToFolderActionOrBuilder

getDataUpdate()

public DataUpdateAction getDataUpdate()

Action triggering data update operations.

.google.cloud.contentwarehouse.v1.DataUpdateAction data_update = 4;

Returns
Type Description
DataUpdateAction

The dataUpdate.

getDataUpdateBuilder()

public DataUpdateAction.Builder getDataUpdateBuilder()

Action triggering data update operations.

.google.cloud.contentwarehouse.v1.DataUpdateAction data_update = 4;

Returns
Type Description
DataUpdateAction.Builder

getDataUpdateOrBuilder()

public DataUpdateActionOrBuilder getDataUpdateOrBuilder()

Action triggering data update operations.

.google.cloud.contentwarehouse.v1.DataUpdateAction data_update = 4;

Returns
Type Description
DataUpdateActionOrBuilder

getDataValidation()

public DataValidationAction getDataValidation()

Action triggering data validation operations.

.google.cloud.contentwarehouse.v1.DataValidationAction data_validation = 3;

Returns
Type Description
DataValidationAction

The dataValidation.

getDataValidationBuilder()

public DataValidationAction.Builder getDataValidationBuilder()

Action triggering data validation operations.

.google.cloud.contentwarehouse.v1.DataValidationAction data_validation = 3;

Returns
Type Description
DataValidationAction.Builder

getDataValidationOrBuilder()

public DataValidationActionOrBuilder getDataValidationOrBuilder()

Action triggering data validation operations.

.google.cloud.contentwarehouse.v1.DataValidationAction data_validation = 3;

Returns
Type Description
DataValidationActionOrBuilder

getDefaultInstanceForType()

public Action getDefaultInstanceForType()
Returns
Type Description
Action

getDeleteDocumentAction()

public DeleteDocumentAction getDeleteDocumentAction()

Action deleting the document.

.google.cloud.contentwarehouse.v1.DeleteDocumentAction delete_document_action = 10;

Returns
Type Description
DeleteDocumentAction

The deleteDocumentAction.

getDeleteDocumentActionBuilder()

public DeleteDocumentAction.Builder getDeleteDocumentActionBuilder()

Action deleting the document.

.google.cloud.contentwarehouse.v1.DeleteDocumentAction delete_document_action = 10;

Returns
Type Description
DeleteDocumentAction.Builder

getDeleteDocumentActionOrBuilder()

public DeleteDocumentActionOrBuilder getDeleteDocumentActionOrBuilder()

Action deleting the document.

.google.cloud.contentwarehouse.v1.DeleteDocumentAction delete_document_action = 10;

Returns
Type Description
DeleteDocumentActionOrBuilder

getDescriptorForType()

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

getPublishToPubSub()

public PublishAction getPublishToPubSub()

Action publish to Pub/Sub operation.

.google.cloud.contentwarehouse.v1.PublishAction publish_to_pub_sub = 6;

Returns
Type Description
PublishAction

The publishToPubSub.

getPublishToPubSubBuilder()

public PublishAction.Builder getPublishToPubSubBuilder()

Action publish to Pub/Sub operation.

.google.cloud.contentwarehouse.v1.PublishAction publish_to_pub_sub = 6;

Returns
Type Description
PublishAction.Builder

getPublishToPubSubOrBuilder()

public PublishActionOrBuilder getPublishToPubSubOrBuilder()

Action publish to Pub/Sub operation.

.google.cloud.contentwarehouse.v1.PublishAction publish_to_pub_sub = 6;

Returns
Type Description
PublishActionOrBuilder

getRemoveFromFolderAction()

public RemoveFromFolderAction getRemoveFromFolderAction()

Action removing a document from a folder.

.google.cloud.contentwarehouse.v1.RemoveFromFolderAction remove_from_folder_action = 9;

Returns
Type Description
RemoveFromFolderAction

The removeFromFolderAction.

getRemoveFromFolderActionBuilder()

public RemoveFromFolderAction.Builder getRemoveFromFolderActionBuilder()

Action removing a document from a folder.

.google.cloud.contentwarehouse.v1.RemoveFromFolderAction remove_from_folder_action = 9;

Returns
Type Description
RemoveFromFolderAction.Builder

getRemoveFromFolderActionOrBuilder()

public RemoveFromFolderActionOrBuilder getRemoveFromFolderActionOrBuilder()

Action removing a document from a folder.

.google.cloud.contentwarehouse.v1.RemoveFromFolderAction remove_from_folder_action = 9;

Returns
Type Description
RemoveFromFolderActionOrBuilder

hasAccessControl()

public boolean hasAccessControl()

Action triggering access control operations.

.google.cloud.contentwarehouse.v1.AccessControlAction access_control = 2;

Returns
Type Description
boolean

Whether the accessControl field is set.

hasAddToFolder()

public boolean hasAddToFolder()

Action triggering create document link operation.

.google.cloud.contentwarehouse.v1.AddToFolderAction add_to_folder = 5;

Returns
Type Description
boolean

Whether the addToFolder field is set.

hasDataUpdate()

public boolean hasDataUpdate()

Action triggering data update operations.

.google.cloud.contentwarehouse.v1.DataUpdateAction data_update = 4;

Returns
Type Description
boolean

Whether the dataUpdate field is set.

hasDataValidation()

public boolean hasDataValidation()

Action triggering data validation operations.

.google.cloud.contentwarehouse.v1.DataValidationAction data_validation = 3;

Returns
Type Description
boolean

Whether the dataValidation field is set.

hasDeleteDocumentAction()

public boolean hasDeleteDocumentAction()

Action deleting the document.

.google.cloud.contentwarehouse.v1.DeleteDocumentAction delete_document_action = 10;

Returns
Type Description
boolean

Whether the deleteDocumentAction field is set.

hasPublishToPubSub()

public boolean hasPublishToPubSub()

Action publish to Pub/Sub operation.

.google.cloud.contentwarehouse.v1.PublishAction publish_to_pub_sub = 6;

Returns
Type Description
boolean

Whether the publishToPubSub field is set.

hasRemoveFromFolderAction()

public boolean hasRemoveFromFolderAction()

Action removing a document from a folder.

.google.cloud.contentwarehouse.v1.RemoveFromFolderAction remove_from_folder_action = 9;

Returns
Type Description
boolean

Whether the removeFromFolderAction field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeAccessControl(AccessControlAction value)

public Action.Builder mergeAccessControl(AccessControlAction value)

Action triggering access control operations.

.google.cloud.contentwarehouse.v1.AccessControlAction access_control = 2;

Parameter
Name Description
value AccessControlAction
Returns
Type Description
Action.Builder

mergeAddToFolder(AddToFolderAction value)

public Action.Builder mergeAddToFolder(AddToFolderAction value)

Action triggering create document link operation.

.google.cloud.contentwarehouse.v1.AddToFolderAction add_to_folder = 5;

Parameter
Name Description
value AddToFolderAction
Returns
Type Description
Action.Builder

mergeDataUpdate(DataUpdateAction value)

public Action.Builder mergeDataUpdate(DataUpdateAction value)

Action triggering data update operations.

.google.cloud.contentwarehouse.v1.DataUpdateAction data_update = 4;

Parameter
Name Description
value DataUpdateAction
Returns
Type Description
Action.Builder

mergeDataValidation(DataValidationAction value)

public Action.Builder mergeDataValidation(DataValidationAction value)

Action triggering data validation operations.

.google.cloud.contentwarehouse.v1.DataValidationAction data_validation = 3;

Parameter
Name Description
value DataValidationAction
Returns
Type Description
Action.Builder

mergeDeleteDocumentAction(DeleteDocumentAction value)

public Action.Builder mergeDeleteDocumentAction(DeleteDocumentAction value)

Action deleting the document.

.google.cloud.contentwarehouse.v1.DeleteDocumentAction delete_document_action = 10;

Parameter
Name Description
value DeleteDocumentAction
Returns
Type Description
Action.Builder

mergeFrom(Action other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergePublishToPubSub(PublishAction value)

public Action.Builder mergePublishToPubSub(PublishAction value)

Action publish to Pub/Sub operation.

.google.cloud.contentwarehouse.v1.PublishAction publish_to_pub_sub = 6;

Parameter
Name Description
value PublishAction
Returns
Type Description
Action.Builder

mergeRemoveFromFolderAction(RemoveFromFolderAction value)

public Action.Builder mergeRemoveFromFolderAction(RemoveFromFolderAction value)

Action removing a document from a folder.

.google.cloud.contentwarehouse.v1.RemoveFromFolderAction remove_from_folder_action = 9;

Parameter
Name Description
value RemoveFromFolderAction
Returns
Type Description
Action.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Action.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Action.Builder
Overrides

setAccessControl(AccessControlAction value)

public Action.Builder setAccessControl(AccessControlAction value)

Action triggering access control operations.

.google.cloud.contentwarehouse.v1.AccessControlAction access_control = 2;

Parameter
Name Description
value AccessControlAction
Returns
Type Description
Action.Builder

setAccessControl(AccessControlAction.Builder builderForValue)

public Action.Builder setAccessControl(AccessControlAction.Builder builderForValue)

Action triggering access control operations.

.google.cloud.contentwarehouse.v1.AccessControlAction access_control = 2;

Parameter
Name Description
builderForValue AccessControlAction.Builder
Returns
Type Description
Action.Builder

setActionId(String value)

public Action.Builder setActionId(String value)

ID of the action. Managed internally.

string action_id = 1;

Parameter
Name Description
value String

The actionId to set.

Returns
Type Description
Action.Builder

This builder for chaining.

setActionIdBytes(ByteString value)

public Action.Builder setActionIdBytes(ByteString value)

ID of the action. Managed internally.

string action_id = 1;

Parameter
Name Description
value ByteString

The bytes for actionId to set.

Returns
Type Description
Action.Builder

This builder for chaining.

setAddToFolder(AddToFolderAction value)

public Action.Builder setAddToFolder(AddToFolderAction value)

Action triggering create document link operation.

.google.cloud.contentwarehouse.v1.AddToFolderAction add_to_folder = 5;

Parameter
Name Description
value AddToFolderAction
Returns
Type Description
Action.Builder

setAddToFolder(AddToFolderAction.Builder builderForValue)

public Action.Builder setAddToFolder(AddToFolderAction.Builder builderForValue)

Action triggering create document link operation.

.google.cloud.contentwarehouse.v1.AddToFolderAction add_to_folder = 5;

Parameter
Name Description
builderForValue AddToFolderAction.Builder
Returns
Type Description
Action.Builder

setDataUpdate(DataUpdateAction value)

public Action.Builder setDataUpdate(DataUpdateAction value)

Action triggering data update operations.

.google.cloud.contentwarehouse.v1.DataUpdateAction data_update = 4;

Parameter
Name Description
value DataUpdateAction
Returns
Type Description
Action.Builder

setDataUpdate(DataUpdateAction.Builder builderForValue)

public Action.Builder setDataUpdate(DataUpdateAction.Builder builderForValue)

Action triggering data update operations.

.google.cloud.contentwarehouse.v1.DataUpdateAction data_update = 4;

Parameter
Name Description
builderForValue DataUpdateAction.Builder
Returns
Type Description
Action.Builder

setDataValidation(DataValidationAction value)

public Action.Builder setDataValidation(DataValidationAction value)

Action triggering data validation operations.

.google.cloud.contentwarehouse.v1.DataValidationAction data_validation = 3;

Parameter
Name Description
value DataValidationAction
Returns
Type Description
Action.Builder

setDataValidation(DataValidationAction.Builder builderForValue)

public Action.Builder setDataValidation(DataValidationAction.Builder builderForValue)

Action triggering data validation operations.

.google.cloud.contentwarehouse.v1.DataValidationAction data_validation = 3;

Parameter
Name Description
builderForValue DataValidationAction.Builder
Returns
Type Description
Action.Builder

setDeleteDocumentAction(DeleteDocumentAction value)

public Action.Builder setDeleteDocumentAction(DeleteDocumentAction value)

Action deleting the document.

.google.cloud.contentwarehouse.v1.DeleteDocumentAction delete_document_action = 10;

Parameter
Name Description
value DeleteDocumentAction
Returns
Type Description
Action.Builder

setDeleteDocumentAction(DeleteDocumentAction.Builder builderForValue)

public Action.Builder setDeleteDocumentAction(DeleteDocumentAction.Builder builderForValue)

Action deleting the document.

.google.cloud.contentwarehouse.v1.DeleteDocumentAction delete_document_action = 10;

Parameter
Name Description
builderForValue DeleteDocumentAction.Builder
Returns
Type Description
Action.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public Action.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Action.Builder
Overrides

setPublishToPubSub(PublishAction value)

public Action.Builder setPublishToPubSub(PublishAction value)

Action publish to Pub/Sub operation.

.google.cloud.contentwarehouse.v1.PublishAction publish_to_pub_sub = 6;

Parameter
Name Description
value PublishAction
Returns
Type Description
Action.Builder

setPublishToPubSub(PublishAction.Builder builderForValue)

public Action.Builder setPublishToPubSub(PublishAction.Builder builderForValue)

Action publish to Pub/Sub operation.

.google.cloud.contentwarehouse.v1.PublishAction publish_to_pub_sub = 6;

Parameter
Name Description
builderForValue PublishAction.Builder
Returns
Type Description
Action.Builder

setRemoveFromFolderAction(RemoveFromFolderAction value)

public Action.Builder setRemoveFromFolderAction(RemoveFromFolderAction value)

Action removing a document from a folder.

.google.cloud.contentwarehouse.v1.RemoveFromFolderAction remove_from_folder_action = 9;

Parameter
Name Description
value RemoveFromFolderAction
Returns
Type Description
Action.Builder

setRemoveFromFolderAction(RemoveFromFolderAction.Builder builderForValue)

public Action.Builder setRemoveFromFolderAction(RemoveFromFolderAction.Builder builderForValue)

Action removing a document from a folder.

.google.cloud.contentwarehouse.v1.RemoveFromFolderAction remove_from_folder_action = 9;

Parameter
Name Description
builderForValue RemoveFromFolderAction.Builder
Returns
Type Description
Action.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Action.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Action.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Action.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Action.Builder
Overrides