Class GrpcIntentsStub (4.5.11)

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
NameDescription
clientContextClientContext
Returns
TypeDescription
GrpcIntentsStub
Exceptions
TypeDescription
IOException

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

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

create(IntentsStubSettings settings)

public static final GrpcIntentsStub create(IntentsStubSettings settings)
Parameter
NameDescription
settingsIntentsStubSettings
Returns
TypeDescription
GrpcIntentsStub
Exceptions
TypeDescription
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
NameDescription
settingsIntentsStubSettings
clientContextClientContext

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
NameDescription
settingsIntentsStubSettings
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

batchDeleteIntentsCallable()

public UnaryCallable<BatchDeleteIntentsRequest,Operation> batchDeleteIntentsCallable()
Returns
TypeDescription
UnaryCallable<BatchDeleteIntentsRequest,Operation>
Overrides

batchDeleteIntentsOperationCallable()

public OperationCallable<BatchDeleteIntentsRequest,Empty,Struct> batchDeleteIntentsOperationCallable()
Returns
TypeDescription
OperationCallable<BatchDeleteIntentsRequest,Empty,Struct>
Overrides

batchUpdateIntentsCallable()

public UnaryCallable<BatchUpdateIntentsRequest,Operation> batchUpdateIntentsCallable()
Returns
TypeDescription
UnaryCallable<BatchUpdateIntentsRequest,Operation>
Overrides

batchUpdateIntentsOperationCallable()

public OperationCallable<BatchUpdateIntentsRequest,BatchUpdateIntentsResponse,Struct> batchUpdateIntentsOperationCallable()
Returns
TypeDescription
OperationCallable<BatchUpdateIntentsRequest,BatchUpdateIntentsResponse,Struct>
Overrides

close()

public final void close()
Overrides

createIntentCallable()

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

deleteIntentCallable()

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

getIntentCallable()

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

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
TypeDescription
GrpcOperationsStub
Overrides

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listIntentsCallable()

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

listIntentsPagedCallable()

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

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

updateIntentCallable()

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