Class CreateDatasetVersionRequest.Builder (3.37.0)

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

Request message for DatasetService.CreateDatasetVersion.

Protobuf type google.cloud.aiplatform.v1.CreateDatasetVersionRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CreateDatasetVersionRequest build()
Returns
TypeDescription
CreateDatasetVersionRequest

buildPartial()

public CreateDatasetVersionRequest buildPartial()
Returns
TypeDescription
CreateDatasetVersionRequest

clear()

public CreateDatasetVersionRequest.Builder clear()
Returns
TypeDescription
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.v1.DatasetVersion dataset_version = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
CreateDatasetVersionRequest.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public CreateDatasetVersionRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
CreateDatasetVersionRequest.Builder

This builder for chaining.

clone()

public CreateDatasetVersionRequest.Builder clone()
Returns
TypeDescription
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.v1.DatasetVersion dataset_version = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
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.v1.DatasetVersion dataset_version = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
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.v1.DatasetVersion dataset_version = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
DatasetVersionOrBuilder

getDefaultInstanceForType()

public CreateDatasetVersionRequest getDefaultInstanceForType()
Returns
TypeDescription
CreateDatasetVersionRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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.v1.DatasetVersion dataset_version = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the datasetVersion field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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.v1.DatasetVersion dataset_version = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueDatasetVersion
Returns
TypeDescription
CreateDatasetVersionRequest.Builder

mergeFrom(CreateDatasetVersionRequest other)

public CreateDatasetVersionRequest.Builder mergeFrom(CreateDatasetVersionRequest other)
Parameter
NameDescription
otherCreateDatasetVersionRequest
Returns
TypeDescription
CreateDatasetVersionRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CreateDatasetVersionRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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.v1.DatasetVersion dataset_version = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueDatasetVersion
Returns
TypeDescription
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.v1.DatasetVersion dataset_version = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
builderForValueDatasetVersion.Builder
Returns
TypeDescription
CreateDatasetVersionRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public CreateDatasetVersionRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The parent to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for parent to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
CreateDatasetVersionRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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