Class ModelServiceStubSettings.Builder

    • Constructor Detail

      • Builder

        protected Builder()
      • Builder

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

      • applyToAllUnaryMethods

        public ModelServiceStubSettings.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()
      • uploadModelSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<UploadModelRequest,​com.google.longrunning.Operation> uploadModelSettings()
        Returns the builder for the settings used for calls to uploadModel.
      • uploadModelOperationSettings

        @BetaApi("The surface for use by generated code is not stable yet and may change in the future.")
        public com.google.api.gax.rpc.OperationCallSettings.Builder<UploadModelRequest,​UploadModelResponse,​UploadModelOperationMetadata> uploadModelOperationSettings()
        Returns the builder for the settings used for calls to uploadModel.
      • getModelSettings

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

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

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateExplanationDatasetRequest,​com.google.longrunning.Operation> updateExplanationDatasetSettings()
        Returns the builder for the settings used for calls to updateExplanationDataset.
      • deleteModelSettings

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

        @BetaApi("The surface for use by generated code is not stable yet and may change in the future.")
        public com.google.api.gax.rpc.OperationCallSettings.Builder<DeleteModelRequest,​com.google.protobuf.Empty,​DeleteOperationMetadata> deleteModelOperationSettings()
        Returns the builder for the settings used for calls to deleteModel.
      • deleteModelVersionSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteModelVersionRequest,​com.google.longrunning.Operation> deleteModelVersionSettings()
        Returns the builder for the settings used for calls to deleteModelVersion.
      • deleteModelVersionOperationSettings

        @BetaApi("The surface for use by generated code is not stable yet and may change in the future.")
        public com.google.api.gax.rpc.OperationCallSettings.Builder<DeleteModelVersionRequest,​com.google.protobuf.Empty,​DeleteOperationMetadata> deleteModelVersionOperationSettings()
        Returns the builder for the settings used for calls to deleteModelVersion.
      • mergeVersionAliasesSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<MergeVersionAliasesRequest,​Model> mergeVersionAliasesSettings()
        Returns the builder for the settings used for calls to mergeVersionAliases.
      • exportModelSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<ExportModelRequest,​com.google.longrunning.Operation> exportModelSettings()
        Returns the builder for the settings used for calls to exportModel.
      • exportModelOperationSettings

        @BetaApi("The surface for use by generated code is not stable yet and may change in the future.")
        public com.google.api.gax.rpc.OperationCallSettings.Builder<ExportModelRequest,​ExportModelResponse,​ExportModelOperationMetadata> exportModelOperationSettings()
        Returns the builder for the settings used for calls to exportModel.
      • copyModelSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<CopyModelRequest,​com.google.longrunning.Operation> copyModelSettings()
        Returns the builder for the settings used for calls to copyModel.
      • copyModelOperationSettings

        @BetaApi("The surface for use by generated code is not stable yet and may change in the future.")
        public com.google.api.gax.rpc.OperationCallSettings.Builder<CopyModelRequest,​CopyModelResponse,​CopyModelOperationMetadata> copyModelOperationSettings()
        Returns the builder for the settings used for calls to copyModel.
      • importModelEvaluationSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<ImportModelEvaluationRequest,​ModelEvaluation> importModelEvaluationSettings()
        Returns the builder for the settings used for calls to importModelEvaluation.
      • getModelEvaluationSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetModelEvaluationRequest,​ModelEvaluation> getModelEvaluationSettings()
        Returns the builder for the settings used for calls to getModelEvaluation.
      • getModelEvaluationSliceSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetModelEvaluationSliceRequest,​ModelEvaluationSlice> getModelEvaluationSliceSettings()
        Returns the builder for the settings used for calls to getModelEvaluationSlice.
      • listLocationsSettings

        public com.google.api.gax.rpc.PagedCallSettings.Builder<com.google.cloud.location.ListLocationsRequest,​com.google.cloud.location.ListLocationsResponse,​ModelServiceClient.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.
      • setIamPolicySettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.SetIamPolicyRequest,​com.google.iam.v1.Policy> setIamPolicySettings()
        Returns the builder for the settings used for calls to setIamPolicy.
      • getIamPolicySettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.GetIamPolicyRequest,​com.google.iam.v1.Policy> getIamPolicySettings()
        Returns the builder for the settings used for calls to getIamPolicy.
      • testIamPermissionsSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.TestIamPermissionsRequest,​com.google.iam.v1.TestIamPermissionsResponse> testIamPermissionsSettings()
        Returns the builder for the settings used for calls to testIamPermissions.