Class HttpJsonBetaAnalyticsDataStub (0.15.0)

public class HttpJsonBetaAnalyticsDataStub extends BetaAnalyticsDataStub

REST stub implementation for the BetaAnalyticsData service API.

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

Inheritance

java.lang.Object > BetaAnalyticsDataStub > HttpJsonBetaAnalyticsDataStub

Static Methods

create(BetaAnalyticsDataStubSettings settings)

public static final HttpJsonBetaAnalyticsDataStub create(BetaAnalyticsDataStubSettings settings)
Parameter
NameDescription
settingsBetaAnalyticsDataStubSettings
Returns
TypeDescription
HttpJsonBetaAnalyticsDataStub
Exceptions
TypeDescription
IOException

create(ClientContext clientContext)

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

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

public static final HttpJsonBetaAnalyticsDataStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters
NameDescription
clientContextClientContext
callableFactoryHttpJsonStubCallableFactory
Returns
TypeDescription
HttpJsonBetaAnalyticsDataStub
Exceptions
TypeDescription
IOException

getMethodDescriptors()

public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
TypeDescription
List<ApiMethodDescriptor>

Constructors

HttpJsonBetaAnalyticsDataStub(BetaAnalyticsDataStubSettings settings, ClientContext clientContext)

protected HttpJsonBetaAnalyticsDataStub(BetaAnalyticsDataStubSettings settings, ClientContext clientContext)

Constructs an instance of HttpJsonBetaAnalyticsDataStub, 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
settingsBetaAnalyticsDataStubSettings
clientContextClientContext

HttpJsonBetaAnalyticsDataStub(BetaAnalyticsDataStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

protected HttpJsonBetaAnalyticsDataStub(BetaAnalyticsDataStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

Constructs an instance of HttpJsonBetaAnalyticsDataStub, 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
settingsBetaAnalyticsDataStubSettings
clientContextClientContext
callableFactoryHttpJsonStubCallableFactory

Methods

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
NameDescription
durationlong
unitTimeUnit
Returns
TypeDescription
boolean
Exceptions
TypeDescription
InterruptedException

batchRunPivotReportsCallable()

public UnaryCallable<BatchRunPivotReportsRequest,BatchRunPivotReportsResponse> batchRunPivotReportsCallable()
Returns
TypeDescription
UnaryCallable<BatchRunPivotReportsRequest,BatchRunPivotReportsResponse>
Overrides

batchRunReportsCallable()

public UnaryCallable<BatchRunReportsRequest,BatchRunReportsResponse> batchRunReportsCallable()
Returns
TypeDescription
UnaryCallable<BatchRunReportsRequest,BatchRunReportsResponse>
Overrides

checkCompatibilityCallable()

public UnaryCallable<CheckCompatibilityRequest,CheckCompatibilityResponse> checkCompatibilityCallable()
Returns
TypeDescription
UnaryCallable<CheckCompatibilityRequest,CheckCompatibilityResponse>
Overrides

close()

public final void close()
Overrides

getMetadataCallable()

public UnaryCallable<GetMetadataRequest,Metadata> getMetadataCallable()
Returns
TypeDescription
UnaryCallable<GetMetadataRequest,Metadata>
Overrides

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

runPivotReportCallable()

public UnaryCallable<RunPivotReportRequest,RunPivotReportResponse> runPivotReportCallable()
Returns
TypeDescription
UnaryCallable<RunPivotReportRequest,RunPivotReportResponse>
Overrides

runRealtimeReportCallable()

public UnaryCallable<RunRealtimeReportRequest,RunRealtimeReportResponse> runRealtimeReportCallable()
Returns
TypeDescription
UnaryCallable<RunRealtimeReportRequest,RunRealtimeReportResponse>
Overrides

runReportCallable()

public UnaryCallable<RunReportRequest,RunReportResponse> runReportCallable()
Returns
TypeDescription
UnaryCallable<RunReportRequest,RunReportResponse>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()