Class CancelOperationAction (6.62.0)

public final class CancelOperationAction extends GeneratedMessageV3 implements CancelOperationActionOrBuilder

Action that cancels an operation.

Protobuf type google.spanner.executor.v1.CancelOperationAction

Static Fields

OPERATION_FIELD_NUMBER

public static final int OPERATION_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static CancelOperationAction getDefaultInstance()
Returns
TypeDescription
CancelOperationAction

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static CancelOperationAction.Builder newBuilder()
Returns
TypeDescription
CancelOperationAction.Builder

newBuilder(CancelOperationAction prototype)

public static CancelOperationAction.Builder newBuilder(CancelOperationAction prototype)
Parameter
NameDescription
prototypeCancelOperationAction
Returns
TypeDescription
CancelOperationAction.Builder

parseDelimitedFrom(InputStream input)

public static CancelOperationAction parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
CancelOperationAction
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CancelOperationAction parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CancelOperationAction
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static CancelOperationAction parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
CancelOperationAction
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static CancelOperationAction parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CancelOperationAction
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static CancelOperationAction parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
CancelOperationAction
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static CancelOperationAction parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CancelOperationAction
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static CancelOperationAction parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
CancelOperationAction
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static CancelOperationAction parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CancelOperationAction
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static CancelOperationAction parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
CancelOperationAction
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CancelOperationAction parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CancelOperationAction
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static CancelOperationAction parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
CancelOperationAction
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static CancelOperationAction parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CancelOperationAction
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<CancelOperationAction> parser()
Returns
TypeDescription
Parser<CancelOperationAction>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public CancelOperationAction getDefaultInstanceForType()
Returns
TypeDescription
CancelOperationAction

getOperation()

public String getOperation()

The name of the operation resource to be cancelled.

string operation = 1;

Returns
TypeDescription
String

The operation.

getOperationBytes()

public ByteString getOperationBytes()

The name of the operation resource to be cancelled.

string operation = 1;

Returns
TypeDescription
ByteString

The bytes for operation.

getParserForType()

public Parser<CancelOperationAction> getParserForType()
Returns
TypeDescription
Parser<CancelOperationAction>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public CancelOperationAction.Builder newBuilderForType()
Returns
TypeDescription
CancelOperationAction.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected CancelOperationAction.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
CancelOperationAction.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public CancelOperationAction.Builder toBuilder()
Returns
TypeDescription
CancelOperationAction.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException