public static class ModelServiceStubSettings.Builder extends com.google.api.gax.rpc.StubSettings.Builder<ModelServiceStubSettings,ModelServiceStubSettings.Builder>
| Modifier | Constructor and Description |
|---|---|
protected |
Builder() |
protected |
Builder(com.google.api.gax.rpc.ClientContext clientContext) |
protected |
Builder(ModelServiceStubSettings settings) |
| Modifier and Type | Method and Description |
|---|---|
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.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<BatchImportEvaluatedAnnotationsRequest,BatchImportEvaluatedAnnotationsResponse> |
batchImportEvaluatedAnnotationsSettings()
Returns the builder for the settings used for calls to batchImportEvaluatedAnnotations.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<BatchImportModelEvaluationSlicesRequest,BatchImportModelEvaluationSlicesResponse> |
batchImportModelEvaluationSlicesSettings()
Returns the builder for the settings used for calls to batchImportModelEvaluationSlices.
|
ModelServiceStubSettings |
build() |
com.google.api.gax.rpc.OperationCallSettings.Builder<CopyModelRequest,CopyModelResponse,CopyModelOperationMetadata> |
copyModelOperationSettings()
Returns the builder for the settings used for calls to copyModel.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<CopyModelRequest,com.google.longrunning.Operation> |
copyModelSettings()
Returns the builder for the settings used for calls to copyModel.
|
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.
|
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.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>> |
unaryMethodSettingsBuilders() |
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, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getMtlsEndpoint, getQuotaProjectId, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setMtlsEndpoint, setQuotaProjectId, setStreamWatchdogCheckInterval, setStreamWatchdogProvider, setSwitchToMtlsEndpointAllowed, setTracerFactory, setTransportChannelProvider, toStringprotected Builder()
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected Builder(ModelServiceStubSettings settings)
public ModelServiceStubSettings.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.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UploadModelRequest,com.google.longrunning.Operation> uploadModelSettings()
@BetaApi(value="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()
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()
@BetaApi(value="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<UpdateExplanationDatasetRequest,UpdateExplanationDatasetResponse,UpdateExplanationDatasetOperationMetadata> updateExplanationDatasetOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteModelRequest,com.google.longrunning.Operation> deleteModelSettings()
@BetaApi(value="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()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteModelVersionRequest,com.google.longrunning.Operation> deleteModelVersionSettings()
@BetaApi(value="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()
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()
@BetaApi(value="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()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CopyModelRequest,com.google.longrunning.Operation> copyModelSettings()
@BetaApi(value="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()
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<BatchImportEvaluatedAnnotationsRequest,BatchImportEvaluatedAnnotationsResponse> batchImportEvaluatedAnnotationsSettings()
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 ModelServiceStubSettings build() throws IOException
build in class com.google.api.gax.rpc.StubSettings.Builder<ModelServiceStubSettings,ModelServiceStubSettings.Builder>IOExceptionCopyright © 2023 Google LLC. All rights reserved.