Interface AllocateIdsRequestOrBuilder (2.19.0)

public interface AllocateIdsRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDatabaseId()

public abstract String getDatabaseId()

The ID of the database against which to make the request.

'(default)' is not allowed; please use empty string '' to refer the default database.

string database_id = 9;

Returns
TypeDescription
String

The databaseId.

getDatabaseIdBytes()

public abstract ByteString getDatabaseIdBytes()

The ID of the database against which to make the request.

'(default)' is not allowed; please use empty string '' to refer the default database.

string database_id = 9;

Returns
TypeDescription
ByteString

The bytes for databaseId.

getKeys(int index)

public abstract Key getKeys(int index)

Required. A list of keys with incomplete key paths for which to allocate IDs. No key may be reserved/read-only.

repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
indexint
Returns
TypeDescription
Key

getKeysCount()

public abstract int getKeysCount()

Required. A list of keys with incomplete key paths for which to allocate IDs. No key may be reserved/read-only.

repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
int

getKeysList()

public abstract List<Key> getKeysList()

Required. A list of keys with incomplete key paths for which to allocate IDs. No key may be reserved/read-only.

repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
List<Key>

getKeysOrBuilder(int index)

public abstract KeyOrBuilder getKeysOrBuilder(int index)

Required. A list of keys with incomplete key paths for which to allocate IDs. No key may be reserved/read-only.

repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
indexint
Returns
TypeDescription
KeyOrBuilder

getKeysOrBuilderList()

public abstract List<? extends KeyOrBuilder> getKeysOrBuilderList()

Required. A list of keys with incomplete key paths for which to allocate IDs. No key may be reserved/read-only.

repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
List<? extends com.google.datastore.v1.KeyOrBuilder>

getProjectId()

public abstract String getProjectId()

Required. The ID of the project against which to make the request.

string project_id = 8 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The projectId.

getProjectIdBytes()

public abstract ByteString getProjectIdBytes()

Required. The ID of the project against which to make the request.

string project_id = 8 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for projectId.