Class ListTasksResponse.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ListTasksResponse.Builder>
com.google.cloud.dataplex.v1.ListTasksResponse.Builder
All Implemented Interfaces:
ListTasksResponseOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
ListTasksResponse

public static final class ListTasksResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<ListTasksResponse.Builder> implements ListTasksResponseOrBuilder
 List tasks response.
 
Protobuf type google.cloud.dataplex.v1.ListTasksResponse
  • 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<ListTasksResponse.Builder>
    • clear

      public ListTasksResponse.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<ListTasksResponse.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<ListTasksResponse.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public ListTasksResponse.Builder mergeFrom(ListTasksResponse other)
    • isInitialized

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

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

      public List<Task> getTasksList()
       Tasks under the given parent lake.
       
      repeated .google.cloud.dataplex.v1.Task tasks = 1;
      Specified by:
      getTasksList in interface ListTasksResponseOrBuilder
    • getTasksCount

      public int getTasksCount()
       Tasks under the given parent lake.
       
      repeated .google.cloud.dataplex.v1.Task tasks = 1;
      Specified by:
      getTasksCount in interface ListTasksResponseOrBuilder
    • getTasks

      public Task getTasks(int index)
       Tasks under the given parent lake.
       
      repeated .google.cloud.dataplex.v1.Task tasks = 1;
      Specified by:
      getTasks in interface ListTasksResponseOrBuilder
    • setTasks

      public ListTasksResponse.Builder setTasks(int index, Task value)
       Tasks under the given parent lake.
       
      repeated .google.cloud.dataplex.v1.Task tasks = 1;
    • setTasks

      public ListTasksResponse.Builder setTasks(int index, Task.Builder builderForValue)
       Tasks under the given parent lake.
       
      repeated .google.cloud.dataplex.v1.Task tasks = 1;
    • addTasks

      public ListTasksResponse.Builder addTasks(Task value)
       Tasks under the given parent lake.
       
      repeated .google.cloud.dataplex.v1.Task tasks = 1;
    • addTasks

      public ListTasksResponse.Builder addTasks(int index, Task value)
       Tasks under the given parent lake.
       
      repeated .google.cloud.dataplex.v1.Task tasks = 1;
    • addTasks

      public ListTasksResponse.Builder addTasks(Task.Builder builderForValue)
       Tasks under the given parent lake.
       
      repeated .google.cloud.dataplex.v1.Task tasks = 1;
    • addTasks

      public ListTasksResponse.Builder addTasks(int index, Task.Builder builderForValue)
       Tasks under the given parent lake.
       
      repeated .google.cloud.dataplex.v1.Task tasks = 1;
    • addAllTasks

      public ListTasksResponse.Builder addAllTasks(Iterable<? extends Task> values)
       Tasks under the given parent lake.
       
      repeated .google.cloud.dataplex.v1.Task tasks = 1;
    • clearTasks

      public ListTasksResponse.Builder clearTasks()
       Tasks under the given parent lake.
       
      repeated .google.cloud.dataplex.v1.Task tasks = 1;
    • removeTasks

      public ListTasksResponse.Builder removeTasks(int index)
       Tasks under the given parent lake.
       
      repeated .google.cloud.dataplex.v1.Task tasks = 1;
    • getTasksBuilder

      public Task.Builder getTasksBuilder(int index)
       Tasks under the given parent lake.
       
      repeated .google.cloud.dataplex.v1.Task tasks = 1;
    • getTasksOrBuilder

      public TaskOrBuilder getTasksOrBuilder(int index)
       Tasks under the given parent lake.
       
      repeated .google.cloud.dataplex.v1.Task tasks = 1;
      Specified by:
      getTasksOrBuilder in interface ListTasksResponseOrBuilder
    • getTasksOrBuilderList

      public List<? extends TaskOrBuilder> getTasksOrBuilderList()
       Tasks under the given parent lake.
       
      repeated .google.cloud.dataplex.v1.Task tasks = 1;
      Specified by:
      getTasksOrBuilderList in interface ListTasksResponseOrBuilder
    • addTasksBuilder

      public Task.Builder addTasksBuilder()
       Tasks under the given parent lake.
       
      repeated .google.cloud.dataplex.v1.Task tasks = 1;
    • addTasksBuilder

      public Task.Builder addTasksBuilder(int index)
       Tasks under the given parent lake.
       
      repeated .google.cloud.dataplex.v1.Task tasks = 1;
    • getTasksBuilderList

      public List<Task.Builder> getTasksBuilderList()
       Tasks under the given parent lake.
       
      repeated .google.cloud.dataplex.v1.Task tasks = 1;
    • getNextPageToken

      public String getNextPageToken()
       Token to retrieve the next page of results, or empty if there are no more
       results in the list.
       
      string next_page_token = 2;
      Specified by:
      getNextPageToken in interface ListTasksResponseOrBuilder
      Returns:
      The nextPageToken.
    • getNextPageTokenBytes

      public com.google.protobuf.ByteString getNextPageTokenBytes()
       Token to retrieve the next page of results, or empty if there are no more
       results in the list.
       
      string next_page_token = 2;
      Specified by:
      getNextPageTokenBytes in interface ListTasksResponseOrBuilder
      Returns:
      The bytes for nextPageToken.
    • setNextPageToken

      public ListTasksResponse.Builder setNextPageToken(String value)
       Token to retrieve the next page of results, or empty if there are no more
       results in the list.
       
      string next_page_token = 2;
      Parameters:
      value - The nextPageToken to set.
      Returns:
      This builder for chaining.
    • clearNextPageToken

      public ListTasksResponse.Builder clearNextPageToken()
       Token to retrieve the next page of results, or empty if there are no more
       results in the list.
       
      string next_page_token = 2;
      Returns:
      This builder for chaining.
    • setNextPageTokenBytes

      public ListTasksResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value)
       Token to retrieve the next page of results, or empty if there are no more
       results in the list.
       
      string next_page_token = 2;
      Parameters:
      value - The bytes for nextPageToken to set.
      Returns:
      This builder for chaining.
    • getUnreachableLocationsList

      public com.google.protobuf.ProtocolStringList getUnreachableLocationsList()
       Locations that could not be reached.
       
      repeated string unreachable_locations = 3;
      Specified by:
      getUnreachableLocationsList in interface ListTasksResponseOrBuilder
      Returns:
      A list containing the unreachableLocations.
    • getUnreachableLocationsCount

      public int getUnreachableLocationsCount()
       Locations that could not be reached.
       
      repeated string unreachable_locations = 3;
      Specified by:
      getUnreachableLocationsCount in interface ListTasksResponseOrBuilder
      Returns:
      The count of unreachableLocations.
    • getUnreachableLocations

      public String getUnreachableLocations(int index)
       Locations that could not be reached.
       
      repeated string unreachable_locations = 3;
      Specified by:
      getUnreachableLocations in interface ListTasksResponseOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The unreachableLocations at the given index.
    • getUnreachableLocationsBytes

      public com.google.protobuf.ByteString getUnreachableLocationsBytes(int index)
       Locations that could not be reached.
       
      repeated string unreachable_locations = 3;
      Specified by:
      getUnreachableLocationsBytes in interface ListTasksResponseOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the unreachableLocations at the given index.
    • setUnreachableLocations

      public ListTasksResponse.Builder setUnreachableLocations(int index, String value)
       Locations that could not be reached.
       
      repeated string unreachable_locations = 3;
      Parameters:
      index - The index to set the value at.
      value - The unreachableLocations to set.
      Returns:
      This builder for chaining.
    • addUnreachableLocations

      public ListTasksResponse.Builder addUnreachableLocations(String value)
       Locations that could not be reached.
       
      repeated string unreachable_locations = 3;
      Parameters:
      value - The unreachableLocations to add.
      Returns:
      This builder for chaining.
    • addAllUnreachableLocations

      public ListTasksResponse.Builder addAllUnreachableLocations(Iterable<String> values)
       Locations that could not be reached.
       
      repeated string unreachable_locations = 3;
      Parameters:
      values - The unreachableLocations to add.
      Returns:
      This builder for chaining.
    • clearUnreachableLocations

      public ListTasksResponse.Builder clearUnreachableLocations()
       Locations that could not be reached.
       
      repeated string unreachable_locations = 3;
      Returns:
      This builder for chaining.
    • addUnreachableLocationsBytes

      public ListTasksResponse.Builder addUnreachableLocationsBytes(com.google.protobuf.ByteString value)
       Locations that could not be reached.
       
      repeated string unreachable_locations = 3;
      Parameters:
      value - The bytes of the unreachableLocations to add.
      Returns:
      This builder for chaining.