Class LanguageServiceStubSettings.Builder

    • Constructor Detail

      • Builder

        protected Builder()
      • Builder

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

      • applyToAllUnaryMethods

        public LanguageServiceStubSettings.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()
      • analyzeSentimentSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<AnalyzeSentimentRequest,​AnalyzeSentimentResponse> analyzeSentimentSettings()
        Returns the builder for the settings used for calls to analyzeSentiment.
      • analyzeEntitiesSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<AnalyzeEntitiesRequest,​AnalyzeEntitiesResponse> analyzeEntitiesSettings()
        Returns the builder for the settings used for calls to analyzeEntities.
      • analyzeSyntaxSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<AnalyzeSyntaxRequest,​AnalyzeSyntaxResponse> analyzeSyntaxSettings()
        Returns the builder for the settings used for calls to analyzeSyntax.
      • classifyTextSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<ClassifyTextRequest,​ClassifyTextResponse> classifyTextSettings()
        Returns the builder for the settings used for calls to classifyText.
      • moderateTextSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<ModerateTextRequest,​ModerateTextResponse> moderateTextSettings()
        Returns the builder for the settings used for calls to moderateText.
      • annotateTextSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<AnnotateTextRequest,​AnnotateTextResponse> annotateTextSettings()
        Returns the builder for the settings used for calls to annotateText.