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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
public CreateDatasetVersionRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public CreateDatasetVersionRequest build()
public CreateDatasetVersionRequest buildPartial()
public CreateDatasetVersionRequest.Builder clear()
Overrides
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];
public CreateDatasetVersionRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public CreateDatasetVersionRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
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) = { ... }
public CreateDatasetVersionRequest.Builder clone()
Overrides
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];
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];
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];
public CreateDatasetVersionRequest getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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.
|
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.
|
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 |
---|
Type | Description |
boolean | Whether the datasetVersion field is set.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
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];
public CreateDatasetVersionRequest.Builder mergeFrom(CreateDatasetVersionRequest other)
public CreateDatasetVersionRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public CreateDatasetVersionRequest.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
public final CreateDatasetVersionRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
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];
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];
public CreateDatasetVersionRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
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.
|
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.
|
public CreateDatasetVersionRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final CreateDatasetVersionRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides