public final class AddToFolderAction extends GeneratedMessageV3 implements AddToFolderActionOrBuilder
Represents the action responsible for adding document under a folder.
Protobuf type google.cloud.contentwarehouse.v1.AddToFolderAction
Static Fields
FOLDERS_FIELD_NUMBER
public static final int FOLDERS_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static AddToFolderAction getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static AddToFolderAction.Builder newBuilder()
Returns
newBuilder(AddToFolderAction prototype)
public static AddToFolderAction.Builder newBuilder(AddToFolderAction prototype)
Parameter
Returns
parseDelimitedFrom(InputStream input)
public static AddToFolderAction parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static AddToFolderAction parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static AddToFolderAction parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AddToFolderAction parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static AddToFolderAction parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AddToFolderAction parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(CodedInputStream input)
public static AddToFolderAction parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static AddToFolderAction parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(InputStream input)
public static AddToFolderAction parseFrom(InputStream input)
Parameter
Returns
Exceptions
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static AddToFolderAction parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static AddToFolderAction parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AddToFolderAction parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<AddToFolderAction> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public AddToFolderAction getDefaultInstanceForType()
Returns
getFolders(int index)
public String getFolders(int index)
Names of the folder under which new document is to be added.
Format:
projects/{project_number}/locations/{location}/documents/{document_id}.
repeated string folders = 1 [(.google.api.resource_reference) = { ... }
Parameter
Name | Description |
index | int
The index of the element to return.
|
Returns
Type | Description |
String | The folders at the given index.
|
getFoldersBytes(int index)
public ByteString getFoldersBytes(int index)
Names of the folder under which new document is to be added.
Format:
projects/{project_number}/locations/{location}/documents/{document_id}.
repeated string folders = 1 [(.google.api.resource_reference) = { ... }
Parameter
Name | Description |
index | int
The index of the value to return.
|
Returns
Type | Description |
ByteString | The bytes of the folders at the given index.
|
getFoldersCount()
public int getFoldersCount()
Names of the folder under which new document is to be added.
Format:
projects/{project_number}/locations/{location}/documents/{document_id}.
repeated string folders = 1 [(.google.api.resource_reference) = { ... }
Returns
Type | Description |
int | The count of folders.
|
getFoldersList()
public ProtocolStringList getFoldersList()
Names of the folder under which new document is to be added.
Format:
projects/{project_number}/locations/{location}/documents/{document_id}.
repeated string folders = 1 [(.google.api.resource_reference) = { ... }
Returns
getParserForType()
public Parser<AddToFolderAction> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public AddToFolderAction.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected AddToFolderAction.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public AddToFolderAction.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions