Class HttpJsonMetricsV1Beta3Stub (0.53.0)

public class HttpJsonMetricsV1Beta3Stub extends MetricsV1Beta3Stub

REST stub implementation for the MetricsV1Beta3 service API.

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

Inheritance

java.lang.Object > MetricsV1Beta3Stub > HttpJsonMetricsV1Beta3Stub

Static Methods

create(ClientContext clientContext)

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

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

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

create(MetricsV1Beta3StubSettings settings)

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

getMethodDescriptors()

public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
Type Description
List<ApiMethodDescriptor>

Constructors

HttpJsonMetricsV1Beta3Stub(MetricsV1Beta3StubSettings settings, ClientContext clientContext)

protected HttpJsonMetricsV1Beta3Stub(MetricsV1Beta3StubSettings settings, ClientContext clientContext)

Constructs an instance of HttpJsonMetricsV1Beta3Stub, 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

HttpJsonMetricsV1Beta3Stub(MetricsV1Beta3StubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

protected HttpJsonMetricsV1Beta3Stub(MetricsV1Beta3StubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

Constructs an instance of HttpJsonMetricsV1Beta3Stub, 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 HttpJsonStubCallableFactory

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

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()