public static final class BatchMigrateResourcesRequest.Builder extends GeneratedMessageV3.Builder<BatchMigrateResourcesRequest.Builder> implements BatchMigrateResourcesRequestOrBuilder
Request message for
MigrationService.BatchMigrateResources.
Protobuf type google.cloud.aiplatform.v1.BatchMigrateResourcesRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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()
Returns
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.v1.MigrateResourceRequest migrate_resource_requests = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name | Description |
values | Iterable<? extends com.google.cloud.aiplatform.v1.MigrateResourceRequest>
|
Returns
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.v1.MigrateResourceRequest migrate_resource_requests = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
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.v1.MigrateResourceRequest migrate_resource_requests = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
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.v1.MigrateResourceRequest migrate_resource_requests = 2 [(.google.api.field_behavior) = REQUIRED];
Parameters
Returns
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.v1.MigrateResourceRequest migrate_resource_requests = 2 [(.google.api.field_behavior) = REQUIRED];
Parameters
Returns
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.v1.MigrateResourceRequest migrate_resource_requests = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
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.v1.MigrateResourceRequest migrate_resource_requests = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
public BatchMigrateResourcesRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public BatchMigrateResourcesRequest build()
Returns
public BatchMigrateResourcesRequest buildPartial()
Returns
public BatchMigrateResourcesRequest.Builder clear()
Returns
Overrides
public BatchMigrateResourcesRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
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.v1.MigrateResourceRequest migrate_resource_requests = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
public BatchMigrateResourcesRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
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) = { ... }
Returns
public BatchMigrateResourcesRequest.Builder clone()
Returns
Overrides
public BatchMigrateResourcesRequest getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
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.v1.MigrateResourceRequest migrate_resource_requests = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
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.v1.MigrateResourceRequest migrate_resource_requests = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
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.v1.MigrateResourceRequest migrate_resource_requests = 2 [(.google.api.field_behavior) = REQUIRED];
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
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public BatchMigrateResourcesRequest.Builder mergeFrom(BatchMigrateResourcesRequest other)
Parameter
Returns
public BatchMigrateResourcesRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public BatchMigrateResourcesRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final BatchMigrateResourcesRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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.v1.MigrateResourceRequest migrate_resource_requests = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
public BatchMigrateResourcesRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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.v1.MigrateResourceRequest migrate_resource_requests = 2 [(.google.api.field_behavior) = REQUIRED];
Parameters
Returns
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.v1.MigrateResourceRequest migrate_resource_requests = 2 [(.google.api.field_behavior) = REQUIRED];
Parameters
Returns
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.
|
Returns
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.
|
Returns
public BatchMigrateResourcesRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final BatchMigrateResourcesRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides