Class MigratableResource.Builder (3.43.0)

public static final class MigratableResource.Builder extends GeneratedMessageV3.Builder<MigratableResource.Builder> implements MigratableResourceOrBuilder

Represents one resource that exists in automl.googleapis.com, datalabeling.googleapis.com or ml.googleapis.com.

Protobuf type google.cloud.aiplatform.v1.MigratableResource

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public MigratableResource build()
Returns
Type Description
MigratableResource

buildPartial()

public MigratableResource buildPartial()
Returns
Type Description
MigratableResource

clear()

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

clearAutomlDataset()

public MigratableResource.Builder clearAutomlDataset()

Output only. Represents one Dataset in automl.googleapis.com.

.google.cloud.aiplatform.v1.MigratableResource.AutomlDataset automl_dataset = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
MigratableResource.Builder

clearAutomlModel()

public MigratableResource.Builder clearAutomlModel()

Output only. Represents one Model in automl.googleapis.com.

.google.cloud.aiplatform.v1.MigratableResource.AutomlModel automl_model = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
MigratableResource.Builder

clearDataLabelingDataset()

public MigratableResource.Builder clearDataLabelingDataset()

Output only. Represents one Dataset in datalabeling.googleapis.com.

.google.cloud.aiplatform.v1.MigratableResource.DataLabelingDataset data_labeling_dataset = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
MigratableResource.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearLastMigrateTime()

public MigratableResource.Builder clearLastMigrateTime()

Output only. Timestamp when the last migration attempt on this MigratableResource started. Will not be set if there's no migration attempt on this MigratableResource.

.google.protobuf.Timestamp last_migrate_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
MigratableResource.Builder

clearLastUpdateTime()

public MigratableResource.Builder clearLastUpdateTime()

Output only. Timestamp when this MigratableResource was last updated.

.google.protobuf.Timestamp last_update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
MigratableResource.Builder

clearMlEngineModelVersion()

public MigratableResource.Builder clearMlEngineModelVersion()

Output only. Represents one Version in ml.googleapis.com.

.google.cloud.aiplatform.v1.MigratableResource.MlEngineModelVersion ml_engine_model_version = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
MigratableResource.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearResource()

public MigratableResource.Builder clearResource()
Returns
Type Description
MigratableResource.Builder

clone()

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

getAutomlDataset()

public MigratableResource.AutomlDataset getAutomlDataset()

Output only. Represents one Dataset in automl.googleapis.com.

.google.cloud.aiplatform.v1.MigratableResource.AutomlDataset automl_dataset = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
MigratableResource.AutomlDataset

The automlDataset.

getAutomlDatasetBuilder()

public MigratableResource.AutomlDataset.Builder getAutomlDatasetBuilder()

Output only. Represents one Dataset in automl.googleapis.com.

.google.cloud.aiplatform.v1.MigratableResource.AutomlDataset automl_dataset = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
MigratableResource.AutomlDataset.Builder

getAutomlDatasetOrBuilder()

public MigratableResource.AutomlDatasetOrBuilder getAutomlDatasetOrBuilder()

Output only. Represents one Dataset in automl.googleapis.com.

.google.cloud.aiplatform.v1.MigratableResource.AutomlDataset automl_dataset = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
MigratableResource.AutomlDatasetOrBuilder

getAutomlModel()

public MigratableResource.AutomlModel getAutomlModel()

Output only. Represents one Model in automl.googleapis.com.

.google.cloud.aiplatform.v1.MigratableResource.AutomlModel automl_model = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
MigratableResource.AutomlModel

The automlModel.

getAutomlModelBuilder()

public MigratableResource.AutomlModel.Builder getAutomlModelBuilder()

Output only. Represents one Model in automl.googleapis.com.

.google.cloud.aiplatform.v1.MigratableResource.AutomlModel automl_model = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
MigratableResource.AutomlModel.Builder

getAutomlModelOrBuilder()

public MigratableResource.AutomlModelOrBuilder getAutomlModelOrBuilder()

Output only. Represents one Model in automl.googleapis.com.

.google.cloud.aiplatform.v1.MigratableResource.AutomlModel automl_model = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
MigratableResource.AutomlModelOrBuilder

getDataLabelingDataset()

