Interface BatchWriteResponseOrBuilder (6.83.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
Type Description
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
Type Description
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
Name Description
index int

The index of the element to return.

Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
boolean

Whether the status field is set.