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()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CancelOperationRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
CancelOperationRequest.Builder |
build()
public CancelOperationRequest build()
Returns | |
---|---|
Type | Description |
CancelOperationRequest |
buildPartial()
public CancelOperationRequest buildPartial()
Returns | |
---|---|
Type | Description |
CancelOperationRequest |
clear()
public CancelOperationRequest.Builder clear()
Returns | |
---|---|
Type | Description |
CancelOperationRequest.Builder |
clearField(Descriptors.FieldDescriptor field)
public CancelOperationRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
CancelOperationRequest.Builder |
clearName()
public CancelOperationRequest.Builder clearName()
The name of the operation resource to be cancelled.
string name = 1;
Returns | |
---|---|
Type | Description |
CancelOperationRequest.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public CancelOperationRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
CancelOperationRequest.Builder |
clone()
public CancelOperationRequest.Builder clone()
Returns | |
---|---|
Type | Description |
CancelOperationRequest.Builder |
getDefaultInstanceForType()
public CancelOperationRequest getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
CancelOperationRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getName()
public String getName()
The name of the operation resource to be cancelled.
string name = 1;
Returns | |
---|---|
Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()
The name of the operation resource to be cancelled.
string name = 1;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for name. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(CancelOperationRequest other)
public CancelOperationRequest.Builder mergeFrom(CancelOperationRequest other)
Parameter | |
---|---|
Name | Description |
other |
CancelOperationRequest |
Returns | |
---|---|
Type | Description |
CancelOperationRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CancelOperationRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
CancelOperationRequest.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public CancelOperationRequest.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
CancelOperationRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CancelOperationRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
CancelOperationRequest.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public CancelOperationRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
String The name to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for name to set. |
Returns | |
---|---|
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)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
CancelOperationRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final CancelOperationRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
CancelOperationRequest.Builder |