Interface BatchWriteResponseOrBuilder

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

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

    Modifier and Type
    Method
    Description
    com.google.protobuf.Timestamp
    The commit timestamp of the transaction that applied this batch.
    com.google.protobuf.TimestampOrBuilder
    The commit timestamp of the transaction that applied this batch.
    int
    getIndexes(int index)
    The mutation groups applied in this batch.
    int
    The mutation groups applied in this batch.
    The mutation groups applied in this batch.
    com.google.rpc.Status
    An `OK` status indicates success.
    com.google.rpc.StatusOrBuilder
    An `OK` status indicates success.
    boolean
    The commit timestamp of the transaction that applied this batch.
    boolean
    An `OK` status indicates success.

    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

    • getIndexesList

      List<Integer> getIndexesList()
       The mutation groups applied in this batch. The values index into the
       `mutation_groups` field in the corresponding `BatchWriteRequest`.
       
      repeated int32 indexes = 1;
      Returns:
      A list containing the indexes.
    • getIndexesCount

      int getIndexesCount()
       The mutation groups applied in this batch. The values index into the
       `mutation_groups` field in the corresponding `BatchWriteRequest`.
       
      repeated int32 indexes = 1;
      Returns:
      The count of indexes.
    • getIndexes

      int getIndexes(int index)
       The mutation groups applied in this batch. The values index into the
       `mutation_groups` field in the corresponding `BatchWriteRequest`.
       
      repeated int32 indexes = 1;
      Parameters:
      index - The index of the element to return.
      Returns:
      The indexes at the given index.
    • hasStatus

      boolean hasStatus()
       An `OK` status indicates success. Any other status indicates a failure.
       
      .google.rpc.Status status = 2;
      Returns:
      Whether the status field is set.
    • getStatus

      com.google.rpc.Status getStatus()
       An `OK` status indicates success. Any other status indicates a failure.
       
      .google.rpc.Status status = 2;
      Returns:
      The status.
    • getStatusOrBuilder

      com.google.rpc.StatusOrBuilder getStatusOrBuilder()
       An `OK` status indicates success. Any other status indicates a failure.
       
      .google.rpc.Status status = 2;
    • hasCommitTimestamp

      boolean hasCommitTimestamp()
       The commit timestamp of the transaction that applied this batch.
       Present if `status` is `OK`, absent otherwise.
       
      .google.protobuf.Timestamp commit_timestamp = 3;
      Returns:
      Whether the commitTimestamp field is set.
    • getCommitTimestamp

      com.google.protobuf.Timestamp getCommitTimestamp()
       The commit timestamp of the transaction that applied this batch.
       Present if `status` is `OK`, absent otherwise.
       
      .google.protobuf.Timestamp commit_timestamp = 3;
      Returns:
      The commitTimestamp.
    • getCommitTimestampOrBuilder

      com.google.protobuf.TimestampOrBuilder getCommitTimestampOrBuilder()
       The commit timestamp of the transaction that applied this batch.
       Present if `status` is `OK`, absent otherwise.
       
      .google.protobuf.Timestamp commit_timestamp = 3;