Class GrpcIntentsStub (0.11.5)

public class GrpcIntentsStub extends IntentsStub

gRPC stub implementation for the Intents service API.

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

Inheritance

java.lang.Object > IntentsStub > GrpcIntentsStub

Static Methods

create(ClientContext clientContext)

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

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

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

create(IntentsStubSettings settings)

public static final GrpcIntentsStub create(IntentsStubSettings settings)
Parameter
Name Description
settings IntentsStubSettings
Returns
Type Description
GrpcIntentsStub
Exceptions
Type Description
IOException

Constructors

GrpcIntentsStub(IntentsStubSettings settings, ClientContext clientContext)

protected GrpcIntentsStub(IntentsStubSettings settings, ClientContext clientContext)

Constructs an instance of GrpcIntentsStub, 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 IntentsStubSettings
clientContext ClientContext

GrpcIntentsStub(IntentsStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

protected GrpcIntentsStub(IntentsStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

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

createIntentCallable()

public UnaryCallable<CreateIntentRequest,Intent> createIntentCallable()
Returns
Type Description
UnaryCallable<CreateIntentRequest,Intent>
Overrides

deleteIntentCallable()

public UnaryCallable<DeleteIntentRequest,Empty> deleteIntentCallable()
Returns
Type Description
UnaryCallable<DeleteIntentRequest,Empty>
Overrides

getIntentCallable()

public UnaryCallable<GetIntentRequest,Intent> getIntentCallable()
Returns
Type Description
UnaryCallable<GetIntentRequest,Intent>
Overrides

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
Type Description
GrpcOperationsStub

isShutdown()

public boolean isShutdown()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
boolean

listIntentsCallable()

public UnaryCallable<ListIntentsRequest,ListIntentsResponse> listIntentsCallable()
Returns
Type Description
UnaryCallable<ListIntentsRequest,ListIntentsResponse>
Overrides

listIntentsPagedCallable()

public UnaryCallable<ListIntentsRequest,IntentsClient.ListIntentsPagedResponse> listIntentsPagedCallable()
Returns
Type Description
UnaryCallable<ListIntentsRequest,ListIntentsPagedResponse>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

updateIntentCallable()

public UnaryCallable<UpdateIntentRequest,Intent> updateIntentCallable()
Returns
Type Description
UnaryCallable<UpdateIntentRequest,Intent>
Overrides