Class ListLakesResponse.Builder

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

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

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

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

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

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

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

      public ListLakesResponse.Builder mergeFrom(ListLakesResponse other)
    • isInitialized

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

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

      public List<Lake> getLakesList()
       Lakes under the given parent location.
       
      repeated .google.cloud.dataplex.v1.Lake lakes = 1;
      Specified by:
      getLakesList in interface ListLakesResponseOrBuilder
    • getLakesCount

      public int getLakesCount()
       Lakes under the given parent location.
       
      repeated .google.cloud.dataplex.v1.Lake lakes = 1;
      Specified by:
      getLakesCount in interface ListLakesResponseOrBuilder
    • getLakes

      public Lake getLakes(int index)
       Lakes under the given parent location.
       
      repeated .google.cloud.dataplex.v1.Lake lakes = 1;
      Specified by:
      getLakes in interface ListLakesResponseOrBuilder
    • setLakes

      public ListLakesResponse.Builder setLakes(int index, Lake value)
       Lakes under the given parent location.
       
      repeated .google.cloud.dataplex.v1.Lake lakes = 1;
    • setLakes

      public ListLakesResponse.Builder setLakes(int index, Lake.Builder builderForValue)
       Lakes under the given parent location.
       
      repeated .google.cloud.dataplex.v1.Lake lakes = 1;
    • addLakes

      public ListLakesResponse.Builder addLakes(Lake value)
       Lakes under the given parent location.
       
      repeated .google.cloud.dataplex.v1.Lake lakes = 1;
    • addLakes

      public ListLakesResponse.Builder addLakes(int index, Lake value)
       Lakes under the given parent location.
       
      repeated .google.cloud.dataplex.v1.Lake lakes = 1;
    • addLakes

      public ListLakesResponse.Builder addLakes(Lake.Builder builderForValue)
       Lakes under the given parent location.
       
      repeated .google.cloud.dataplex.v1.Lake lakes = 1;
    • addLakes

      public ListLakesResponse.Builder addLakes(int index, Lake.Builder builderForValue)
       Lakes under the given parent location.
       
      repeated .google.cloud.dataplex.v1.Lake lakes = 1;
    • addAllLakes

      public ListLakesResponse.Builder addAllLakes(Iterable<? extends Lake> values)
       Lakes under the given parent location.
       
      repeated .google.cloud.dataplex.v1.Lake lakes = 1;
    • clearLakes

      public ListLakesResponse.Builder clearLakes()
       Lakes under the given parent location.
       
      repeated .google.cloud.dataplex.v1.Lake lakes = 1;
    • removeLakes

      public ListLakesResponse.Builder removeLakes(int index)
       Lakes under the given parent location.
       
      repeated .google.cloud.dataplex.v1.Lake lakes = 1;
    • getLakesBuilder

      public Lake.Builder getLakesBuilder(int index)
       Lakes under the given parent location.
       
      repeated .google.cloud.dataplex.v1.Lake lakes = 1;
    • getLakesOrBuilder

      public LakeOrBuilder getLakesOrBuilder(int index)
       Lakes under the given parent location.
       
      repeated .google.cloud.dataplex.v1.Lake lakes = 1;
      Specified by:
      getLakesOrBuilder in interface ListLakesResponseOrBuilder
    • getLakesOrBuilderList

      public List<? extends LakeOrBuilder> getLakesOrBuilderList()
       Lakes under the given parent location.
       
      repeated .google.cloud.dataplex.v1.Lake lakes = 1;
      Specified by:
      getLakesOrBuilderList in interface ListLakesResponseOrBuilder
    • addLakesBuilder

      public Lake.Builder addLakesBuilder()
       Lakes under the given parent location.
       
      repeated .google.cloud.dataplex.v1.Lake lakes = 1;
    • addLakesBuilder

      public Lake.Builder addLakesBuilder(int index)
       Lakes under the given parent location.
       
      repeated .google.cloud.dataplex.v1.Lake lakes = 1;
    • getLakesBuilderList

      public List<Lake.Builder> getLakesBuilderList()
       Lakes under the given parent location.
       
      repeated .google.cloud.dataplex.v1.Lake lakes = 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 ListLakesResponseOrBuilder
      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 ListLakesResponseOrBuilder
      Returns:
      The bytes for nextPageToken.
    • setNextPageToken

      public ListLakesResponse.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 ListLakesResponse.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 ListLakesResponse.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 ListLakesResponseOrBuilder
      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 ListLakesResponseOrBuilder
      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 ListLakesResponseOrBuilder
      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 ListLakesResponseOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the unreachableLocations at the given index.
    • setUnreachableLocations

      public ListLakesResponse.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 ListLakesResponse.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 ListLakesResponse.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 ListLakesResponse.Builder clearUnreachableLocations()
       Locations that could not be reached.
       
      repeated string unreachable_locations = 3;
      Returns:
      This builder for chaining.
    • addUnreachableLocationsBytes

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