Class CreateMigrationWorkflowRequest.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<CreateMigrationWorkflowRequest.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<CreateMigrationWorkflowRequest.Builder>
      • getDefaultInstanceForType

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

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

        public CreateMigrationWorkflowRequest 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<CreateMigrationWorkflowRequest.Builder>
      • getParent

        public String getParent()
         Required. The name of the project to which this migration workflow belongs.
         Example: `projects/foo/locations/bar`
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Specified by:
        getParent in interface CreateMigrationWorkflowRequestOrBuilder
        Returns:
        The parent.
      • getParentBytes

        public com.google.protobuf.ByteString getParentBytes()
         Required. The name of the project to which this migration workflow belongs.
         Example: `projects/foo/locations/bar`
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Specified by:
        getParentBytes in interface CreateMigrationWorkflowRequestOrBuilder
        Returns:
        The bytes for parent.
      • setParent

        public CreateMigrationWorkflowRequest.Builder setParent​(String value)
         Required. The name of the project to which this migration workflow belongs.
         Example: `projects/foo/locations/bar`
         
        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 CreateMigrationWorkflowRequest.Builder clearParent()
         Required. The name of the project to which this migration workflow belongs.
         Example: `projects/foo/locations/bar`
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Returns:
        This builder for chaining.
      • setParentBytes

        public CreateMigrationWorkflowRequest.Builder setParentBytes​(com.google.protobuf.ByteString value)
         Required. The name of the project to which this migration workflow belongs.
         Example: `projects/foo/locations/bar`
         
        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.
      • hasMigrationWorkflow

        public boolean hasMigrationWorkflow()
         Required. The migration workflow to create.
         
        .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflow = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        hasMigrationWorkflow in interface CreateMigrationWorkflowRequestOrBuilder
        Returns:
        Whether the migrationWorkflow field is set.
      • setMigrationWorkflow

        public CreateMigrationWorkflowRequest.Builder setMigrationWorkflow​(MigrationWorkflow value)
         Required. The migration workflow to create.
         
        .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflow = 2 [(.google.api.field_behavior) = REQUIRED];
      • mergeMigrationWorkflow

        public CreateMigrationWorkflowRequest.Builder mergeMigrationWorkflow​(MigrationWorkflow value)
         Required. The migration workflow to create.
         
        .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflow = 2 [(.google.api.field_behavior) = REQUIRED];
      • clearMigrationWorkflow

        public CreateMigrationWorkflowRequest.Builder clearMigrationWorkflow()
         Required. The migration workflow to create.
         
        .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflow = 2 [(.google.api.field_behavior) = REQUIRED];
      • getMigrationWorkflowBuilder

        public MigrationWorkflow.Builder getMigrationWorkflowBuilder()
         Required. The migration workflow to create.
         
        .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflow = 2 [(.google.api.field_behavior) = REQUIRED];