Class DeleteDatasetRequest.Builder (0.172.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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DeleteDatasetRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DeleteDatasetRequest.Builder
Overrides

build()

public DeleteDatasetRequest build()
Returns
Type Description
DeleteDatasetRequest

buildPartial()

public DeleteDatasetRequest buildPartial()
Returns
Type Description
DeleteDatasetRequest

clear()

public DeleteDatasetRequest.Builder clear()
Returns
Type Description
DeleteDatasetRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public DeleteDatasetRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
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
Type Description
DeleteDatasetRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public DeleteDatasetRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
DeleteDatasetRequest.Builder
Overrides

clone()

public DeleteDatasetRequest.Builder clone()
Returns
Type Description
DeleteDatasetRequest.Builder
Overrides

getDefaultInstanceForType()

public DeleteDatasetRequest getDefaultInstanceForType()
Returns
Type Description
DeleteDatasetRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for name.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DeleteDatasetRequest other)

public DeleteDatasetRequest.Builder mergeFrom(DeleteDatasetRequest other)
Parameter
Name Description
other DeleteDatasetRequest
Returns
Type Description
DeleteDatasetRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DeleteDatasetRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DeleteDatasetRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public DeleteDatasetRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
DeleteDatasetRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DeleteDatasetRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DeleteDatasetRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public DeleteDatasetRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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
Name Description
value String

The name to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
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
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
DeleteDatasetRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final DeleteDatasetRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DeleteDatasetRequest.Builder
Overrides