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.
Static Methods
create(ClientContext clientContext)
public static final HttpJsonMetricsV1Beta3Stub create(ClientContext clientContext)
Parameter
Returns
Exceptions
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonMetricsV1Beta3Stub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters
Returns
Exceptions
create(MetricsV1Beta3StubSettings settings)
public static final HttpJsonMetricsV1Beta3Stub create(MetricsV1Beta3StubSettings settings)
Parameter
Returns
Exceptions
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
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
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
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Returns
Exceptions
close()
public final void close()
Overrides
getJobExecutionDetailsCallable()
public UnaryCallable<GetJobExecutionDetailsRequest,JobExecutionDetails> getJobExecutionDetailsCallable()
Returns
Overrides
getJobExecutionDetailsPagedCallable()
public UnaryCallable<GetJobExecutionDetailsRequest,MetricsV1Beta3Client.GetJobExecutionDetailsPagedResponse> getJobExecutionDetailsPagedCallable()
Returns
Overrides
getJobMetricsCallable()
public UnaryCallable<GetJobMetricsRequest,JobMetrics> getJobMetricsCallable()
Returns
Overrides
getStageExecutionDetailsCallable()
public UnaryCallable<GetStageExecutionDetailsRequest,StageExecutionDetails> getStageExecutionDetailsCallable()
Returns
Overrides
getStageExecutionDetailsPagedCallable()
public UnaryCallable<GetStageExecutionDetailsRequest,MetricsV1Beta3Client.GetStageExecutionDetailsPagedResponse> getStageExecutionDetailsPagedCallable()
Returns
Overrides
isShutdown()
public boolean isShutdown()
Returns
isTerminated()
public boolean isTerminated()
Returns
shutdown()
shutdownNow()
public void shutdownNow()