Class MigratableResource.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<MigratableResource.Builder>
com.google.cloud.aiplatform.v1.MigratableResource.Builder
All Implemented Interfaces:
MigratableResourceOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
MigratableResource

public static final class MigratableResource.Builder extends com.google.protobuf.GeneratedMessage.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
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<MigratableResource.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<MigratableResource.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<MigratableResource.Builder>
    • getDefaultInstanceForType

      public MigratableResource getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public MigratableResource build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public MigratableResource buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public MigratableResource.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<MigratableResource.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<MigratableResource.Builder>
    • mergeFrom

      public MigratableResource.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<MigratableResource.Builder>
      Throws:
      IOException
    • getResourceCase

      public MigratableResource.ResourceCase getResourceCase()
      Specified by:
      getResourceCase in interface MigratableResourceOrBuilder
    • clearResource

      public MigratableResource.Builder clearResource()
    • 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];
      Specified by:
      hasMlEngineModelVersion in interface MigratableResourceOrBuilder
      Returns:
      Whether the mlEngineModelVersion field is set.
    • 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];
      Specified by:
      getMlEngineModelVersion in interface MigratableResourceOrBuilder
      Returns:
      The mlEngineModelVersion.
    • setMlEngineModelVersion

       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];
    • setMlEngineModelVersion

      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];
    • mergeMlEngineModelVersion

      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];
    • 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];
    • 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];
    • 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];
      Specified by:
      getMlEngineModelVersionOrBuilder in interface MigratableResourceOrBuilder
    • 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];
      Specified by:
      hasAutomlModel in interface MigratableResourceOrBuilder
      Returns:
      Whether the automlModel field is set.
    • 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];
      Specified by:
      getAutomlModel in interface MigratableResourceOrBuilder
      Returns:
      The automlModel.
    • setAutomlModel

       Output only. Represents one Model in automl.googleapis.com.
       
      .google.cloud.aiplatform.v1.MigratableResource.AutomlModel automl_model = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setAutomlModel

      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];
    • mergeAutomlModel

       Output only. Represents one Model in automl.googleapis.com.
       
      .google.cloud.aiplatform.v1.MigratableResource.AutomlModel automl_model = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • 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];
    • 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];
    • 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];
      Specified by:
      getAutomlModelOrBuilder in interface MigratableResourceOrBuilder
    • 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];
      Specified by:
      hasAutomlDataset in interface MigratableResourceOrBuilder
      Returns:
      Whether the automlDataset field is set.
    • 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];
      Specified by:
      getAutomlDataset in interface MigratableResourceOrBuilder
      Returns:
      The automlDataset.
    • setAutomlDataset

       Output only. Represents one Dataset in automl.googleapis.com.
       
      .google.cloud.aiplatform.v1.MigratableResource.AutomlDataset automl_dataset = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setAutomlDataset

      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];
    • mergeAutomlDataset

       Output only. Represents one Dataset in automl.googleapis.com.
       
      .google.cloud.aiplatform.v1.MigratableResource.AutomlDataset automl_dataset = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • 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];
    • 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];
    • 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];
      Specified by:
      getAutomlDatasetOrBuilder in interface MigratableResourceOrBuilder
    • 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];
      Specified by:
      hasDataLabelingDataset in interface MigratableResourceOrBuilder
      Returns:
      Whether the dataLabelingDataset field is set.
    • 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];
      Specified by:
      getDataLabelingDataset in interface MigratableResourceOrBuilder
      Returns:
      The dataLabelingDataset.
    • setDataLabelingDataset

       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];
    • setDataLabelingDataset

      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];
    • mergeDataLabelingDataset

      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];
    • 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];
    • 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];
    • 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];
      Specified by:
      getDataLabelingDatasetOrBuilder in interface MigratableResourceOrBuilder
    • 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];
      Specified by:
      hasLastMigrateTime in interface MigratableResourceOrBuilder
      Returns:
      Whether the lastMigrateTime field is set.
    • getLastMigrateTime

      public com.google.protobuf.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];
      Specified by:
      getLastMigrateTime in interface MigratableResourceOrBuilder
      Returns:
      The lastMigrateTime.
    • setLastMigrateTime

      public MigratableResource.Builder setLastMigrateTime(com.google.protobuf.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];
    • setLastMigrateTime

      public MigratableResource.Builder setLastMigrateTime(com.google.protobuf.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];
    • mergeLastMigrateTime

      public MigratableResource.Builder mergeLastMigrateTime(com.google.protobuf.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];
    • 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];
    • getLastMigrateTimeBuilder

      public com.google.protobuf.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];
    • getLastMigrateTimeOrBuilder

      public com.google.protobuf.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];
      Specified by:
      getLastMigrateTimeOrBuilder in interface MigratableResourceOrBuilder
    • 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];
      Specified by:
      hasLastUpdateTime in interface MigratableResourceOrBuilder
      Returns:
      Whether the lastUpdateTime field is set.
    • getLastUpdateTime

      public com.google.protobuf.Timestamp getLastUpdateTime()
       Output only. Timestamp when this MigratableResource was last updated.
       
      .google.protobuf.Timestamp last_update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getLastUpdateTime in interface MigratableResourceOrBuilder
      Returns:
      The lastUpdateTime.
    • setLastUpdateTime

      public MigratableResource.Builder setLastUpdateTime(com.google.protobuf.Timestamp value)
       Output only. Timestamp when this MigratableResource was last updated.
       
      .google.protobuf.Timestamp last_update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setLastUpdateTime

      public MigratableResource.Builder setLastUpdateTime(com.google.protobuf.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];
    • mergeLastUpdateTime

      public MigratableResource.Builder mergeLastUpdateTime(com.google.protobuf.Timestamp value)
       Output only. Timestamp when this MigratableResource was last updated.
       
      .google.protobuf.Timestamp last_update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • 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];
    • getLastUpdateTimeBuilder

      public com.google.protobuf.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];
    • getLastUpdateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getLastUpdateTimeOrBuilder()
       Output only. Timestamp when this MigratableResource was last updated.
       
      .google.protobuf.Timestamp last_update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getLastUpdateTimeOrBuilder in interface MigratableResourceOrBuilder