Class KnowledgeBasesStubSettings.Builder

    • Constructor Detail

      • Builder

        protected Builder()
      • Builder

        protected Builder​(com.google.api.gax.rpc.ClientContext clientContext)
    • Method Detail

      • applyToAllUnaryMethods

        public KnowledgeBasesStubSettings.Builder applyToAllUnaryMethods​(com.google.api.core.ApiFunction<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,​?>,​Void> settingsUpdater)
        Applies the given settings updater function to all of the unary API methods in this service.

        Note: This method does not support applying settings to streaming methods.

      • unaryMethodSettingsBuilders

        public com.google.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,​?>> unaryMethodSettingsBuilders()
      • getKnowledgeBaseSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetKnowledgeBaseRequest,​KnowledgeBase> getKnowledgeBaseSettings()
        Returns the builder for the settings used for calls to getKnowledgeBase.
      • createKnowledgeBaseSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateKnowledgeBaseRequest,​KnowledgeBase> createKnowledgeBaseSettings()
        Returns the builder for the settings used for calls to createKnowledgeBase.
      • deleteKnowledgeBaseSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteKnowledgeBaseRequest,​com.google.protobuf.Empty> deleteKnowledgeBaseSettings()
        Returns the builder for the settings used for calls to deleteKnowledgeBase.
      • updateKnowledgeBaseSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateKnowledgeBaseRequest,​KnowledgeBase> updateKnowledgeBaseSettings()
        Returns the builder for the settings used for calls to updateKnowledgeBase.
      • listLocationsSettings

        public com.google.api.gax.rpc.PagedCallSettings.Builder<com.google.cloud.location.ListLocationsRequest,​com.google.cloud.location.ListLocationsResponse,​KnowledgeBasesClient.ListLocationsPagedResponse> listLocationsSettings()
        Returns the builder for the settings used for calls to listLocations.
      • getLocationSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.cloud.location.GetLocationRequest,​com.google.cloud.location.Location> getLocationSettings()
        Returns the builder for the settings used for calls to getLocation.