Interface BeginTransactionRequestOrBuilder

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

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

    Modifier and Type
    Method
    Description
    Required.
    com.google.protobuf.ByteString
    Required.
    The options for the transaction.
    The options for the transaction.
    boolean
    The options for the transaction.

    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

    • getDatabase

      String getDatabase()
       Required. The database name. In the format:
       `projects/{project_id}/databases/{database_id}`.
       
      string database = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The database.
    • getDatabaseBytes

      com.google.protobuf.ByteString getDatabaseBytes()
       Required. The database name. In the format:
       `projects/{project_id}/databases/{database_id}`.
       
      string database = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The bytes for database.
    • hasOptions

      boolean hasOptions()
       The options for the transaction.
       Defaults to a read-write transaction.
       
      .google.firestore.v1.TransactionOptions options = 2;
      Returns:
      Whether the options field is set.
    • getOptions

      TransactionOptions getOptions()
       The options for the transaction.
       Defaults to a read-write transaction.
       
      .google.firestore.v1.TransactionOptions options = 2;
      Returns:
      The options.
    • getOptionsOrBuilder

      TransactionOptionsOrBuilder getOptionsOrBuilder()
       The options for the transaction.
       Defaults to a read-write transaction.
       
      .google.firestore.v1.TransactionOptions options = 2;