Class CreateDatasetVersionRequest.Builder (3.42.0)

public static final class CreateDatasetVersionRequest.Builder extends GeneratedMessageV3.Builder<CreateDatasetVersionRequest.Builder> implements CreateDatasetVersionRequestOrBuilder

Request message for DatasetService.CreateDatasetVersion.

Protobuf type google.cloud.aiplatform.v1beta1.CreateDatasetVersionRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CreateDatasetVersionRequest build()
Returns
Type Description
CreateDatasetVersionRequest

buildPartial()

public CreateDatasetVersionRequest buildPartial()
Returns
Type Description
CreateDatasetVersionRequest

clear()

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

clearDatasetVersion()

public CreateDatasetVersionRequest.Builder clearDatasetVersion()

Required. The version to be created. The same CMEK policies with the original Dataset will be applied the dataset version. So here we don't need to specify the EncryptionSpecType here.

.google.cloud.aiplatform.v1beta1.DatasetVersion dataset_version = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CreateDatasetVersionRequest.Builder

clearField(Descriptors.FieldDescriptor field)

public CreateDatasetVersionRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
CreateDatasetVersionRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearParent()

public CreateDatasetVersionRequest.Builder clearParent()

Required. The name of the Dataset resource. Format: projects/{project}/locations/{location}/datasets/{dataset}

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

Returns
Type Description
CreateDatasetVersionRequest.Builder

This builder for chaining.

clone()

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

getDatasetVersion()

public DatasetVersion getDatasetVersion()

Required. The version to be created. The same CMEK policies with the original Dataset will be applied the dataset version. So here we don't need to specify the EncryptionSpecType here.

.google.cloud.aiplatform.v1beta1.DatasetVersion dataset_version = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
DatasetVersion

The datasetVersion.

getDatasetVersionBuilder()

public DatasetVersion.Builder getDatasetVersionBuilder()

Required. The version to be created. The same CMEK policies with the original Dataset will be applied the dataset version. So here we don't need to specify the EncryptionSpecType here.

.google.cloud.aiplatform.v1beta1.DatasetVersion dataset_version = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
DatasetVersion.Builder

getDatasetVersionOrBuilder()

public DatasetVersionOrBuilder getDatasetVersionOrBuilder()

Required. The version to be created. The same CMEK policies with the original Dataset will be applied the dataset version. So here we don't need to specify the EncryptionSpecType here.

.google.cloud.aiplatform.v1beta1.DatasetVersion dataset_version = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
DatasetVersionOrBuilder

getDefaultInstanceForType()

public CreateDatasetVersionRequest getDefaultInstanceForType()
Returns
Type Description
CreateDatasetVersionRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getParent()

public String getParent()

Required. The name of the Dataset resource. Format: projects/{project}/locations/{location}/datasets/{dataset}

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

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The name of the Dataset resource. Format: projects/{project}/locations/{location}/datasets/{dataset}

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

Returns
Type Description
ByteString

The bytes for parent.

hasDatasetVersion()

public boolean hasDatasetVersion()

Required. The version to be created. The same CMEK policies with the original Dataset will be applied the dataset version. So here we don't need to specify the EncryptionSpecType here.

.google.cloud.aiplatform.v1beta1.DatasetVersion dataset_version = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the datasetVersion field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeDatasetVersion(DatasetVersion value)

public CreateDatasetVersionRequest.Builder mergeDatasetVersion(DatasetVersion value)

Required. The version to be created. The same CMEK policies with the original Dataset will be applied the dataset version. So here we don't need to specify the EncryptionSpecType here.

.google.cloud.aiplatform.v1beta1.DatasetVersion dataset_version = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value DatasetVersion
Returns
Type Description
CreateDatasetVersionRequest.Builder

mergeFrom(CreateDatasetVersionRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setDatasetVersion(DatasetVersion value)

public CreateDatasetVersionRequest.Builder setDatasetVersion(DatasetVersion value)

Required. The version to be created. The same CMEK policies with the original Dataset will be applied the dataset version. So here we don't need to specify the EncryptionSpecType here.

.google.cloud.aiplatform.v1beta1.DatasetVersion dataset_version = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value DatasetVersion
Returns
Type Description
CreateDatasetVersionRequest.Builder

setDatasetVersion(DatasetVersion.Builder builderForValue)

public CreateDatasetVersionRequest.Builder setDatasetVersion(DatasetVersion.Builder builderForValue)

Required. The version to be created. The same CMEK policies with the original Dataset will be applied the dataset version. So here we don't need to specify the EncryptionSpecType here.

.google.cloud.aiplatform.v1beta1.DatasetVersion dataset_version = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue DatasetVersion.Builder
Returns
Type Description
CreateDatasetVersionRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setParent(String value)

public CreateDatasetVersionRequest.Builder setParent(String value)

Required. The name of the Dataset resource. Format: projects/{project}/locations/{location}/datasets/{dataset}

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

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
CreateDatasetVersionRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public CreateDatasetVersionRequest.Builder setParentBytes(ByteString value)

Required. The name of the Dataset resource. Format: projects/{project}/locations/{location}/datasets/{dataset}

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

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
CreateDatasetVersionRequest.Builder

This builder for chaining.

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

public CreateDatasetVersionRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
CreateDatasetVersionRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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