Class GrpcBetaAnalyticsDataStub (0.32.0)

public class GrpcBetaAnalyticsDataStub extends BetaAnalyticsDataStub

gRPC stub implementation for the BetaAnalyticsData service API.

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

Inheritance

java.lang.Object > BetaAnalyticsDataStub > GrpcBetaAnalyticsDataStub

Static Methods

create(BetaAnalyticsDataStubSettings settings)

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

create(ClientContext clientContext)

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

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

public static final GrpcBetaAnalyticsDataStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
NameDescription
clientContextClientContext
callableFactoryGrpcStubCallableFactory
Returns
TypeDescription
GrpcBetaAnalyticsDataStub
Exceptions
TypeDescription
IOException

Constructors

GrpcBetaAnalyticsDataStub(BetaAnalyticsDataStubSettings settings, ClientContext clientContext)

protected GrpcBetaAnalyticsDataStub(BetaAnalyticsDataStubSettings settings, ClientContext clientContext)

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

GrpcBetaAnalyticsDataStub(BetaAnalyticsDataStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

protected GrpcBetaAnalyticsDataStub(BetaAnalyticsDataStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

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

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

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
TypeDescription
GrpcOperationsStub

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