Class ModelMonitoringServiceSettings.Builder (3.48.0)

public static class ModelMonitoringServiceSettings.Builder extends ClientSettings.Builder<ModelMonitoringServiceSettings,ModelMonitoringServiceSettings.Builder>

Builder for ModelMonitoringServiceSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > ModelMonitoringServiceSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(ModelMonitoringServiceSettings settings)

protected Builder(ModelMonitoringServiceSettings settings)
Parameter
Name Description
settings ModelMonitoringServiceSettings

Builder(ModelMonitoringServiceStubSettings.Builder stubSettings)

protected Builder(ModelMonitoringServiceStubSettings.Builder stubSettings)
Parameter
Name Description
stubSettings ModelMonitoringServiceStubSettings.Builder

Methods

applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)

public ModelMonitoringServiceSettings.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.

Parameter
Name Description
settingsUpdater ApiFunction<Builder<?,?>,java.lang.Void>
Returns
Type Description
ModelMonitoringServiceSettings.Builder

build()

public ModelMonitoringServiceSettings build()
Returns
Type Description
ModelMonitoringServiceSettings
Overrides
Exceptions
Type Description
IOException

createModelMonitorOperationSettings()

public OperationCallSettings.Builder<CreateModelMonitorRequest,ModelMonitor,CreateModelMonitorOperationMetadata> createModelMonitorOperationSettings()

Returns the builder for the settings used for calls to createModelMonitor.

Returns
Type Description
Builder<CreateModelMonitorRequest,ModelMonitor,CreateModelMonitorOperationMetadata>

createModelMonitorSettings()

public UnaryCallSettings.Builder<CreateModelMonitorRequest,Operation> createModelMonitorSettings()

Returns the builder for the settings used for calls to createModelMonitor.

Returns
Type Description
Builder<CreateModelMonitorRequest,Operation>

createModelMonitoringJobSettings()

public UnaryCallSettings.Builder<CreateModelMonitoringJobRequest,ModelMonitoringJob> createModelMonitoringJobSettings()

Returns the builder for the settings used for calls to createModelMonitoringJob.

Returns
Type Description
Builder<CreateModelMonitoringJobRequest,ModelMonitoringJob>

deleteModelMonitorOperationSettings()

public OperationCallSettings.Builder<DeleteModelMonitorRequest,Empty,DeleteOperationMetadata> deleteModelMonitorOperationSettings()

Returns the builder for the settings used for calls to deleteModelMonitor.

Returns
Type Description
Builder<DeleteModelMonitorRequest,Empty,DeleteOperationMetadata>

deleteModelMonitorSettings()

public UnaryCallSettings.Builder<DeleteModelMonitorRequest,Operation> deleteModelMonitorSettings()

Returns the builder for the settings used for calls to deleteModelMonitor.

Returns
Type Description
Builder<DeleteModelMonitorRequest,Operation>

deleteModelMonitoringJobOperationSettings()

public OperationCallSettings.Builder<DeleteModelMonitoringJobRequest,Empty,DeleteOperationMetadata> deleteModelMonitoringJobOperationSettings()

Returns the builder for the settings used for calls to deleteModelMonitoringJob.

Returns
Type Description
Builder<DeleteModelMonitoringJobRequest,Empty,DeleteOperationMetadata>

deleteModelMonitoringJobSettings()

public UnaryCallSettings.Builder<DeleteModelMonitoringJobRequest,Operation> deleteModelMonitoringJobSettings()

Returns the builder for the settings used for calls to deleteModelMonitoringJob.

Returns
Type Description
Builder<DeleteModelMonitoringJobRequest,Operation>

getIamPolicySettings()

public UnaryCallSettings.Builder<GetIamPolicyRequest,Policy> getIamPolicySettings()

Returns the builder for the settings used for calls to getIamPolicy.

Returns
Type Description
Builder<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy>

getLocationSettings()

public UnaryCallSettings.Builder<GetLocationRequest,Location> getLocationSettings()

Returns the builder for the settings used for calls to getLocation.

Returns
Type Description
Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>

getModelMonitorSettings()

public UnaryCallSettings.Builder<GetModelMonitorRequest,ModelMonitor> getModelMonitorSettings()

