Class DeleteDatasetRequest.Builder (0.124.0)

public static final class DeleteDatasetRequest.Builder extends GeneratedMessageV3.Builder<DeleteDatasetRequest.Builder> implements DeleteDatasetRequestOrBuilder

Request message for DeleteDataset.

Protobuf type google.cloud.datalabeling.v1beta1.DeleteDatasetRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DeleteDatasetRequest build()
Returns
TypeDescription
DeleteDatasetRequest

buildPartial()

public DeleteDatasetRequest buildPartial()
Returns
TypeDescription
DeleteDatasetRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public DeleteDatasetRequest.Builder clearName()

Required. Dataset resource name, format: projects/{project_id}/datasets/{dataset_id}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
DeleteDatasetRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public DeleteDatasetRequest getDefaultInstanceForType()
Returns
TypeDescription
DeleteDatasetRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getName()

public String getName()

Required. Dataset resource name, format: projects/{project_id}/datasets/{dataset_id}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. Dataset resource name, format: projects/{project_id}/datasets/{dataset_id}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

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(DeleteDatasetRequest other)

public DeleteDatasetRequest.Builder mergeFrom(DeleteDatasetRequest other)
Parameter
NameDescription
otherDeleteDatasetRequest
Returns
TypeDescription
DeleteDatasetRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public DeleteDatasetRequest.Builder setName(String value)

Required. Dataset resource name, format: projects/{project_id}/datasets/{dataset_id}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
DeleteDatasetRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public DeleteDatasetRequest.Builder setNameBytes(ByteString value)

Required. Dataset resource name, format: projects/{project_id}/datasets/{dataset_id}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
DeleteDatasetRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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