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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public RemoveFromFolderAction.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public RemoveFromFolderAction build()
Returns
buildPartial()
public RemoveFromFolderAction buildPartial()
Returns
clear()
public RemoveFromFolderAction.Builder clear()
Returns
Overrides
clearCondition()
public RemoveFromFolderAction.Builder clearCondition()
Condition of the action to be executed.
string condition = 1;
Returns
clearField(Descriptors.FieldDescriptor field)
public RemoveFromFolderAction.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
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
clearOneof(Descriptors.OneofDescriptor oneof)
public RemoveFromFolderAction.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public RemoveFromFolderAction.Builder clone()
Returns
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
getDefaultInstanceForType()
public RemoveFromFolderAction getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(RemoveFromFolderAction other)
public RemoveFromFolderAction.Builder mergeFrom(RemoveFromFolderAction other)
Parameter
Returns
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public RemoveFromFolderAction.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public RemoveFromFolderAction.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final RemoveFromFolderAction.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
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
setField(Descriptors.FieldDescriptor field, Object value)
public RemoveFromFolderAction.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
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
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public RemoveFromFolderAction.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final RemoveFromFolderAction.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides