Class CancelOperationAction.Builder (6.60.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CancelOperationAction.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
CancelOperationAction.Builder
Overrides

build()

public CancelOperationAction build()
Returns
TypeDescription
CancelOperationAction

buildPartial()

public CancelOperationAction buildPartial()
Returns
TypeDescription
CancelOperationAction

clear()

public CancelOperationAction.Builder clear()
Returns
TypeDescription
CancelOperationAction.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public CancelOperationAction.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
CancelOperationAction.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public CancelOperationAction.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
CancelOperationAction.Builder
Overrides

clearOperation()

public CancelOperationAction.Builder clearOperation()

The name of the operation resource to be cancelled.

string operation = 1;

Returns
TypeDescription
CancelOperationAction.Builder

This builder for chaining.

clone()

public CancelOperationAction.Builder clone()
Returns
TypeDescription
CancelOperationAction.Builder
Overrides

getDefaultInstanceForType()

public CancelOperationAction getDefaultInstanceForType()
Returns
TypeDescription
CancelOperationAction

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CancelOperationAction.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CancelOperationAction.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public CancelOperationAction.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
CancelOperationAction.Builder
Overrides

mergeFrom(CancelOperationAction other)

public CancelOperationAction.Builder mergeFrom(CancelOperationAction other)
Parameter
NameDescription
otherCancelOperationAction
Returns
TypeDescription
CancelOperationAction.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CancelOperationAction.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CancelOperationAction.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public CancelOperationAction.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The operation to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for operation to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
CancelOperationAction.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final CancelOperationAction.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CancelOperationAction.Builder
Overrides