Class ListHiveCatalogsResponse.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ListHiveCatalogsResponse.Builder>
com.google.cloud.biglake.hive.v1beta.ListHiveCatalogsResponse.Builder
All Implemented Interfaces:
ListHiveCatalogsResponseOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
ListHiveCatalogsResponse

public static final class ListHiveCatalogsResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<ListHiveCatalogsResponse.Builder> implements ListHiveCatalogsResponseOrBuilder
 Response message for the ListHiveCatalogs method.
 
Protobuf type google.cloud.biglake.hive.v1beta.ListHiveCatalogsResponse
  • 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<ListHiveCatalogsResponse.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<ListHiveCatalogsResponse.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<ListHiveCatalogsResponse.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public ListHiveCatalogsResponse.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<ListHiveCatalogsResponse.Builder>
      Throws:
      IOException
    • getCatalogsList

      public List<HiveCatalog> getCatalogsList()
       Output only. The catalogs from the specified project.
       
      repeated .google.cloud.biglake.hive.v1beta.HiveCatalog catalogs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCatalogsList in interface ListHiveCatalogsResponseOrBuilder
    • getCatalogsCount

      public int getCatalogsCount()
       Output only. The catalogs from the specified project.
       
      repeated .google.cloud.biglake.hive.v1beta.HiveCatalog catalogs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCatalogsCount in interface ListHiveCatalogsResponseOrBuilder
    • getCatalogs

      public HiveCatalog getCatalogs(int index)
       Output only. The catalogs from the specified project.
       
      repeated .google.cloud.biglake.hive.v1beta.HiveCatalog catalogs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCatalogs in interface ListHiveCatalogsResponseOrBuilder
    • setCatalogs

      public ListHiveCatalogsResponse.Builder setCatalogs(int index, HiveCatalog value)
       Output only. The catalogs from the specified project.
       
      repeated .google.cloud.biglake.hive.v1beta.HiveCatalog catalogs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setCatalogs

      public ListHiveCatalogsResponse.Builder setCatalogs(int index, HiveCatalog.Builder builderForValue)
       Output only. The catalogs from the specified project.
       
      repeated .google.cloud.biglake.hive.v1beta.HiveCatalog catalogs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addCatalogs

      public ListHiveCatalogsResponse.Builder addCatalogs(HiveCatalog value)
       Output only. The catalogs from the specified project.
       
      repeated .google.cloud.biglake.hive.v1beta.HiveCatalog catalogs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addCatalogs

      public ListHiveCatalogsResponse.Builder addCatalogs(int index, HiveCatalog value)
       Output only. The catalogs from the specified project.
       
      repeated .google.cloud.biglake.hive.v1beta.HiveCatalog catalogs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addCatalogs

      public ListHiveCatalogsResponse.Builder addCatalogs(HiveCatalog.Builder builderForValue)
       Output only. The catalogs from the specified project.
       
      repeated .google.cloud.biglake.hive.v1beta.HiveCatalog catalogs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addCatalogs

      public ListHiveCatalogsResponse.Builder addCatalogs(int index, HiveCatalog.Builder builderForValue)
       Output only. The catalogs from the specified project.
       
      repeated .google.cloud.biglake.hive.v1beta.HiveCatalog catalogs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addAllCatalogs

      public ListHiveCatalogsResponse.Builder addAllCatalogs(Iterable<? extends HiveCatalog> values)
       Output only. The catalogs from the specified project.
       
      repeated .google.cloud.biglake.hive.v1beta.HiveCatalog catalogs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearCatalogs

      public ListHiveCatalogsResponse.Builder clearCatalogs()
       Output only. The catalogs from the specified project.
       
      repeated .google.cloud.biglake.hive.v1beta.HiveCatalog catalogs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • removeCatalogs

      public ListHiveCatalogsResponse.Builder removeCatalogs(int index)
       Output only. The catalogs from the specified project.
       
      repeated .google.cloud.biglake.hive.v1beta.HiveCatalog catalogs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getCatalogsBuilder

      public HiveCatalog.Builder getCatalogsBuilder(int index)
       Output only. The catalogs from the specified project.
       
      repeated .google.cloud.biglake.hive.v1beta.HiveCatalog catalogs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getCatalogsOrBuilder

      public HiveCatalogOrBuilder getCatalogsOrBuilder(int index)
       Output only. The catalogs from the specified project.
       
      repeated .google.cloud.biglake.hive.v1beta.HiveCatalog catalogs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCatalogsOrBuilder in interface ListHiveCatalogsResponseOrBuilder
    • getCatalogsOrBuilderList

      public List<? extends HiveCatalogOrBuilder> getCatalogsOrBuilderList()
       Output only. The catalogs from the specified project.
       
      repeated .google.cloud.biglake.hive.v1beta.HiveCatalog catalogs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCatalogsOrBuilderList in interface ListHiveCatalogsResponseOrBuilder
    • addCatalogsBuilder

      public HiveCatalog.Builder addCatalogsBuilder()
       Output only. The catalogs from the specified project.
       
      repeated .google.cloud.biglake.hive.v1beta.HiveCatalog catalogs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addCatalogsBuilder

      public HiveCatalog.Builder addCatalogsBuilder(int index)
       Output only. The catalogs from the specified project.
       
      repeated .google.cloud.biglake.hive.v1beta.HiveCatalog catalogs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getCatalogsBuilderList

      public List<HiveCatalog.Builder> getCatalogsBuilderList()
       Output only. The catalogs from the specified project.
       
      repeated .google.cloud.biglake.hive.v1beta.HiveCatalog catalogs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getNextPageToken

      public String getNextPageToken()
       Output only. 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 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getNextPageToken in interface ListHiveCatalogsResponseOrBuilder
      Returns:
      The nextPageToken.
    • getNextPageTokenBytes

      public com.google.protobuf.ByteString getNextPageTokenBytes()
       Output only. 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 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getNextPageTokenBytes in interface ListHiveCatalogsResponseOrBuilder
      Returns:
      The bytes for nextPageToken.
    • setNextPageToken

      public ListHiveCatalogsResponse.Builder setNextPageToken(String value)
       Output only. 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 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The nextPageToken to set.
      Returns:
      This builder for chaining.
    • clearNextPageToken

      public ListHiveCatalogsResponse.Builder clearNextPageToken()
       Output only. 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 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setNextPageTokenBytes

      public ListHiveCatalogsResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value)
       Output only. 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 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for nextPageToken to set.
      Returns:
      This builder for chaining.
    • getUnreachableList

      public com.google.protobuf.ProtocolStringList getUnreachableList()
       Output only. The list of unreachable cloud regions. If non-empty, the
       result set might be incomplete.
       
      repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUnreachableList in interface ListHiveCatalogsResponseOrBuilder
      Returns:
      A list containing the unreachable.
    • getUnreachableCount

      public int getUnreachableCount()
       Output only. The list of unreachable cloud regions. If non-empty, the
       result set might be incomplete.
       
      repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUnreachableCount in interface ListHiveCatalogsResponseOrBuilder
      Returns:
      The count of unreachable.
    • getUnreachable

      public String getUnreachable(int index)
       Output only. The list of unreachable cloud regions. If non-empty, the
       result set might be incomplete.
       
      repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUnreachable in interface ListHiveCatalogsResponseOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The unreachable at the given index.
    • getUnreachableBytes

      public com.google.protobuf.ByteString getUnreachableBytes(int index)
       Output only. The list of unreachable cloud regions. If non-empty, the
       result set might be incomplete.
       
      repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUnreachableBytes in interface ListHiveCatalogsResponseOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the unreachable at the given index.
    • setUnreachable

      public ListHiveCatalogsResponse.Builder setUnreachable(int index, String value)
       Output only. The list of unreachable cloud regions. If non-empty, the
       result set might be incomplete.
       
      repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      index - The index to set the value at.
      value - The unreachable to set.
      Returns:
      This builder for chaining.
    • addUnreachable

      public ListHiveCatalogsResponse.Builder addUnreachable(String value)
       Output only. The list of unreachable cloud regions. If non-empty, the
       result set might be incomplete.
       
      repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The unreachable to add.
      Returns:
      This builder for chaining.
    • addAllUnreachable

      public ListHiveCatalogsResponse.Builder addAllUnreachable(Iterable<String> values)
       Output only. The list of unreachable cloud regions. If non-empty, the
       result set might be incomplete.
       
      repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      values - The unreachable to add.
      Returns:
      This builder for chaining.
    • clearUnreachable

      public ListHiveCatalogsResponse.Builder clearUnreachable()
       Output only. The list of unreachable cloud regions. If non-empty, the
       result set might be incomplete.
       
      repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • addUnreachableBytes

      public ListHiveCatalogsResponse.Builder addUnreachableBytes(com.google.protobuf.ByteString value)
       Output only. The list of unreachable cloud regions. If non-empty, the
       result set might be incomplete.
       
      repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes of the unreachable to add.
      Returns:
      This builder for chaining.