Class GetMigrationSubtaskRequest.Builder

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

public static final class GetMigrationSubtaskRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<GetMigrationSubtaskRequest.Builder> implements GetMigrationSubtaskRequestOrBuilder
 A request to get a previously created migration subtasks.
 
Protobuf type google.cloud.bigquery.migration.v2.GetMigrationSubtaskRequest
  • 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<GetMigrationSubtaskRequest.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<GetMigrationSubtaskRequest.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<GetMigrationSubtaskRequest.Builder>
    • getDefaultInstanceForType

      public GetMigrationSubtaskRequest 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 GetMigrationSubtaskRequest buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public GetMigrationSubtaskRequest.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<GetMigrationSubtaskRequest.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<GetMigrationSubtaskRequest.Builder>
    • mergeFrom

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

      public String getName()
       Required. The unique identifier for the migration subtask.
       Example: `projects/123/locations/us/workflows/1234/subtasks/543`
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getName in interface GetMigrationSubtaskRequestOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Required. The unique identifier for the migration subtask.
       Example: `projects/123/locations/us/workflows/1234/subtasks/543`
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getNameBytes in interface GetMigrationSubtaskRequestOrBuilder
      Returns:
      The bytes for name.
    • setName

       Required. The unique identifier for the migration subtask.
       Example: `projects/123/locations/us/workflows/1234/subtasks/543`
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

       Required. The unique identifier for the migration subtask.
       Example: `projects/123/locations/us/workflows/1234/subtasks/543`
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setNameBytes

      public GetMigrationSubtaskRequest.Builder setNameBytes(com.google.protobuf.ByteString value)
       Required. The unique identifier for the migration subtask.
       Example: `projects/123/locations/us/workflows/1234/subtasks/543`
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • hasReadMask

      public boolean hasReadMask()
       Optional. The list of fields to be retrieved.
       
      .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasReadMask in interface GetMigrationSubtaskRequestOrBuilder
      Returns:
      Whether the readMask field is set.
    • getReadMask

      public com.google.protobuf.FieldMask getReadMask()
       Optional. The list of fields to be retrieved.
       
      .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getReadMask in interface GetMigrationSubtaskRequestOrBuilder
      Returns:
      The readMask.
    • setReadMask

      public GetMigrationSubtaskRequest.Builder setReadMask(com.google.protobuf.FieldMask value)
       Optional. The list of fields to be retrieved.
       
      .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
    • setReadMask

      public GetMigrationSubtaskRequest.Builder setReadMask(com.google.protobuf.FieldMask.Builder builderForValue)
       Optional. The list of fields to be retrieved.
       
      .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
    • mergeReadMask

      public GetMigrationSubtaskRequest.Builder mergeReadMask(com.google.protobuf.FieldMask value)
       Optional. The list of fields to be retrieved.
       
      .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
    • clearReadMask

      public GetMigrationSubtaskRequest.Builder clearReadMask()
       Optional. The list of fields to be retrieved.
       
      .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getReadMaskBuilder

      public com.google.protobuf.FieldMask.Builder getReadMaskBuilder()
       Optional. The list of fields to be retrieved.
       
      .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getReadMaskOrBuilder

      public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder()
       Optional. The list of fields to be retrieved.
       
      .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getReadMaskOrBuilder in interface GetMigrationSubtaskRequestOrBuilder