public static class ModelServiceSettings.Builder extends com.google.api.gax.rpc.ClientSettings.Builder<ModelServiceSettings,ModelServiceSettings.Builder>
| Modifier | Constructor and Description |
|---|---|
protected |
Builder() |
protected |
Builder(com.google.api.gax.rpc.ClientContext clientContext) |
protected |
Builder(ModelServiceSettings settings) |
protected |
Builder(ModelServiceStubSettings.Builder stubSettings) |
| Modifier and Type | Method and Description |
|---|---|
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.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<BatchImportModelEvaluationSlicesRequest,BatchImportModelEvaluationSlicesResponse> |
batchImportModelEvaluationSlicesSettings()
Returns the builder for the settings used for calls to batchImportModelEvaluationSlices.
|
ModelServiceSettings |
build() |
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.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteModelRequest,com.google.longrunning.Operation> |
deleteModelSettings()
Returns the builder for the settings used for calls to deleteModel.
|
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.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteModelVersionRequest,com.google.longrunning.Operation> |
deleteModelVersionSettings()
Returns the builder for the settings used for calls to deleteModelVersion.
|
com.google.api.gax.rpc.OperationCallSettings.Builder<ExportModelRequest,ExportModelResponse,ExportModelOperationMetadata> |
exportModelOperationSettings()
Returns the builder for the settings used for calls to exportModel.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<ExportModelRequest,com.google.longrunning.Operation> |
exportModelSettings()
Returns the builder for the settings used for calls to exportModel.
|
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.
|
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.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<GetModelEvaluationRequest,ModelEvaluation> |
getModelEvaluationSettings()
Returns the builder for the settings used for calls to getModelEvaluation.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<GetModelEvaluationSliceRequest,ModelEvaluationSlice> |
getModelEvaluationSliceSettings()
Returns the builder for the settings used for calls to getModelEvaluationSlice.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<GetModelRequest,Model> |
getModelSettings()
Returns the builder for the settings used for calls to getModel.
|
ModelServiceStubSettings.Builder |
getStubSettingsBuilder() |
com.google.api.gax.rpc.UnaryCallSettings.Builder<ImportModelEvaluationRequest,ModelEvaluation> |
importModelEvaluationSettings()
Returns the builder for the settings used for calls to importModelEvaluation.
|
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.
|
com.google.api.gax.rpc.PagedCallSettings.Builder<ListModelEvaluationSlicesRequest,ListModelEvaluationSlicesResponse,ModelServiceClient.ListModelEvaluationSlicesPagedResponse> |
listModelEvaluationSlicesSettings()
Returns the builder for the settings used for calls to listModelEvaluationSlices.
|
com.google.api.gax.rpc.PagedCallSettings.Builder<ListModelEvaluationsRequest,ListModelEvaluationsResponse,ModelServiceClient.ListModelEvaluationsPagedResponse> |
listModelEvaluationsSettings()
Returns the builder for the settings used for calls to listModelEvaluations.
|
com.google.api.gax.rpc.PagedCallSettings.Builder<ListModelsRequest,ListModelsResponse,ModelServiceClient.ListModelsPagedResponse> |
listModelsSettings()
Returns the builder for the settings used for calls to listModels.
|
com.google.api.gax.rpc.PagedCallSettings.Builder<ListModelVersionsRequest,ListModelVersionsResponse,ModelServiceClient.ListModelVersionsPagedResponse> |
listModelVersionsSettings()
Returns the builder for the settings used for calls to listModelVersions.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<MergeVersionAliasesRequest,Model> |
mergeVersionAliasesSettings()
Returns the builder for the settings used for calls to mergeVersionAliases.
|
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.
|
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.
|
com.google.api.gax.rpc.OperationCallSettings.Builder<UpdateExplanationDatasetRequest,UpdateExplanationDatasetResponse,UpdateExplanationDatasetOperationMetadata> |
updateExplanationDatasetOperationSettings()
Returns the builder for the settings used for calls to updateExplanationDataset.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateExplanationDatasetRequest,com.google.longrunning.Operation> |
updateExplanationDatasetSettings()
Returns the builder for the settings used for calls to updateExplanationDataset.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateModelRequest,Model> |
updateModelSettings()
Returns the builder for the settings used for calls to updateModel.
|
com.google.api.gax.rpc.OperationCallSettings.Builder<UploadModelRequest,UploadModelResponse,UploadModelOperationMetadata> |
uploadModelOperationSettings()
Returns the builder for the settings used for calls to uploadModel.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<UploadModelRequest,com.google.longrunning.Operation> |
uploadModelSettings()
Returns the builder for the settings used for calls to uploadModel.
|
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setHeaderProvider, setInternalHeaderProvider, setQuotaProjectId, setTransportChannelProvider, setWatchdogCheckInterval, setWatchdogProvider, toStringprotected Builder()
throws IOException
IOExceptionprotected Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected Builder(ModelServiceSettings settings)
protected Builder(ModelServiceStubSettings.Builder stubSettings)
public ModelServiceStubSettings.Builder getStubSettingsBuilder()
public ModelServiceSettings.Builder applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Note: This method does not support applying settings to streaming methods.
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UploadModelRequest,com.google.longrunning.Operation> uploadModelSettings()
public com.google.api.gax.rpc.OperationCallSettings.Builder<UploadModelRequest,UploadModelResponse,UploadModelOperationMetadata> uploadModelOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetModelRequest,Model> getModelSettings()
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListModelsRequest,ListModelsResponse,ModelServiceClient.ListModelsPagedResponse> listModelsSettings()
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListModelVersionsRequest,ListModelVersionsResponse,ModelServiceClient.ListModelVersionsPagedResponse> listModelVersionsSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateModelRequest,Model> updateModelSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateExplanationDatasetRequest,com.google.longrunning.Operation> updateExplanationDatasetSettings()
public com.google.api.gax.rpc.OperationCallSettings.Builder<UpdateExplanationDatasetRequest,UpdateExplanationDatasetResponse,UpdateExplanationDatasetOperationMetadata> updateExplanationDatasetOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteModelRequest,com.google.longrunning.Operation> deleteModelSettings()
public com.google.api.gax.rpc.OperationCallSettings.Builder<DeleteModelRequest,com.google.protobuf.Empty,DeleteOperationMetadata> deleteModelOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteModelVersionRequest,com.google.longrunning.Operation> deleteModelVersionSettings()
public com.google.api.gax.rpc.OperationCallSettings.Builder<DeleteModelVersionRequest,com.google.protobuf.Empty,DeleteOperationMetadata> deleteModelVersionOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<MergeVersionAliasesRequest,Model> mergeVersionAliasesSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<ExportModelRequest,com.google.longrunning.Operation> exportModelSettings()
public com.google.api.gax.rpc.OperationCallSettings.Builder<ExportModelRequest,ExportModelResponse,ExportModelOperationMetadata> exportModelOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<ImportModelEvaluationRequest,ModelEvaluation> importModelEvaluationSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<BatchImportModelEvaluationSlicesRequest,BatchImportModelEvaluationSlicesResponse> batchImportModelEvaluationSlicesSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetModelEvaluationRequest,ModelEvaluation> getModelEvaluationSettings()
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListModelEvaluationsRequest,ListModelEvaluationsResponse,ModelServiceClient.ListModelEvaluationsPagedResponse> listModelEvaluationsSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetModelEvaluationSliceRequest,ModelEvaluationSlice> getModelEvaluationSliceSettings()
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListModelEvaluationSlicesRequest,ListModelEvaluationSlicesResponse,ModelServiceClient.ListModelEvaluationSlicesPagedResponse> listModelEvaluationSlicesSettings()
public com.google.api.gax.rpc.PagedCallSettings.Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,ModelServiceClient.ListLocationsPagedResponse> listLocationsSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> getLocationSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> setIamPolicySettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> getIamPolicySettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> testIamPermissionsSettings()
public ModelServiceSettings build() throws IOException
build in class com.google.api.gax.rpc.ClientSettings.Builder<ModelServiceSettings,ModelServiceSettings.Builder>IOExceptionCopyright © 2022 Google LLC. All rights reserved.