public static final class SpannerAsyncActionResponse.Builder extends GeneratedMessageV3.Builder<SpannerAsyncActionResponse.Builder> implements SpannerAsyncActionResponseOrBuilder
Response from executor service.
Protobuf type google.spanner.executor.v1.SpannerAsyncActionResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SpannerAsyncActionResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public SpannerAsyncActionResponse build()
buildPartial()
public SpannerAsyncActionResponse buildPartial()
clear()
public SpannerAsyncActionResponse.Builder clear()
Overrides
clearActionId()
public SpannerAsyncActionResponse.Builder clearActionId()
Action id corresponds to the request.
int32 action_id = 1;
clearField(Descriptors.FieldDescriptor field)
public SpannerAsyncActionResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public SpannerAsyncActionResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearOutcome()
public SpannerAsyncActionResponse.Builder clearOutcome()
If action results are split into multiple responses, only the last response
can and should contain status.
.google.spanner.executor.v1.SpannerActionOutcome outcome = 2;
clone()
public SpannerAsyncActionResponse.Builder clone()
Overrides
getActionId()
Action id corresponds to the request.
int32 action_id = 1;
Returns |
---|
Type | Description |
int | The actionId.
|
getDefaultInstanceForType()
public SpannerAsyncActionResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getOutcome()
public SpannerActionOutcome getOutcome()
If action results are split into multiple responses, only the last response
can and should contain status.
.google.spanner.executor.v1.SpannerActionOutcome outcome = 2;
getOutcomeBuilder()
public SpannerActionOutcome.Builder getOutcomeBuilder()
If action results are split into multiple responses, only the last response
can and should contain status.
.google.spanner.executor.v1.SpannerActionOutcome outcome = 2;
getOutcomeOrBuilder()
public SpannerActionOutcomeOrBuilder getOutcomeOrBuilder()
If action results are split into multiple responses, only the last response
can and should contain status.
.google.spanner.executor.v1.SpannerActionOutcome outcome = 2;
hasOutcome()
public boolean hasOutcome()
If action results are split into multiple responses, only the last response
can and should contain status.
.google.spanner.executor.v1.SpannerActionOutcome outcome = 2;
Returns |
---|
Type | Description |
boolean | Whether the outcome field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
public SpannerAsyncActionResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public SpannerAsyncActionResponse.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeFrom(SpannerAsyncActionResponse other)
public SpannerAsyncActionResponse.Builder mergeFrom(SpannerAsyncActionResponse other)
mergeOutcome(SpannerActionOutcome value)
public SpannerAsyncActionResponse.Builder mergeOutcome(SpannerActionOutcome value)
If action results are split into multiple responses, only the last response
can and should contain status.
.google.spanner.executor.v1.SpannerActionOutcome outcome = 2;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SpannerAsyncActionResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setActionId(int value)
public SpannerAsyncActionResponse.Builder setActionId(int value)
Action id corresponds to the request.
int32 action_id = 1;
Parameter |
---|
Name | Description |
value | int
The actionId to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public SpannerAsyncActionResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setOutcome(SpannerActionOutcome value)
public SpannerAsyncActionResponse.Builder setOutcome(SpannerActionOutcome value)
If action results are split into multiple responses, only the last response
can and should contain status.
.google.spanner.executor.v1.SpannerActionOutcome outcome = 2;
setOutcome(SpannerActionOutcome.Builder builderForValue)
public SpannerAsyncActionResponse.Builder setOutcome(SpannerActionOutcome.Builder builderForValue)
If action results are split into multiple responses, only the last response
can and should contain status.
.google.spanner.executor.v1.SpannerActionOutcome outcome = 2;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SpannerAsyncActionResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final SpannerAsyncActionResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides