Class CancelOperationAction.Builder (6.83.0)

public static final class CancelOperationAction.Builder extends GeneratedMessageV3.Builder<CancelOperationAction.Builder> implements CancelOperationActionOrBuilder

Action that cancels an operation.

Protobuf type google.spanner.executor.v1.CancelOperationAction

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CancelOperationAction.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CancelOperationAction.Builder
Overrides

build()

public CancelOperationAction build()
Returns
Type Description
CancelOperationAction

buildPartial()

public CancelOperationAction buildPartial()
Returns
Type Description
CancelOperationAction

clear()

public CancelOperationAction.Builder clear()
Returns
Type Description
CancelOperationAction.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public CancelOperationAction.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
CancelOperationAction.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public CancelOperationAction.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
CancelOperationAction.Builder
Overrides

clearOperation()

public CancelOperationAction.Builder clearOperation()

The name of the operation resource to be cancelled.

string operation = 1;

Returns
Type Description
CancelOperationAction.Builder

This builder for chaining.

clone()

public CancelOperationAction.Builder clone()
Returns
Type Description
CancelOperationAction.Builder
Overrides

getDefaultInstanceForType()

public CancelOperationAction getDefaultInstanceForType()
Returns
Type Description
CancelOperationAction

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getOperation()

public String getOperation()

The name of the operation resource to be cancelled.

string operation = 1;

Returns
Type Description
String

The operation.

getOperationBytes()

public ByteString getOperationBytes()

The name of the operation resource to be cancelled.

string operation = 1;

Returns
Type Description
ByteString

The bytes for operation.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CancelOperationAction.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CancelOperationAction.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public CancelOperationAction.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
CancelOperationAction.Builder
Overrides

mergeFrom(CancelOperationAction other)

public CancelOperationAction.Builder mergeFrom(CancelOperationAction other)
Parameter
Name Description
other CancelOperationAction
Returns
Type Description
CancelOperationAction.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CancelOperationAction.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CancelOperationAction.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public CancelOperationAction.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CancelOperationAction.Builder
Overrides

setOperation(String value)

public CancelOperationAction.Builder setOperation(String value)

The name of the operation resource to be cancelled.

string operation = 1;

Parameter
Name Description
value String

The operation to set.

Returns
Type Description
CancelOperationAction.Builder

This builder for chaining.

setOperationBytes(ByteString value)

public CancelOperationAction.Builder setOperationBytes(ByteString value)

The name of the operation resource to be cancelled.

string operation = 1;

Parameter
Name Description
value ByteString

The bytes for operation to set.

Returns
Type Description
CancelOperationAction.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public CancelOperationAction.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
CancelOperationAction.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final CancelOperationAction.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CancelOperationAction.Builder
Overrides