Interface AllocateIdsRequestOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
AllocateIdsRequest, AllocateIdsRequest.Builder

public interface AllocateIdsRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    The ID of the database against which to make the request.
    com.google.protobuf.ByteString
    The ID of the database against which to make the request.
    getKeys(int index)
    Required.
    int
    Required.
    Required.
    getKeysOrBuilder(int index)
    Required.
    List<? extends KeyOrBuilder>
    Required.
    Required.
    com.google.protobuf.ByteString
    Required.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getProjectId

      String getProjectId()
       Required. The ID of the project against which to make the request.
       
      string project_id = 8 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The projectId.
    • getProjectIdBytes

      com.google.protobuf.ByteString getProjectIdBytes()
       Required. The ID of the project against which to make the request.
       
      string project_id = 8 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The bytes for projectId.
    • getDatabaseId

      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:
      The databaseId.
    • getDatabaseIdBytes

      com.google.protobuf.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:
      The bytes for databaseId.
    • getKeysList

      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];
    • getKeys

      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];
    • getKeysCount

      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];
    • getKeysOrBuilderList

      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];
    • getKeysOrBuilder

      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];