public final class SpannerAsyncActionResponse extends GeneratedMessageV3 implements SpannerAsyncActionResponseOrBuilder
Response from executor service.
Protobuf type google.spanner.executor.v1.SpannerAsyncActionResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
ACTION_ID_FIELD_NUMBER
public static final int ACTION_ID_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
OUTCOME_FIELD_NUMBER
public static final int OUTCOME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static SpannerAsyncActionResponse getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static SpannerAsyncActionResponse.Builder newBuilder()
newBuilder(SpannerAsyncActionResponse prototype)
public static SpannerAsyncActionResponse.Builder newBuilder(SpannerAsyncActionResponse prototype)
public static SpannerAsyncActionResponse parseDelimitedFrom(InputStream input)
public static SpannerAsyncActionResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static SpannerAsyncActionResponse parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static SpannerAsyncActionResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static SpannerAsyncActionResponse parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SpannerAsyncActionResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SpannerAsyncActionResponse parseFrom(CodedInputStream input)
public static SpannerAsyncActionResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static SpannerAsyncActionResponse parseFrom(InputStream input)
public static SpannerAsyncActionResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static SpannerAsyncActionResponse parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static SpannerAsyncActionResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<SpannerAsyncActionResponse> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getActionId()
Action id corresponds to the request.
int32 action_id = 1;
Returns |
---|
Type | Description |
int | The actionId.
|
getDefaultInstanceForType()
public SpannerAsyncActionResponse getDefaultInstanceForType()
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;
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;
getParserForType()
public Parser<SpannerAsyncActionResponse> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
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.
|
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public SpannerAsyncActionResponse.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected SpannerAsyncActionResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public SpannerAsyncActionResponse.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides