@Generated(value="by GAPIC v0.0.5") @BetaApi(value="A restructuring of stub classes is planned, so this may break in the future") public class GrpcAgentsStub extends AgentsStub
This class is for advanced usage and reflects the underlying API directly.
| Modifier | Constructor and Description |
|---|---|
protected |
GrpcAgentsStub(AgentsSettings settings,
com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of GrpcAgentsStub, using the given settings.
|
protected GrpcAgentsStub(AgentsSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionpublic static final GrpcAgentsStub create(AgentsSettings settings) throws IOException
IOExceptionpublic static final GrpcAgentsStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionpublic com.google.longrunning.stub.GrpcOperationsStub getOperationsStub()
getOperationsStub in class AgentsStubpublic com.google.api.gax.rpc.UnaryCallable<com.google.cloud.dialogflow.v2beta1.GetAgentRequest,com.google.cloud.dialogflow.v2beta1.Agent> getAgentCallable()
getAgentCallable in class AgentsStubpublic com.google.api.gax.rpc.UnaryCallable<com.google.cloud.dialogflow.v2beta1.SearchAgentsRequest,PagedResponseWrappers.SearchAgentsPagedResponse> searchAgentsPagedCallable()
searchAgentsPagedCallable in class AgentsStubpublic com.google.api.gax.rpc.UnaryCallable<com.google.cloud.dialogflow.v2beta1.SearchAgentsRequest,com.google.cloud.dialogflow.v2beta1.SearchAgentsResponse> searchAgentsCallable()
searchAgentsCallable in class AgentsStubpublic com.google.api.gax.rpc.OperationCallable<com.google.cloud.dialogflow.v2beta1.TrainAgentRequest,com.google.protobuf.Empty,com.google.protobuf.Struct> trainAgentOperationCallable()
trainAgentOperationCallable in class AgentsStubpublic com.google.api.gax.rpc.UnaryCallable<com.google.cloud.dialogflow.v2beta1.TrainAgentRequest,com.google.longrunning.Operation> trainAgentCallable()
trainAgentCallable in class AgentsStubpublic com.google.api.gax.rpc.OperationCallable<com.google.cloud.dialogflow.v2beta1.ExportAgentRequest,com.google.cloud.dialogflow.v2beta1.ExportAgentResponse,com.google.protobuf.Struct> exportAgentOperationCallable()
exportAgentOperationCallable in class AgentsStubpublic com.google.api.gax.rpc.UnaryCallable<com.google.cloud.dialogflow.v2beta1.ExportAgentRequest,com.google.longrunning.Operation> exportAgentCallable()
exportAgentCallable in class AgentsStubpublic com.google.api.gax.rpc.OperationCallable<com.google.cloud.dialogflow.v2beta1.ImportAgentRequest,com.google.protobuf.Empty,com.google.protobuf.Struct> importAgentOperationCallable()
importAgentOperationCallable in class AgentsStubpublic com.google.api.gax.rpc.UnaryCallable<com.google.cloud.dialogflow.v2beta1.ImportAgentRequest,com.google.longrunning.Operation> importAgentCallable()
importAgentCallable in class AgentsStubpublic com.google.api.gax.rpc.OperationCallable<com.google.cloud.dialogflow.v2beta1.RestoreAgentRequest,com.google.protobuf.Empty,com.google.protobuf.Struct> restoreAgentOperationCallable()
restoreAgentOperationCallable in class AgentsStubpublic com.google.api.gax.rpc.UnaryCallable<com.google.cloud.dialogflow.v2beta1.RestoreAgentRequest,com.google.longrunning.Operation> restoreAgentCallable()
restoreAgentCallable in class AgentsStubpublic void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public boolean awaitTermination(long duration,
TimeUnit unit)
throws InterruptedException
InterruptedExceptionCopyright © 2017 Google. All rights reserved.