Interface BatchWriteResponseOrBuilder (6.51.0)

public interface BatchWriteResponseOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCommitTimestamp()

public abstract 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
TypeDescription
Timestamp

The commitTimestamp.

getCommitTimestampOrBuilder()

public abstract 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;

Returns
TypeDescription
TimestampOrBuilder

getIndexes(int index)

public abstract 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;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
int

The indexes at the given index.

getIndexesCount()

public abstract 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
TypeDescription
int

The count of indexes.

getIndexesList()

public abstract 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
TypeDescription
List<Integer>

A list containing the indexes.

getStatus()

public abstract Status getStatus()

An OK status indicates success. Any other status indicates a failure.

.google.rpc.Status status = 2;

Returns
TypeDescription
com.google.rpc.Status

The status.

getStatusOrBuilder()

public abstract StatusOrBuilder getStatusOrBuilder()

An OK status indicates success. Any other status indicates a failure.

.google.rpc.Status status = 2;

Returns
TypeDescription
com.google.rpc.StatusOrBuilder

hasCommitTimestamp()

public abstract 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
TypeDescription
boolean

Whether the commitTimestamp field is set.

hasStatus()

public abstract boolean hasStatus()

An OK status indicates success. Any other status indicates a failure.

.google.rpc.Status status = 2;

Returns
TypeDescription
boolean

Whether the status field is set.