Send feedback
Class Action (0.3.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.3.0 keyboard_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
Static Fields
ACCESS_CONTROL_FIELD_NUMBER
public static final int ACCESS_CONTROL_FIELD_NUMBER
Field Value
ACTION_ID_FIELD_NUMBER
public static final int ACTION_ID_FIELD_NUMBER
Field Value
ADD_TO_FOLDER_FIELD_NUMBER
public static final int ADD_TO_FOLDER_FIELD_NUMBER
Field Value
DATA_UPDATE_FIELD_NUMBER
public static final int DATA_UPDATE_FIELD_NUMBER
Field Value
DATA_VALIDATION_FIELD_NUMBER
public static final int DATA_VALIDATION_FIELD_NUMBER
Field Value
DELETE_DOCUMENT_ACTION_FIELD_NUMBER
public static final int DELETE_DOCUMENT_ACTION_FIELD_NUMBER
Field Value
PUBLISH_TO_PUB_SUB_FIELD_NUMBER
public static final int PUBLISH_TO_PUB_SUB_FIELD_NUMBER
Field Value
REMOVE_FROM_FOLDER_ACTION_FIELD_NUMBER
public static final int REMOVE_FROM_FOLDER_ACTION_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static Action getDefaultInstance ()
Returns
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Returns
newBuilder()
public static Action . Builder newBuilder ()
Returns
newBuilder(Action prototype)
public static Action . Builder newBuilder ( Action prototype )
Parameter
Name Description prototype Action
Returns
parseDelimitedFrom(InputStream input)
public static Action parseDelimitedFrom ( InputStream input )
Parameter
Returns
Exceptions
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Action parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static Action parseFrom ( byte [] data )
Parameter
Name Description data byte []
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Action parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static Action parseFrom ( ByteString data )
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Action parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parseFrom(CodedInputStream input)
public static Action parseFrom ( CodedInputStream input )
Parameter
Returns
Exceptions
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Action parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parseFrom(InputStream input)
public static Action parseFrom ( InputStream input )
Parameter
Returns
Exceptions
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Action parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static Action parseFrom ( ByteBuffer data )
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Action parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parser()
public static Parser<Action> parser ()
Returns
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter
Returns
Overrides
getAccessControl()
public AccessControlAction getAccessControl ()
Action triggering access control operations.
.google.cloud.contentwarehouse.v1.AccessControlAction access_control = 2;
Returns
getAccessControlOrBuilder()
public AccessControlActionOrBuilder getAccessControlOrBuilder ()
Action triggering access control operations.
.google.cloud.contentwarehouse.v1.AccessControlAction access_control = 2;
Returns
getActionCase()
public Action . ActionCase getActionCase ()
Returns
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
getAddToFolder()
public AddToFolderAction getAddToFolder ()
Action triggering create document link operation.
.google.cloud.contentwarehouse.v1.AddToFolderAction add_to_folder = 5;
Returns
getAddToFolderOrBuilder()
public AddToFolderActionOrBuilder getAddToFolderOrBuilder ()
Action triggering create document link operation.
.google.cloud.contentwarehouse.v1.AddToFolderAction add_to_folder = 5;
Returns
getDataUpdate()
public DataUpdateAction getDataUpdate ()
Action triggering data update operations.
.google.cloud.contentwarehouse.v1.DataUpdateAction data_update = 4;
Returns
getDataUpdateOrBuilder()
public DataUpdateActionOrBuilder getDataUpdateOrBuilder ()
Action triggering data update operations.
.google.cloud.contentwarehouse.v1.DataUpdateAction data_update = 4;
Returns
getDataValidation()
public DataValidationAction getDataValidation ()
Action triggering data validation operations.
.google.cloud.contentwarehouse.v1.DataValidationAction data_validation = 3;
Returns
getDataValidationOrBuilder()
public DataValidationActionOrBuilder getDataValidationOrBuilder ()
Action triggering data validation operations.
.google.cloud.contentwarehouse.v1.DataValidationAction data_validation = 3;
Returns
getDefaultInstanceForType()
public Action getDefaultInstanceForType ()
Returns
getDeleteDocumentAction()
public DeleteDocumentAction getDeleteDocumentAction ()
Action deleting the document.
.google.cloud.contentwarehouse.v1.DeleteDocumentAction delete_document_action = 10;
Returns
getDeleteDocumentActionOrBuilder()
public DeleteDocumentActionOrBuilder getDeleteDocumentActionOrBuilder ()
Action deleting the document.
.google.cloud.contentwarehouse.v1.DeleteDocumentAction delete_document_action = 10;
Returns
getParserForType()
public Parser<Action> getParserForType ()
Returns
Overrides
getPublishToPubSub()
public PublishAction getPublishToPubSub ()
Action publish to Pub/Sub operation.
.google.cloud.contentwarehouse.v1.PublishAction publish_to_pub_sub = 6;
Returns
getPublishToPubSubOrBuilder()
public PublishActionOrBuilder getPublishToPubSubOrBuilder ()
Action publish to Pub/Sub operation.
.google.cloud.contentwarehouse.v1.PublishAction publish_to_pub_sub = 6;
Returns
getRemoveFromFolderAction()
public RemoveFromFolderAction getRemoveFromFolderAction ()
Action removing a document from a folder.
.google.cloud.contentwarehouse.v1.RemoveFromFolderAction remove_from_folder_action = 9;
Returns
getRemoveFromFolderActionOrBuilder()
public RemoveFromFolderActionOrBuilder getRemoveFromFolderActionOrBuilder ()
Action removing a document from a folder.
.google.cloud.contentwarehouse.v1.RemoveFromFolderAction remove_from_folder_action = 9;
Returns
getSerializedSize()
public int getSerializedSize ()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields ()
Returns
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
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
newBuilderForType()
public Action . Builder newBuilderForType ()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Action . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Parameter
Returns
Overrides
toBuilder()
public Action . Builder toBuilder ()
Returns
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Parameter
Overrides
Exceptions
Send feedback
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-02-14 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-14 UTC."],[],[]]