Class ListGlossariesResponse.Builder

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

public static final class ListGlossariesResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<ListGlossariesResponse.Builder> implements ListGlossariesResponseOrBuilder
 List Glossaries Response
 
Protobuf type google.cloud.dataplex.v1.ListGlossariesResponse
  • 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<ListGlossariesResponse.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<ListGlossariesResponse.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<ListGlossariesResponse.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public ListGlossariesResponse.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<ListGlossariesResponse.Builder>
      Throws:
      IOException
    • getGlossariesList

      public List<Glossary> getGlossariesList()
       Lists the Glossaries in the specified parent.
       
      repeated .google.cloud.dataplex.v1.Glossary glossaries = 1;
      Specified by:
      getGlossariesList in interface ListGlossariesResponseOrBuilder
    • getGlossariesCount

      public int getGlossariesCount()
       Lists the Glossaries in the specified parent.
       
      repeated .google.cloud.dataplex.v1.Glossary glossaries = 1;
      Specified by:
      getGlossariesCount in interface ListGlossariesResponseOrBuilder
    • getGlossaries

      public Glossary getGlossaries(int index)
       Lists the Glossaries in the specified parent.
       
      repeated .google.cloud.dataplex.v1.Glossary glossaries = 1;
      Specified by:
      getGlossaries in interface ListGlossariesResponseOrBuilder
    • setGlossaries

      public ListGlossariesResponse.Builder setGlossaries(int index, Glossary value)
       Lists the Glossaries in the specified parent.
       
      repeated .google.cloud.dataplex.v1.Glossary glossaries = 1;
    • setGlossaries

      public ListGlossariesResponse.Builder setGlossaries(int index, Glossary.Builder builderForValue)
       Lists the Glossaries in the specified parent.
       
      repeated .google.cloud.dataplex.v1.Glossary glossaries = 1;
    • addGlossaries

      public ListGlossariesResponse.Builder addGlossaries(Glossary value)
       Lists the Glossaries in the specified parent.
       
      repeated .google.cloud.dataplex.v1.Glossary glossaries = 1;
    • addGlossaries

      public ListGlossariesResponse.Builder addGlossaries(int index, Glossary value)
       Lists the Glossaries in the specified parent.
       
      repeated .google.cloud.dataplex.v1.Glossary glossaries = 1;
    • addGlossaries

      public ListGlossariesResponse.Builder addGlossaries(Glossary.Builder builderForValue)
       Lists the Glossaries in the specified parent.
       
      repeated .google.cloud.dataplex.v1.Glossary glossaries = 1;
    • addGlossaries

      public ListGlossariesResponse.Builder addGlossaries(int index, Glossary.Builder builderForValue)
       Lists the Glossaries in the specified parent.
       
      repeated .google.cloud.dataplex.v1.Glossary glossaries = 1;
    • addAllGlossaries

      public ListGlossariesResponse.Builder addAllGlossaries(Iterable<? extends Glossary> values)
       Lists the Glossaries in the specified parent.
       
      repeated .google.cloud.dataplex.v1.Glossary glossaries = 1;
    • clearGlossaries

      public ListGlossariesResponse.Builder clearGlossaries()
       Lists the Glossaries in the specified parent.
       
      repeated .google.cloud.dataplex.v1.Glossary glossaries = 1;
    • removeGlossaries

      public ListGlossariesResponse.Builder removeGlossaries(int index)
       Lists the Glossaries in the specified parent.
       
      repeated .google.cloud.dataplex.v1.Glossary glossaries = 1;
    • getGlossariesBuilder

      public Glossary.Builder getGlossariesBuilder(int index)
       Lists the Glossaries in the specified parent.
       
      repeated .google.cloud.dataplex.v1.Glossary glossaries = 1;
    • getGlossariesOrBuilder

      public GlossaryOrBuilder getGlossariesOrBuilder(int index)
       Lists the Glossaries in the specified parent.
       
      repeated .google.cloud.dataplex.v1.Glossary glossaries = 1;
      Specified by:
      getGlossariesOrBuilder in interface ListGlossariesResponseOrBuilder
    • getGlossariesOrBuilderList

      public List<? extends GlossaryOrBuilder> getGlossariesOrBuilderList()
       Lists the Glossaries in the specified parent.
       
      repeated .google.cloud.dataplex.v1.Glossary glossaries = 1;
      Specified by:
      getGlossariesOrBuilderList in interface ListGlossariesResponseOrBuilder
    • addGlossariesBuilder

      public Glossary.Builder addGlossariesBuilder()
       Lists the Glossaries in the specified parent.
       
      repeated .google.cloud.dataplex.v1.Glossary glossaries = 1;
    • addGlossariesBuilder

      public Glossary.Builder addGlossariesBuilder(int index)
       Lists the Glossaries in the specified parent.
       
      repeated .google.cloud.dataplex.v1.Glossary glossaries = 1;
    • getGlossariesBuilderList

      public List<Glossary.Builder> getGlossariesBuilderList()
       Lists the Glossaries in the specified parent.
       
      repeated .google.cloud.dataplex.v1.Glossary glossaries = 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 ListGlossariesResponseOrBuilder
      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 ListGlossariesResponseOrBuilder
      Returns:
      The bytes for nextPageToken.
    • setNextPageToken

      public ListGlossariesResponse.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 ListGlossariesResponse.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 ListGlossariesResponse.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.
    • getUnreachableLocationsList

      public com.google.protobuf.ProtocolStringList getUnreachableLocationsList()
       Locations that the service couldn't reach.
       
      repeated string unreachable_locations = 3;
      Specified by:
      getUnreachableLocationsList in interface ListGlossariesResponseOrBuilder
      Returns:
      A list containing the unreachableLocations.
    • getUnreachableLocationsCount

      public int getUnreachableLocationsCount()
       Locations that the service couldn't reach.
       
      repeated string unreachable_locations = 3;
      Specified by:
      getUnreachableLocationsCount in interface ListGlossariesResponseOrBuilder
      Returns:
      The count of unreachableLocations.
    • getUnreachableLocations

      public String getUnreachableLocations(int index)
       Locations that the service couldn't reach.
       
      repeated string unreachable_locations = 3;
      Specified by:
      getUnreachableLocations in interface ListGlossariesResponseOrBuilder
      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 the service couldn't reach.
       
      repeated string unreachable_locations = 3;
      Specified by:
      getUnreachableLocationsBytes in interface ListGlossariesResponseOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the unreachableLocations at the given index.
    • setUnreachableLocations

      public ListGlossariesResponse.Builder setUnreachableLocations(int index, String value)
       Locations that the service couldn't reach.
       
      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 ListGlossariesResponse.Builder addUnreachableLocations(String value)
       Locations that the service couldn't reach.
       
      repeated string unreachable_locations = 3;
      Parameters:
      value - The unreachableLocations to add.
      Returns:
      This builder for chaining.
    • addAllUnreachableLocations

      public ListGlossariesResponse.Builder addAllUnreachableLocations(Iterable<String> values)
       Locations that the service couldn't reach.
       
      repeated string unreachable_locations = 3;
      Parameters:
      values - The unreachableLocations to add.
      Returns:
      This builder for chaining.
    • clearUnreachableLocations

      public ListGlossariesResponse.Builder clearUnreachableLocations()
       Locations that the service couldn't reach.
       
      repeated string unreachable_locations = 3;
      Returns:
      This builder for chaining.
    • addUnreachableLocationsBytes

      public ListGlossariesResponse.Builder addUnreachableLocationsBytes(com.google.protobuf.ByteString value)
       Locations that the service couldn't reach.
       
      repeated string unreachable_locations = 3;
      Parameters:
      value - The bytes of the unreachableLocations to add.
      Returns:
      This builder for chaining.