public MigratableResource.DataLabelingDataset getDataLabelingDataset()

Output only. Represents one Dataset in datalabeling.googleapis.com.

.google.cloud.aiplatform.v1.MigratableResource.DataLabelingDataset data_labeling_dataset = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
MigratableResource.DataLabelingDataset

The dataLabelingDataset.

getDataLabelingDatasetBuilder()

public MigratableResource.DataLabelingDataset.Builder getDataLabelingDatasetBuilder()

Output only. Represents one Dataset in datalabeling.googleapis.com.

.google.cloud.aiplatform.v1.MigratableResource.DataLabelingDataset data_labeling_dataset = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
MigratableResource.DataLabelingDataset.Builder

getDataLabelingDatasetOrBuilder()

public MigratableResource.DataLabelingDatasetOrBuilder getDataLabelingDatasetOrBuilder()

Output only. Represents one Dataset in datalabeling.googleapis.com.

.google.cloud.aiplatform.v1.MigratableResource.DataLabelingDataset data_labeling_dataset = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
MigratableResource.DataLabelingDatasetOrBuilder

getDefaultInstanceForType()

public MigratableResource getDefaultInstanceForType()
Returns
Type Description
MigratableResource

getDescriptorForType()

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

getLastMigrateTime()

public Timestamp getLastMigrateTime()

Output only. Timestamp when the last migration attempt on this MigratableResource started. Will not be set if there's no migration attempt on this MigratableResource.

.google.protobuf.Timestamp last_migrate_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The lastMigrateTime.

getLastMigrateTimeBuilder()

public Timestamp.Builder getLastMigrateTimeBuilder()

Output only. Timestamp when the last migration attempt on this MigratableResource started. Will not be set if there's no migration attempt on this MigratableResource.

.google.protobuf.Timestamp last_migrate_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getLastMigrateTimeOrBuilder()

public TimestampOrBuilder getLastMigrateTimeOrBuilder()

Output only. Timestamp when the last migration attempt on this MigratableResource started. Will not be set if there's no migration attempt on this MigratableResource.

.google.protobuf.Timestamp last_migrate_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getLastUpdateTime()

public Timestamp getLastUpdateTime()

Output only. Timestamp when this MigratableResource was last updated.

.google.protobuf.Timestamp last_update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The lastUpdateTime.

getLastUpdateTimeBuilder()

public Timestamp.Builder getLastUpdateTimeBuilder()

Output only. Timestamp when this MigratableResource was last updated.

.google.protobuf.Timestamp last_update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getLastUpdateTimeOrBuilder()

public TimestampOrBuilder getLastUpdateTimeOrBuilder()

Output only. Timestamp when this MigratableResource was last updated.

.google.protobuf.Timestamp last_update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getMlEngineModelVersion()

public MigratableResource.MlEngineModelVersion getMlEngineModelVersion()

Output only. Represents one Version in ml.googleapis.com.

.google.cloud.aiplatform.v1.MigratableResource.MlEngineModelVersion ml_engine_model_version = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
MigratableResource.MlEngineModelVersion

The mlEngineModelVersion.

getMlEngineModelVersionBuilder()

public MigratableResource.MlEngineModelVersion.Builder getMlEngineModelVersionBuilder()

Output only. Represents one Version in ml.googleapis.com.

.google.cloud.aiplatform.v1.MigratableResource.MlEngineModelVersion ml_engine_model_version = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
MigratableResource.MlEngineModelVersion.Builder

getMlEngineModelVersionOrBuilder()

public MigratableResource.MlEngineModelVersionOrBuilder getMlEngineModelVersionOrBuilder()

Output only. Represents one Version in ml.googleapis.com.

.google.cloud.aiplatform.v1.MigratableResource.MlEngineModelVersion ml_engine_model_version = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
MigratableResource.MlEngineModelVersionOrBuilder

getResourceCase()

public MigratableResource.ResourceCase getResourceCase()
Returns
Type Description
MigratableResource.ResourceCase

hasAutomlDataset()

public boolean hasAutomlDataset()

Output only. Represents one Dataset in automl.googleapis.com.

.google.cloud.aiplatform.v1.MigratableResource.AutomlDataset automl_dataset = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the automlDataset field is set.

