Interface AddToFolderActionOrBuilder (0.42.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
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 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
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 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
Type Description
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
Type Description
List<String>

A list containing the folders.