Class BatchMigrateResourcesRequest.Builder

    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<BatchMigrateResourcesRequest.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<BatchMigrateResourcesRequest.Builder>
      • getDefaultInstanceForType

        public BatchMigrateResourcesRequest getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public BatchMigrateResourcesRequest build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public BatchMigrateResourcesRequest buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<BatchMigrateResourcesRequest.Builder>
      • mergeFrom

        public BatchMigrateResourcesRequest.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                       throws IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<BatchMigrateResourcesRequest.Builder>
        Throws:
        IOException
      • 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) = { ... }
        Specified by:
        getParent in interface BatchMigrateResourcesRequestOrBuilder
        Returns:
        The parent.
      • getParentBytes

        public com.google.protobuf.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) = { ... }
        Specified by:
        getParentBytes in interface BatchMigrateResourcesRequestOrBuilder
        Returns:
        The bytes for parent.
      • setParent

        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) = { ... }
        Parameters:
        value - The parent to set.
        Returns:
        This builder for chaining.
      • 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:
        This builder for chaining.
      • setParentBytes

        public BatchMigrateResourcesRequest.Builder setParentBytes​(com.google.protobuf.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) = { ... }
        Parameters:
        value - The bytes for parent to set.
        Returns:
        This builder for chaining.
      • 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];
        Specified by:
        getMigrateResourceRequestsList in interface BatchMigrateResourcesRequestOrBuilder
      • 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];
        Specified by:
        getMigrateResourceRequestsCount in interface BatchMigrateResourcesRequestOrBuilder
      • getMigrateResourceRequests

        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];
        Specified by:
        getMigrateResourceRequests in interface BatchMigrateResourcesRequestOrBuilder
      • setMigrateResourceRequests

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

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

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

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

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

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

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

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

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

        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];
        Specified by:
        getMigrateResourceRequestsOrBuilder in interface BatchMigrateResourcesRequestOrBuilder
      • 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];
        Specified by:
        getMigrateResourceRequestsOrBuilderList in interface BatchMigrateResourcesRequestOrBuilder
      • 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];
      • addMigrateResourceRequestsBuilder

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