Class MigrateResourceResponse (3.40.0)

public final class MigrateResourceResponse extends GeneratedMessageV3 implements MigrateResourceResponseOrBuilder

Describes a successfully migrated resource.

Protobuf type google.cloud.aiplatform.v1beta1.MigrateResourceResponse

Static Fields

DATASET_FIELD_NUMBER

public static final int DATASET_FIELD_NUMBER
Field Value
TypeDescription
int

MIGRATABLE_RESOURCE_FIELD_NUMBER

public static final int MIGRATABLE_RESOURCE_FIELD_NUMBER
Field Value
TypeDescription
int

MODEL_FIELD_NUMBER

public static final int MODEL_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static MigrateResourceResponse getDefaultInstance()
Returns
TypeDescription
MigrateResourceResponse

getDescriptor()

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

newBuilder()

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

newBuilder(MigrateResourceResponse prototype)

public static MigrateResourceResponse.Builder newBuilder(MigrateResourceResponse prototype)
Parameter
NameDescription
prototypeMigrateResourceResponse
Returns
TypeDescription
MigrateResourceResponse.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDataset()

public String getDataset()

Migrated Dataset's resource name.

string dataset = 1 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The dataset.

getDatasetBytes()

public ByteString getDatasetBytes()

Migrated Dataset's resource name.

string dataset = 1 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for dataset.

getDefaultInstanceForType()

public MigrateResourceResponse getDefaultInstanceForType()
Returns
TypeDescription
MigrateResourceResponse

getMigratableResource()

public MigratableResource getMigratableResource()

Before migration, the identifier in ml.googleapis.com, automl.googleapis.com or datalabeling.googleapis.com.

.google.cloud.aiplatform.v1beta1.MigratableResource migratable_resource = 3;

Returns
TypeDescription
MigratableResource

The migratableResource.

getMigratableResourceOrBuilder()

public MigratableResourceOrBuilder getMigratableResourceOrBuilder()

Before migration, the identifier in ml.googleapis.com, automl.googleapis.com or datalabeling.googleapis.com.

.google.cloud.aiplatform.v1beta1.MigratableResource migratable_resource = 3;

Returns
TypeDescription
MigratableResourceOrBuilder

getMigratedResourceCase()

public MigrateResourceResponse.MigratedResourceCase getMigratedResourceCase()
Returns
TypeDescription
MigrateResourceResponse.MigratedResourceCase

getModel()

public String getModel()

Migrated Model's resource name.

string model = 2 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The model.

getModelBytes()

public ByteString getModelBytes()

Migrated Model's resource name.

string model = 2 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for model.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hasDataset()

public boolean hasDataset()

Migrated Dataset's resource name.

string dataset = 1 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
boolean

Whether the dataset field is set.

hasMigratableResource()

public boolean hasMigratableResource()

Before migration, the identifier in ml.googleapis.com, automl.googleapis.com or datalabeling.googleapis.com.

.google.cloud.aiplatform.v1beta1.MigratableResource migratable_resource = 3;

Returns
TypeDescription
boolean

Whether the migratableResource field is set.

hasModel()

public boolean hasModel()

Migrated Model's resource name.

string model = 2 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
boolean

Whether the model 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 MigrateResourceResponse.Builder newBuilderForType()
Returns
TypeDescription
MigrateResourceResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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