Class GrpcModelMonitoringServiceStub (3.43.0)

public class GrpcModelMonitoringServiceStub extends ModelMonitoringServiceStub

gRPC stub implementation for the ModelMonitoringService service API.

This class is for advanced usage and reflects the underlying API directly.

Inheritance

java.lang.Object > ModelMonitoringServiceStub > GrpcModelMonitoringServiceStub

Static Methods

create(ClientContext clientContext)

public static final GrpcModelMonitoringServiceStub create(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext
Returns
Type Description
GrpcModelMonitoringServiceStub
Exceptions
Type Description
IOException

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

public static final GrpcModelMonitoringServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
Name Description
clientContext ClientContext
callableFactory GrpcStubCallableFactory
Returns
Type Description
GrpcModelMonitoringServiceStub
Exceptions
Type Description
IOException

create(ModelMonitoringServiceStubSettings settings)

public static final GrpcModelMonitoringServiceStub create(ModelMonitoringServiceStubSettings settings)
Parameter
Name Description
settings ModelMonitoringServiceStubSettings
Returns
Type Description
GrpcModelMonitoringServiceStub
Exceptions
Type Description
IOException

Constructors

GrpcModelMonitoringServiceStub(ModelMonitoringServiceStubSettings settings, ClientContext clientContext)

protected GrpcModelMonitoringServiceStub(ModelMonitoringServiceStubSettings settings, ClientContext clientContext)

Constructs an instance of GrpcModelMonitoringServiceStub, using the given settings. This is protected so that it is easy to make a subclass, but otherwise, the static factory methods should be preferred.

Parameters
Name Description
settings ModelMonitoringServiceStubSettings
clientContext ClientContext

GrpcModelMonitoringServiceStub(ModelMonitoringServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

protected GrpcModelMonitoringServiceStub(ModelMonitoringServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

Constructs an instance of GrpcModelMonitoringServiceStub, using the given settings. This is protected so that it is easy to make a subclass, but otherwise, the static factory methods should be preferred.

Parameters
Name Description
settings ModelMonitoringServiceStubSettings
clientContext ClientContext
callableFactory GrpcStubCallableFactory

Methods

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Name Description
duration long
unit TimeUnit
Returns
Type Description
boolean
Exceptions
Type Description
InterruptedException

close()

public final void close()
Overrides

createModelMonitorCallable()

public UnaryCallable<CreateModelMonitorRequest,Operation> createModelMonitorCallable()
Returns
Type Description
UnaryCallable<CreateModelMonitorRequest,Operation>
Overrides

createModelMonitorOperationCallable()

public OperationCallable<CreateModelMonitorRequest,ModelMonitor,CreateModelMonitorOperationMetadata> createModelMonitorOperationCallable()
Returns
Type Description
OperationCallable<CreateModelMonitorRequest,ModelMonitor,CreateModelMonitorOperationMetadata>
Overrides

createModelMonitoringJobCallable()

public UnaryCallable<CreateModelMonitoringJobRequest,ModelMonitoringJob> createModelMonitoringJobCallable()
Returns
Type Description
UnaryCallable<CreateModelMonitoringJobRequest,ModelMonitoringJob>
Overrides

deleteModelMonitorCallable()

public UnaryCallable<DeleteModelMonitorRequest,Operation> deleteModelMonitorCallable()
Returns
Type Description
UnaryCallable<DeleteModelMonitorRequest,Operation>
Overrides

deleteModelMonitorOperationCallable()

public OperationCallable<DeleteModelMonitorRequest,Empty,DeleteOperationMetadata> deleteModelMonitorOperationCallable()
Returns
Type Description
OperationCallable<DeleteModelMonitorRequest,Empty,DeleteOperationMetadata>
Overrides

deleteModelMonitoringJobCallable()

public UnaryCallable<DeleteModelMonitoringJobRequest,Operation> deleteModelMonitoringJobCallable()
Returns
Type Description
UnaryCallable<DeleteModelMonitoringJobRequest,Operation>
Overrides

deleteModelMonitoringJobOperationCallable()

public OperationCallable<DeleteModelMonitoringJobRequest,Empty,DeleteOperationMetadata> deleteModelMonitoringJobOperationCallable()
Returns
Type Description
OperationCallable<DeleteModelMonitoringJobRequest,Empty,DeleteOperationMetadata>
Overrides

getIamPolicyCallable()

public UnaryCallable<GetIamPolicyRequest,Policy> getIamPolicyCallable()
Returns
Type Description
UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy>
Overrides

getLocationCallable()

public UnaryCallable<GetLocationRequest,Location> getLocationCallable()
Returns
Type Description
UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>
Overrides

getModelMonitorCallable()

public UnaryCallable<GetModelMonitorRequest,ModelMonitor> getModelMonitorCallable()
Returns
Type Description
UnaryCallable<GetModelMonitorRequest,ModelMonitor>
Overrides

getModelMonitoringJobCallable()

public UnaryCallable<GetModelMonitoringJobRequest,ModelMonitoringJob> getModelMonitoringJobCallable()
Returns
Type Description
UnaryCallable<GetModelMonitoringJobRequest,ModelMonitoringJob>
Overrides

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
Type Description
GrpcOperationsStub
Overrides

isShutdown()

public boolean isShutdown()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
boolean

listLocationsCallable()

public UnaryCallable<ListLocationsRequest,ListLocationsResponse> listLocationsCallable()
Returns
Type Description
UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse>
Overrides

listLocationsPagedCallable()

public UnaryCallable<ListLocationsRequest,ModelMonitoringServiceClient.ListLocationsPagedResponse> listLocationsPagedCallable()
Returns
Type Description
UnaryCallable<com.google.cloud.location.ListLocationsRequest,ListLocationsPagedResponse>
Overrides

listModelMonitoringJobsCallable()

public UnaryCallable<ListModelMonitoringJobsRequest,ListModelMonitoringJobsResponse> listModelMonitoringJobsCallable()
Returns
Type Description
UnaryCallable<ListModelMonitoringJobsRequest,ListModelMonitoringJobsResponse>
Overrides

listModelMonitoringJobsPagedCallable()

public UnaryCallable<ListModelMonitoringJobsRequest,ModelMonitoringServiceClient.ListModelMonitoringJobsPagedResponse> listModelMonitoringJobsPagedCallable()
Returns
Type Description
UnaryCallable<ListModelMonitoringJobsRequest,ListModelMonitoringJobsPagedResponse>
Overrides

listModelMonitorsCallable()

public UnaryCallable<ListModelMonitorsRequest,ListModelMonitorsResponse> listModelMonitorsCallable()
Returns
Type Description
UnaryCallable<ListModelMonitorsRequest,ListModelMonitorsResponse>
Overrides

listModelMonitorsPagedCallable()

public UnaryCallable<ListModelMonitorsRequest,ModelMonitoringServiceClient.ListModelMonitorsPagedResponse> listModelMonitorsPagedCallable()
Returns
Type Description
UnaryCallable<ListModelMonitorsRequest,ListModelMonitorsPagedResponse>
Overrides

searchModelMonitoringAlertsCallable()

public UnaryCallable<SearchModelMonitoringAlertsRequest,SearchModelMonitoringAlertsResponse> searchModelMonitoringAlertsCallable()
Returns
Type Description
UnaryCallable<SearchModelMonitoringAlertsRequest,SearchModelMonitoringAlertsResponse>
Overrides

searchModelMonitoringAlertsPagedCallable()

public UnaryCallable<SearchModelMonitoringAlertsRequest,ModelMonitoringServiceClient.SearchModelMonitoringAlertsPagedResponse> searchModelMonitoringAlertsPagedCallable()
Returns
Type Description
UnaryCallable<SearchModelMonitoringAlertsRequest,SearchModelMonitoringAlertsPagedResponse>
Overrides

searchModelMonitoringStatsCallable()

public UnaryCallable<SearchModelMonitoringStatsRequest,SearchModelMonitoringStatsResponse> searchModelMonitoringStatsCallable()
Returns
Type Description
UnaryCallable<SearchModelMonitoringStatsRequest,SearchModelMonitoringStatsResponse>
Overrides

searchModelMonitoringStatsPagedCallable()

public UnaryCallable<SearchModelMonitoringStatsRequest,ModelMonitoringServiceClient.SearchModelMonitoringStatsPagedResponse> searchModelMonitoringStatsPagedCallable()
Returns
Type Description
UnaryCallable<SearchModelMonitoringStatsRequest,SearchModelMonitoringStatsPagedResponse>
Overrides

setIamPolicyCallable()

public UnaryCallable<SetIamPolicyRequest,Policy> setIamPolicyCallable()
Returns
Type Description
UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

testIamPermissionsCallable()

public UnaryCallable<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsCallable()
Returns
Type Description
UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse>
Overrides

updateModelMonitorCallable()

public UnaryCallable<UpdateModelMonitorRequest,Operation> updateModelMonitorCallable()
Returns
Type Description
UnaryCallable<UpdateModelMonitorRequest,Operation>
Overrides

updateModelMonitorOperationCallable()

public OperationCallable<UpdateModelMonitorRequest,ModelMonitor,UpdateModelMonitorOperationMetadata> updateModelMonitorOperationCallable()
Returns
Type Description
OperationCallable<UpdateModelMonitorRequest,ModelMonitor,UpdateModelMonitorOperationMetadata>
Overrides