Class ModelServiceStubSettings.Builder
java.lang.Object
com.google.api.gax.rpc.StubSettings.Builder<ModelServiceStubSettings,ModelServiceStubSettings.Builder>
com.google.cloud.aiplatform.v1beta1.stub.ModelServiceStubSettings.Builder
- Enclosing class:
- ModelServiceStubSettings
public static class ModelServiceStubSettings.Builder
extends StubSettings.Builder<ModelServiceStubSettings,ModelServiceStubSettings.Builder>
Builder for ModelServiceStubSettings.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBuilder()protectedBuilder(ClientContext clientContext) protectedBuilder(ModelServiceStubSettings settings) -
Method Summary
Modifier and TypeMethodDescriptionapplyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?, ?>, Void> settingsUpdater) Applies the given settings updater function to all of the unary API methods in this service.UnaryCallSettings.Builder<BatchImportEvaluatedAnnotationsRequest,BatchImportEvaluatedAnnotationsResponse> Returns the builder for the settings used for calls to batchImportEvaluatedAnnotations.UnaryCallSettings.Builder<BatchImportModelEvaluationSlicesRequest,BatchImportModelEvaluationSlicesResponse> Returns the builder for the settings used for calls to batchImportModelEvaluationSlices.build()Returns the builder for the settings used for calls to copyModel.Returns the builder for the settings used for calls to copyModel.OperationCallSettings.Builder<DeleteModelRequest,com.google.protobuf.Empty, DeleteOperationMetadata> Returns the builder for the settings used for calls to deleteModel.Returns the builder for the settings used for calls to deleteModel.OperationCallSettings.Builder<DeleteModelVersionRequest,com.google.protobuf.Empty, DeleteOperationMetadata> Returns the builder for the settings used for calls to deleteModelVersion.Returns the builder for the settings used for calls to deleteModelVersion.Returns the builder for the settings used for calls to exportModel.Returns the builder for the settings used for calls to exportModel.Returns the builder for the settings used for calls to getIamPolicy.Returns the builder for the settings used for calls to getLocation.Returns the builder for the settings used for calls to getModelEvaluation.Returns the builder for the settings used for calls to getModelEvaluationSlice.Returns the builder for the settings used for calls to getModel.Returns the builder for the settings used for calls to importModelEvaluation.PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse, ModelServiceClient.ListLocationsPagedResponse> Returns the builder for the settings used for calls to listLocations.PagedCallSettings.Builder<ListModelEvaluationSlicesRequest,ListModelEvaluationSlicesResponse, ModelServiceClient.ListModelEvaluationSlicesPagedResponse> Returns the builder for the settings used for calls to listModelEvaluationSlices.PagedCallSettings.Builder<ListModelEvaluationsRequest,ListModelEvaluationsResponse, ModelServiceClient.ListModelEvaluationsPagedResponse> Returns the builder for the settings used for calls to listModelEvaluations.PagedCallSettings.Builder<ListModelsRequest,ListModelsResponse, ModelServiceClient.ListModelsPagedResponse> Returns the builder for the settings used for calls to listModels.PagedCallSettings.Builder<ListModelVersionCheckpointsRequest,ListModelVersionCheckpointsResponse, ModelServiceClient.ListModelVersionCheckpointsPagedResponse> Returns the builder for the settings used for calls to listModelVersionCheckpoints.PagedCallSettings.Builder<ListModelVersionsRequest,ListModelVersionsResponse, ModelServiceClient.ListModelVersionsPagedResponse> Returns the builder for the settings used for calls to listModelVersions.Returns the builder for the settings used for calls to mergeVersionAliases.Returns the builder for the settings used for calls to recommendSpec.Returns the builder for the settings used for calls to setIamPolicy.Returns the builder for the settings used for calls to testIamPermissions.com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> OperationCallSettings.Builder<UpdateExplanationDatasetRequest,UpdateExplanationDatasetResponse, UpdateExplanationDatasetOperationMetadata> Returns the builder for the settings used for calls to updateExplanationDataset.Returns the builder for the settings used for calls to updateExplanationDataset.Returns the builder for the settings used for calls to updateModel.Returns the builder for the settings used for calls to uploadModel.Returns the builder for the settings used for calls to uploadModel.Methods inherited from class com.google.api.gax.rpc.StubSettings.Builder
applyToAllUnaryMethods, getApiKey, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getMtlsEndpoint, getQuotaProjectId, getStreamWatchdogCheckInterval, getStreamWatchdogCheckIntervalDuration, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setApiKey, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setMtlsEndpoint, setQuotaProjectId, setStreamWatchdogCheckInterval, setStreamWatchdogCheckIntervalDuration, setStreamWatchdogProvider, setSwitchToMtlsEndpointAllowed, setTracerFactory, setTransportChannelProvider, setUniverseDomain, toString
-
Constructor Details
-
Builder
protected Builder() -
Builder
-
Builder
-
-
Method Details
-
applyToAllUnaryMethods
public ModelServiceStubSettings.Builder applyToAllUnaryMethods(ApiFunction<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<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders() -
uploadModelSettings
Returns the builder for the settings used for calls to uploadModel. -
uploadModelOperationSettings
public OperationCallSettings.Builder<UploadModelRequest,UploadModelResponse, uploadModelOperationSettings()UploadModelOperationMetadata> Returns the builder for the settings used for calls to uploadModel. -
getModelSettings
Returns the builder for the settings used for calls to getModel. -
listModelsSettings
public PagedCallSettings.Builder<ListModelsRequest,ListModelsResponse, listModelsSettings()ModelServiceClient.ListModelsPagedResponse> Returns the builder for the settings used for calls to listModels. -
listModelVersionsSettings
public PagedCallSettings.Builder<ListModelVersionsRequest,ListModelVersionsResponse, listModelVersionsSettings()ModelServiceClient.ListModelVersionsPagedResponse> Returns the builder for the settings used for calls to listModelVersions. -
listModelVersionCheckpointsSettings
public PagedCallSettings.Builder<ListModelVersionCheckpointsRequest,ListModelVersionCheckpointsResponse, listModelVersionCheckpointsSettings()ModelServiceClient.ListModelVersionCheckpointsPagedResponse> Returns the builder for the settings used for calls to listModelVersionCheckpoints. -
updateModelSettings
Returns the builder for the settings used for calls to updateModel. -
updateExplanationDatasetSettings
public UnaryCallSettings.Builder<UpdateExplanationDatasetRequest,Operation> updateExplanationDatasetSettings()Returns the builder for the settings used for calls to updateExplanationDataset. -
updateExplanationDatasetOperationSettings
public OperationCallSettings.Builder<UpdateExplanationDatasetRequest,UpdateExplanationDatasetResponse, updateExplanationDatasetOperationSettings()UpdateExplanationDatasetOperationMetadata> Returns the builder for the settings used for calls to updateExplanationDataset. -
deleteModelSettings
Returns the builder for the settings used for calls to deleteModel. -
deleteModelOperationSettings
public OperationCallSettings.Builder<DeleteModelRequest,com.google.protobuf.Empty, deleteModelOperationSettings()DeleteOperationMetadata> Returns the builder for the settings used for calls to deleteModel. -
deleteModelVersionSettings
Returns the builder for the settings used for calls to deleteModelVersion. -
deleteModelVersionOperationSettings
public OperationCallSettings.Builder<DeleteModelVersionRequest,com.google.protobuf.Empty, deleteModelVersionOperationSettings()DeleteOperationMetadata> Returns the builder for the settings used for calls to deleteModelVersion. -
mergeVersionAliasesSettings
Returns the builder for the settings used for calls to mergeVersionAliases. -
exportModelSettings
Returns the builder for the settings used for calls to exportModel. -
exportModelOperationSettings
public OperationCallSettings.Builder<ExportModelRequest,ExportModelResponse, exportModelOperationSettings()ExportModelOperationMetadata> Returns the builder for the settings used for calls to exportModel. -
copyModelSettings
Returns the builder for the settings used for calls to copyModel. -
copyModelOperationSettings
public OperationCallSettings.Builder<CopyModelRequest,CopyModelResponse, copyModelOperationSettings()CopyModelOperationMetadata> Returns the builder for the settings used for calls to copyModel. -
importModelEvaluationSettings
public UnaryCallSettings.Builder<ImportModelEvaluationRequest,ModelEvaluation> importModelEvaluationSettings()Returns the builder for the settings used for calls to importModelEvaluation. -
batchImportModelEvaluationSlicesSettings
public UnaryCallSettings.Builder<BatchImportModelEvaluationSlicesRequest,BatchImportModelEvaluationSlicesResponse> batchImportModelEvaluationSlicesSettings()Returns the builder for the settings used for calls to batchImportModelEvaluationSlices. -
batchImportEvaluatedAnnotationsSettings
public UnaryCallSettings.Builder<BatchImportEvaluatedAnnotationsRequest,BatchImportEvaluatedAnnotationsResponse> batchImportEvaluatedAnnotationsSettings()Returns the builder for the settings used for calls to batchImportEvaluatedAnnotations. -
getModelEvaluationSettings
public UnaryCallSettings.Builder<GetModelEvaluationRequest,ModelEvaluation> getModelEvaluationSettings()Returns the builder for the settings used for calls to getModelEvaluation. -
listModelEvaluationsSettings
public PagedCallSettings.Builder<ListModelEvaluationsRequest,ListModelEvaluationsResponse, listModelEvaluationsSettings()ModelServiceClient.ListModelEvaluationsPagedResponse> Returns the builder for the settings used for calls to listModelEvaluations. -
getModelEvaluationSliceSettings
public UnaryCallSettings.Builder<GetModelEvaluationSliceRequest,ModelEvaluationSlice> getModelEvaluationSliceSettings()Returns the builder for the settings used for calls to getModelEvaluationSlice. -
listModelEvaluationSlicesSettings
public PagedCallSettings.Builder<ListModelEvaluationSlicesRequest,ListModelEvaluationSlicesResponse, listModelEvaluationSlicesSettings()ModelServiceClient.ListModelEvaluationSlicesPagedResponse> Returns the builder for the settings used for calls to listModelEvaluationSlices. -
recommendSpecSettings
public UnaryCallSettings.Builder<RecommendSpecRequest,RecommendSpecResponse> recommendSpecSettings()Returns the builder for the settings used for calls to recommendSpec. -
listLocationsSettings
public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse, listLocationsSettings()ModelServiceClient.ListLocationsPagedResponse> Returns the builder for the settings used for calls to listLocations. -
getLocationSettings
Returns the builder for the settings used for calls to getLocation. -
setIamPolicySettings
Returns the builder for the settings used for calls to setIamPolicy. -
getIamPolicySettings
Returns the builder for the settings used for calls to getIamPolicy. -
testIamPermissionsSettings
public UnaryCallSettings.Builder<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsSettings()Returns the builder for the settings used for calls to testIamPermissions. -
build
- Specified by:
buildin classStubSettings.Builder<ModelServiceStubSettings,ModelServiceStubSettings.Builder> - Throws:
IOException
-