Interface AddToFolderActionOrBuilder (0.19.0)

public interface AddToFolderActionOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getFolders(int index)

public abstract 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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The folders at the given index.

getFoldersBytes(int index)

public abstract 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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the folders at the given index.

getFoldersCount()

public abstract 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
TypeDescription
int

The count of folders.

getFoldersList()

public abstract List<String> 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
TypeDescription
List<String>

A list containing the folders.