hasAutomlModel()

public boolean hasAutomlModel()

Output only. Represents one Model in automl.googleapis.com.

.google.cloud.aiplatform.v1.MigratableResource.AutomlModel automl_model = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the automlModel field is set.

hasDataLabelingDataset()

public boolean hasDataLabelingDataset()

Output only. Represents one Dataset in datalabeling.googleapis.com.

.google.cloud.aiplatform.v1.MigratableResource.DataLabelingDataset data_labeling_dataset = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the dataLabelingDataset field is set.

hasLastMigrateTime()

public boolean hasLastMigrateTime()

Output only. Timestamp when the last migration attempt on this MigratableResource started. Will not be set if there's no migration attempt on this MigratableResource.

.google.protobuf.Timestamp last_migrate_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the lastMigrateTime field is set.

hasLastUpdateTime()

public boolean hasLastUpdateTime()

Output only. Timestamp when this MigratableResource was last updated.

.google.protobuf.Timestamp last_update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the lastUpdateTime field is set.

hasMlEngineModelVersion()

public boolean hasMlEngineModelVersion()

Output only. Represents one Version in ml.googleapis.com.

.google.cloud.aiplatform.v1.MigratableResource.MlEngineModelVersion ml_engine_model_version = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the mlEngineModelVersion field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeAutomlDataset(MigratableResource.AutomlDataset value)

public MigratableResource.Builder mergeAutomlDataset(MigratableResource.AutomlDataset value)

Output only. Represents one Dataset in automl.googleapis.com.

.google.cloud.aiplatform.v1.MigratableResource.AutomlDataset automl_dataset = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value MigratableResource.AutomlDataset
Returns
Type Description
MigratableResource.Builder

mergeAutomlModel(MigratableResource.AutomlModel value)

public MigratableResource.Builder mergeAutomlModel(MigratableResource.AutomlModel value)

Output only. Represents one Model in automl.googleapis.com.

.google.cloud.aiplatform.v1.MigratableResource.AutomlModel automl_model = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value MigratableResource.AutomlModel
Returns
Type Description
MigratableResource.Builder

mergeDataLabelingDataset(MigratableResource.DataLabelingDataset value)

public MigratableResource.Builder mergeDataLabelingDataset(MigratableResource.DataLabelingDataset value)

Output only. Represents one Dataset in datalabeling.googleapis.com.

.google.cloud.aiplatform.v1.MigratableResource.DataLabelingDataset data_labeling_dataset = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value MigratableResource.DataLabelingDataset
Returns
Type Description
MigratableResource.Builder

