Class BatchMigrateResourcesRequest (3.46.0)

public final class BatchMigrateResourcesRequest extends GeneratedMessageV3 implements BatchMigrateResourcesRequestOrBuilder

Request message for MigrationService.BatchMigrateResources.

Protobuf type google.cloud.aiplatform.v1.BatchMigrateResourcesRequest

Static Fields

MIGRATE_RESOURCE_REQUESTS_FIELD_NUMBER

public static final int MIGRATE_RESOURCE_REQUESTS_FIELD_NUMBER
Field Value
Type Description
int

PARENT_FIELD_NUMBER

public static final int PARENT_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static BatchMigrateResourcesRequest getDefaultInstance()
Returns
Type Description
BatchMigrateResourcesRequest

getDescriptor()

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

newBuilder()

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

newBuilder(BatchMigrateResourcesRequest prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public BatchMigrateResourcesRequest getDefaultInstanceForType()
Returns
Type Description
BatchMigrateResourcesRequest

getMigrateResourceRequests(int index)

public MigrateResourceRequest getMigrateResourceRequests(int index)

Required. The request messages specifying the resources to migrate. They must be in the same location as the destination. Up to 50 resources can be migrated in one batch.

repeated .google.cloud.aiplatform.v1.MigrateResourceRequest migrate_resource_requests = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
MigrateResourceRequest

getMigrateResourceRequestsCount()

public int getMigrateResourceRequestsCount()

Required. The request messages specifying the resources to migrate. They must be in the same location as the destination. Up to 50 resources can be migrated in one batch.

repeated .google.cloud.aiplatform.v1.MigrateResourceRequest migrate_resource_requests = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

getMigrateResourceRequestsList()

public List<MigrateResourceRequest> getMigrateResourceRequestsList()

Required. The request messages specifying the resources to migrate. They must be in the same location as the destination. Up to 50 resources can be migrated in one batch.

repeated .google.cloud.aiplatform.v1.MigrateResourceRequest migrate_resource_requests = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<MigrateResourceRequest>

getMigrateResourceRequestsOrBuilder(int index)

public MigrateResourceRequestOrBuilder getMigrateResourceRequestsOrBuilder(int index)

Required. The request messages specifying the resources to migrate. They must be in the same location as the destination. Up to 50 resources can be migrated in one batch.

repeated .google.cloud.aiplatform.v1.MigrateResourceRequest migrate_resource_requests = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
MigrateResourceRequestOrBuilder

getMigrateResourceRequestsOrBuilderList()

public List<? extends MigrateResourceRequestOrBuilder> getMigrateResourceRequestsOrBuilderList()

Required. The request messages specifying the resources to migrate. They must be in the same location as the destination. Up to 50 resources can be migrated in one batch.

repeated .google.cloud.aiplatform.v1.MigrateResourceRequest migrate_resource_requests = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<? extends com.google.cloud.aiplatform.v1.MigrateResourceRequestOrBuilder>

getParent()

public String getParent()

Required. The location of the migrated resource will live in. Format: projects/{project}/locations/{location}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The location of the migrated resource will live in. Format: projects/{project}/locations/{location}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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 BatchMigrateResourcesRequest.Builder newBuilderForType()
Returns
Type Description
BatchMigrateResourcesRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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