Class RemoveFromFolderAction.Builder (0.42.0)

public static final class RemoveFromFolderAction.Builder extends GeneratedMessageV3.Builder<RemoveFromFolderAction.Builder> implements RemoveFromFolderActionOrBuilder

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

Protobuf type google.cloud.contentwarehouse.v1.RemoveFromFolderAction

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public RemoveFromFolderAction.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
RemoveFromFolderAction.Builder
Overrides

build()

public RemoveFromFolderAction build()
Returns
Type Description
RemoveFromFolderAction

buildPartial()

public RemoveFromFolderAction buildPartial()
Returns
Type Description
RemoveFromFolderAction

clear()

public RemoveFromFolderAction.Builder clear()
Returns
Type Description
RemoveFromFolderAction.Builder
Overrides

clearCondition()

public RemoveFromFolderAction.Builder clearCondition()

Condition of the action to be executed.

string condition = 1;

Returns
Type Description
RemoveFromFolderAction.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public RemoveFromFolderAction.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
RemoveFromFolderAction.Builder
Overrides

clearFolder()

public RemoveFromFolderAction.Builder clearFolder()

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
RemoveFromFolderAction.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public RemoveFromFolderAction.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
RemoveFromFolderAction.Builder
Overrides

clone()

public RemoveFromFolderAction.Builder clone()
Returns
Type Description
RemoveFromFolderAction.Builder
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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(RemoveFromFolderAction other)

public RemoveFromFolderAction.Builder mergeFrom(RemoveFromFolderAction other)
Parameter
Name Description
other RemoveFromFolderAction
Returns
Type Description
RemoveFromFolderAction.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public RemoveFromFolderAction.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RemoveFromFolderAction.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public RemoveFromFolderAction.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
RemoveFromFolderAction.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final RemoveFromFolderAction.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
RemoveFromFolderAction.Builder
Overrides

setCondition(String value)

public RemoveFromFolderAction.Builder setCondition(String value)

Condition of the action to be executed.

string condition = 1;

Parameter
Name Description
value String

The condition to set.

Returns
Type Description
RemoveFromFolderAction.Builder

This builder for chaining.

setConditionBytes(ByteString value)

public RemoveFromFolderAction.Builder setConditionBytes(ByteString value)

Condition of the action to be executed.

string condition = 1;

Parameter
Name Description
value ByteString

The bytes for condition to set.

Returns
Type Description
RemoveFromFolderAction.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public RemoveFromFolderAction.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
RemoveFromFolderAction.Builder
Overrides

setFolder(String value)

public RemoveFromFolderAction.Builder setFolder(String value)

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) = { ... }

Parameter
Name Description
value String

The folder to set.

Returns
Type Description
RemoveFromFolderAction.Builder

This builder for chaining.

setFolderBytes(ByteString value)

public RemoveFromFolderAction.Builder setFolderBytes(ByteString value)

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) = { ... }

Parameter
Name Description
value ByteString

The bytes for folder to set.

Returns
Type Description
RemoveFromFolderAction.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public RemoveFromFolderAction.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
RemoveFromFolderAction.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final RemoveFromFolderAction.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
RemoveFromFolderAction.Builder
Overrides