Class MigratableResource (3.54.0)

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

AUTOML_DATASET_FIELD_NUMBER

public static final int AUTOML_DATASET_FIELD_NUMBER
Field Value
Type Description
int

AUTOML_MODEL_FIELD_NUMBER

public static final int AUTOML_MODEL_FIELD_NUMBER
Field Value
Type Description
int

DATA_LABELING_DATASET_FIELD_NUMBER

public static final int DATA_LABELING_DATASET_FIELD_NUMBER
Field Value
Type Description
int

LAST_MIGRATE_TIME_FIELD_NUMBER

public static final int LAST_MIGRATE_TIME_FIELD_NUMBER
Field Value
Type Description
int

LAST_UPDATE_TIME_FIELD_NUMBER

public static final int LAST_UPDATE_TIME_FIELD_NUMBER
Field Value
Type Description
int

ML_ENGINE_MODEL_VERSION_FIELD_NUMBER

public static final int ML_ENGINE_MODEL_VERSION_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static MigratableResource getDefaultInstance()
Returns
Type Description
MigratableResource

getDescriptor()

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

newBuilder()

public static MigratableResource.Builder newBuilder()
Returns
Type Description
MigratableResource.Builder

newBuilder(MigratableResource prototype)

public static MigratableResource.Builder newBuilder(MigratableResource prototype)
Parameter
Name Description
prototype MigratableResource
Returns
Type Description
MigratableResource.Builder

parseDelimitedFrom(InputStream input)

public static MigratableResource parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
MigratableResource
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static MigratableResource parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MigratableResource
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static MigratableResource parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
MigratableResource
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static MigratableResource parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MigratableResource
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static MigratableResource parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
MigratableResource
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static MigratableResource parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MigratableResource
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static MigratableResource parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
MigratableResource
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static MigratableResource parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MigratableResource
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static MigratableResource parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
MigratableResource
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static MigratableResource parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MigratableResource
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static MigratableResource parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
MigratableResource
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static MigratableResource parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MigratableResource
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<MigratableResource> parser()
Returns
Type Description
Parser<MigratableResource>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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.

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.

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.

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

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.

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.

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.

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

getParserForType()

public Parser<MigratableResource> getParserForType()
Returns
Type Description
Parser<MigratableResource>
Overrides

getResourceCase()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected MigratableResource.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
MigratableResource.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException