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()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public RemoveFromFolderAction.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public RemoveFromFolderAction build()
buildPartial()
public RemoveFromFolderAction buildPartial()
clear()
public RemoveFromFolderAction.Builder clear()
Overrides
clearCondition()
public RemoveFromFolderAction.Builder clearCondition()
Condition of the action to be executed.
string condition = 1;
clearField(Descriptors.FieldDescriptor field)
public RemoveFromFolderAction.Builder clearField(Descriptors.FieldDescriptor field)
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) = { ... }
clearOneof(Descriptors.OneofDescriptor oneof)
public RemoveFromFolderAction.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public RemoveFromFolderAction.Builder clone()
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()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(RemoveFromFolderAction other)
public RemoveFromFolderAction.Builder mergeFrom(RemoveFromFolderAction other)
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public RemoveFromFolderAction.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public RemoveFromFolderAction.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final RemoveFromFolderAction.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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.
|
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.
|
setField(Descriptors.FieldDescriptor field, Object value)
public RemoveFromFolderAction.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public RemoveFromFolderAction.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final RemoveFromFolderAction.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides