Class GrpcCloudControlsPartnerMonitoringStub (0.1.0)

public class GrpcCloudControlsPartnerMonitoringStub extends CloudControlsPartnerMonitoringStub

gRPC stub implementation for the CloudControlsPartnerMonitoring service API.

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

Inheritance

java.lang.Object > CloudControlsPartnerMonitoringStub > GrpcCloudControlsPartnerMonitoringStub

Static Methods

create(ClientContext clientContext)

public static final GrpcCloudControlsPartnerMonitoringStub create(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext
Returns
TypeDescription
GrpcCloudControlsPartnerMonitoringStub
Exceptions
TypeDescription
IOException

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

public static final GrpcCloudControlsPartnerMonitoringStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
NameDescription
clientContextClientContext
callableFactoryGrpcStubCallableFactory
Returns
TypeDescription
GrpcCloudControlsPartnerMonitoringStub
Exceptions
TypeDescription
IOException

create(CloudControlsPartnerMonitoringStubSettings settings)

public static final GrpcCloudControlsPartnerMonitoringStub create(CloudControlsPartnerMonitoringStubSettings settings)
Parameter
NameDescription
settingsCloudControlsPartnerMonitoringStubSettings
Returns
TypeDescription
GrpcCloudControlsPartnerMonitoringStub
Exceptions
TypeDescription
IOException

Constructors

GrpcCloudControlsPartnerMonitoringStub(CloudControlsPartnerMonitoringStubSettings settings, ClientContext clientContext)

protected GrpcCloudControlsPartnerMonitoringStub(CloudControlsPartnerMonitoringStubSettings settings, ClientContext clientContext)

Constructs an instance of GrpcCloudControlsPartnerMonitoringStub, 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
NameDescription
settingsCloudControlsPartnerMonitoringStubSettings
clientContextClientContext

GrpcCloudControlsPartnerMonitoringStub(CloudControlsPartnerMonitoringStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

protected GrpcCloudControlsPartnerMonitoringStub(CloudControlsPartnerMonitoringStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

Constructs an instance of GrpcCloudControlsPartnerMonitoringStub, 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
NameDescription
settingsCloudControlsPartnerMonitoringStubSettings
clientContextClientContext
callableFactoryGrpcStubCallableFactory

Methods

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
NameDescription
durationlong
unitTimeUnit
Returns
TypeDescription
boolean
Exceptions
TypeDescription
InterruptedException

close()

public final void close()
Overrides

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
TypeDescription
GrpcOperationsStub

getViolationCallable()

public UnaryCallable<GetViolationRequest,Violation> getViolationCallable()
Returns
TypeDescription
UnaryCallable<GetViolationRequest,Violation>
Overrides

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listViolationsCallable()

public UnaryCallable<ListViolationsRequest,ListViolationsResponse> listViolationsCallable()
Returns
TypeDescription
UnaryCallable<ListViolationsRequest,ListViolationsResponse>
Overrides

listViolationsPagedCallable()

public UnaryCallable<ListViolationsRequest,CloudControlsPartnerMonitoringClient.ListViolationsPagedResponse> listViolationsPagedCallable()
Returns
TypeDescription
UnaryCallable<ListViolationsRequest,ListViolationsPagedResponse>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()