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.v1.MigratableResource
Static Fields
public static final int AUTOML_DATASET_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int AUTOML_MODEL_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int DATA_LABELING_DATASET_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int LAST_MIGRATE_TIME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int LAST_UPDATE_TIME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int ML_ENGINE_MODEL_VERSION_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
public static MigratableResource getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static MigratableResource.Builder newBuilder()
public static MigratableResource.Builder newBuilder(MigratableResource prototype)
public static MigratableResource parseDelimitedFrom(InputStream input)
public static MigratableResource parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static MigratableResource parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
public static MigratableResource parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static MigratableResource parseFrom(ByteString data)
public static MigratableResource parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static MigratableResource parseFrom(CodedInputStream input)
public static MigratableResource parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static MigratableResource parseFrom(InputStream input)
public static MigratableResource parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static MigratableResource parseFrom(ByteBuffer data)
public static MigratableResource parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<MigratableResource> parser()
Methods
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
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];
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];
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];
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];
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];
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];
public MigratableResource getDefaultInstanceForType()
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.
|
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];
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.
|
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];
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];
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];
public Parser<MigratableResource> getParserForType()
Overrides
public MigratableResource.ResourceCase getResourceCase()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
public final UnknownFieldSet getUnknownFields()
Overrides
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.
|
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.
|
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.
|
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.v1.MigratableResource.MlEngineModelVersion ml_engine_model_version = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
boolean | Whether the mlEngineModelVersion field is set.
|
Returns |
---|
Type | Description |
int | |
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public MigratableResource.Builder newBuilderForType()
protected MigratableResource.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
public MigratableResource.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides