Class ListGlossaryTermsResponse.Builder

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

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

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

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

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

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

      public ListGlossaryTermsResponse.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<ListGlossaryTermsResponse.Builder>
      Throws:
      IOException
    • getTermsList

      public List<GlossaryTerm> getTermsList()
       Lists the GlossaryTerms in the specified parent.
       
      repeated .google.cloud.dataplex.v1.GlossaryTerm terms = 1;
      Specified by:
      getTermsList in interface ListGlossaryTermsResponseOrBuilder
    • getTermsCount

      public int getTermsCount()
       Lists the GlossaryTerms in the specified parent.
       
      repeated .google.cloud.dataplex.v1.GlossaryTerm terms = 1;
      Specified by:
      getTermsCount in interface ListGlossaryTermsResponseOrBuilder
    • getTerms

      public GlossaryTerm getTerms(int index)
       Lists the GlossaryTerms in the specified parent.
       
      repeated .google.cloud.dataplex.v1.GlossaryTerm terms = 1;
      Specified by:
      getTerms in interface ListGlossaryTermsResponseOrBuilder
    • setTerms

      public ListGlossaryTermsResponse.Builder setTerms(int index, GlossaryTerm value)
       Lists the GlossaryTerms in the specified parent.
       
      repeated .google.cloud.dataplex.v1.GlossaryTerm terms = 1;
    • setTerms

      public ListGlossaryTermsResponse.Builder setTerms(int index, GlossaryTerm.Builder builderForValue)
       Lists the GlossaryTerms in the specified parent.
       
      repeated .google.cloud.dataplex.v1.GlossaryTerm terms = 1;
    • addTerms

       Lists the GlossaryTerms in the specified parent.
       
      repeated .google.cloud.dataplex.v1.GlossaryTerm terms = 1;
    • addTerms

      public ListGlossaryTermsResponse.Builder addTerms(int index, GlossaryTerm value)
       Lists the GlossaryTerms in the specified parent.
       
      repeated .google.cloud.dataplex.v1.GlossaryTerm terms = 1;
    • addTerms

      public ListGlossaryTermsResponse.Builder addTerms(GlossaryTerm.Builder builderForValue)
       Lists the GlossaryTerms in the specified parent.
       
      repeated .google.cloud.dataplex.v1.GlossaryTerm terms = 1;
    • addTerms

      public ListGlossaryTermsResponse.Builder addTerms(int index, GlossaryTerm.Builder builderForValue)
       Lists the GlossaryTerms in the specified parent.
       
      repeated .google.cloud.dataplex.v1.GlossaryTerm terms = 1;
    • addAllTerms

      public ListGlossaryTermsResponse.Builder addAllTerms(Iterable<? extends GlossaryTerm> values)
       Lists the GlossaryTerms in the specified parent.
       
      repeated .google.cloud.dataplex.v1.GlossaryTerm terms = 1;
    • clearTerms

      public ListGlossaryTermsResponse.Builder clearTerms()
       Lists the GlossaryTerms in the specified parent.
       
      repeated .google.cloud.dataplex.v1.GlossaryTerm terms = 1;
    • removeTerms

      public ListGlossaryTermsResponse.Builder removeTerms(int index)
       Lists the GlossaryTerms in the specified parent.
       
      repeated .google.cloud.dataplex.v1.GlossaryTerm terms = 1;
    • getTermsBuilder

      public GlossaryTerm.Builder getTermsBuilder(int index)
       Lists the GlossaryTerms in the specified parent.
       
      repeated .google.cloud.dataplex.v1.GlossaryTerm terms = 1;
    • getTermsOrBuilder

      public GlossaryTermOrBuilder getTermsOrBuilder(int index)
       Lists the GlossaryTerms in the specified parent.
       
      repeated .google.cloud.dataplex.v1.GlossaryTerm terms = 1;
      Specified by:
      getTermsOrBuilder in interface ListGlossaryTermsResponseOrBuilder
    • getTermsOrBuilderList

      public List<? extends GlossaryTermOrBuilder> getTermsOrBuilderList()
       Lists the GlossaryTerms in the specified parent.
       
      repeated .google.cloud.dataplex.v1.GlossaryTerm terms = 1;
      Specified by:
      getTermsOrBuilderList in interface ListGlossaryTermsResponseOrBuilder
    • addTermsBuilder

      public GlossaryTerm.Builder addTermsBuilder()
       Lists the GlossaryTerms in the specified parent.
       
      repeated .google.cloud.dataplex.v1.GlossaryTerm terms = 1;
    • addTermsBuilder

      public GlossaryTerm.Builder addTermsBuilder(int index)
       Lists the GlossaryTerms in the specified parent.
       
      repeated .google.cloud.dataplex.v1.GlossaryTerm terms = 1;
    • getTermsBuilderList

      public List<GlossaryTerm.Builder> getTermsBuilderList()
       Lists the GlossaryTerms in the specified parent.
       
      repeated .google.cloud.dataplex.v1.GlossaryTerm terms = 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 ListGlossaryTermsResponseOrBuilder
      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 ListGlossaryTermsResponseOrBuilder
      Returns:
      The bytes for nextPageToken.
    • setNextPageToken

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

      public ListGlossaryTermsResponse.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 ListGlossaryTermsResponse.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 ListGlossaryTermsResponse.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 ListGlossaryTermsResponse.Builder clearUnreachableLocations()
       Locations that the service couldn't reach.
       
      repeated string unreachable_locations = 3;
      Returns:
      This builder for chaining.
    • addUnreachableLocationsBytes

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