@BetaApi @Generated(value="by gapic-generator-java") public class ModelMonitoringServiceSettings extends com.google.api.gax.rpc.ClientSettings<ModelMonitoringServiceSettings>
ModelMonitoringServiceClient.
The default instance has everything set to sensible defaults:
The builder of this class is recursive, so contained classes are themselves builders. When build() is called, the tree of builders is called to create the complete settings object.
For example, to set the total timeout of getModelMonitor to 30 seconds:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
ModelMonitoringServiceSettings.Builder modelMonitoringServiceSettingsBuilder =
ModelMonitoringServiceSettings.newBuilder();
modelMonitoringServiceSettingsBuilder
.getModelMonitorSettings()
.setRetrySettings(
modelMonitoringServiceSettingsBuilder
.getModelMonitorSettings()
.getRetrySettings()
.toBuilder()
.setTotalTimeout(Duration.ofSeconds(30))
.build());
ModelMonitoringServiceSettings modelMonitoringServiceSettings =
modelMonitoringServiceSettingsBuilder.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
ModelMonitoringServiceSettings.Builder
Builder for ModelMonitoringServiceSettings.
|
| Modifier | Constructor and Description |
|---|---|
protected |
ModelMonitoringServiceSettings(ModelMonitoringServiceSettings.Builder settingsBuilder) |
| Modifier and Type | Method and Description |
|---|---|
static ModelMonitoringServiceSettings |
create(ModelMonitoringServiceStubSettings stub) |
com.google.api.gax.rpc.UnaryCallSettings<CreateModelMonitoringJobRequest,ModelMonitoringJob> |
createModelMonitoringJobSettings()
Returns the object with the settings used for calls to createModelMonitoringJob.
|
com.google.api.gax.rpc.OperationCallSettings<CreateModelMonitorRequest,ModelMonitor,CreateModelMonitorOperationMetadata> |
createModelMonitorOperationSettings()
Returns the object with the settings used for calls to createModelMonitor.
|
com.google.api.gax.rpc.UnaryCallSettings<CreateModelMonitorRequest,com.google.longrunning.Operation> |
createModelMonitorSettings()
Returns the object with the settings used for calls to createModelMonitor.
|
static com.google.api.gax.rpc.ApiClientHeaderProvider.Builder |
defaultApiClientHeaderProviderBuilder() |
static com.google.api.gax.core.GoogleCredentialsProvider.Builder |
defaultCredentialsProviderBuilder()
Returns a builder for the default credentials for this service.
|
static com.google.api.gax.core.InstantiatingExecutorProvider.Builder |
defaultExecutorProviderBuilder()
Returns a builder for the default ExecutorProvider for this service.
|
static com.google.api.gax.grpc.InstantiatingGrpcChannelProvider.Builder |
defaultGrpcTransportProviderBuilder()
Returns a builder for the default ChannelProvider for this service.
|
static com.google.api.gax.rpc.TransportChannelProvider |
defaultTransportChannelProvider() |
com.google.api.gax.rpc.OperationCallSettings<DeleteModelMonitoringJobRequest,com.google.protobuf.Empty,DeleteOperationMetadata> |
deleteModelMonitoringJobOperationSettings()
Returns the object with the settings used for calls to deleteModelMonitoringJob.
|
com.google.api.gax.rpc.UnaryCallSettings<DeleteModelMonitoringJobRequest,com.google.longrunning.Operation> |
deleteModelMonitoringJobSettings()
Returns the object with the settings used for calls to deleteModelMonitoringJob.
|
com.google.api.gax.rpc.OperationCallSettings<DeleteModelMonitorRequest,com.google.protobuf.Empty,DeleteOperationMetadata> |
deleteModelMonitorOperationSettings()
Returns the object with the settings used for calls to deleteModelMonitor.
|
com.google.api.gax.rpc.UnaryCallSettings<DeleteModelMonitorRequest,com.google.longrunning.Operation> |
deleteModelMonitorSettings()
Returns the object with the settings used for calls to deleteModelMonitor.
|
static String |
getDefaultEndpoint()
Returns the default service endpoint.
|
static List<String> |
getDefaultServiceScopes()
Returns the default service scopes.
|
com.google.api.gax.rpc.UnaryCallSettings<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> |
getIamPolicySettings()
Returns the object with the settings used for calls to getIamPolicy.
|
com.google.api.gax.rpc.UnaryCallSettings<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> |
getLocationSettings()
Returns the object with the settings used for calls to getLocation.
|
com.google.api.gax.rpc.UnaryCallSettings<GetModelMonitoringJobRequest,ModelMonitoringJob> |
getModelMonitoringJobSettings()
Returns the object with the settings used for calls to getModelMonitoringJob.
|
com.google.api.gax.rpc.UnaryCallSettings<GetModelMonitorRequest,ModelMonitor> |
getModelMonitorSettings()
Returns the object with the settings used for calls to getModelMonitor.
|
com.google.api.gax.rpc.PagedCallSettings<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,ModelMonitoringServiceClient.ListLocationsPagedResponse> |
listLocationsSettings()
Returns the object with the settings used for calls to listLocations.
|
com.google.api.gax.rpc.PagedCallSettings<ListModelMonitoringJobsRequest,ListModelMonitoringJobsResponse,ModelMonitoringServiceClient.ListModelMonitoringJobsPagedResponse> |
listModelMonitoringJobsSettings()
Returns the object with the settings used for calls to listModelMonitoringJobs.
|
com.google.api.gax.rpc.PagedCallSettings<ListModelMonitorsRequest,ListModelMonitorsResponse,ModelMonitoringServiceClient.ListModelMonitorsPagedResponse> |
listModelMonitorsSettings()
Returns the object with the settings used for calls to listModelMonitors.
|
static ModelMonitoringServiceSettings.Builder |
newBuilder()
Returns a new builder for this class.
|
static ModelMonitoringServiceSettings.Builder |
newBuilder(com.google.api.gax.rpc.ClientContext clientContext)
Returns a new builder for this class.
|
com.google.api.gax.rpc.PagedCallSettings<SearchModelMonitoringAlertsRequest,SearchModelMonitoringAlertsResponse,ModelMonitoringServiceClient.SearchModelMonitoringAlertsPagedResponse> |
searchModelMonitoringAlertsSettings()
Returns the object with the settings used for calls to searchModelMonitoringAlerts.
|
com.google.api.gax.rpc.PagedCallSettings<SearchModelMonitoringStatsRequest,SearchModelMonitoringStatsResponse,ModelMonitoringServiceClient.SearchModelMonitoringStatsPagedResponse> |
searchModelMonitoringStatsSettings()
Returns the object with the settings used for calls to searchModelMonitoringStats.
|
com.google.api.gax.rpc.UnaryCallSettings<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> |
setIamPolicySettings()
Returns the object with the settings used for calls to setIamPolicy.
|
com.google.api.gax.rpc.UnaryCallSettings<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> |
testIamPermissionsSettings()
Returns the object with the settings used for calls to testIamPermissions.
|
ModelMonitoringServiceSettings.Builder |
toBuilder()
Returns a builder containing all the values of this settings class.
|
com.google.api.gax.rpc.OperationCallSettings<UpdateModelMonitorRequest,ModelMonitor,UpdateModelMonitorOperationMetadata> |
updateModelMonitorOperationSettings()
Returns the object with the settings used for calls to updateModelMonitor.
|
com.google.api.gax.rpc.UnaryCallSettings<UpdateModelMonitorRequest,com.google.longrunning.Operation> |
updateModelMonitorSettings()
Returns the object with the settings used for calls to updateModelMonitor.
|
getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getUniverseDomain, getWatchdogCheckInterval, getWatchdogProvider, toStringprotected ModelMonitoringServiceSettings(ModelMonitoringServiceSettings.Builder settingsBuilder) throws IOException
IOExceptionpublic com.google.api.gax.rpc.UnaryCallSettings<CreateModelMonitorRequest,com.google.longrunning.Operation> createModelMonitorSettings()
public com.google.api.gax.rpc.OperationCallSettings<CreateModelMonitorRequest,ModelMonitor,CreateModelMonitorOperationMetadata> createModelMonitorOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings<UpdateModelMonitorRequest,com.google.longrunning.Operation> updateModelMonitorSettings()
public com.google.api.gax.rpc.OperationCallSettings<UpdateModelMonitorRequest,ModelMonitor,UpdateModelMonitorOperationMetadata> updateModelMonitorOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings<GetModelMonitorRequest,ModelMonitor> getModelMonitorSettings()
public com.google.api.gax.rpc.PagedCallSettings<ListModelMonitorsRequest,ListModelMonitorsResponse,ModelMonitoringServiceClient.ListModelMonitorsPagedResponse> listModelMonitorsSettings()
public com.google.api.gax.rpc.UnaryCallSettings<DeleteModelMonitorRequest,com.google.longrunning.Operation> deleteModelMonitorSettings()
public com.google.api.gax.rpc.OperationCallSettings<DeleteModelMonitorRequest,com.google.protobuf.Empty,DeleteOperationMetadata> deleteModelMonitorOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings<CreateModelMonitoringJobRequest,ModelMonitoringJob> createModelMonitoringJobSettings()
public com.google.api.gax.rpc.UnaryCallSettings<GetModelMonitoringJobRequest,ModelMonitoringJob> getModelMonitoringJobSettings()
public com.google.api.gax.rpc.PagedCallSettings<ListModelMonitoringJobsRequest,ListModelMonitoringJobsResponse,ModelMonitoringServiceClient.ListModelMonitoringJobsPagedResponse> listModelMonitoringJobsSettings()
public com.google.api.gax.rpc.UnaryCallSettings<DeleteModelMonitoringJobRequest,com.google.longrunning.Operation> deleteModelMonitoringJobSettings()
public com.google.api.gax.rpc.OperationCallSettings<DeleteModelMonitoringJobRequest,com.google.protobuf.Empty,DeleteOperationMetadata> deleteModelMonitoringJobOperationSettings()
public com.google.api.gax.rpc.PagedCallSettings<SearchModelMonitoringStatsRequest,SearchModelMonitoringStatsResponse,ModelMonitoringServiceClient.SearchModelMonitoringStatsPagedResponse> searchModelMonitoringStatsSettings()
public com.google.api.gax.rpc.PagedCallSettings<SearchModelMonitoringAlertsRequest,SearchModelMonitoringAlertsResponse,ModelMonitoringServiceClient.SearchModelMonitoringAlertsPagedResponse> searchModelMonitoringAlertsSettings()
public com.google.api.gax.rpc.PagedCallSettings<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,ModelMonitoringServiceClient.ListLocationsPagedResponse> listLocationsSettings()
public com.google.api.gax.rpc.UnaryCallSettings<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> getLocationSettings()
public com.google.api.gax.rpc.UnaryCallSettings<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> setIamPolicySettings()
public com.google.api.gax.rpc.UnaryCallSettings<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> getIamPolicySettings()
public com.google.api.gax.rpc.UnaryCallSettings<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> testIamPermissionsSettings()
public static final ModelMonitoringServiceSettings create(ModelMonitoringServiceStubSettings stub) throws IOException
IOExceptionpublic static com.google.api.gax.core.InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder()
public static String getDefaultEndpoint()
public static List<String> getDefaultServiceScopes()
public static com.google.api.gax.core.GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder()
public static com.google.api.gax.grpc.InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder()
public static com.google.api.gax.rpc.TransportChannelProvider defaultTransportChannelProvider()
public static com.google.api.gax.rpc.ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder()
public static ModelMonitoringServiceSettings.Builder newBuilder()
public static ModelMonitoringServiceSettings.Builder newBuilder(com.google.api.gax.rpc.ClientContext clientContext)
public ModelMonitoringServiceSettings.Builder toBuilder()
toBuilder in class com.google.api.gax.rpc.ClientSettings<ModelMonitoringServiceSettings>Copyright © 2024 Google LLC. All rights reserved.