Class CreateMigrationWorkflowRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<CreateMigrationWorkflowRequest.Builder>
com.google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest.Builder
All Implemented Interfaces:
CreateMigrationWorkflowRequestOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
CreateMigrationWorkflowRequest

public static final class CreateMigrationWorkflowRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<CreateMigrationWorkflowRequest.Builder> implements CreateMigrationWorkflowRequestOrBuilder
 Request to create a migration workflow resource.
 
Protobuf type google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<CreateMigrationWorkflowRequest.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.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.GeneratedMessage.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

      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
    • mergeFrom

      public CreateMigrationWorkflowRequest.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<CreateMigrationWorkflowRequest.Builder>
    • mergeFrom

    • isInitialized

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

      public CreateMigrationWorkflowRequest.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<CreateMigrationWorkflowRequest.Builder>
      Throws:
      IOException
    • 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

       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

       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.
    • getMigrationWorkflow

      public MigrationWorkflow getMigrationWorkflow()
       Required. The migration workflow to create.
       
      .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflow = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getMigrationWorkflow in interface CreateMigrationWorkflowRequestOrBuilder
      Returns:
      The migrationWorkflow.
    • 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];
    • setMigrationWorkflow

      public CreateMigrationWorkflowRequest.Builder setMigrationWorkflow(MigrationWorkflow.Builder builderForValue)
       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];
    • getMigrationWorkflowOrBuilder

      public MigrationWorkflowOrBuilder getMigrationWorkflowOrBuilder()
       Required. The migration workflow to create.
       
      .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflow = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getMigrationWorkflowOrBuilder in interface CreateMigrationWorkflowRequestOrBuilder