public static final class CreateDatasetRequest.Builder extends GeneratedMessageV3.Builder<CreateDatasetRequest.Builder> implements CreateDatasetRequestOrBuilder
Request message for DatasetService.CreateDataset.
Protobuf type google.cloud.aiplatform.v1.CreateDatasetRequest
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
public CreateDatasetRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public CreateDatasetRequest build()
Returns
public CreateDatasetRequest buildPartial()
Returns
public CreateDatasetRequest.Builder clear()
Returns
Overrides
public CreateDatasetRequest.Builder clearDataset()
Required. The Dataset to create.
.google.cloud.aiplatform.v1.Dataset dataset = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
public CreateDatasetRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public CreateDatasetRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
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
public CreateDatasetRequest.Builder clone()
Returns
Overrides
public Dataset getDataset()
Required. The Dataset to create.
.google.cloud.aiplatform.v1.Dataset dataset = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
public Dataset.Builder getDatasetBuilder()
Required. The Dataset to create.
.google.cloud.aiplatform.v1.Dataset dataset = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
public DatasetOrBuilder getDatasetOrBuilder()
Required. The Dataset to create.
.google.cloud.aiplatform.v1.Dataset dataset = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
public CreateDatasetRequest getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
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
Type | Description |
String | The parent.
|
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
public boolean hasDataset()
Required. The Dataset to create.
.google.cloud.aiplatform.v1.Dataset dataset = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
boolean | Whether the dataset field is set.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public CreateDatasetRequest.Builder mergeDataset(Dataset value)
Required. The Dataset to create.
.google.cloud.aiplatform.v1.Dataset dataset = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
public CreateDatasetRequest.Builder mergeFrom(CreateDatasetRequest other)
Parameter
Returns
public CreateDatasetRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public CreateDatasetRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final CreateDatasetRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public CreateDatasetRequest.Builder setDataset(Dataset value)
Required. The Dataset to create.
.google.cloud.aiplatform.v1.Dataset dataset = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
public CreateDatasetRequest.Builder setDataset(Dataset.Builder builderForValue)
Required. The Dataset to create.
.google.cloud.aiplatform.v1.Dataset dataset = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
public CreateDatasetRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
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
Name | Description |
value | String
The parent to set.
|
Returns
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
Name | Description |
value | ByteString
The bytes for parent to set.
|
Returns
public CreateDatasetRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final CreateDatasetRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides