Class ListMigrationWorkflowsResponse.Builder

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

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

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

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

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

      public List<MigrationWorkflow> getMigrationWorkflowsList()
       The migration workflows for the specified project / location.
       
      repeated .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflows = 1;
      Specified by:
      getMigrationWorkflowsList in interface ListMigrationWorkflowsResponseOrBuilder
    • getMigrationWorkflowsCount

      public int getMigrationWorkflowsCount()
       The migration workflows for the specified project / location.
       
      repeated .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflows = 1;
      Specified by:
      getMigrationWorkflowsCount in interface ListMigrationWorkflowsResponseOrBuilder
    • getMigrationWorkflows

      public MigrationWorkflow getMigrationWorkflows(int index)
       The migration workflows for the specified project / location.
       
      repeated .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflows = 1;
      Specified by:
      getMigrationWorkflows in interface ListMigrationWorkflowsResponseOrBuilder
    • setMigrationWorkflows

      public ListMigrationWorkflowsResponse.Builder setMigrationWorkflows(int index, MigrationWorkflow value)
       The migration workflows for the specified project / location.
       
      repeated .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflows = 1;
    • setMigrationWorkflows

      public ListMigrationWorkflowsResponse.Builder setMigrationWorkflows(int index, MigrationWorkflow.Builder builderForValue)
       The migration workflows for the specified project / location.
       
      repeated .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflows = 1;
    • addMigrationWorkflows

      public ListMigrationWorkflowsResponse.Builder addMigrationWorkflows(MigrationWorkflow value)
       The migration workflows for the specified project / location.
       
      repeated .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflows = 1;
    • addMigrationWorkflows

      public ListMigrationWorkflowsResponse.Builder addMigrationWorkflows(int index, MigrationWorkflow value)
       The migration workflows for the specified project / location.
       
      repeated .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflows = 1;
    • addMigrationWorkflows

      public ListMigrationWorkflowsResponse.Builder addMigrationWorkflows(MigrationWorkflow.Builder builderForValue)
       The migration workflows for the specified project / location.
       
      repeated .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflows = 1;
    • addMigrationWorkflows

      public ListMigrationWorkflowsResponse.Builder addMigrationWorkflows(int index, MigrationWorkflow.Builder builderForValue)
       The migration workflows for the specified project / location.
       
      repeated .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflows = 1;
    • addAllMigrationWorkflows

      public ListMigrationWorkflowsResponse.Builder addAllMigrationWorkflows(Iterable<? extends MigrationWorkflow> values)
       The migration workflows for the specified project / location.
       
      repeated .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflows = 1;
    • clearMigrationWorkflows

      public ListMigrationWorkflowsResponse.Builder clearMigrationWorkflows()
       The migration workflows for the specified project / location.
       
      repeated .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflows = 1;
    • removeMigrationWorkflows

      public ListMigrationWorkflowsResponse.Builder removeMigrationWorkflows(int index)
       The migration workflows for the specified project / location.
       
      repeated .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflows = 1;
    • getMigrationWorkflowsBuilder

      public MigrationWorkflow.Builder getMigrationWorkflowsBuilder(int index)
       The migration workflows for the specified project / location.
       
      repeated .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflows = 1;
    • getMigrationWorkflowsOrBuilder

      public MigrationWorkflowOrBuilder getMigrationWorkflowsOrBuilder(int index)
       The migration workflows for the specified project / location.
       
      repeated .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflows = 1;
      Specified by:
      getMigrationWorkflowsOrBuilder in interface ListMigrationWorkflowsResponseOrBuilder
    • getMigrationWorkflowsOrBuilderList

      public List<? extends MigrationWorkflowOrBuilder> getMigrationWorkflowsOrBuilderList()
       The migration workflows for the specified project / location.
       
      repeated .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflows = 1;
      Specified by:
      getMigrationWorkflowsOrBuilderList in interface ListMigrationWorkflowsResponseOrBuilder
    • addMigrationWorkflowsBuilder

      public MigrationWorkflow.Builder addMigrationWorkflowsBuilder()
       The migration workflows for the specified project / location.
       
      repeated .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflows = 1;
    • addMigrationWorkflowsBuilder

      public MigrationWorkflow.Builder addMigrationWorkflowsBuilder(int index)
       The migration workflows for the specified project / location.
       
      repeated .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflows = 1;
    • getMigrationWorkflowsBuilderList

      public List<MigrationWorkflow.Builder> getMigrationWorkflowsBuilderList()
       The migration workflows for the specified project / location.
       
      repeated .google.cloud.bigquery.migration.v2.MigrationWorkflow migration_workflows = 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 ListMigrationWorkflowsResponseOrBuilder
      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 ListMigrationWorkflowsResponseOrBuilder
      Returns:
      The bytes for nextPageToken.
    • setNextPageToken

      public ListMigrationWorkflowsResponse.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 ListMigrationWorkflowsResponse.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 ListMigrationWorkflowsResponse.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.