Class DeleteOperationRequest.Builder (2.7.4)

public static final class DeleteOperationRequest.Builder extends GeneratedMessageV3.Builder<DeleteOperationRequest.Builder> implements DeleteOperationRequestOrBuilder

The request message for Operations.DeleteOperation.

Protobuf type google.longrunning.DeleteOperationRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DeleteOperationRequest build()
Returns
TypeDescription
DeleteOperationRequest

buildPartial()

public DeleteOperationRequest buildPartial()
Returns
TypeDescription
DeleteOperationRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public DeleteOperationRequest.Builder clearName()

The name of the operation resource to be deleted.

string name = 1;

Returns
TypeDescription
DeleteOperationRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public DeleteOperationRequest getDefaultInstanceForType()
Returns
TypeDescription
DeleteOperationRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getName()

public String getName()

The name of the operation resource to be deleted.

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

The name of the operation resource to be deleted.

string name = 1;

Returns
TypeDescription
ByteString

The bytes for name.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(DeleteOperationRequest other)

public DeleteOperationRequest.Builder mergeFrom(DeleteOperationRequest other)
Parameter
NameDescription
otherDeleteOperationRequest
Returns
TypeDescription
DeleteOperationRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public DeleteOperationRequest.Builder setName(String value)

The name of the operation resource to be deleted.

string name = 1;

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
DeleteOperationRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public DeleteOperationRequest.Builder setNameBytes(ByteString value)

The name of the operation resource to be deleted.

string name = 1;

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
DeleteOperationRequest.Builder

This builder for chaining.

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

public DeleteOperationRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
DeleteOperationRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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