Class ListGlossaryCategoriesResponse.Builder

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

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

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

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

      public ListGlossaryCategoriesResponse.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<ListGlossaryCategoriesResponse.Builder>
      Throws:
      IOException
    • getCategoriesList

      public List<GlossaryCategory> getCategoriesList()
       Lists the GlossaryCategories in the specified parent.
       
      repeated .google.cloud.dataplex.v1.GlossaryCategory categories = 1;
      Specified by:
      getCategoriesList in interface ListGlossaryCategoriesResponseOrBuilder
    • getCategoriesCount

      public int getCategoriesCount()
       Lists the GlossaryCategories in the specified parent.
       
      repeated .google.cloud.dataplex.v1.GlossaryCategory categories = 1;
      Specified by:
      getCategoriesCount in interface ListGlossaryCategoriesResponseOrBuilder
    • getCategories

      public GlossaryCategory getCategories(int index)
       Lists the GlossaryCategories in the specified parent.
       
      repeated .google.cloud.dataplex.v1.GlossaryCategory categories = 1;
      Specified by:
      getCategories in interface ListGlossaryCategoriesResponseOrBuilder
    • setCategories

      public ListGlossaryCategoriesResponse.Builder setCategories(int index, GlossaryCategory value)
       Lists the GlossaryCategories in the specified parent.
       
      repeated .google.cloud.dataplex.v1.GlossaryCategory categories = 1;
    • setCategories

      public ListGlossaryCategoriesResponse.Builder setCategories(int index, GlossaryCategory.Builder builderForValue)
       Lists the GlossaryCategories in the specified parent.
       
      repeated .google.cloud.dataplex.v1.GlossaryCategory categories = 1;
    • addCategories

       Lists the GlossaryCategories in the specified parent.
       
      repeated .google.cloud.dataplex.v1.GlossaryCategory categories = 1;
    • addCategories

      public ListGlossaryCategoriesResponse.Builder addCategories(int index, GlossaryCategory value)
       Lists the GlossaryCategories in the specified parent.
       
      repeated .google.cloud.dataplex.v1.GlossaryCategory categories = 1;
    • addCategories

      public ListGlossaryCategoriesResponse.Builder addCategories(GlossaryCategory.Builder builderForValue)
       Lists the GlossaryCategories in the specified parent.
       
      repeated .google.cloud.dataplex.v1.GlossaryCategory categories = 1;
    • addCategories

      public ListGlossaryCategoriesResponse.Builder addCategories(int index, GlossaryCategory.Builder builderForValue)
       Lists the GlossaryCategories in the specified parent.
       
      repeated .google.cloud.dataplex.v1.GlossaryCategory categories = 1;
    • addAllCategories

      public ListGlossaryCategoriesResponse.Builder addAllCategories(Iterable<? extends GlossaryCategory> values)
       Lists the GlossaryCategories in the specified parent.
       
      repeated .google.cloud.dataplex.v1.GlossaryCategory categories = 1;
    • clearCategories

      public ListGlossaryCategoriesResponse.Builder clearCategories()
       Lists the GlossaryCategories in the specified parent.
       
      repeated .google.cloud.dataplex.v1.GlossaryCategory categories = 1;
    • removeCategories

      public ListGlossaryCategoriesResponse.Builder removeCategories(int index)
       Lists the GlossaryCategories in the specified parent.
       
      repeated .google.cloud.dataplex.v1.GlossaryCategory categories = 1;
    • getCategoriesBuilder

      public GlossaryCategory.Builder getCategoriesBuilder(int index)
       Lists the GlossaryCategories in the specified parent.
       
      repeated .google.cloud.dataplex.v1.GlossaryCategory categories = 1;
    • getCategoriesOrBuilder

      public GlossaryCategoryOrBuilder getCategoriesOrBuilder(int index)
       Lists the GlossaryCategories in the specified parent.
       
      repeated .google.cloud.dataplex.v1.GlossaryCategory categories = 1;
      Specified by:
      getCategoriesOrBuilder in interface ListGlossaryCategoriesResponseOrBuilder
    • getCategoriesOrBuilderList

      public List<? extends GlossaryCategoryOrBuilder> getCategoriesOrBuilderList()
       Lists the GlossaryCategories in the specified parent.
       
      repeated .google.cloud.dataplex.v1.GlossaryCategory categories = 1;
      Specified by:
      getCategoriesOrBuilderList in interface ListGlossaryCategoriesResponseOrBuilder
    • addCategoriesBuilder

      public GlossaryCategory.Builder addCategoriesBuilder()
       Lists the GlossaryCategories in the specified parent.
       
      repeated .google.cloud.dataplex.v1.GlossaryCategory categories = 1;
    • addCategoriesBuilder

      public GlossaryCategory.Builder addCategoriesBuilder(int index)
       Lists the GlossaryCategories in the specified parent.
       
      repeated .google.cloud.dataplex.v1.GlossaryCategory categories = 1;
    • getCategoriesBuilderList

      public List<GlossaryCategory.Builder> getCategoriesBuilderList()
       Lists the GlossaryCategories in the specified parent.
       
      repeated .google.cloud.dataplex.v1.GlossaryCategory categories = 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 ListGlossaryCategoriesResponseOrBuilder
      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 ListGlossaryCategoriesResponseOrBuilder
      Returns:
      The bytes for nextPageToken.
    • setNextPageToken

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

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

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