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