public static final class CancelOperationRequest.Builder extends GeneratedMessageV3.Builder<CancelOperationRequest.Builder> implements CancelOperationRequestOrBuilder
The request message for Operations.CancelOperation.
Protobuf type google.longrunning.CancelOperationRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > CancelOperationRequest.BuilderImplements
CancelOperationRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CancelOperationRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
CancelOperationRequest.Builder |
build()
public CancelOperationRequest build()
Type | Description |
CancelOperationRequest |
buildPartial()
public CancelOperationRequest buildPartial()
Type | Description |
CancelOperationRequest |
clear()
public CancelOperationRequest.Builder clear()
Type | Description |
CancelOperationRequest.Builder |
clearField(Descriptors.FieldDescriptor field)
public CancelOperationRequest.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
CancelOperationRequest.Builder |
clearName()
public CancelOperationRequest.Builder clearName()
The name of the operation resource to be cancelled.
string name = 1;
Type | Description |
CancelOperationRequest.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public CancelOperationRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
CancelOperationRequest.Builder |
clone()
public CancelOperationRequest.Builder clone()
Type | Description |
CancelOperationRequest.Builder |
getDefaultInstanceForType()
public CancelOperationRequest getDefaultInstanceForType()
Type | Description |
CancelOperationRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getName()
public String getName()
The name of the operation resource to be cancelled.
string name = 1;
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
The name of the operation resource to be cancelled.
string name = 1;
Type | Description |
ByteString | The bytes for name. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(CancelOperationRequest other)
public CancelOperationRequest.Builder mergeFrom(CancelOperationRequest other)
Name | Description |
other | CancelOperationRequest |
Type | Description |
CancelOperationRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CancelOperationRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
CancelOperationRequest.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public CancelOperationRequest.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
CancelOperationRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CancelOperationRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
CancelOperationRequest.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public CancelOperationRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
CancelOperationRequest.Builder |
setName(String value)
public CancelOperationRequest.Builder setName(String value)
The name of the operation resource to be cancelled.
string name = 1;
Name | Description |
value | String The name to set. |
Type | Description |
CancelOperationRequest.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public CancelOperationRequest.Builder setNameBytes(ByteString value)
The name of the operation resource to be cancelled.
string name = 1;
Name | Description |
value | ByteString The bytes for name to set. |
Type | Description |
CancelOperationRequest.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CancelOperationRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
CancelOperationRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final CancelOperationRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
CancelOperationRequest.Builder |