public final class MigratableResource extends GeneratedMessageV3 implements MigratableResourceOrBuilder
Represents one resource that exists in automl.googleapis.com,
datalabeling.googleapis.com or ml.googleapis.com.
Protobuf type google.cloud.aiplatform.v1beta1.MigratableResource
Static Fields
public static final int AUTOML_DATASET_FIELD_NUMBER
Field Value
public static final int AUTOML_MODEL_FIELD_NUMBER
Field Value
public static final int DATA_LABELING_DATASET_FIELD_NUMBER
Field Value
public static final int LAST_MIGRATE_TIME_FIELD_NUMBER
Field Value
public static final int LAST_UPDATE_TIME_FIELD_NUMBER
Field Value
public static final int ML_ENGINE_MODEL_VERSION_FIELD_NUMBER
Field Value
Static Methods
public static MigratableResource getDefaultInstance()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public static MigratableResource.Builder newBuilder()
Returns
public static MigratableResource.Builder newBuilder(MigratableResource prototype)
Parameter
Returns
public static MigratableResource parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static MigratableResource parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static MigratableResource parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static MigratableResource parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static MigratableResource parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static MigratableResource parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static MigratableResource parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static MigratableResource parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static MigratableResource parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static MigratableResource parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static MigratableResource parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static MigratableResource parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<MigratableResource> parser()
Returns
Methods
public boolean equals(Object obj)
Parameter
Returns
Overrides
public MigratableResource.AutomlDataset getAutomlDataset()
Output only. Represents one Dataset in automl.googleapis.com.
.google.cloud.aiplatform.v1beta1.MigratableResource.AutomlDataset automl_dataset = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
public MigratableResource.AutomlDatasetOrBuilder getAutomlDatasetOrBuilder()
Output only. Represents one Dataset in automl.googleapis.com.
.google.cloud.aiplatform.v1beta1.MigratableResource.AutomlDataset automl_dataset = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
public MigratableResource.AutomlModel getAutomlModel()
Output only. Represents one Model in automl.googleapis.com.
.google.cloud.aiplatform.v1beta1.MigratableResource.AutomlModel automl_model = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
public MigratableResource.AutomlModelOrBuilder getAutomlModelOrBuilder()
Output only. Represents one Model in automl.googleapis.com.
.google.cloud.aiplatform.v1beta1.MigratableResource.AutomlModel automl_model = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
public MigratableResource.DataLabelingDataset getDataLabelingDataset()
Output only. Represents one Dataset in datalabeling.googleapis.com.
.google.cloud.aiplatform.v1beta1.MigratableResource.DataLabelingDataset data_labeling_dataset = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
public MigratableResource.DataLabelingDatasetOrBuilder getDataLabelingDatasetOrBuilder()
Output only. Represents one Dataset in datalabeling.googleapis.com.
.google.cloud.aiplatform.v1beta1.MigratableResource.DataLabelingDataset data_labeling_dataset = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
public MigratableResource getDefaultInstanceForType()
Returns
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
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
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
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
public MigratableResource.MlEngineModelVersion getMlEngineModelVersion()
Output only. Represents one Version in ml.googleapis.com.
.google.cloud.aiplatform.v1beta1.MigratableResource.MlEngineModelVersion ml_engine_model_version = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
public MigratableResource.MlEngineModelVersionOrBuilder getMlEngineModelVersionOrBuilder()
Output only. Represents one Version in ml.googleapis.com.
.google.cloud.aiplatform.v1beta1.MigratableResource.MlEngineModelVersion ml_engine_model_version = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
public Parser<MigratableResource> getParserForType()
Returns
Overrides
public MigratableResource.ResourceCase getResourceCase()
Returns
public int getSerializedSize()
Returns
Overrides
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
public boolean hasAutomlDataset()
Output only. Represents one Dataset in automl.googleapis.com.
.google.cloud.aiplatform.v1beta1.MigratableResource.AutomlDataset automl_dataset = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type | Description |
boolean | Whether the automlDataset field is set.
|
public boolean hasAutomlModel()
Output only. Represents one Model in automl.googleapis.com.
.google.cloud.aiplatform.v1beta1.MigratableResource.AutomlModel automl_model = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type | Description |
boolean | Whether the automlModel field is set.
|
public boolean hasDataLabelingDataset()
Output only. Represents one Dataset in datalabeling.googleapis.com.
.google.cloud.aiplatform.v1beta1.MigratableResource.DataLabelingDataset data_labeling_dataset = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type | Description |
boolean | Whether the dataLabelingDataset field is set.
|
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.
|
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.
|
public boolean hasMlEngineModelVersion()
Output only. Represents one Version in ml.googleapis.com.
.google.cloud.aiplatform.v1beta1.MigratableResource.MlEngineModelVersion ml_engine_model_version = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type | Description |
boolean | Whether the mlEngineModelVersion field is set.
|
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public MigratableResource.Builder newBuilderForType()
Returns
protected MigratableResource.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public MigratableResource.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions