Class Action
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.contentwarehouse.v1.Action
-
- All Implemented Interfaces:
ActionOrBuilder
,com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Serializable
public final class Action extends com.google.protobuf.GeneratedMessageV3 implements ActionOrBuilder
Represents the action triggered by Rule Engine when the rule is true.
Protobuf typegoogle.cloud.contentwarehouse.v1.Action
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Action.ActionCase
static class
Action.Builder
Represents the action triggered by Rule Engine when the rule is true.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static int
ACCESS_CONTROL_FIELD_NUMBER
static int
ACTION_ID_FIELD_NUMBER
static int
ADD_TO_FOLDER_FIELD_NUMBER
static int
DATA_UPDATE_FIELD_NUMBER
static int
DATA_VALIDATION_FIELD_NUMBER
static int
DELETE_DOCUMENT_ACTION_FIELD_NUMBER
static int
PUBLISH_TO_PUB_SUB_FIELD_NUMBER
static int
REMOVE_FROM_FOLDER_ACTION_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
AccessControlAction
getAccessControl()
Action triggering access control operations.AccessControlActionOrBuilder
getAccessControlOrBuilder()
Action triggering access control operations.Action.ActionCase
getActionCase()
String
getActionId()
ID of the action.com.google.protobuf.ByteString
getActionIdBytes()
ID of the action.AddToFolderAction
getAddToFolder()
Action triggering create document link operation.AddToFolderActionOrBuilder
getAddToFolderOrBuilder()
Action triggering create document link operation.DataUpdateAction
getDataUpdate()
Action triggering data update operations.DataUpdateActionOrBuilder
getDataUpdateOrBuilder()
Action triggering data update operations.DataValidationAction
getDataValidation()
Action triggering data validation operations.DataValidationActionOrBuilder
getDataValidationOrBuilder()
Action triggering data validation operations.static Action
getDefaultInstance()
Action
getDefaultInstanceForType()
DeleteDocumentAction
getDeleteDocumentAction()
Action deleting the document.DeleteDocumentActionOrBuilder
getDeleteDocumentActionOrBuilder()
Action deleting the document.static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Parser<Action>
getParserForType()
PublishAction
getPublishToPubSub()
Action publish to Pub/Sub operation.PublishActionOrBuilder
getPublishToPubSubOrBuilder()
Action publish to Pub/Sub operation.RemoveFromFolderAction
getRemoveFromFolderAction()
Action removing a document from a folder.RemoveFromFolderActionOrBuilder
getRemoveFromFolderActionOrBuilder()
Action removing a document from a folder.int
getSerializedSize()
boolean
hasAccessControl()
Action triggering access control operations.boolean
hasAddToFolder()
Action triggering create document link operation.boolean
hasDataUpdate()
Action triggering data update operations.boolean
hasDataValidation()
Action triggering data validation operations.boolean
hasDeleteDocumentAction()
Action deleting the document.int
hashCode()
boolean
hasPublishToPubSub()
Action publish to Pub/Sub operation.boolean
hasRemoveFromFolderAction()
Action removing a document from a folder.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static Action.Builder
newBuilder()
static Action.Builder
newBuilder(Action prototype)
Action.Builder
newBuilderForType()
protected Action.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static Action
parseDelimitedFrom(InputStream input)
static Action
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Action
parseFrom(byte[] data)
static Action
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Action
parseFrom(com.google.protobuf.ByteString data)
static Action
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Action
parseFrom(com.google.protobuf.CodedInputStream input)
static Action
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Action
parseFrom(InputStream input)
static Action
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Action
parseFrom(ByteBuffer data)
static Action
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<Action>
parser()
Action.Builder
toBuilder()
void
writeTo(com.google.protobuf.CodedOutputStream output)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
ACTION_ID_FIELD_NUMBER
public static final int ACTION_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ACCESS_CONTROL_FIELD_NUMBER
public static final int ACCESS_CONTROL_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DATA_VALIDATION_FIELD_NUMBER
public static final int DATA_VALIDATION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DATA_UPDATE_FIELD_NUMBER
public static final int DATA_UPDATE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ADD_TO_FOLDER_FIELD_NUMBER
public static final int ADD_TO_FOLDER_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PUBLISH_TO_PUB_SUB_FIELD_NUMBER
public static final int PUBLISH_TO_PUB_SUB_FIELD_NUMBER
- See Also:
- Constant Field Values
-
REMOVE_FROM_FOLDER_ACTION_FIELD_NUMBER
public static final int REMOVE_FROM_FOLDER_ACTION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DELETE_DOCUMENT_ACTION_FIELD_NUMBER
public static final int DELETE_DOCUMENT_ACTION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
getActionCase
public Action.ActionCase getActionCase()
- Specified by:
getActionCase
in interfaceActionOrBuilder
-
getActionId
public String getActionId()
ID of the action. Managed internally.
string action_id = 1;
- Specified by:
getActionId
in interfaceActionOrBuilder
- Returns:
- The actionId.
-
getActionIdBytes
public com.google.protobuf.ByteString getActionIdBytes()
ID of the action. Managed internally.
string action_id = 1;
- Specified by:
getActionIdBytes
in interfaceActionOrBuilder
- Returns:
- The bytes for actionId.
-
hasAccessControl
public boolean hasAccessControl()
Action triggering access control operations.
.google.cloud.contentwarehouse.v1.AccessControlAction access_control = 2;
- Specified by:
hasAccessControl
in interfaceActionOrBuilder
- Returns:
- Whether the accessControl field is set.
-
getAccessControl
public AccessControlAction getAccessControl()
Action triggering access control operations.
.google.cloud.contentwarehouse.v1.AccessControlAction access_control = 2;
- Specified by:
getAccessControl
in interfaceActionOrBuilder
- Returns:
- The accessControl.
-
getAccessControlOrBuilder
public AccessControlActionOrBuilder getAccessControlOrBuilder()
Action triggering access control operations.
.google.cloud.contentwarehouse.v1.AccessControlAction access_control = 2;
- Specified by:
getAccessControlOrBuilder
in interfaceActionOrBuilder
-
hasDataValidation
public boolean hasDataValidation()
Action triggering data validation operations.
.google.cloud.contentwarehouse.v1.DataValidationAction data_validation = 3;
- Specified by:
hasDataValidation
in interfaceActionOrBuilder
- Returns:
- Whether the dataValidation field is set.
-
getDataValidation
public DataValidationAction getDataValidation()
Action triggering data validation operations.
.google.cloud.contentwarehouse.v1.DataValidationAction data_validation = 3;
- Specified by:
getDataValidation
in interfaceActionOrBuilder
- Returns:
- The dataValidation.
-
getDataValidationOrBuilder
public DataValidationActionOrBuilder getDataValidationOrBuilder()
Action triggering data validation operations.
.google.cloud.contentwarehouse.v1.DataValidationAction data_validation = 3;
- Specified by:
getDataValidationOrBuilder
in interfaceActionOrBuilder
-
hasDataUpdate
public boolean hasDataUpdate()
Action triggering data update operations.
.google.cloud.contentwarehouse.v1.DataUpdateAction data_update = 4;
- Specified by:
hasDataUpdate
in interfaceActionOrBuilder
- Returns:
- Whether the dataUpdate field is set.
-
getDataUpdate
public DataUpdateAction getDataUpdate()
Action triggering data update operations.
.google.cloud.contentwarehouse.v1.DataUpdateAction data_update = 4;
- Specified by:
getDataUpdate
in interfaceActionOrBuilder
- Returns:
- The dataUpdate.
-
getDataUpdateOrBuilder
public DataUpdateActionOrBuilder getDataUpdateOrBuilder()
Action triggering data update operations.
.google.cloud.contentwarehouse.v1.DataUpdateAction data_update = 4;
- Specified by:
getDataUpdateOrBuilder
in interfaceActionOrBuilder
-
hasAddToFolder
public boolean hasAddToFolder()
Action triggering create document link operation.
.google.cloud.contentwarehouse.v1.AddToFolderAction add_to_folder = 5;
- Specified by:
hasAddToFolder
in interfaceActionOrBuilder
- Returns:
- Whether the addToFolder field is set.
-
getAddToFolder
public AddToFolderAction getAddToFolder()
Action triggering create document link operation.
.google.cloud.contentwarehouse.v1.AddToFolderAction add_to_folder = 5;
- Specified by:
getAddToFolder
in interfaceActionOrBuilder
- Returns:
- The addToFolder.
-
getAddToFolderOrBuilder
public AddToFolderActionOrBuilder getAddToFolderOrBuilder()
Action triggering create document link operation.
.google.cloud.contentwarehouse.v1.AddToFolderAction add_to_folder = 5;
- Specified by:
getAddToFolderOrBuilder
in interfaceActionOrBuilder
-
hasPublishToPubSub
public boolean hasPublishToPubSub()
Action publish to Pub/Sub operation.
.google.cloud.contentwarehouse.v1.PublishAction publish_to_pub_sub = 6;
- Specified by:
hasPublishToPubSub
in interfaceActionOrBuilder
- Returns:
- Whether the publishToPubSub field is set.
-
getPublishToPubSub
public PublishAction getPublishToPubSub()
Action publish to Pub/Sub operation.
.google.cloud.contentwarehouse.v1.PublishAction publish_to_pub_sub = 6;
- Specified by:
getPublishToPubSub
in interfaceActionOrBuilder
- Returns:
- The publishToPubSub.
-
getPublishToPubSubOrBuilder
public PublishActionOrBuilder getPublishToPubSubOrBuilder()
Action publish to Pub/Sub operation.
.google.cloud.contentwarehouse.v1.PublishAction publish_to_pub_sub = 6;
- Specified by:
getPublishToPubSubOrBuilder
in interfaceActionOrBuilder
-
hasRemoveFromFolderAction
public boolean hasRemoveFromFolderAction()
Action removing a document from a folder.
.google.cloud.contentwarehouse.v1.RemoveFromFolderAction remove_from_folder_action = 9;
- Specified by:
hasRemoveFromFolderAction
in interfaceActionOrBuilder
- Returns:
- Whether the removeFromFolderAction field is set.
-
getRemoveFromFolderAction
public RemoveFromFolderAction getRemoveFromFolderAction()
Action removing a document from a folder.
.google.cloud.contentwarehouse.v1.RemoveFromFolderAction remove_from_folder_action = 9;
- Specified by:
getRemoveFromFolderAction
in interfaceActionOrBuilder
- Returns:
- The removeFromFolderAction.
-
getRemoveFromFolderActionOrBuilder
public RemoveFromFolderActionOrBuilder getRemoveFromFolderActionOrBuilder()
Action removing a document from a folder.
.google.cloud.contentwarehouse.v1.RemoveFromFolderAction remove_from_folder_action = 9;
- Specified by:
getRemoveFromFolderActionOrBuilder
in interfaceActionOrBuilder
-
hasDeleteDocumentAction
public boolean hasDeleteDocumentAction()
Action deleting the document.
.google.cloud.contentwarehouse.v1.DeleteDocumentAction delete_document_action = 10;
- Specified by:
hasDeleteDocumentAction
in interfaceActionOrBuilder
- Returns:
- Whether the deleteDocumentAction field is set.
-
getDeleteDocumentAction
public DeleteDocumentAction getDeleteDocumentAction()
Action deleting the document.
.google.cloud.contentwarehouse.v1.DeleteDocumentAction delete_document_action = 10;
- Specified by:
getDeleteDocumentAction
in interfaceActionOrBuilder
- Returns:
- The deleteDocumentAction.
-
getDeleteDocumentActionOrBuilder
public DeleteDocumentActionOrBuilder getDeleteDocumentActionOrBuilder()
Action deleting the document.
.google.cloud.contentwarehouse.v1.DeleteDocumentAction delete_document_action = 10;
- Specified by:
getDeleteDocumentActionOrBuilder
in interfaceActionOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Action parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Action parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Action parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Action parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Action parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Action parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Action parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Action parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Action parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Action parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Action parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Action parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Action.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Action.Builder newBuilder()
-
newBuilder
public static Action.Builder newBuilder(Action prototype)
-
toBuilder
public Action.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Action.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Action getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Action> parser()
-
getParserForType
public com.google.protobuf.Parser<Action> getParserForType()
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Action getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-