Class ListMigrationSubtasksResponse.Builder

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

public static final class ListMigrationSubtasksResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<ListMigrationSubtasksResponse.Builder> implements ListMigrationSubtasksResponseOrBuilder
 Response object for a `ListMigrationSubtasks` call.
 
Protobuf type google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse
  • 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<ListMigrationSubtasksResponse.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<ListMigrationSubtasksResponse.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<ListMigrationSubtasksResponse.Builder>
    • getDefaultInstanceForType

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

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

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

      public List<MigrationSubtask> getMigrationSubtasksList()
       The migration subtasks for the specified task.
       
      repeated .google.cloud.bigquery.migration.v2.MigrationSubtask migration_subtasks = 1;
      Specified by:
      getMigrationSubtasksList in interface ListMigrationSubtasksResponseOrBuilder
    • getMigrationSubtasksCount

      public int getMigrationSubtasksCount()
       The migration subtasks for the specified task.
       
      repeated .google.cloud.bigquery.migration.v2.MigrationSubtask migration_subtasks = 1;
      Specified by:
      getMigrationSubtasksCount in interface ListMigrationSubtasksResponseOrBuilder
    • getMigrationSubtasks

      public MigrationSubtask getMigrationSubtasks(int index)
       The migration subtasks for the specified task.
       
      repeated .google.cloud.bigquery.migration.v2.MigrationSubtask migration_subtasks = 1;
      Specified by:
      getMigrationSubtasks in interface ListMigrationSubtasksResponseOrBuilder
    • setMigrationSubtasks

      public ListMigrationSubtasksResponse.Builder setMigrationSubtasks(int index, MigrationSubtask value)
       The migration subtasks for the specified task.
       
      repeated .google.cloud.bigquery.migration.v2.MigrationSubtask migration_subtasks = 1;
    • setMigrationSubtasks

      public ListMigrationSubtasksResponse.Builder setMigrationSubtasks(int index, MigrationSubtask.Builder builderForValue)
       The migration subtasks for the specified task.
       
      repeated .google.cloud.bigquery.migration.v2.MigrationSubtask migration_subtasks = 1;
    • addMigrationSubtasks

      public ListMigrationSubtasksResponse.Builder addMigrationSubtasks(MigrationSubtask value)
       The migration subtasks for the specified task.
       
      repeated .google.cloud.bigquery.migration.v2.MigrationSubtask migration_subtasks = 1;
    • addMigrationSubtasks

      public ListMigrationSubtasksResponse.Builder addMigrationSubtasks(int index, MigrationSubtask value)
       The migration subtasks for the specified task.
       
      repeated .google.cloud.bigquery.migration.v2.MigrationSubtask migration_subtasks = 1;
    • addMigrationSubtasks

      public ListMigrationSubtasksResponse.Builder addMigrationSubtasks(MigrationSubtask.Builder builderForValue)
       The migration subtasks for the specified task.
       
      repeated .google.cloud.bigquery.migration.v2.MigrationSubtask migration_subtasks = 1;
    • addMigrationSubtasks

      public ListMigrationSubtasksResponse.Builder addMigrationSubtasks(int index, MigrationSubtask.Builder builderForValue)
       The migration subtasks for the specified task.
       
      repeated .google.cloud.bigquery.migration.v2.MigrationSubtask migration_subtasks = 1;
    • addAllMigrationSubtasks

      public ListMigrationSubtasksResponse.Builder addAllMigrationSubtasks(Iterable<? extends MigrationSubtask> values)
       The migration subtasks for the specified task.
       
      repeated .google.cloud.bigquery.migration.v2.MigrationSubtask migration_subtasks = 1;
    • clearMigrationSubtasks

      public ListMigrationSubtasksResponse.Builder clearMigrationSubtasks()
       The migration subtasks for the specified task.
       
      repeated .google.cloud.bigquery.migration.v2.MigrationSubtask migration_subtasks = 1;
    • removeMigrationSubtasks

      public ListMigrationSubtasksResponse.Builder removeMigrationSubtasks(int index)
       The migration subtasks for the specified task.
       
      repeated .google.cloud.bigquery.migration.v2.MigrationSubtask migration_subtasks = 1;
    • getMigrationSubtasksBuilder

      public MigrationSubtask.Builder getMigrationSubtasksBuilder(int index)
       The migration subtasks for the specified task.
       
      repeated .google.cloud.bigquery.migration.v2.MigrationSubtask migration_subtasks = 1;
    • getMigrationSubtasksOrBuilder

      public MigrationSubtaskOrBuilder getMigrationSubtasksOrBuilder(int index)
       The migration subtasks for the specified task.
       
      repeated .google.cloud.bigquery.migration.v2.MigrationSubtask migration_subtasks = 1;
      Specified by:
      getMigrationSubtasksOrBuilder in interface ListMigrationSubtasksResponseOrBuilder
    • getMigrationSubtasksOrBuilderList

      public List<? extends MigrationSubtaskOrBuilder> getMigrationSubtasksOrBuilderList()
       The migration subtasks for the specified task.
       
      repeated .google.cloud.bigquery.migration.v2.MigrationSubtask migration_subtasks = 1;
      Specified by:
      getMigrationSubtasksOrBuilderList in interface ListMigrationSubtasksResponseOrBuilder
    • addMigrationSubtasksBuilder

      public MigrationSubtask.Builder addMigrationSubtasksBuilder()
       The migration subtasks for the specified task.
       
      repeated .google.cloud.bigquery.migration.v2.MigrationSubtask migration_subtasks = 1;
    • addMigrationSubtasksBuilder

      public MigrationSubtask.Builder addMigrationSubtasksBuilder(int index)
       The migration subtasks for the specified task.
       
      repeated .google.cloud.bigquery.migration.v2.MigrationSubtask migration_subtasks = 1;
    • getMigrationSubtasksBuilderList

      public List<MigrationSubtask.Builder> getMigrationSubtasksBuilderList()
       The migration subtasks for the specified task.
       
      repeated .google.cloud.bigquery.migration.v2.MigrationSubtask migration_subtasks = 1;
    • getNextPageToken

      public String getNextPageToken()
       A token, which can be sent as `page_token` to retrieve the next page.
       If this field is omitted, there are no subsequent pages.
       
      string next_page_token = 2;
      Specified by:
      getNextPageToken in interface ListMigrationSubtasksResponseOrBuilder
      Returns:
      The nextPageToken.
    • getNextPageTokenBytes

      public com.google.protobuf.ByteString getNextPageTokenBytes()
       A token, which can be sent as `page_token` to retrieve the next page.
       If this field is omitted, there are no subsequent pages.
       
      string next_page_token = 2;
      Specified by:
      getNextPageTokenBytes in interface ListMigrationSubtasksResponseOrBuilder
      Returns:
      The bytes for nextPageToken.
    • setNextPageToken

      public ListMigrationSubtasksResponse.Builder setNextPageToken(String value)
       A token, which can be sent as `page_token` to retrieve the next page.
       If this field is omitted, there are no subsequent pages.
       
      string next_page_token = 2;
      Parameters:
      value - The nextPageToken to set.
      Returns:
      This builder for chaining.
    • clearNextPageToken

      public ListMigrationSubtasksResponse.Builder clearNextPageToken()
       A token, which can be sent as `page_token` to retrieve the next page.
       If this field is omitted, there are no subsequent pages.
       
      string next_page_token = 2;
      Returns:
      This builder for chaining.
    • setNextPageTokenBytes

      public ListMigrationSubtasksResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value)
       A token, which can be sent as `page_token` to retrieve the next page.
       If this field is omitted, there are no subsequent pages.
       
      string next_page_token = 2;
      Parameters:
      value - The bytes for nextPageToken to set.
      Returns:
      This builder for chaining.