@Generated(value="by gapic-generator") @BetaApi(value="A restructuring of stub classes is planned, so this may break in the future") public class GrpcIntentsStub extends IntentsStub
This class is for advanced usage and reflects the underlying API directly.
| Modifier | Constructor and Description |
|---|---|
protected |
GrpcIntentsStub(IntentsStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of GrpcIntentsStub, using the given settings.
|
protected |
GrpcIntentsStub(IntentsStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcIntentsStub, using the given settings.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
awaitTermination(long duration,
TimeUnit unit) |
com.google.api.gax.rpc.UnaryCallable<BatchDeleteIntentsRequest,com.google.longrunning.Operation> |
batchDeleteIntentsCallable() |
com.google.api.gax.rpc.OperationCallable<BatchDeleteIntentsRequest,Empty,Struct> |
batchDeleteIntentsOperationCallable() |
com.google.api.gax.rpc.UnaryCallable<BatchUpdateIntentsRequest,com.google.longrunning.Operation> |
batchUpdateIntentsCallable() |
com.google.api.gax.rpc.OperationCallable<BatchUpdateIntentsRequest,BatchUpdateIntentsResponse,Struct> |
batchUpdateIntentsOperationCallable() |
void |
close() |
static GrpcIntentsStub |
create(com.google.api.gax.rpc.ClientContext clientContext) |
static GrpcIntentsStub |
create(com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) |
static GrpcIntentsStub |
create(IntentsStubSettings settings) |
com.google.api.gax.rpc.UnaryCallable<CreateIntentRequest,Intent> |
createIntentCallable() |
com.google.api.gax.rpc.UnaryCallable<DeleteIntentRequest,Empty> |
deleteIntentCallable() |
com.google.api.gax.rpc.UnaryCallable<GetIntentRequest,Intent> |
getIntentCallable() |
com.google.longrunning.stub.GrpcOperationsStub |
getOperationsStub() |
boolean |
isShutdown() |
boolean |
isTerminated() |
com.google.api.gax.rpc.UnaryCallable<ListIntentsRequest,ListIntentsResponse> |
listIntentsCallable() |
com.google.api.gax.rpc.UnaryCallable<ListIntentsRequest,IntentsClient.ListIntentsPagedResponse> |
listIntentsPagedCallable() |
void |
shutdown() |
void |
shutdownNow() |
com.google.api.gax.rpc.UnaryCallable<UpdateIntentRequest,Intent> |
updateIntentCallable() |
protected GrpcIntentsStub(IntentsStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionprotected GrpcIntentsStub(IntentsStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOExceptionpublic static final GrpcIntentsStub create(IntentsStubSettings settings) throws IOException
IOExceptionpublic static final GrpcIntentsStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionpublic static final GrpcIntentsStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOException@BetaApi(value="The surface for use by generated code is not stable yet and may change in the future.") public com.google.longrunning.stub.GrpcOperationsStub getOperationsStub()
getOperationsStub in class IntentsStubpublic com.google.api.gax.rpc.UnaryCallable<ListIntentsRequest,IntentsClient.ListIntentsPagedResponse> listIntentsPagedCallable()
listIntentsPagedCallable in class IntentsStubpublic com.google.api.gax.rpc.UnaryCallable<ListIntentsRequest,ListIntentsResponse> listIntentsCallable()
listIntentsCallable in class IntentsStubpublic com.google.api.gax.rpc.UnaryCallable<GetIntentRequest,Intent> getIntentCallable()
getIntentCallable in class IntentsStubpublic com.google.api.gax.rpc.UnaryCallable<CreateIntentRequest,Intent> createIntentCallable()
createIntentCallable in class IntentsStubpublic com.google.api.gax.rpc.UnaryCallable<UpdateIntentRequest,Intent> updateIntentCallable()
updateIntentCallable in class IntentsStubpublic com.google.api.gax.rpc.UnaryCallable<DeleteIntentRequest,Empty> deleteIntentCallable()
deleteIntentCallable in class IntentsStub@BetaApi(value="The surface for use by generated code is not stable yet and may change in the future.") public com.google.api.gax.rpc.OperationCallable<BatchUpdateIntentsRequest,BatchUpdateIntentsResponse,Struct> batchUpdateIntentsOperationCallable()
batchUpdateIntentsOperationCallable in class IntentsStubpublic com.google.api.gax.rpc.UnaryCallable<BatchUpdateIntentsRequest,com.google.longrunning.Operation> batchUpdateIntentsCallable()
batchUpdateIntentsCallable in class IntentsStub@BetaApi(value="The surface for use by generated code is not stable yet and may change in the future.") public com.google.api.gax.rpc.OperationCallable<BatchDeleteIntentsRequest,Empty,Struct> batchDeleteIntentsOperationCallable()
batchDeleteIntentsOperationCallable in class IntentsStubpublic com.google.api.gax.rpc.UnaryCallable<BatchDeleteIntentsRequest,com.google.longrunning.Operation> batchDeleteIntentsCallable()
batchDeleteIntentsCallable in class IntentsStubpublic final void close()
close in interface AutoCloseableclose in class IntentsStubpublic void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public boolean awaitTermination(long duration,
TimeUnit unit)
throws InterruptedException
InterruptedExceptionCopyright © 2019 Google LLC. All rights reserved.