Class EnhancedBigtableStubSettings.Builder

    • Method Detail

      • getProjectId

        public String getProjectId()
        Gets the project id of the target instance that was previously set on this Builder.
      • getInstanceId

        public String getInstanceId()
        Gets the target instance id that was previously set on this Builder.
      • setAppProfileId

        public EnhancedBigtableStubSettings.Builder setAppProfileId​(@Nonnull
                                                                    String appProfileId)
        Sets the AppProfile to use. An application profile (sometimes also shortened to "app profile") is a group of configuration parameters for an individual use case. A client will identify itself with an application profile ID at connection time, and the requests will be handled according to that application profile.
      • setDefaultAppProfileId

        public EnhancedBigtableStubSettings.Builder setDefaultAppProfileId()
        Resets the AppProfile id to the default for the instance.

        An application profile (sometimes also shortened to "app profile") is a group of configuration parameters for an individual use case. A client will identify itself with an application profile ID at connection time, and the requests will be handled according to that application profile.

        Every Bigtable Instance has a default application profile associated with it, this method configures the client to use it.

      • getAppProfileId

        public String getAppProfileId()
        Gets the app profile id that was previously set on this Builder.
      • setRefreshingChannel

        @Deprecated
        public EnhancedBigtableStubSettings.Builder setRefreshingChannel​(boolean isRefreshingChannel)
        Deprecated.
        Channel refreshing is enabled by default and this method will be deprecated.
        Sets if channels will gracefully refresh connections to Cloud Bigtable service.

        When enabled, this will wait for the connection to complete the SSL handshake and warm up serverside caches for all the tables of the instance. This feature is enabled by default.

        See Also:
        BigtableDataSettings.Builder.setRefreshingChannel(boolean)
      • isRefreshingChannel

        @Deprecated
        public boolean isRefreshingChannel()
        Deprecated.
        Channel refreshing is enabled by default and this method will be deprecated.
        Gets if channels will gracefully refresh connections to Cloud Bigtable service.
      • getJwtAudienceMapping

        @InternalApi("Used for internal testing")
        public Map<String,​String> getJwtAudienceMapping()
      • readRowsSettings

        public com.google.api.gax.rpc.ServerStreamingCallSettings.Builder<Query,​Row> readRowsSettings()
        Returns the builder for the settings used for calls to readRows.
      • readRowSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<Query,​Row> readRowSettings()
        Returns the builder for the settings used for point reads using readRow.
      • sampleRowKeysSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<String,​List<KeyOffset>> sampleRowKeysSettings()
        Returns the builder for the settings used for calls to SampleRowKeysSettings.
      • mutateRowSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<RowMutation,​Void> mutateRowSettings()
        Returns the builder for the settings used for calls to MutateRow.
      • checkAndMutateRowSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<ConditionalRowMutation,​Boolean> checkAndMutateRowSettings()
        Returns the builder for the settings used for calls to CheckAndMutateRow.
      • readModifyWriteRowSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<ReadModifyWriteRow,​Row> readModifyWriteRowSettings()
        Returns the builder with the settings used for calls to ReadModifyWriteRow.
      • readChangeStreamSettings

        public com.google.api.gax.rpc.ServerStreamingCallSettings.Builder<ReadChangeStreamQuery,​ChangeStreamRecord> readChangeStreamSettings()
        Returns the builder for the settings used for calls to ReadChangeStream.
      • generateInitialChangeStreamPartitionsSettings

        public com.google.api.gax.rpc.ServerStreamingCallSettings.Builder<String,​Range.ByteStringRange> generateInitialChangeStreamPartitionsSettings()
        Returns the builder for the settings used for calls to GenerateInitialChangeStreamPartitions.
      • pingAndWarmSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<PingAndWarmRequest,​Void> pingAndWarmSettings()
        Returns the builder with the settings used for calls to PingAndWarm.