Some or all of the information on this page might not apply to Trusted Cloud by S3NS.
Class Action (0.15.0)
Note: Some or all of the information on this page might not apply
to Trusted Cloud. For a list of services that are available in
Trusted Cloud, see Services available for
Trusted Cloud .
Version 0.15.0keyboard_arrow_down
public final class Action extends GeneratedMessageV3 implements ActionOrBuilder
Represents the action triggered by Rule Engine when the rule is true.
Protobuf type google.cloud.contentwarehouse.v1.Action
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
Static Fields
ACCESS_CONTROL_FIELD_NUMBER
public static final int ACCESS_CONTROL_FIELD_NUMBER
Field Value
Type
Description
int
ACTION_ID_FIELD_NUMBER
public static final int ACTION_ID_FIELD_NUMBER
Field Value
Type
Description
int
ADD_TO_FOLDER_FIELD_NUMBER
public static final int ADD_TO_FOLDER_FIELD_NUMBER
Field Value
Type
Description
int
DATA_UPDATE_FIELD_NUMBER
public static final int DATA_UPDATE_FIELD_NUMBER
Field Value
Type
Description
int
DATA_VALIDATION_FIELD_NUMBER
public static final int DATA_VALIDATION_FIELD_NUMBER
Field Value
Type
Description
int
DELETE_DOCUMENT_ACTION_FIELD_NUMBER
public static final int DELETE_DOCUMENT_ACTION_FIELD_NUMBER
Field Value
Type
Description
int
PUBLISH_TO_PUB_SUB_FIELD_NUMBER
public static final int PUBLISH_TO_PUB_SUB_FIELD_NUMBER
Field Value
Type
Description
int
REMOVE_FROM_FOLDER_ACTION_FIELD_NUMBER
public static final int REMOVE_FROM_FOLDER_ACTION_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
getDefaultInstance()
public static Action getDefaultInstance ()
Returns
Type
Description
Action
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static Action . Builder newBuilder ()
newBuilder(Action prototype)
public static Action . Builder newBuilder ( Action prototype )
Parameter
Name
Description
prototype
Action
parseDelimitedFrom(InputStream input)
public static Action parseDelimitedFrom ( InputStream input )
Returns
Type
Description
Action
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Action parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Returns
Type
Description
Action
parseFrom(byte[] data)
public static Action parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
Returns
Type
Description
Action
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Action parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
Returns
Type
Description
Action
parseFrom(ByteString data)
public static Action parseFrom ( ByteString data )
Returns
Type
Description
Action
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Action parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
Returns
Type
Description
Action
parseFrom(CodedInputStream input)
public static Action parseFrom ( CodedInputStream input )
Returns
Type
Description
Action
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Action parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Returns
Type
Description
Action
parseFrom(InputStream input)
public static Action parseFrom ( InputStream input )
Returns
Type
Description
Action
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Action parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Returns
Type
Description
Action
parseFrom(ByteBuffer data)
public static Action parseFrom ( ByteBuffer data )
Returns
Type
Description
Action
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Action parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
Returns
Type
Description
Action
parser()
public static Parser<Action> parser ()
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
getAccessControl()
public AccessControlAction getAccessControl ()
Action triggering access control operations.
.google.cloud.contentwarehouse.v1.AccessControlAction access_control = 2;
getAccessControlOrBuilder()
public AccessControlActionOrBuilder getAccessControlOrBuilder ()
Action triggering access control operations.
.google.cloud.contentwarehouse.v1.AccessControlAction access_control = 2;
getActionCase()
public Action . ActionCase getActionCase ()
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;
getAddToFolderOrBuilder()
public AddToFolderActionOrBuilder getAddToFolderOrBuilder ()
Action triggering create document link operation.
.google.cloud.contentwarehouse.v1.AddToFolderAction add_to_folder = 5;
getDataUpdate()
public DataUpdateAction getDataUpdate ()
Action triggering data update operations.
.google.cloud.contentwarehouse.v1.DataUpdateAction data_update = 4;
getDataUpdateOrBuilder()
public DataUpdateActionOrBuilder getDataUpdateOrBuilder ()
Action triggering data update operations.
.google.cloud.contentwarehouse.v1.DataUpdateAction data_update = 4;
getDataValidation()
public DataValidationAction getDataValidation ()
Action triggering data validation operations.
.google.cloud.contentwarehouse.v1.DataValidationAction data_validation = 3;
getDataValidationOrBuilder()
public DataValidationActionOrBuilder getDataValidationOrBuilder ()
Action triggering data validation operations.
.google.cloud.contentwarehouse.v1.DataValidationAction data_validation = 3;
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;
getDeleteDocumentActionOrBuilder()
public DeleteDocumentActionOrBuilder getDeleteDocumentActionOrBuilder ()
Action deleting the document.
.google.cloud.contentwarehouse.v1.DeleteDocumentAction delete_document_action = 10;
getParserForType()
public Parser<Action> getParserForType ()
Overrides
getPublishToPubSub()
public PublishAction getPublishToPubSub ()
Action publish to Pub/Sub operation.
.google.cloud.contentwarehouse.v1.PublishAction publish_to_pub_sub = 6;
getPublishToPubSubOrBuilder()
public PublishActionOrBuilder getPublishToPubSubOrBuilder ()
Action publish to Pub/Sub operation.
.google.cloud.contentwarehouse.v1.PublishAction publish_to_pub_sub = 6;
getRemoveFromFolderAction()
public RemoveFromFolderAction getRemoveFromFolderAction ()
Action removing a document from a folder.
.google.cloud.contentwarehouse.v1.RemoveFromFolderAction remove_from_folder_action = 9;
getRemoveFromFolderActionOrBuilder()
public RemoveFromFolderActionOrBuilder getRemoveFromFolderActionOrBuilder ()
Action removing a document from a folder.
.google.cloud.contentwarehouse.v1.RemoveFromFolderAction remove_from_folder_action = 9;
getSerializedSize()
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
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.
hashCode()
Returns
Type
Description
int
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
newBuilderForType()
public Action . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Action . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
toBuilder()
public Action . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Overrides
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-07-26 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-07-26 UTC."],[],[]]