Class BatchMigrateResourcesRequest (2.8.9)

public final class BatchMigrateResourcesRequest extends GeneratedMessageV3 implements BatchMigrateResourcesRequestOrBuilder

Request message for MigrationService.BatchMigrateResources.

Protobuf type google.cloud.aiplatform.v1beta1.BatchMigrateResourcesRequest

Static Fields

MIGRATE_RESOURCE_REQUESTS_FIELD_NUMBER

public static final int MIGRATE_RESOURCE_REQUESTS_FIELD_NUMBER
Field Value
TypeDescription
int

PARENT_FIELD_NUMBER

public static final int PARENT_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static BatchMigrateResourcesRequest getDefaultInstance()
Returns
TypeDescription
BatchMigrateResourcesRequest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static BatchMigrateResourcesRequest.Builder newBuilder()
Returns
TypeDescription
BatchMigrateResourcesRequest.Builder

newBuilder(BatchMigrateResourcesRequest prototype)

public static BatchMigrateResourcesRequest.Builder newBuilder(BatchMigrateResourcesRequest prototype)
Parameter
NameDescription
prototypeBatchMigrateResourcesRequest
Returns
TypeDescription
BatchMigrateResourcesRequest.Builder

parseDelimitedFrom(InputStream input)

public static BatchMigrateResourcesRequest parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
BatchMigrateResourcesRequest
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BatchMigrateResourcesRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BatchMigrateResourcesRequest
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static BatchMigrateResourcesRequest parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
BatchMigrateResourcesRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static BatchMigrateResourcesRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BatchMigrateResourcesRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static BatchMigrateResourcesRequest parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
BatchMigrateResourcesRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static BatchMigrateResourcesRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BatchMigrateResourcesRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static BatchMigrateResourcesRequest parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
BatchMigrateResourcesRequest
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static BatchMigrateResourcesRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BatchMigrateResourcesRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static BatchMigrateResourcesRequest parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
BatchMigrateResourcesRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BatchMigrateResourcesRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BatchMigrateResourcesRequest
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static BatchMigrateResourcesRequest parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
BatchMigrateResourcesRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static BatchMigrateResourcesRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BatchMigrateResourcesRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<BatchMigrateResourcesRequest> parser()
Returns
TypeDescription
Parser<BatchMigrateResourcesRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public BatchMigrateResourcesRequest getDefaultInstanceForType()
Returns
TypeDescription
BatchMigrateResourcesRequest

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
NameDescription
indexint
Returns
TypeDescription
MigrateResourceRequest

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

Returns
TypeDescription
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
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.

getParserForType()

public Parser<BatchMigrateResourcesRequest> getParserForType()
Returns
TypeDescription
Parser<BatchMigrateResourcesRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public BatchMigrateResourcesRequest.Builder newBuilderForType()
Returns
TypeDescription
BatchMigrateResourcesRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected BatchMigrateResourcesRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
BatchMigrateResourcesRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public BatchMigrateResourcesRequest.Builder toBuilder()
Returns
TypeDescription
BatchMigrateResourcesRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException