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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > CancelOperationAction.BuilderImplements
CancelOperationActionOrBuilderStatic 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 |
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 |
clearField(Descriptors.FieldDescriptor field)
public CancelOperationAction.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
CancelOperationAction.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public CancelOperationAction.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
CancelOperationAction.Builder |
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 |
getDefaultInstanceForType()
public CancelOperationAction getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
CancelOperationAction |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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 |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
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 |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public CancelOperationAction.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
CancelOperationAction.Builder |
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 |
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 |
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 |
setUnknownFields(UnknownFieldSet unknownFields)
public final CancelOperationAction.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
CancelOperationAction.Builder |