- 6.102.0 (latest)
- 6.101.1
- 6.100.0
- 6.99.0
- 6.98.1
- 6.97.1
- 6.96.1
- 6.95.1
- 6.94.0
- 6.93.0
- 6.89.0
- 6.88.0
- 6.87.0
- 6.86.0
- 6.85.0
- 6.83.0
- 6.82.0
- 6.80.1
- 6.79.0
- 6.77.0
- 6.74.1
- 6.72.0
- 6.71.0
- 6.69.0
- 6.68.0
- 6.66.0
- 6.65.1
- 6.62.0
- 6.60.0
- 6.58.0
- 6.57.0
- 6.56.0
- 6.55.0
- 6.54.0
- 6.53.0
- 6.52.1
- 6.51.0
- 6.50.1
- 6.49.0
- 6.25.1
- 6.24.0
- 6.23.4
- 6.22.0
- 6.21.2
- 6.20.0
- 6.19.1
- 6.18.0
- 6.17.4
- 6.14.1
public static final class BatchWriteResponse.Builder extends GeneratedMessageV3.Builder<BatchWriteResponse.Builder> implements BatchWriteResponseOrBuilderThe result of applying a batch of mutations.
Protobuf type google.spanner.v1.BatchWriteResponse
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > BatchWriteResponse.BuilderImplements
BatchWriteResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllIndexes(Iterable<? extends Integer> values)
public BatchWriteResponse.Builder addAllIndexes(Iterable<? extends Integer> values) 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 |
values |
Iterable<? extends java.lang.Integer>The indexes to add. |
| Returns | |
|---|---|
| Type | Description |
BatchWriteResponse.Builder |
This builder for chaining. |
addIndexes(int value)
public BatchWriteResponse.Builder addIndexes(int value) 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 |
value |
intThe indexes to add. |
| Returns | |
|---|---|
| Type | Description |
BatchWriteResponse.Builder |
This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public BatchWriteResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
BatchWriteResponse.Builder |
|
build()
public BatchWriteResponse build()| Returns | |
|---|---|
| Type | Description |
BatchWriteResponse |
|
buildPartial()
public BatchWriteResponse buildPartial()| Returns | |
|---|---|
| Type | Description |
BatchWriteResponse |
|
clear()
public BatchWriteResponse.Builder clear()| Returns | |
|---|---|
| Type | Description |
BatchWriteResponse.Builder |
|
clearCommitTimestamp()
public BatchWriteResponse.Builder clearCommitTimestamp() 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 |
BatchWriteResponse.Builder |
|
clearField(Descriptors.FieldDescriptor field)
public BatchWriteResponse.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
BatchWriteResponse.Builder |
|
clearIndexes()
public BatchWriteResponse.Builder clearIndexes() 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 |
BatchWriteResponse.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public BatchWriteResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
BatchWriteResponse.Builder |
|
clearStatus()
public BatchWriteResponse.Builder clearStatus() An OK status indicates success. Any other status indicates a failure.
.google.rpc.Status status = 2;
| Returns | |
|---|---|
| Type | Description |
BatchWriteResponse.Builder |
|
clone()
public BatchWriteResponse.Builder clone()| Returns | |
|---|---|
| Type | Description |
BatchWriteResponse.Builder |
|
getCommitTimestamp()
public 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. |
getCommitTimestampBuilder()
public Timestamp.Builder getCommitTimestampBuilder() 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 |
Builder |
|
getCommitTimestampOrBuilder()
public 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 |
|
getDefaultInstanceForType()
public BatchWriteResponse getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
BatchWriteResponse |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getIndexes(int index)
public 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 |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
int |
The indexes at the given index. |
getIndexesCount()
public 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 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 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. |
getStatusBuilder()
public Status.Builder getStatusBuilder() An OK status indicates success. Any other status indicates a failure.
.google.rpc.Status status = 2;
| Returns | |
|---|---|
| Type | Description |
com.google.rpc.Status.Builder |
|
getStatusOrBuilder()
public 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 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 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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeCommitTimestamp(Timestamp value)
public BatchWriteResponse.Builder mergeCommitTimestamp(Timestamp value) The commit timestamp of the transaction that applied this batch.
Present if status is OK, absent otherwise.
.google.protobuf.Timestamp commit_timestamp = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
BatchWriteResponse.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public BatchWriteResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
BatchWriteResponse.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public BatchWriteResponse.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
BatchWriteResponse.Builder |
|
mergeFrom(BatchWriteResponse other)
public BatchWriteResponse.Builder mergeFrom(BatchWriteResponse other)| Parameter | |
|---|---|
| Name | Description |
other |
BatchWriteResponse |
| Returns | |
|---|---|
| Type | Description |
BatchWriteResponse.Builder |
|
mergeStatus(Status value)
public BatchWriteResponse.Builder mergeStatus(Status value) An OK status indicates success. Any other status indicates a failure.
.google.rpc.Status status = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
com.google.rpc.Status |
| Returns | |
|---|---|
| Type | Description |
BatchWriteResponse.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final BatchWriteResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
BatchWriteResponse.Builder |
|
setCommitTimestamp(Timestamp value)
public BatchWriteResponse.Builder setCommitTimestamp(Timestamp value) The commit timestamp of the transaction that applied this batch.
Present if status is OK, absent otherwise.
.google.protobuf.Timestamp commit_timestamp = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
BatchWriteResponse.Builder |
|
setCommitTimestamp(Timestamp.Builder builderForValue)
public BatchWriteResponse.Builder setCommitTimestamp(Timestamp.Builder builderForValue) The commit timestamp of the transaction that applied this batch.
Present if status is OK, absent otherwise.
.google.protobuf.Timestamp commit_timestamp = 3;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
BatchWriteResponse.Builder |
|
setField(Descriptors.FieldDescriptor field, Object value)
public BatchWriteResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
BatchWriteResponse.Builder |
|
setIndexes(int index, int value)
public BatchWriteResponse.Builder setIndexes(int index, int value) The mutation groups applied in this batch. The values index into the
mutation_groups field in the corresponding BatchWriteRequest.
repeated int32 indexes = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
intThe indexes to set. |
| Returns | |
|---|---|
| Type | Description |
BatchWriteResponse.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public BatchWriteResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
BatchWriteResponse.Builder |
|
setStatus(Status value)
public BatchWriteResponse.Builder setStatus(Status value) An OK status indicates success. Any other status indicates a failure.
.google.rpc.Status status = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
com.google.rpc.Status |
| Returns | |
|---|---|
| Type | Description |
BatchWriteResponse.Builder |
|
setStatus(Status.Builder builderForValue)
public BatchWriteResponse.Builder setStatus(Status.Builder builderForValue) An OK status indicates success. Any other status indicates a failure.
.google.rpc.Status status = 2;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
com.google.rpc.Status.Builder |
| Returns | |
|---|---|
| Type | Description |
BatchWriteResponse.Builder |
|
setUnknownFields(UnknownFieldSet unknownFields)
public final BatchWriteResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
BatchWriteResponse.Builder |
|