Class GrpcMetricsV1Beta3Stub

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.

Inheritance

java.lang.Object > MetricsV1Beta3Stub > GrpcMetricsV1Beta3Stub

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.

Parameters
NameDescription
settingsMetricsV1Beta3StubSettings
clientContextClientContext

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.

Parameters
NameDescription
settingsMetricsV1Beta3StubSettings
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

create(ClientContext clientContext)

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

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

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

create(MetricsV1Beta3StubSettings settings)

public static final GrpcMetricsV1Beta3Stub create(MetricsV1Beta3StubSettings settings)
Parameter
NameDescription
settingsMetricsV1Beta3StubSettings
Returns
TypeDescription
GrpcMetricsV1Beta3Stub
Exceptions
TypeDescription
IOException

getJobExecutionDetailsCallable()

public UnaryCallable<GetJobExecutionDetailsRequest,JobExecutionDetails> getJobExecutionDetailsCallable()
Returns
TypeDescription
UnaryCallable<GetJobExecutionDetailsRequest,JobExecutionDetails>
Overrides

getJobExecutionDetailsPagedCallable()

public UnaryCallable<GetJobExecutionDetailsRequest,MetricsV1Beta3Client.GetJobExecutionDetailsPagedResponse> getJobExecutionDetailsPagedCallable()
Returns
TypeDescription
UnaryCallable<GetJobExecutionDetailsRequest,GetJobExecutionDetailsPagedResponse>
Overrides

getJobMetricsCallable()

public UnaryCallable<GetJobMetricsRequest,JobMetrics> getJobMetricsCallable()
Returns
TypeDescription
UnaryCallable<GetJobMetricsRequest,JobMetrics>
Overrides

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
TypeDescription
GrpcOperationsStub

getStageExecutionDetailsCallable()

public UnaryCallable<GetStageExecutionDetailsRequest,StageExecutionDetails> getStageExecutionDetailsCallable()
Returns
TypeDescription
UnaryCallable<GetStageExecutionDetailsRequest,StageExecutionDetails>
Overrides

getStageExecutionDetailsPagedCallable()

public UnaryCallable<GetStageExecutionDetailsRequest,MetricsV1Beta3Client.GetStageExecutionDetailsPagedResponse> getStageExecutionDetailsPagedCallable()
Returns
TypeDescription
UnaryCallable<GetStageExecutionDetailsRequest,GetStageExecutionDetailsPagedResponse>
Overrides

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()