Class CreateDatasetRequest.Builder (3.4.0)

public static final class CreateDatasetRequest.Builder extends GeneratedMessageV3.Builder<CreateDatasetRequest.Builder> implements CreateDatasetRequestOrBuilder

Request message for DatasetService.CreateDataset.

Protobuf type google.cloud.aiplatform.v1beta1.CreateDatasetRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CreateDatasetRequest build()
Returns
TypeDescription
CreateDatasetRequest

buildPartial()

public CreateDatasetRequest buildPartial()
Returns
TypeDescription
CreateDatasetRequest

clear()

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

clearDataset()

public CreateDatasetRequest.Builder clearDataset()

Required. The Dataset to create.

.google.cloud.aiplatform.v1beta1.Dataset dataset = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
CreateDatasetRequest.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearParent()

public CreateDatasetRequest.Builder clearParent()

Required. The resource name of the Location to create the Dataset in. Format: projects/{project}/locations/{location}

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

Returns
TypeDescription
CreateDatasetRequest.Builder

This builder for chaining.

clone()

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

getDataset()

public Dataset getDataset()

Required. The Dataset to create.

.google.cloud.aiplatform.v1beta1.Dataset dataset = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Dataset

The dataset.

getDatasetBuilder()

public Dataset.Builder getDatasetBuilder()

Required. The Dataset to create.

.google.cloud.aiplatform.v1beta1.Dataset dataset = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Dataset.Builder

getDatasetOrBuilder()

public DatasetOrBuilder getDatasetOrBuilder()

Required. The Dataset to create.

.google.cloud.aiplatform.v1beta1.Dataset dataset = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
DatasetOrBuilder

getDefaultInstanceForType()

public CreateDatasetRequest getDefaultInstanceForType()
Returns
TypeDescription
CreateDatasetRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getParent()

public String getParent()

Required. The resource name of the Location to create the Dataset in. Format: projects/{project}/locations/{location}

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

Returns
TypeDescription
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The resource name of the Location to create the Dataset in. Format: projects/{project}/locations/{location}

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

Returns
TypeDescription
ByteString

The bytes for parent.

hasDataset()

public boolean hasDataset()

Required. The Dataset to create.

.google.cloud.aiplatform.v1beta1.Dataset dataset = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the dataset field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeDataset(Dataset value)

public CreateDatasetRequest.Builder mergeDataset(Dataset value)

Required. The Dataset to create.

.google.cloud.aiplatform.v1beta1.Dataset dataset = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueDataset
Returns
TypeDescription
CreateDatasetRequest.Builder

mergeFrom(CreateDatasetRequest other)

public CreateDatasetRequest.Builder mergeFrom(CreateDatasetRequest other)
Parameter
NameDescription
otherCreateDatasetRequest
Returns
TypeDescription
CreateDatasetRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setDataset(Dataset value)

public CreateDatasetRequest.Builder setDataset(Dataset value)

Required. The Dataset to create.

.google.cloud.aiplatform.v1beta1.Dataset dataset = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueDataset
Returns
TypeDescription
CreateDatasetRequest.Builder

setDataset(Dataset.Builder builderForValue)

public CreateDatasetRequest.Builder setDataset(Dataset.Builder builderForValue)

Required. The Dataset to create.

.google.cloud.aiplatform.v1beta1.Dataset dataset = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
builderForValueDataset.Builder
Returns
TypeDescription
CreateDatasetRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setParent(String value)

public CreateDatasetRequest.Builder setParent(String value)

Required. The resource name of the Location to create the Dataset in. Format: projects/{project}/locations/{location}

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

Parameter
NameDescription
valueString

The parent to set.

Returns
TypeDescription
CreateDatasetRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public CreateDatasetRequest.Builder setParentBytes(ByteString value)

Required. The resource name of the Location to create the Dataset in. Format: projects/{project}/locations/{location}

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

Parameter
NameDescription
valueByteString

The bytes for parent to set.

Returns
TypeDescription
CreateDatasetRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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