Class AdaptationSettings.Builder

    • Method Detail

      • applyToAllUnaryMethods

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

      • createPhraseSetSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreatePhraseSetRequest,​PhraseSet> createPhraseSetSettings()
        Returns the builder for the settings used for calls to createPhraseSet.
      • getPhraseSetSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetPhraseSetRequest,​PhraseSet> getPhraseSetSettings()
        Returns the builder for the settings used for calls to getPhraseSet.
      • updatePhraseSetSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdatePhraseSetRequest,​PhraseSet> updatePhraseSetSettings()
        Returns the builder for the settings used for calls to updatePhraseSet.
      • deletePhraseSetSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeletePhraseSetRequest,​com.google.protobuf.Empty> deletePhraseSetSettings()
        Returns the builder for the settings used for calls to deletePhraseSet.
      • createCustomClassSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateCustomClassRequest,​CustomClass> createCustomClassSettings()
        Returns the builder for the settings used for calls to createCustomClass.
      • getCustomClassSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetCustomClassRequest,​CustomClass> getCustomClassSettings()
        Returns the builder for the settings used for calls to getCustomClass.
      • updateCustomClassSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateCustomClassRequest,​CustomClass> updateCustomClassSettings()
        Returns the builder for the settings used for calls to updateCustomClass.
      • deleteCustomClassSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteCustomClassRequest,​com.google.protobuf.Empty> deleteCustomClassSettings()
        Returns the builder for the settings used for calls to deleteCustomClass.