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 com.google.api.gax.rpc.StubSettings.Builder<ModelServiceStubSettings,ModelServiceStubSettings.Builder>
Builder for ModelServiceStubSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
protected
Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected
Builder(ModelServiceStubSettings settings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.-
Methods inherited from class com.google.api.gax.rpc.StubSettings.Builder
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, toString
-
-
-
-
Constructor Detail
-
Builder
protected Builder()
-
Builder
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
-
Builder
protected Builder(ModelServiceStubSettings settings)
-
-
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.
-
listModelsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListModelsRequest,ListModelsResponse,ModelServiceClient.ListModelsPagedResponse> listModelsSettings()
Returns the builder for the settings used for calls to listModels.
-
listModelVersionsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListModelVersionsRequest,ListModelVersionsResponse,ModelServiceClient.ListModelVersionsPagedResponse> listModelVersionsSettings()
Returns the builder for the settings used for calls to listModelVersions.
-
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.
-
updateExplanationDatasetOperationSettings
@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<UpdateExplanationDatasetRequest,UpdateExplanationDatasetResponse,UpdateExplanationDatasetOperationMetadata> updateExplanationDatasetOperationSettings()
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.
-
batchImportModelEvaluationSlicesSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<BatchImportModelEvaluationSlicesRequest,BatchImportModelEvaluationSlicesResponse> batchImportModelEvaluationSlicesSettings()
Returns the builder for the settings used for calls to batchImportModelEvaluationSlices.
-
batchImportEvaluatedAnnotationsSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<BatchImportEvaluatedAnnotationsRequest,BatchImportEvaluatedAnnotationsResponse> batchImportEvaluatedAnnotationsSettings()
Returns the builder for the settings used for calls to batchImportEvaluatedAnnotations.
-
getModelEvaluationSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetModelEvaluationRequest,ModelEvaluation> getModelEvaluationSettings()
Returns the builder for the settings used for calls to getModelEvaluation.
-
listModelEvaluationsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListModelEvaluationsRequest,ListModelEvaluationsResponse,ModelServiceClient.ListModelEvaluationsPagedResponse> listModelEvaluationsSettings()
Returns the builder for the settings used for calls to listModelEvaluations.
-
getModelEvaluationSliceSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetModelEvaluationSliceRequest,ModelEvaluationSlice> getModelEvaluationSliceSettings()
Returns the builder for the settings used for calls to getModelEvaluationSlice.
-
listModelEvaluationSlicesSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListModelEvaluationSlicesRequest,ListModelEvaluationSlicesResponse,ModelServiceClient.ListModelEvaluationSlicesPagedResponse> listModelEvaluationSlicesSettings()
Returns the builder for the settings used for calls to listModelEvaluationSlices.
-
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.
-
build
public ModelServiceStubSettings build() throws IOException
- Specified by:
build
in classcom.google.api.gax.rpc.StubSettings.Builder<ModelServiceStubSettings,ModelServiceStubSettings.Builder>
- Throws:
IOException
-
-