Class GrpcIngestionServiceStub (0.1.0)

public class GrpcIngestionServiceStub extends IngestionServiceStub

gRPC stub implementation for the IngestionService service API.

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

Inheritance

java.lang.Object > IngestionServiceStub > GrpcIngestionServiceStub

Static Methods

create(IngestionServiceStubSettings settings)

public static final GrpcIngestionServiceStub create(IngestionServiceStubSettings settings)
Parameter
Name Description
settings IngestionServiceStubSettings
Returns
Type Description
GrpcIngestionServiceStub
Exceptions
Type Description
IOException

create(ClientContext clientContext)

public static final GrpcIngestionServiceStub create(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext
Returns
Type Description
GrpcIngestionServiceStub
Exceptions
Type Description
IOException

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

public static final GrpcIngestionServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
Name Description
clientContext ClientContext
callableFactory GrpcStubCallableFactory
Returns
Type Description
GrpcIngestionServiceStub
Exceptions
Type Description
IOException

Constructors

GrpcIngestionServiceStub(IngestionServiceStubSettings settings, ClientContext clientContext)

protected GrpcIngestionServiceStub(IngestionServiceStubSettings settings, ClientContext clientContext)

Constructs an instance of GrpcIngestionServiceStub, 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
Name Description
settings IngestionServiceStubSettings
clientContext ClientContext

GrpcIngestionServiceStub(IngestionServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

protected GrpcIngestionServiceStub(IngestionServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

Constructs an instance of GrpcIngestionServiceStub, 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
Name Description
settings IngestionServiceStubSettings
clientContext ClientContext
callableFactory GrpcStubCallableFactory

Methods

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Name Description
duration long
unit TimeUnit
Returns
Type Description
boolean
Exceptions
Type Description
InterruptedException

close()

public final void close()
Overrides

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
Type Description
GrpcOperationsStub

ingestAudienceMembersCallable()

public UnaryCallable<IngestAudienceMembersRequest,IngestAudienceMembersResponse> ingestAudienceMembersCallable()
Returns
Type Description
UnaryCallable<IngestAudienceMembersRequest,IngestAudienceMembersResponse>
Overrides

ingestEventsCallable()

public UnaryCallable<IngestEventsRequest,IngestEventsResponse> ingestEventsCallable()
Returns
Type Description
UnaryCallable<IngestEventsRequest,IngestEventsResponse>
Overrides

isShutdown()

public boolean isShutdown()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
boolean

removeAudienceMembersCallable()

public UnaryCallable<RemoveAudienceMembersRequest,RemoveAudienceMembersResponse> removeAudienceMembersCallable()
Returns
Type Description
UnaryCallable<RemoveAudienceMembersRequest,RemoveAudienceMembersResponse>
Overrides

retrieveRequestStatusCallable()

public UnaryCallable<RetrieveRequestStatusRequest,RetrieveRequestStatusResponse> retrieveRequestStatusCallable()
Returns
Type Description
UnaryCallable<RetrieveRequestStatusRequest,RetrieveRequestStatusResponse>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()