Class BatchMigrateResourcesRequest.Builder (3.44.0)

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

Static Methods

getDescriptor()

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

Methods

addAllMigrateResourceRequests(Iterable<? extends MigrateResourceRequest> values)

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

addMigrateResourceRequests(MigrateResourceRequest value)

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];

Parameter
Name Description
value MigrateResourceRequest
Returns
Type Description
BatchMigrateResourcesRequest.Builder

addMigrateResourceRequests(MigrateResourceRequest.Builder builderForValue)

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];

Parameter
Name Description
builderForValue MigrateResourceRequest.Builder
Returns
Type Description
BatchMigrateResourcesRequest.Builder

addMigrateResourceRequests(int index, MigrateResourceRequest value)

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];

Parameters
Name Description
index int
value MigrateResourceRequest
Returns
Type Description
BatchMigrateResourcesRequest.Builder

addMigrateResourceRequests(int index, MigrateResourceRequest.Builder builderForValue)

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];

Parameters
Name Description
index int
builderForValue MigrateResourceRequest.Builder
Returns
Type Description
BatchMigrateResourcesRequest.Builder

addMigrateResourceRequestsBuilder()

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];

Returns
Type Description
MigrateResourceRequest.Builder

addMigrateResourceRequestsBuilder(int index)

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
Returns
Type Description
MigrateResourceRequest.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public BatchMigrateResourcesRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
BatchMigrateResourcesRequest.Builder
Overrides

build()

public BatchMigrateResourcesRequest build()
Returns
Type Description
BatchMigrateResourcesRequest

buildPartial()

public BatchMigrateResourcesRequest buildPartial()
Returns
Type Description
BatchMigrateResourcesRequest

clear()

public BatchMigrateResourcesRequest.Builder clear()
Returns
Type Description
BatchMigrateResourcesRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public BatchMigrateResourcesRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
BatchMigrateResourcesRequest.Builder
Overrides

clearMigrateResourceRequests()

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];

Returns
Type Description
BatchMigrateResourcesRequest.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public BatchMigrateResourcesRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
BatchMigrateResourcesRequest.Builder
Overrides

clearParent()

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
Type Description
BatchMigrateResourcesRequest.Builder

This builder for chaining.

clone()

public BatchMigrateResourcesRequest.Builder clone()
Returns
Type Description
BatchMigrateResourcesRequest.Builder
Overrides

getDefaultInstanceForType()

public BatchMigrateResourcesRequest getDefaultInstanceForType()
Returns
Type Description
BatchMigrateResourcesRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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.v1beta1.MigrateResourceRequest migrate_resource_requests = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
MigrateResourceRequest

getMigrateResourceRequestsBuilder(int index)

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
Returns
Type Description
MigrateResourceRequest.Builder

getMigrateResourceRequestsBuilderList()

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];

Returns
Type Description
List<Builder>

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.v1beta1.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.v1beta1.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.v1beta1.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.v1beta1.MigrateResourceRequest migrate_resource_requests = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<? extends com.google.cloud.aiplatform.v1beta1.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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(BatchMigrateResourcesRequest other)

public BatchMigrateResourcesRequest.Builder mergeFrom(BatchMigrateResourcesRequest other)
Parameter
Name Description
other BatchMigrateResourcesRequest
Returns
Type Description
BatchMigrateResourcesRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public BatchMigrateResourcesRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BatchMigrateResourcesRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public BatchMigrateResourcesRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
BatchMigrateResourcesRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final BatchMigrateResourcesRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
BatchMigrateResourcesRequest.Builder
Overrides

removeMigrateResourceRequests(int index)

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

setField(Descriptors.FieldDescriptor field, Object value)

public BatchMigrateResourcesRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
BatchMigrateResourcesRequest.Builder
Overrides

setMigrateResourceRequests(int index, MigrateResourceRequest value)

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];

Parameters
Name Description
index int
value MigrateResourceRequest
Returns
Type Description
BatchMigrateResourcesRequest.Builder

setMigrateResourceRequests(int index, MigrateResourceRequest.Builder builderForValue)

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];

Parameters
Name Description
index int
builderForValue MigrateResourceRequest.Builder
Returns
Type Description
BatchMigrateResourcesRequest.Builder

setParent(String value)

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
Type Description
BatchMigrateResourcesRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

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
Type Description
BatchMigrateResourcesRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public BatchMigrateResourcesRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
BatchMigrateResourcesRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final BatchMigrateResourcesRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
BatchMigrateResourcesRequest.Builder
Overrides