public class HttpJsonAnalyticsServiceStub extends AnalyticsServiceStub
REST stub implementation for the AnalyticsService service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(ClientContext clientContext)
public static final HttpJsonAnalyticsServiceStub create(ClientContext clientContext)
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonAnalyticsServiceStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
create(AnalyticsServiceStubSettings settings)
public static final HttpJsonAnalyticsServiceStub create(AnalyticsServiceStubSettings settings)
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
Constructors
HttpJsonAnalyticsServiceStub(AnalyticsServiceStubSettings settings, ClientContext clientContext)
protected HttpJsonAnalyticsServiceStub(AnalyticsServiceStubSettings settings, ClientContext clientContext)
Constructs an instance of HttpJsonAnalyticsServiceStub, 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.
HttpJsonAnalyticsServiceStub(AnalyticsServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
protected HttpJsonAnalyticsServiceStub(AnalyticsServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonAnalyticsServiceStub, 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
exportAnalyticsMetricsCallable()
public UnaryCallable<ExportAnalyticsMetricsRequest,Operation> exportAnalyticsMetricsCallable()
Overrides
exportAnalyticsMetricsOperationCallable()
public OperationCallable<ExportAnalyticsMetricsRequest,ExportAnalyticsMetricsResponse,ExportMetadata> exportAnalyticsMetricsOperationCallable()
Overrides
getHttpJsonOperationsStub()
public HttpJsonOperationsStub getHttpJsonOperationsStub()
Overrides
isShutdown()
public boolean isShutdown()
isTerminated()
public boolean isTerminated()
shutdown()
shutdownNow()
public void shutdownNow()