Class RemoveFromFolderAction (0.38.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
Type Description
int

FOLDER_FIELD_NUMBER

public static final int FOLDER_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static RemoveFromFolderAction getDefaultInstance()
Returns
Type Description
RemoveFromFolderAction

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static RemoveFromFolderAction.Builder newBuilder()
Returns
Type Description
RemoveFromFolderAction.Builder

newBuilder(RemoveFromFolderAction prototype)

public static RemoveFromFolderAction.Builder newBuilder(RemoveFromFolderAction prototype)
Parameter
Name Description
prototype RemoveFromFolderAction
Returns
Type Description
RemoveFromFolderAction.Builder

parseDelimitedFrom(InputStream input)

public static RemoveFromFolderAction parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
RemoveFromFolderAction
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RemoveFromFolderAction parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RemoveFromFolderAction
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static RemoveFromFolderAction parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
RemoveFromFolderAction
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static RemoveFromFolderAction parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RemoveFromFolderAction
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static RemoveFromFolderAction parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
RemoveFromFolderAction
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static RemoveFromFolderAction parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RemoveFromFolderAction
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static RemoveFromFolderAction parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
RemoveFromFolderAction
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static RemoveFromFolderAction parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RemoveFromFolderAction
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static RemoveFromFolderAction parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
RemoveFromFolderAction
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RemoveFromFolderAction parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RemoveFromFolderAction
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static RemoveFromFolderAction parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
RemoveFromFolderAction
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static RemoveFromFolderAction parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RemoveFromFolderAction
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<RemoveFromFolderAction> parser()
Returns
Type Description
Parser<RemoveFromFolderAction>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getCondition()

public String getCondition()

Condition of the action to be executed.

string condition = 1;

Returns
Type Description
String

The condition.

getConditionBytes()

public ByteString getConditionBytes()

Condition of the action to be executed.

string condition = 1;

Returns
Type Description
ByteString

The bytes for condition.

getDefaultInstanceForType()

public RemoveFromFolderAction getDefaultInstanceForType()
Returns
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for folder.

getParserForType()

public Parser<RemoveFromFolderAction> getParserForType()
Returns
Type Description
Parser<RemoveFromFolderAction>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public RemoveFromFolderAction.Builder newBuilderForType()
Returns
Type Description
RemoveFromFolderAction.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected RemoveFromFolderAction.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
RemoveFromFolderAction.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public RemoveFromFolderAction.Builder toBuilder()
Returns
Type Description
RemoveFromFolderAction.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException