Class RemoveFromFolderAction.Builder (0.17.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public RemoveFromFolderAction.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
RemoveFromFolderAction.Builder
Overrides

build()

public RemoveFromFolderAction build()
Returns
TypeDescription
RemoveFromFolderAction

buildPartial()

public RemoveFromFolderAction buildPartial()
Returns
TypeDescription
RemoveFromFolderAction

clear()

public RemoveFromFolderAction.Builder clear()
Returns
TypeDescription
RemoveFromFolderAction.Builder
Overrides

clearCondition()

public RemoveFromFolderAction.Builder clearCondition()

Condition of the action to be executed.

string condition = 1;

Returns
TypeDescription
RemoveFromFolderAction.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public RemoveFromFolderAction.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
RemoveFromFolderAction.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public RemoveFromFolderAction.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
RemoveFromFolderAction.Builder
Overrides

clone()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(RemoveFromFolderAction other)

public RemoveFromFolderAction.Builder mergeFrom(RemoveFromFolderAction other)
Parameter
NameDescription
otherRemoveFromFolderAction
Returns
TypeDescription
RemoveFromFolderAction.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public RemoveFromFolderAction.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RemoveFromFolderAction.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public RemoveFromFolderAction.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
RemoveFromFolderAction.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final RemoveFromFolderAction.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
RemoveFromFolderAction.Builder
Overrides

setCondition(String value)

public RemoveFromFolderAction.Builder setCondition(String value)

Condition of the action to be executed.

string condition = 1;

Parameter
NameDescription
valueString

The condition to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for condition to set.

Returns
TypeDescription
RemoveFromFolderAction.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public RemoveFromFolderAction.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The folder to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for folder to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
RemoveFromFolderAction.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final RemoveFromFolderAction.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
RemoveFromFolderAction.Builder
Overrides