Class ModelServiceSettings.Builder

    • Method Detail

      • applyToAllUnaryMethods

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

      • createModelSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateModelRequest,​com.google.longrunning.Operation> createModelSettings()
        Returns the builder for the settings used for calls to createModel.
      • createModelOperationSettings

        public com.google.api.gax.rpc.OperationCallSettings.Builder<CreateModelRequest,​Model,​CreateModelMetadata> createModelOperationSettings()
        Returns the builder for the settings used for calls to createModel.
      • getModelSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetModelRequest,​Model> getModelSettings()
        Returns the builder for the settings used for calls to getModel.
      • pauseModelSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<PauseModelRequest,​Model> pauseModelSettings()
        Returns the builder for the settings used for calls to pauseModel.
      • resumeModelSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<ResumeModelRequest,​Model> resumeModelSettings()
        Returns the builder for the settings used for calls to resumeModel.
      • deleteModelSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteModelRequest,​com.google.protobuf.Empty> deleteModelSettings()
        Returns the builder for the settings used for calls to deleteModel.
      • updateModelSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateModelRequest,​Model> updateModelSettings()
        Returns the builder for the settings used for calls to updateModel.
      • tuneModelSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<TuneModelRequest,​com.google.longrunning.Operation> tuneModelSettings()
        Returns the builder for the settings used for calls to tuneModel.