mergeFrom(MigratableResource other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeLastMigrateTime(Timestamp value)

public MigratableResource.Builder mergeLastMigrateTime(Timestamp value)

Output only. Timestamp when the last migration attempt on this MigratableResource started. Will not be set if there's no migration attempt on this MigratableResource.

.google.protobuf.Timestamp last_migrate_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
MigratableResource.Builder

mergeLastUpdateTime(Timestamp value)

public MigratableResource.Builder mergeLastUpdateTime(Timestamp value)

Output only. Timestamp when this MigratableResource was last updated.

.google.protobuf.Timestamp last_update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
MigratableResource.Builder

mergeMlEngineModelVersion(MigratableResource.MlEngineModelVersion value)

public MigratableResource.Builder mergeMlEngineModelVersion(MigratableResource.MlEngineModelVersion value)

Output only. Represents one Version in ml.googleapis.com.

.google.cloud.aiplatform.v1.MigratableResource.MlEngineModelVersion ml_engine_model_version = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value MigratableResource.MlEngineModelVersion
Returns
Type Description
MigratableResource.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setAutomlDataset(MigratableResource.AutomlDataset value)

public MigratableResource.Builder setAutomlDataset(MigratableResource.AutomlDataset value)

Output only. Represents one Dataset in automl.googleapis.com.

.google.cloud.aiplatform.v1.MigratableResource.AutomlDataset automl_dataset = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value MigratableResource.AutomlDataset
Returns
Type Description
MigratableResource.Builder

setAutomlDataset(MigratableResource.AutomlDataset.Builder builderForValue)

public MigratableResource.Builder setAutomlDataset(MigratableResource.AutomlDataset.Builder builderForValue)

Output only. Represents one Dataset in automl.googleapis.com.

.google.cloud.aiplatform.v1.MigratableResource.AutomlDataset automl_dataset = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue MigratableResource.AutomlDataset.Builder
Returns
Type Description
MigratableResource.Builder

setAutomlModel(MigratableResource.AutomlModel value)

public MigratableResource.Builder setAutomlModel(MigratableResource.AutomlModel value)

Output only. Represents one Model in automl.googleapis.com.

.google.cloud.aiplatform.v1.MigratableResource.AutomlModel automl_model = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value MigratableResource.AutomlModel
Returns
Type Description
MigratableResource.Builder

setAutomlModel(MigratableResource.AutomlModel.Builder builderForValue)

public MigratableResource.Builder setAutomlModel(MigratableResource.AutomlModel.Builder builderForValue)

Output only. Represents one Model in automl.googleapis.com.

.google.cloud.aiplatform.v1.MigratableResource.AutomlModel automl_model = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue MigratableResource.AutomlModel.Builder
Returns
Type Description
MigratableResource.Builder

setDataLabelingDataset(MigratableResource.DataLabelingDataset value)

public MigratableResource.Builder setDataLabelingDataset(MigratableResource.DataLabelingDataset value)

Output only. Represents one Dataset in datalabeling.googleapis.com.

.google.cloud.aiplatform.v1.MigratableResource.DataLabelingDataset data_labeling_dataset = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value MigratableResource.DataLabelingDataset
Returns
Type Description
MigratableResource.Builder

setDataLabelingDataset(MigratableResource.DataLabelingDataset.Builder builderForValue)

public MigratableResource.Builder setDataLabelingDataset(MigratableResource.DataLabelingDataset.Builder builderForValue)

Output only. Represents one Dataset in datalabeling.googleapis.com.

.google.cloud.aiplatform.v1.MigratableResource.DataLabelingDataset data_labeling_dataset = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue MigratableResource.DataLabelingDataset.Builder
Returns
Type Description
MigratableResource.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setLastMigrateTime(Timestamp value)

public MigratableResource.Builder setLastMigrateTime(Timestamp value)

Output only. Timestamp when the last migration attempt on this MigratableResource started. Will not be set if there's no migration attempt on this MigratableResource.

.google.protobuf.Timestamp last_migrate_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
MigratableResource.Builder

setLastMigrateTime(Timestamp.Builder builderForValue)

public MigratableResource.Builder setLastMigrateTime(Timestamp.Builder builderForValue)

Output only. Timestamp when the last migration attempt on this MigratableResource started. Will not be set if there's no migration attempt on this MigratableResource.

.google.protobuf.Timestamp last_migrate_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
MigratableResource.Builder

setLastUpdateTime(Timestamp value)

public MigratableResource.Builder setLastUpdateTime(Timestamp value)

Output only. Timestamp when this MigratableResource was last updated.

.google.protobuf.Timestamp last_update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
MigratableResource.Builder

setLastUpdateTime(Timestamp.Builder builderForValue)

public MigratableResource.Builder setLastUpdateTime(Timestamp.Builder builderForValue)

Output only. Timestamp when this MigratableResource was last updated.

.google.protobuf.Timestamp last_update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
MigratableResource.Builder

setMlEngineModelVersion(MigratableResource.MlEngineModelVersion value)

public MigratableResource.Builder setMlEngineModelVersion(MigratableResource.MlEngineModelVersion value)

Output only. Represents one Version in ml.googleapis.com.

.google.cloud.aiplatform.v1.MigratableResource.MlEngineModelVersion ml_engine_model_version = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value MigratableResource.MlEngineModelVersion
Returns
Type Description
MigratableResource.Builder

setMlEngineModelVersion(MigratableResource.MlEngineModelVersion.Builder builderForValue)

public MigratableResource.Builder setMlEngineModelVersion(MigratableResource.MlEngineModelVersion.Builder builderForValue)

Output only. Represents one Version in ml.googleapis.com.

.google.cloud.aiplatform.v1.MigratableResource.MlEngineModelVersion ml_engine_model_version = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue MigratableResource.MlEngineModelVersion.Builder
Returns
Type Description
MigratableResource.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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