public final class BatchMigrateResourcesRequest extends GeneratedMessageV3 implements BatchMigrateResourcesRequestOrBuilder
Request message for MigrationService.BatchMigrateResources.
Protobuf type google.cloud.aiplatform.v1.BatchMigrateResourcesRequest
Fields
public static final int MIGRATE_RESOURCE_REQUESTS_FIELD_NUMBER
Field Value
public static final int PARENT_FIELD_NUMBER
Field Value
Methods
public boolean equals(Object obj)
Parameter
Returns
Overrides
public static BatchMigrateResourcesRequest getDefaultInstance()
Returns
public BatchMigrateResourcesRequest getDefaultInstanceForType()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
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
Returns
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
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
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
Returns
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> | |
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.
|
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
public Parser<BatchMigrateResourcesRequest> getParserForType()
Returns
Overrides
public int getSerializedSize()
Returns
Overrides
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public static BatchMigrateResourcesRequest.Builder newBuilder()
Returns
public static BatchMigrateResourcesRequest.Builder newBuilder(BatchMigrateResourcesRequest prototype)
Parameter
Returns
public BatchMigrateResourcesRequest.Builder newBuilderForType()
Returns
protected BatchMigrateResourcesRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public static BatchMigrateResourcesRequest parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static BatchMigrateResourcesRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static BatchMigrateResourcesRequest parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static BatchMigrateResourcesRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static BatchMigrateResourcesRequest parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static BatchMigrateResourcesRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static BatchMigrateResourcesRequest parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static BatchMigrateResourcesRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static BatchMigrateResourcesRequest parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static BatchMigrateResourcesRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static BatchMigrateResourcesRequest parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static BatchMigrateResourcesRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<BatchMigrateResourcesRequest> parser()
Returns
public BatchMigrateResourcesRequest.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions