Interface ExecuteBatchDmlRequestOrBuilder

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

    public interface ExecuteBatchDmlRequestOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Detail

      • getSession

        String getSession()
         Required. The session in which the DML statements should be performed.
         
        string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Returns:
        The session.
      • getSessionBytes

        com.google.protobuf.ByteString getSessionBytes()
         Required. The session in which the DML statements should be performed.
         
        string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Returns:
        The bytes for session.
      • hasTransaction

        boolean hasTransaction()
         Required. The transaction to use. Must be a read-write transaction.
        
         To protect against replays, single-use transactions are not supported. The
         caller must either supply an existing transaction ID or begin a new
         transaction.
         
        .google.spanner.v1.TransactionSelector transaction = 2 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        Whether the transaction field is set.
      • getTransaction

        TransactionSelector getTransaction()
         Required. The transaction to use. Must be a read-write transaction.
        
         To protect against replays, single-use transactions are not supported. The
         caller must either supply an existing transaction ID or begin a new
         transaction.
         
        .google.spanner.v1.TransactionSelector transaction = 2 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The transaction.
      • getTransactionOrBuilder

        TransactionSelectorOrBuilder getTransactionOrBuilder()
         Required. The transaction to use. Must be a read-write transaction.
        
         To protect against replays, single-use transactions are not supported. The
         caller must either supply an existing transaction ID or begin a new
         transaction.
         
        .google.spanner.v1.TransactionSelector transaction = 2 [(.google.api.field_behavior) = REQUIRED];
      • getStatementsList

        List<ExecuteBatchDmlRequest.Statement> getStatementsList()
         Required. The list of statements to execute in this batch. Statements are executed
         serially, such that the effects of statement `i` are visible to statement
         `i+1`. Each statement must be a DML statement. Execution stops at the
         first failed statement; the remaining statements are not executed.
        
         Callers must provide at least one statement.
         
        repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED];
      • getStatements

        ExecuteBatchDmlRequest.Statement getStatements​(int index)
         Required. The list of statements to execute in this batch. Statements are executed
         serially, such that the effects of statement `i` are visible to statement
         `i+1`. Each statement must be a DML statement. Execution stops at the
         first failed statement; the remaining statements are not executed.
        
         Callers must provide at least one statement.
         
        repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED];
      • getStatementsCount

        int getStatementsCount()
         Required. The list of statements to execute in this batch. Statements are executed
         serially, such that the effects of statement `i` are visible to statement
         `i+1`. Each statement must be a DML statement. Execution stops at the
         first failed statement; the remaining statements are not executed.
        
         Callers must provide at least one statement.
         
        repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED];
      • getStatementsOrBuilderList

        List<? extends ExecuteBatchDmlRequest.StatementOrBuilder> getStatementsOrBuilderList()
         Required. The list of statements to execute in this batch. Statements are executed
         serially, such that the effects of statement `i` are visible to statement
         `i+1`. Each statement must be a DML statement. Execution stops at the
         first failed statement; the remaining statements are not executed.
        
         Callers must provide at least one statement.
         
        repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED];
      • getStatementsOrBuilder

        ExecuteBatchDmlRequest.StatementOrBuilder getStatementsOrBuilder​(int index)
         Required. The list of statements to execute in this batch. Statements are executed
         serially, such that the effects of statement `i` are visible to statement
         `i+1`. Each statement must be a DML statement. Execution stops at the
         first failed statement; the remaining statements are not executed.
        
         Callers must provide at least one statement.
         
        repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED];
      • getSeqno

        long getSeqno()
         Required. A per-transaction sequence number used to identify this request. This field
         makes each request idempotent such that if the request is received multiple
         times, at most one will succeed.
        
         The sequence number must be monotonically increasing within the
         transaction. If a request arrives for the first time with an out-of-order
         sequence number, the transaction may be aborted. Replays of previously
         handled requests will yield the same response as the first execution.
         
        int64 seqno = 4 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The seqno.
      • hasRequestOptions

        boolean hasRequestOptions()
         Common options for this request.
         
        .google.spanner.v1.RequestOptions request_options = 5;
        Returns:
        Whether the requestOptions field is set.
      • getRequestOptions

        RequestOptions getRequestOptions()
         Common options for this request.
         
        .google.spanner.v1.RequestOptions request_options = 5;
        Returns:
        The requestOptions.
      • getRequestOptionsOrBuilder

        RequestOptionsOrBuilder getRequestOptionsOrBuilder()
         Common options for this request.
         
        .google.spanner.v1.RequestOptions request_options = 5;