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)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
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()
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)
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Action parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static Action parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Action parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static Action parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Action parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
parseFrom(CodedInputStream input)
public static Action parseFrom(CodedInputStream input)
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Action parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(InputStream input)
public static Action parseFrom(InputStream input)
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Action parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static Action parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Action parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
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()
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)
Overrides
toBuilder()
public Action.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides