@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,
ClientContext clientContext)
Constructs an instance of GrpcIntentsStub, using the given settings.
|
protected |
GrpcIntentsStub(IntentsStubSettings settings,
ClientContext clientContext,
GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcIntentsStub, using the given settings.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
awaitTermination(long duration,
TimeUnit unit) |
UnaryCallable<com.google.cloud.dialogflow.v2.BatchDeleteIntentsRequest,Operation> |
batchDeleteIntentsCallable() |
OperationCallable<com.google.cloud.dialogflow.v2.BatchDeleteIntentsRequest,Empty,Struct> |
batchDeleteIntentsOperationCallable() |
UnaryCallable<com.google.cloud.dialogflow.v2.BatchUpdateIntentsRequest,Operation> |
batchUpdateIntentsCallable() |
OperationCallable<com.google.cloud.dialogflow.v2.BatchUpdateIntentsRequest,com.google.cloud.dialogflow.v2.BatchUpdateIntentsResponse,Struct> |
batchUpdateIntentsOperationCallable() |
void |
close() |
static GrpcIntentsStub |
create(ClientContext clientContext) |
static GrpcIntentsStub |
create(ClientContext clientContext,
GrpcStubCallableFactory callableFactory) |
static GrpcIntentsStub |
create(IntentsStubSettings settings) |
UnaryCallable<com.google.cloud.dialogflow.v2.CreateIntentRequest,com.google.cloud.dialogflow.v2.Intent> |
createIntentCallable() |
UnaryCallable<com.google.cloud.dialogflow.v2.DeleteIntentRequest,Empty> |
deleteIntentCallable() |
UnaryCallable<com.google.cloud.dialogflow.v2.GetIntentRequest,com.google.cloud.dialogflow.v2.Intent> |
getIntentCallable() |
GrpcOperationsStub |
getOperationsStub() |
boolean |
isShutdown() |
boolean |
isTerminated() |
UnaryCallable<com.google.cloud.dialogflow.v2.ListIntentsRequest,com.google.cloud.dialogflow.v2.ListIntentsResponse> |
listIntentsCallable() |
UnaryCallable<com.google.cloud.dialogflow.v2.ListIntentsRequest,IntentsClient.ListIntentsPagedResponse> |
listIntentsPagedCallable() |
void |
shutdown() |
void |
shutdownNow() |
UnaryCallable<com.google.cloud.dialogflow.v2.UpdateIntentRequest,com.google.cloud.dialogflow.v2.Intent> |
updateIntentCallable() |
protected GrpcIntentsStub(IntentsStubSettings settings, ClientContext clientContext) throws IOException
IOExceptionprotected GrpcIntentsStub(IntentsStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException
IOExceptionpublic static final GrpcIntentsStub create(IntentsStubSettings settings) throws IOException
IOExceptionpublic static final GrpcIntentsStub create(ClientContext clientContext) throws IOException
IOExceptionpublic static final GrpcIntentsStub create(ClientContext clientContext, 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 GrpcOperationsStub getOperationsStub()
getOperationsStub in class IntentsStubpublic UnaryCallable<com.google.cloud.dialogflow.v2.ListIntentsRequest,IntentsClient.ListIntentsPagedResponse> listIntentsPagedCallable()
listIntentsPagedCallable in class IntentsStubpublic UnaryCallable<com.google.cloud.dialogflow.v2.ListIntentsRequest,com.google.cloud.dialogflow.v2.ListIntentsResponse> listIntentsCallable()
listIntentsCallable in class IntentsStubpublic UnaryCallable<com.google.cloud.dialogflow.v2.GetIntentRequest,com.google.cloud.dialogflow.v2.Intent> getIntentCallable()
getIntentCallable in class IntentsStubpublic UnaryCallable<com.google.cloud.dialogflow.v2.CreateIntentRequest,com.google.cloud.dialogflow.v2.Intent> createIntentCallable()
createIntentCallable in class IntentsStubpublic UnaryCallable<com.google.cloud.dialogflow.v2.UpdateIntentRequest,com.google.cloud.dialogflow.v2.Intent> updateIntentCallable()
updateIntentCallable in class IntentsStubpublic UnaryCallable<com.google.cloud.dialogflow.v2.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 OperationCallable<com.google.cloud.dialogflow.v2.BatchUpdateIntentsRequest,com.google.cloud.dialogflow.v2.BatchUpdateIntentsResponse,Struct> batchUpdateIntentsOperationCallable()
batchUpdateIntentsOperationCallable in class IntentsStubpublic UnaryCallable<com.google.cloud.dialogflow.v2.BatchUpdateIntentsRequest,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 OperationCallable<com.google.cloud.dialogflow.v2.BatchDeleteIntentsRequest,Empty,Struct> batchDeleteIntentsOperationCallable()
batchDeleteIntentsOperationCallable in class IntentsStubpublic UnaryCallable<com.google.cloud.dialogflow.v2.BatchDeleteIntentsRequest,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.