Returns the builder for the settings used for calls to getModelMonitor.

Returns
Type Description
Builder<GetModelMonitorRequest,ModelMonitor>

getModelMonitoringJobSettings()

public UnaryCallSettings.Builder<GetModelMonitoringJobRequest,ModelMonitoringJob> getModelMonitoringJobSettings()

Returns the builder for the settings used for calls to getModelMonitoringJob.

Returns
Type Description
Builder<GetModelMonitoringJobRequest,ModelMonitoringJob>

getStubSettingsBuilder()

public ModelMonitoringServiceStubSettings.Builder getStubSettingsBuilder()
Returns
Type Description
ModelMonitoringServiceStubSettings.Builder

listLocationsSettings()

public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse,ModelMonitoringServiceClient.ListLocationsPagedResponse> listLocationsSettings()

Returns the builder for the settings used for calls to listLocations.

Returns
Type Description
Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,ListLocationsPagedResponse>

listModelMonitoringJobsSettings()

public PagedCallSettings.Builder<ListModelMonitoringJobsRequest,ListModelMonitoringJobsResponse,ModelMonitoringServiceClient.ListModelMonitoringJobsPagedResponse> listModelMonitoringJobsSettings()

Returns the builder for the settings used for calls to listModelMonitoringJobs.

Returns
Type Description
Builder<ListModelMonitoringJobsRequest,ListModelMonitoringJobsResponse,ListModelMonitoringJobsPagedResponse>

listModelMonitorsSettings()

public PagedCallSettings.Builder<ListModelMonitorsRequest,ListModelMonitorsResponse,ModelMonitoringServiceClient.ListModelMonitorsPagedResponse> listModelMonitorsSettings()

Returns the builder for the settings used for calls to listModelMonitors.

Returns
Type Description
Builder<ListModelMonitorsRequest,ListModelMonitorsResponse,ListModelMonitorsPagedResponse>

searchModelMonitoringAlertsSettings()

public PagedCallSettings.Builder<SearchModelMonitoringAlertsRequest,SearchModelMonitoringAlertsResponse,ModelMonitoringServiceClient.SearchModelMonitoringAlertsPagedResponse> searchModelMonitoringAlertsSettings()

Returns the builder for the settings used for calls to searchModelMonitoringAlerts.

Returns
Type Description
Builder<SearchModelMonitoringAlertsRequest,SearchModelMonitoringAlertsResponse,SearchModelMonitoringAlertsPagedResponse>

searchModelMonitoringStatsSettings()

public PagedCallSettings.Builder<SearchModelMonitoringStatsRequest,SearchModelMonitoringStatsResponse,ModelMonitoringServiceClient.SearchModelMonitoringStatsPagedResponse> searchModelMonitoringStatsSettings()

Returns the builder for the settings used for calls to searchModelMonitoringStats.

Returns
Type Description
Builder<SearchModelMonitoringStatsRequest,SearchModelMonitoringStatsResponse,SearchModelMonitoringStatsPagedResponse>

setIamPolicySettings()

public UnaryCallSettings.Builder<SetIamPolicyRequest,Policy> setIamPolicySettings()

Returns the builder for the settings used for calls to setIamPolicy.

Returns
Type Description
Builder<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy>

testIamPermissionsSettings()

public UnaryCallSettings.Builder<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsSettings()

Returns the builder for the settings used for calls to testIamPermissions.

Returns
Type Description
Builder<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse>

updateModelMonitorOperationSettings()

public OperationCallSettings.Builder<UpdateModelMonitorRequest,ModelMonitor,UpdateModelMonitorOperationMetadata> updateModelMonitorOperationSettings()

Returns the builder for the settings used for calls to updateModelMonitor.

Returns
Type Description
Builder<UpdateModelMonitorRequest,ModelMonitor,UpdateModelMonitorOperationMetadata>

updateModelMonitorSettings()

public UnaryCallSettings.Builder<UpdateModelMonitorRequest,Operation> updateModelMonitorSettings()

Returns the builder for the settings used for calls to updateModelMonitor.

Returns
Type Description
Builder<UpdateModelMonitorRequest,Operation>