public static final class DeleteDatasetRequest.Builder extends GeneratedMessageV3.Builder<DeleteDatasetRequest.Builder> implements DeleteDatasetRequestOrBuilder
Request message for DatasetService.DeleteDataset.
Protobuf type google.cloud.aiplatform.v1beta1.DeleteDatasetRequest
Methods
public DeleteDatasetRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public DeleteDatasetRequest build()
Returns
public DeleteDatasetRequest buildPartial()
Returns
public DeleteDatasetRequest.Builder clear()
Returns
Overrides
public DeleteDatasetRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public DeleteDatasetRequest.Builder clearName()
Required. The resource name of the Dataset to delete.
Format:
projects/{project}/locations/{location}/datasets/{dataset}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
public DeleteDatasetRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public DeleteDatasetRequest.Builder clone()
Returns
Overrides
public DeleteDatasetRequest getDefaultInstanceForType()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
Required. The resource name of the Dataset to delete.
Format:
projects/{project}/locations/{location}/datasets/{dataset}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
Type | Description |
String | The name.
|
public ByteString getNameBytes()
Required. The resource name of the Dataset to delete.
Format:
projects/{project}/locations/{location}/datasets/{dataset}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public DeleteDatasetRequest.Builder mergeFrom(DeleteDatasetRequest other)
Parameter
Returns
public DeleteDatasetRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public DeleteDatasetRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final DeleteDatasetRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public DeleteDatasetRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public DeleteDatasetRequest.Builder setName(String value)
Required. The resource name of the Dataset to delete.
Format:
projects/{project}/locations/{location}/datasets/{dataset}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter
Name | Description |
value | String
The name to set.
|
Returns
public DeleteDatasetRequest.Builder setNameBytes(ByteString value)
Required. The resource name of the Dataset to delete.
Format:
projects/{project}/locations/{location}/datasets/{dataset}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter
Name | Description |
value | ByteString
The bytes for name to set.
|
Returns
public DeleteDatasetRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final DeleteDatasetRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides