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 classAction.ActionCasestatic classAction.BuilderRepresents 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 intACCESS_CONTROL_FIELD_NUMBERstatic intACTION_ID_FIELD_NUMBERstatic intADD_TO_FOLDER_FIELD_NUMBERstatic intDATA_UPDATE_FIELD_NUMBERstatic intDATA_VALIDATION_FIELD_NUMBERstatic intDELETE_DOCUMENT_ACTION_FIELD_NUMBERstatic intPUBLISH_TO_PUB_SUB_FIELD_NUMBERstatic intREMOVE_FROM_FOLDER_ACTION_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)AccessControlActiongetAccessControl()Action triggering access control operations.AccessControlActionOrBuildergetAccessControlOrBuilder()Action triggering access control operations.Action.ActionCasegetActionCase()StringgetActionId()ID of the action.com.google.protobuf.ByteStringgetActionIdBytes()ID of the action.AddToFolderActiongetAddToFolder()Action triggering create document link operation.AddToFolderActionOrBuildergetAddToFolderOrBuilder()Action triggering create document link operation.DataUpdateActiongetDataUpdate()Action triggering data update operations.DataUpdateActionOrBuildergetDataUpdateOrBuilder()Action triggering data update operations.DataValidationActiongetDataValidation()Action triggering data validation operations.DataValidationActionOrBuildergetDataValidationOrBuilder()Action triggering data validation operations.static ActiongetDefaultInstance()ActiongetDefaultInstanceForType()DeleteDocumentActiongetDeleteDocumentAction()Action deleting the document.DeleteDocumentActionOrBuildergetDeleteDocumentActionOrBuilder()Action deleting the document.static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Parser<Action>getParserForType()PublishActiongetPublishToPubSub()Action publish to Pub/Sub operation.PublishActionOrBuildergetPublishToPubSubOrBuilder()Action publish to Pub/Sub operation.RemoveFromFolderActiongetRemoveFromFolderAction()Action removing a document from a folder.RemoveFromFolderActionOrBuildergetRemoveFromFolderActionOrBuilder()Action removing a document from a folder.intgetSerializedSize()booleanhasAccessControl()Action triggering access control operations.booleanhasAddToFolder()Action triggering create document link operation.booleanhasDataUpdate()Action triggering data update operations.booleanhasDataValidation()Action triggering data validation operations.booleanhasDeleteDocumentAction()Action deleting the document.inthashCode()booleanhasPublishToPubSub()Action publish to Pub/Sub operation.booleanhasRemoveFromFolderAction()Action removing a document from a folder.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static Action.BuildernewBuilder()static Action.BuildernewBuilder(Action prototype)Action.BuildernewBuilderForType()protected Action.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static ActionparseDelimitedFrom(InputStream input)static ActionparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ActionparseFrom(byte[] data)static ActionparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ActionparseFrom(com.google.protobuf.ByteString data)static ActionparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ActionparseFrom(com.google.protobuf.CodedInputStream input)static ActionparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ActionparseFrom(InputStream input)static ActionparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ActionparseFrom(ByteBuffer data)static ActionparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Action>parser()Action.BuildertoBuilder()voidwriteTo(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:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getActionCase
public Action.ActionCase getActionCase()
- Specified by:
getActionCasein interfaceActionOrBuilder
-
getActionId
public String getActionId()
ID of the action. Managed internally.
string action_id = 1;- Specified by:
getActionIdin interfaceActionOrBuilder- Returns:
- The actionId.
-
getActionIdBytes
public com.google.protobuf.ByteString getActionIdBytes()
ID of the action. Managed internally.
string action_id = 1;- Specified by:
getActionIdBytesin 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:
hasAccessControlin 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:
getAccessControlin interfaceActionOrBuilder- Returns:
- The accessControl.
-
getAccessControlOrBuilder
public AccessControlActionOrBuilder getAccessControlOrBuilder()
Action triggering access control operations.
.google.cloud.contentwarehouse.v1.AccessControlAction access_control = 2;- Specified by:
getAccessControlOrBuilderin interfaceActionOrBuilder
-
hasDataValidation
public boolean hasDataValidation()
Action triggering data validation operations.
.google.cloud.contentwarehouse.v1.DataValidationAction data_validation = 3;- Specified by:
hasDataValidationin 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:
getDataValidationin interfaceActionOrBuilder- Returns:
- The dataValidation.
-
getDataValidationOrBuilder
public DataValidationActionOrBuilder getDataValidationOrBuilder()
Action triggering data validation operations.
.google.cloud.contentwarehouse.v1.DataValidationAction data_validation = 3;- Specified by:
getDataValidationOrBuilderin interfaceActionOrBuilder
-
hasDataUpdate
public boolean hasDataUpdate()
Action triggering data update operations.
.google.cloud.contentwarehouse.v1.DataUpdateAction data_update = 4;- Specified by:
hasDataUpdatein 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:
getDataUpdatein interfaceActionOrBuilder- Returns:
- The dataUpdate.
-
getDataUpdateOrBuilder
public DataUpdateActionOrBuilder getDataUpdateOrBuilder()
Action triggering data update operations.
.google.cloud.contentwarehouse.v1.DataUpdateAction data_update = 4;- Specified by:
getDataUpdateOrBuilderin interfaceActionOrBuilder
-
hasAddToFolder
public boolean hasAddToFolder()
Action triggering create document link operation.
.google.cloud.contentwarehouse.v1.AddToFolderAction add_to_folder = 5;- Specified by:
hasAddToFolderin 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:
getAddToFolderin 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:
getAddToFolderOrBuilderin interfaceActionOrBuilder
-
hasPublishToPubSub
public boolean hasPublishToPubSub()
Action publish to Pub/Sub operation.
.google.cloud.contentwarehouse.v1.PublishAction publish_to_pub_sub = 6;- Specified by:
hasPublishToPubSubin 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:
getPublishToPubSubin 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:
getPublishToPubSubOrBuilderin interfaceActionOrBuilder
-
hasRemoveFromFolderAction
public boolean hasRemoveFromFolderAction()
Action removing a document from a folder.
.google.cloud.contentwarehouse.v1.RemoveFromFolderAction remove_from_folder_action = 9;- Specified by:
hasRemoveFromFolderActionin 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:
getRemoveFromFolderActionin 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:
getRemoveFromFolderActionOrBuilderin interfaceActionOrBuilder
-
hasDeleteDocumentAction
public boolean hasDeleteDocumentAction()
Action deleting the document.
.google.cloud.contentwarehouse.v1.DeleteDocumentAction delete_document_action = 10;- Specified by:
hasDeleteDocumentActionin 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:
getDeleteDocumentActionin interfaceActionOrBuilder- Returns:
- The deleteDocumentAction.
-
getDeleteDocumentActionOrBuilder
public DeleteDocumentActionOrBuilder getDeleteDocumentActionOrBuilder()
Action deleting the document.
.google.cloud.contentwarehouse.v1.DeleteDocumentAction delete_document_action = 10;- Specified by:
getDeleteDocumentActionOrBuilderin interfaceActionOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein 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:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein 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:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Action.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein 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:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Action getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-