public class GrpcMetricsV1Beta3Stub extends MetricsV1Beta3Stub
gRPC stub implementation for the MetricsV1Beta3 service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(ClientContext clientContext)
public static final GrpcMetricsV1Beta3Stub create(ClientContext clientContext)
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcMetricsV1Beta3Stub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
create(MetricsV1Beta3StubSettings settings)
public static final GrpcMetricsV1Beta3Stub create(MetricsV1Beta3StubSettings settings)
Constructors
GrpcMetricsV1Beta3Stub(MetricsV1Beta3StubSettings settings, ClientContext clientContext)
protected GrpcMetricsV1Beta3Stub(MetricsV1Beta3StubSettings settings, ClientContext clientContext)
Constructs an instance of GrpcMetricsV1Beta3Stub, 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.
GrpcMetricsV1Beta3Stub(MetricsV1Beta3StubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
protected GrpcMetricsV1Beta3Stub(MetricsV1Beta3StubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcMetricsV1Beta3Stub, 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.
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
close()
public final void close()
Overrides
getJobExecutionDetailsCallable()
public UnaryCallable<GetJobExecutionDetailsRequest,JobExecutionDetails> getJobExecutionDetailsCallable()
Overrides
getJobExecutionDetailsPagedCallable()
public UnaryCallable<GetJobExecutionDetailsRequest,MetricsV1Beta3Client.GetJobExecutionDetailsPagedResponse> getJobExecutionDetailsPagedCallable()
Overrides
getJobMetricsCallable()
public UnaryCallable<GetJobMetricsRequest,JobMetrics> getJobMetricsCallable()
Overrides
getOperationsStub()
public GrpcOperationsStub getOperationsStub()
getStageExecutionDetailsCallable()
public UnaryCallable<GetStageExecutionDetailsRequest,StageExecutionDetails> getStageExecutionDetailsCallable()
Overrides
getStageExecutionDetailsPagedCallable()
public UnaryCallable<GetStageExecutionDetailsRequest,MetricsV1Beta3Client.GetStageExecutionDetailsPagedResponse> getStageExecutionDetailsPagedCallable()
Overrides
isShutdown()
public boolean isShutdown()
isTerminated()
public boolean isTerminated()
shutdown()
shutdownNow()
public void shutdownNow()