public static final class BatchMigrateResourcesRequest.Builder extends GeneratedMessageV3.Builder<BatchMigrateResourcesRequest.Builder> implements BatchMigrateResourcesRequestOrBuilder
Request message for
MigrationService.BatchMigrateResources.
Protobuf type google.cloud.aiplatform.v1beta1.BatchMigrateResourcesRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
public BatchMigrateResourcesRequest.Builder addAllMigrateResourceRequests(Iterable<? extends MigrateResourceRequest> values)
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.v1beta1.MigrateResourceRequest migrate_resource_requests = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.cloud.aiplatform.v1beta1.MigrateResourceRequest>
|
public BatchMigrateResourcesRequest.Builder addMigrateResourceRequests(MigrateResourceRequest value)
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.v1beta1.MigrateResourceRequest migrate_resource_requests = 2 [(.google.api.field_behavior) = REQUIRED];
public BatchMigrateResourcesRequest.Builder addMigrateResourceRequests(MigrateResourceRequest.Builder builderForValue)
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.v1beta1.MigrateResourceRequest migrate_resource_requests = 2 [(.google.api.field_behavior) = REQUIRED];
public BatchMigrateResourcesRequest.Builder addMigrateResourceRequests(int index, MigrateResourceRequest value)
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.v1beta1.MigrateResourceRequest migrate_resource_requests = 2 [(.google.api.field_behavior) = REQUIRED];
public BatchMigrateResourcesRequest.Builder addMigrateResourceRequests(int index, MigrateResourceRequest.Builder builderForValue)
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.v1beta1.MigrateResourceRequest migrate_resource_requests = 2 [(.google.api.field_behavior) = REQUIRED];
public MigrateResourceRequest.Builder addMigrateResourceRequestsBuilder()
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.v1beta1.MigrateResourceRequest migrate_resource_requests = 2 [(.google.api.field_behavior) = REQUIRED];
public MigrateResourceRequest.Builder addMigrateResourceRequestsBuilder(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.v1beta1.MigrateResourceRequest migrate_resource_requests = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
index |
int
|
public BatchMigrateResourcesRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public BatchMigrateResourcesRequest build()
public BatchMigrateResourcesRequest buildPartial()
public BatchMigrateResourcesRequest.Builder clear()
Overrides
public BatchMigrateResourcesRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public BatchMigrateResourcesRequest.Builder clearMigrateResourceRequests()
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.v1beta1.MigrateResourceRequest migrate_resource_requests = 2 [(.google.api.field_behavior) = REQUIRED];
public BatchMigrateResourcesRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public BatchMigrateResourcesRequest.Builder clearParent()
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) = { ... }
public BatchMigrateResourcesRequest.Builder clone()
Overrides
public BatchMigrateResourcesRequest getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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.v1beta1.MigrateResourceRequest migrate_resource_requests = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
index |
int
|
public MigrateResourceRequest.Builder getMigrateResourceRequestsBuilder(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.v1beta1.MigrateResourceRequest migrate_resource_requests = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
index |
int
|
public List<MigrateResourceRequest.Builder> getMigrateResourceRequestsBuilderList()
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.v1beta1.MigrateResourceRequest migrate_resource_requests = 2 [(.google.api.field_behavior) = REQUIRED];
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.v1beta1.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.v1beta1.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.v1beta1.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.v1beta1.MigrateResourceRequest migrate_resource_requests = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
List<? extends com.google.cloud.aiplatform.v1beta1.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.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public BatchMigrateResourcesRequest.Builder mergeFrom(BatchMigrateResourcesRequest other)
public BatchMigrateResourcesRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public BatchMigrateResourcesRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public final BatchMigrateResourcesRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public BatchMigrateResourcesRequest.Builder removeMigrateResourceRequests(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.v1beta1.MigrateResourceRequest migrate_resource_requests = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
index |
int
|
public BatchMigrateResourcesRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public BatchMigrateResourcesRequest.Builder setMigrateResourceRequests(int index, MigrateResourceRequest value)
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.v1beta1.MigrateResourceRequest migrate_resource_requests = 2 [(.google.api.field_behavior) = REQUIRED];
public BatchMigrateResourcesRequest.Builder setMigrateResourceRequests(int index, MigrateResourceRequest.Builder builderForValue)
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.v1beta1.MigrateResourceRequest migrate_resource_requests = 2 [(.google.api.field_behavior) = REQUIRED];
public BatchMigrateResourcesRequest.Builder setParent(String value)
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) = { ... }
Parameter |
Name |
Description |
value |
String
The parent to set.
|
public BatchMigrateResourcesRequest.Builder setParentBytes(ByteString value)
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) = { ... }
Parameter |
Name |
Description |
value |
ByteString
The bytes for parent to set.
|
public BatchMigrateResourcesRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final BatchMigrateResourcesRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides