Class BatchMigrateResourcesRequest.Builder (3.33.0)

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

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

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
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.v1.MigrateResourceRequest migrate_resource_requests = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.aiplatform.v1.MigrateResourceRequest>

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

Parameter
NameDescription
valueMigrateResourceRequest

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

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

Parameters
NameDescription
indexint
valueMigrateResourceRequest

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

Parameters
NameDescription
indexint
builderForValueMigrateResourceRequest.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.v1.MigrateResourceRequest migrate_resource_requests = 2 [(.google.api.field_behavior) = REQUIRED];

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

Parameter
NameDescription
indexint
Returns
TypeDescription
MigrateResourceRequest.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public BatchMigrateResourcesRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Overrides

build()

public BatchMigrateResourcesRequest build()
Returns
TypeDescription
BatchMigrateResourcesRequest

buildPartial()

public BatchMigrateResourcesRequest buildPartial()
Returns
TypeDescription
BatchMigrateResourcesRequest

clear()

public BatchMigrateResourcesRequest.Builder clear()
Overrides

clearField(Descriptors.FieldDescriptor field)

public BatchMigrateResourcesRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
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.v1.MigrateResourceRequest migrate_resource_requests = 2 [(.google.api.field_behavior) = REQUIRED];

clearOneof(Descriptors.OneofDescriptor oneof)

public BatchMigrateResourcesRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
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
TypeDescription
BatchMigrateResourcesRequest.Builder

This builder for chaining.

clone()

public BatchMigrateResourcesRequest.Builder clone()
Overrides

getDefaultInstanceForType()

public BatchMigrateResourcesRequest getDefaultInstanceForType()
Returns
TypeDescription
BatchMigrateResourcesRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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.v1.MigrateResourceRequest migrate_resource_requests = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
indexint
Returns
TypeDescription
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.v1.MigrateResourceRequest migrate_resource_requests = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
indexint
Returns
TypeDescription
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.v1.MigrateResourceRequest migrate_resource_requests = 2 [(.google.api.field_behavior) = REQUIRED];

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

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

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

Parameter
NameDescription
indexint
Returns
TypeDescription
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.v1.MigrateResourceRequest migrate_resource_requests = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
List<? extends com.google.cloud.aiplatform.v1.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
TypeDescription
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
TypeDescription
ByteString

The bytes for parent.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(BatchMigrateResourcesRequest other)

public BatchMigrateResourcesRequest.Builder mergeFrom(BatchMigrateResourcesRequest other)
Parameter
NameDescription
otherBatchMigrateResourcesRequest

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public BatchMigrateResourcesRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public BatchMigrateResourcesRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final BatchMigrateResourcesRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
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.v1.MigrateResourceRequest migrate_resource_requests = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
indexint

setField(Descriptors.FieldDescriptor field, Object value)

public BatchMigrateResourcesRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
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.v1.MigrateResourceRequest migrate_resource_requests = 2 [(.google.api.field_behavior) = REQUIRED];

Parameters
NameDescription
indexint
valueMigrateResourceRequest

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

Parameters
NameDescription
indexint
builderForValueMigrateResourceRequest.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
NameDescription
valueString

The parent to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for parent to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final BatchMigrateResourcesRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Overrides