Class Action.Builder (0.35.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Action.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Action.Builder
Overrides

build()

public Action build()
Returns
TypeDescription
Action

buildPartial()

public Action buildPartial()
Returns
TypeDescription
Action

clear()

public Action.Builder clear()
Returns
TypeDescription
Action.Builder
Overrides

clearAccessControl()

public Action.Builder clearAccessControl()

Action triggering access control operations.

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

Returns
TypeDescription
Action.Builder

clearAction()

public Action.Builder clearAction()
Returns
TypeDescription
Action.Builder

clearActionId()

public Action.Builder clearActionId()

ID of the action. Managed internally.

string action_id = 1;

Returns
TypeDescription
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
TypeDescription
Action.Builder

clearDataUpdate()

public Action.Builder clearDataUpdate()

Action triggering data update operations.

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

Returns
TypeDescription
Action.Builder

clearDataValidation()

public Action.Builder clearDataValidation()

Action triggering data validation operations.

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

Returns
TypeDescription
Action.Builder

clearDeleteDocumentAction()

public Action.Builder clearDeleteDocumentAction()

Action deleting the document.

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

Returns
TypeDescription
Action.Builder

clearField(Descriptors.FieldDescriptor field)

public Action.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
Action.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public Action.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
Action.Builder

clone()

public Action.Builder clone()
Returns
TypeDescription
Action.Builder
Overrides

getAccessControl()

public AccessControlAction getAccessControl()

Action triggering access control operations.

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

Returns
TypeDescription
AccessControlAction

The accessControl.

getAccessControlBuilder()

public AccessControlAction.Builder getAccessControlBuilder()

Action triggering access control operations.

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

Returns
TypeDescription
AccessControlAction.Builder

getAccessControlOrBuilder()

public AccessControlActionOrBuilder getAccessControlOrBuilder()

Action triggering access control operations.

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

Returns
TypeDescription
AccessControlActionOrBuilder

getActionCase()

public Action.ActionCase getActionCase()
Returns
TypeDescription
Action.ActionCase

getActionId()

public String getActionId()

ID of the action. Managed internally.

string action_id = 1;

Returns
TypeDescription
String

The actionId.

getActionIdBytes()

public ByteString getActionIdBytes()

ID of the action. Managed internally.

string action_id = 1;

Returns
TypeDescription
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
TypeDescription
AddToFolderAction

The addToFolder.

getAddToFolderBuilder()

public AddToFolderAction.Builder getAddToFolderBuilder()

Action triggering create document link operation.

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

Returns
TypeDescription
AddToFolderAction.Builder

getAddToFolderOrBuilder()

public AddToFolderActionOrBuilder getAddToFolderOrBuilder()

Action triggering create document link operation.

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

Returns
TypeDescription
AddToFolderActionOrBuilder

getDataUpdate()

public DataUpdateAction getDataUpdate()

Action triggering data update operations.

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

Returns
TypeDescription
DataUpdateAction

The dataUpdate.

getDataUpdateBuilder()

public DataUpdateAction.Builder getDataUpdateBuilder()

Action triggering data update operations.

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

Returns
TypeDescription
DataUpdateAction.Builder

getDataUpdateOrBuilder()

public DataUpdateActionOrBuilder getDataUpdateOrBuilder()

Action triggering data update operations.

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

Returns
TypeDescription
DataUpdateActionOrBuilder

getDataValidation()

public DataValidationAction getDataValidation()

Action triggering data validation operations.

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

Returns
TypeDescription
DataValidationAction

The dataValidation.

getDataValidationBuilder()

public DataValidationAction.Builder getDataValidationBuilder()

Action triggering data validation operations.

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

Returns
TypeDescription
DataValidationAction.Builder

getDataValidationOrBuilder()

public DataValidationActionOrBuilder getDataValidationOrBuilder()

Action triggering data validation operations.

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

Returns
TypeDescription
DataValidationActionOrBuilder

getDefaultInstanceForType()

public Action getDefaultInstanceForType()
Returns
TypeDescription
Action

getDeleteDocumentAction()

public DeleteDocumentAction getDeleteDocumentAction()

Action deleting the document.

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

Returns
TypeDescription
DeleteDocumentAction

The deleteDocumentAction.

getDeleteDocumentActionBuilder()

public DeleteDocumentAction.Builder getDeleteDocumentActionBuilder()

Action deleting the document.

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

Returns
TypeDescription
DeleteDocumentAction.Builder

getDeleteDocumentActionOrBuilder()

public DeleteDocumentActionOrBuilder getDeleteDocumentActionOrBuilder()

Action deleting the document.

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

Returns
TypeDescription
DeleteDocumentActionOrBuilder

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getPublishToPubSub()

public PublishAction getPublishToPubSub()

Action publish to Pub/Sub operation.

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

Returns
TypeDescription
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
TypeDescription
PublishAction.Builder

getPublishToPubSubOrBuilder()

public PublishActionOrBuilder getPublishToPubSubOrBuilder()

Action publish to Pub/Sub operation.

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

Returns
TypeDescription
PublishActionOrBuilder

getRemoveFromFolderAction()

public RemoveFromFolderAction getRemoveFromFolderAction()

Action removing a document from a folder.

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

Returns
TypeDescription
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
TypeDescription
RemoveFromFolderAction.Builder

getRemoveFromFolderActionOrBuilder()

public RemoveFromFolderActionOrBuilder getRemoveFromFolderActionOrBuilder()

Action removing a document from a folder.

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

Returns
TypeDescription
RemoveFromFolderActionOrBuilder

hasAccessControl()

public boolean hasAccessControl()

Action triggering access control operations.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the removeFromFolderAction field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueAccessControlAction
Returns
TypeDescription
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
NameDescription
valueAddToFolderAction
Returns
TypeDescription
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
NameDescription
valueDataUpdateAction
Returns
TypeDescription
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
NameDescription
valueDataValidationAction
Returns
TypeDescription
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
NameDescription
valueDeleteDocumentAction
Returns
TypeDescription
Action.Builder

mergeFrom(Action other)

public Action.Builder mergeFrom(Action other)
Parameter
NameDescription
otherAction
Returns
TypeDescription
Action.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Action.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Action.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public Action.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valuePublishAction
Returns
TypeDescription
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
NameDescription
valueRemoveFromFolderAction
Returns
TypeDescription
Action.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Action.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueAccessControlAction
Returns
TypeDescription
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
NameDescription
builderForValueAccessControlAction.Builder
Returns
TypeDescription
Action.Builder

setActionId(String value)

public Action.Builder setActionId(String value)

ID of the action. Managed internally.

string action_id = 1;

Parameter
NameDescription
valueString

The actionId to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for actionId to set.

Returns
TypeDescription
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
NameDescription
valueAddToFolderAction
Returns
TypeDescription
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
NameDescription
builderForValueAddToFolderAction.Builder
Returns
TypeDescription
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
NameDescription
valueDataUpdateAction
Returns
TypeDescription
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
NameDescription
builderForValueDataUpdateAction.Builder
Returns
TypeDescription
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
NameDescription
valueDataValidationAction
Returns
TypeDescription
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
NameDescription
builderForValueDataValidationAction.Builder
Returns
TypeDescription
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
NameDescription
valueDeleteDocumentAction
Returns
TypeDescription
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
NameDescription
builderForValueDeleteDocumentAction.Builder
Returns
TypeDescription
Action.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public Action.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valuePublishAction
Returns
TypeDescription
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
NameDescription
builderForValuePublishAction.Builder
Returns
TypeDescription
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
NameDescription
valueRemoveFromFolderAction
Returns
TypeDescription
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
NameDescription
builderForValueRemoveFromFolderAction.Builder
Returns
TypeDescription
Action.Builder

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

public Action.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Action.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Action.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Action.Builder
Overrides