Class GrpcMetricsV1Beta3Stub (0.57.0)

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

Static Methods

create(ClientContext clientContext)

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

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

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

create(MetricsV1Beta3StubSettings settings)

public static final GrpcMetricsV1Beta3Stub create(MetricsV1Beta3StubSettings settings)
Parameter
Name Description
settings MetricsV1Beta3StubSettings
Returns
Type Description
GrpcMetricsV1Beta3Stub
Exceptions
Type Description
IOException

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
Name Description
settings MetricsV1Beta3StubSettings
clientContext ClientContext

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
Name Description
settings MetricsV1Beta3StubSettings
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

getJobExecutionDetailsCallable()

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

getJobExecutionDetailsPagedCallable()

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

getJobMetricsCallable()

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

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
Type Description
GrpcOperationsStub

getStageExecutionDetailsCallable()

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

getStageExecutionDetailsPagedCallable()

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

isShutdown()

public boolean isShutdown()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
boolean

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()