Class MigratableResource (3.35.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
TypeDescription
int

AUTOML_MODEL_FIELD_NUMBER

public static final int AUTOML_MODEL_FIELD_NUMBER
Field Value
TypeDescription
int

DATA_LABELING_DATASET_FIELD_NUMBER

public static final int DATA_LABELING_DATASET_FIELD_NUMBER
Field Value
TypeDescription
int

LAST_MIGRATE_TIME_FIELD_NUMBER

public static final int LAST_MIGRATE_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

LAST_UPDATE_TIME_FIELD_NUMBER

public static final int LAST_UPDATE_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

ML_ENGINE_MODEL_VERSION_FIELD_NUMBER

public static final int ML_ENGINE_MODEL_VERSION_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static MigratableResource getDefaultInstance()
Returns
TypeDescription
MigratableResource

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static MigratableResource.Builder newBuilder()
Returns
TypeDescription
MigratableResource.Builder

newBuilder(MigratableResource prototype)

public static MigratableResource.Builder newBuilder(MigratableResource prototype)
Parameter
NameDescription
prototypeMigratableResource
Returns
TypeDescription
MigratableResource.Builder

parseDelimitedFrom(InputStream input)

public static MigratableResource parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
MigratableResource
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static MigratableResource parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MigratableResource
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static MigratableResource parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
MigratableResource
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static MigratableResource parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MigratableResource
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static MigratableResource parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
MigratableResource
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static MigratableResource parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MigratableResource
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static MigratableResource parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
MigratableResource
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static MigratableResource parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MigratableResource
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static MigratableResource parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
MigratableResource
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static MigratableResource parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MigratableResource
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static MigratableResource parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
MigratableResource
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static MigratableResource parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MigratableResource
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<MigratableResource> parser()
Returns
TypeDescription
Parser<MigratableResource>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
MigratableResource.DataLabelingDatasetOrBuilder

getDefaultInstanceForType()

public MigratableResource getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
MigratableResource.MlEngineModelVersionOrBuilder

getParserForType()

public Parser<MigratableResource> getParserForType()
Returns
TypeDescription
Parser<MigratableResource>
Overrides

getResourceCase()

public MigratableResource.ResourceCase getResourceCase()
Returns
TypeDescription
MigratableResource.ResourceCase

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the mlEngineModelVersion field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public MigratableResource.Builder newBuilderForType()
Returns
TypeDescription
MigratableResource.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected MigratableResource.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
MigratableResource.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public MigratableResource.Builder toBuilder()
Returns
TypeDescription
MigratableResource.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException