Class GrpcAlphaAnalyticsDataStub (0.25.0)

public class GrpcAlphaAnalyticsDataStub extends AlphaAnalyticsDataStub

gRPC stub implementation for the AlphaAnalyticsData service API.

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

Inheritance

java.lang.Object > AlphaAnalyticsDataStub > GrpcAlphaAnalyticsDataStub

Static Methods

create(AlphaAnalyticsDataStubSettings settings)

public static final GrpcAlphaAnalyticsDataStub create(AlphaAnalyticsDataStubSettings settings)
Parameter
NameDescription
settingsAlphaAnalyticsDataStubSettings
Returns
TypeDescription
GrpcAlphaAnalyticsDataStub
Exceptions
TypeDescription
IOException

create(ClientContext clientContext)

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

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

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

Constructors

GrpcAlphaAnalyticsDataStub(AlphaAnalyticsDataStubSettings settings, ClientContext clientContext)

protected GrpcAlphaAnalyticsDataStub(AlphaAnalyticsDataStubSettings settings, ClientContext clientContext)

Constructs an instance of GrpcAlphaAnalyticsDataStub, 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
settingsAlphaAnalyticsDataStubSettings
clientContextClientContext

GrpcAlphaAnalyticsDataStub(AlphaAnalyticsDataStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

protected GrpcAlphaAnalyticsDataStub(AlphaAnalyticsDataStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

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

close()

public final void close()
Overrides

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
TypeDescription
GrpcOperationsStub

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

runFunnelReportCallable()

public UnaryCallable<RunFunnelReportRequest,RunFunnelReportResponse> runFunnelReportCallable()
Returns
TypeDescription
UnaryCallable<RunFunnelReportRequest,RunFunnelReportResponse>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()