Class RemoveFromFolderAction (0.24.0)

public final class RemoveFromFolderAction extends GeneratedMessageV3 implements RemoveFromFolderActionOrBuilder

Represents the action responsible for remove a document from a specific folder.

Protobuf type google.cloud.contentwarehouse.v1.RemoveFromFolderAction

Static Fields

CONDITION_FIELD_NUMBER

public static final int CONDITION_FIELD_NUMBER
Field Value
TypeDescription
int

FOLDER_FIELD_NUMBER

public static final int FOLDER_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static RemoveFromFolderAction getDefaultInstance()
Returns
TypeDescription
RemoveFromFolderAction

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static RemoveFromFolderAction.Builder newBuilder()
Returns
TypeDescription
RemoveFromFolderAction.Builder

newBuilder(RemoveFromFolderAction prototype)

public static RemoveFromFolderAction.Builder newBuilder(RemoveFromFolderAction prototype)
Parameter
NameDescription
prototypeRemoveFromFolderAction
Returns
TypeDescription
RemoveFromFolderAction.Builder

parseDelimitedFrom(InputStream input)

public static RemoveFromFolderAction parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
RemoveFromFolderAction
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RemoveFromFolderAction parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RemoveFromFolderAction
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static RemoveFromFolderAction parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
RemoveFromFolderAction
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static RemoveFromFolderAction parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RemoveFromFolderAction
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static RemoveFromFolderAction parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
RemoveFromFolderAction
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static RemoveFromFolderAction parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RemoveFromFolderAction
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static RemoveFromFolderAction parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
RemoveFromFolderAction
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static RemoveFromFolderAction parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RemoveFromFolderAction
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static RemoveFromFolderAction parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
RemoveFromFolderAction
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RemoveFromFolderAction parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RemoveFromFolderAction
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static RemoveFromFolderAction parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
RemoveFromFolderAction
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static RemoveFromFolderAction parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RemoveFromFolderAction
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<RemoveFromFolderAction> parser()
Returns
TypeDescription
Parser<RemoveFromFolderAction>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getCondition()

public String getCondition()

Condition of the action to be executed.

string condition = 1;

Returns
TypeDescription
String

The condition.

getConditionBytes()

public ByteString getConditionBytes()

Condition of the action to be executed.

string condition = 1;

Returns
TypeDescription
ByteString

The bytes for condition.

getDefaultInstanceForType()

public RemoveFromFolderAction getDefaultInstanceForType()
Returns
TypeDescription
RemoveFromFolderAction

getFolder()

public String getFolder()

Name of the folder under which new document is to be added. Format: projects/{project_number}/locations/{location}/documents/{document_id}.

string folder = 2 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The folder.

getFolderBytes()

public ByteString getFolderBytes()

Name of the folder under which new document is to be added. Format: projects/{project_number}/locations/{location}/documents/{document_id}.

string folder = 2 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for folder.

getParserForType()

public Parser<RemoveFromFolderAction> getParserForType()
Returns
TypeDescription
Parser<RemoveFromFolderAction>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public RemoveFromFolderAction.Builder newBuilderForType()
Returns
TypeDescription
RemoveFromFolderAction.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected RemoveFromFolderAction.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
RemoveFromFolderAction.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public RemoveFromFolderAction.Builder toBuilder()
Returns
TypeDescription
RemoveFromFolderAction.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException