public final class QueryCancellationAction extends GeneratedMessageV3 implements QueryCancellationActionOrBuilder
Query cancellation action defines the long running query and the cancel query format depening on the Cloud database dialect.
Protobuf type google.spanner.executor.v1.QueryCancellationAction
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > QueryCancellationActionImplements
QueryCancellationActionOrBuilderStatic Fields
CANCEL_QUERY_FIELD_NUMBER
public static final int CANCEL_QUERY_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
LONG_RUNNING_SQL_FIELD_NUMBER
public static final int LONG_RUNNING_SQL_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
Static Methods
getDefaultInstance()
public static QueryCancellationAction getDefaultInstance()
Returns | |
---|---|
Type | Description |
QueryCancellationAction |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
newBuilder()
public static QueryCancellationAction.Builder newBuilder()
Returns | |
---|---|
Type | Description |
QueryCancellationAction.Builder |
newBuilder(QueryCancellationAction prototype)
public static QueryCancellationAction.Builder newBuilder(QueryCancellationAction prototype)
Parameter | |
---|---|
Name | Description |
prototype |
QueryCancellationAction |
Returns | |
---|---|
Type | Description |
QueryCancellationAction.Builder |
parseDelimitedFrom(InputStream input)
public static QueryCancellationAction parseDelimitedFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input |
InputStream |
Returns | |
---|---|
Type | Description |
QueryCancellationAction |
Exceptions | |
---|---|
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static QueryCancellationAction parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
QueryCancellationAction |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(byte[] data)
public static QueryCancellationAction parseFrom(byte[] data)
Parameter | |
---|---|
Name | Description |
data |
byte[] |
Returns | |
---|---|
Type | Description |
QueryCancellationAction |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static QueryCancellationAction parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
QueryCancellationAction |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static QueryCancellationAction parseFrom(ByteString data)
Parameter | |
---|---|
Name | Description |
data |
ByteString |
Returns | |
---|---|
Type | Description |
QueryCancellationAction |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static QueryCancellationAction parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
QueryCancellationAction |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static QueryCancellationAction parseFrom(CodedInputStream input)
Parameter | |
---|---|
Name | Description |
input |
CodedInputStream |
Returns | |
---|---|
Type | Description |
QueryCancellationAction |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static QueryCancellationAction parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
QueryCancellationAction |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input)
public static QueryCancellationAction parseFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input |
InputStream |
Returns | |
---|---|
Type | Description |
QueryCancellationAction |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static QueryCancellationAction parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
QueryCancellationAction |
Exceptions | |
---|---|
Type | Description |
IOException |