Class EnvironmentsGrpc.EnvironmentsFutureStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractFutureStub<EnvironmentsGrpc.EnvironmentsFutureStub>
-
- com.google.cloud.dialogflow.cx.v3beta1.EnvironmentsGrpc.EnvironmentsFutureStub
-
- Enclosing class:
- EnvironmentsGrpc
public static final class EnvironmentsGrpc.EnvironmentsFutureStub extends io.grpc.stub.AbstractFutureStub<EnvironmentsGrpc.EnvironmentsFutureStub>
A stub to allow clients to do ListenableFuture-style rpc calls to service Environments.Service for managing [Environments][google.cloud.dialogflow.cx.v3beta1.Environment].
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected EnvironmentsGrpc.EnvironmentsFutureStub
build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation>
createEnvironment(CreateEnvironmentRequest request)
Creates an [Environment][google.cloud.dialogflow.cx.v3beta1.Environment] in the specified [Agent][google.cloud.dialogflow.cx.v3beta1.Agent].com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty>
deleteEnvironment(DeleteEnvironmentRequest request)
Deletes the specified [Environment][google.cloud.dialogflow.cx.v3beta1.Environment].com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation>
deployFlow(DeployFlowRequest request)
Deploys a flow to the specified [Environment][google.cloud.dialogflow.cx.v3beta1.Environment].com.google.common.util.concurrent.ListenableFuture<Environment>
getEnvironment(GetEnvironmentRequest request)
Retrieves the specified [Environment][google.cloud.dialogflow.cx.v3beta1.Environment].com.google.common.util.concurrent.ListenableFuture<ListContinuousTestResultsResponse>
listContinuousTestResults(ListContinuousTestResultsRequest request)
Fetches a list of continuous test results for a given environment.com.google.common.util.concurrent.ListenableFuture<ListEnvironmentsResponse>
listEnvironments(ListEnvironmentsRequest request)
Returns the list of all environments in the specified [Agent][google.cloud.dialogflow.cx.v3beta1.Agent].com.google.common.util.concurrent.ListenableFuture<LookupEnvironmentHistoryResponse>
lookupEnvironmentHistory(LookupEnvironmentHistoryRequest request)
Looks up the history of the specified [Environment][google.cloud.dialogflow.cx.v3beta1.Environment].com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation>
runContinuousTest(RunContinuousTestRequest request)
Kicks off a continuous test under the specified [Environment][google.cloud.dialogflow.cx.v3beta1.Environment].com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation>
updateEnvironment(UpdateEnvironmentRequest request)
Updates the specified [Environment][google.cloud.dialogflow.cx.v3beta1.Environment].
-
-
-
Method Detail
-
build
protected EnvironmentsGrpc.EnvironmentsFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
build
in classio.grpc.stub.AbstractStub<EnvironmentsGrpc.EnvironmentsFutureStub>
-
listEnvironments
public com.google.common.util.concurrent.ListenableFuture<ListEnvironmentsResponse> listEnvironments(ListEnvironmentsRequest request)
Returns the list of all environments in the specified [Agent][google.cloud.dialogflow.cx.v3beta1.Agent].
-
getEnvironment
public com.google.common.util.concurrent.ListenableFuture<Environment> getEnvironment(GetEnvironmentRequest request)
Retrieves the specified [Environment][google.cloud.dialogflow.cx.v3beta1.Environment].
-
createEnvironment
public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> createEnvironment(CreateEnvironmentRequest request)
Creates an [Environment][google.cloud.dialogflow.cx.v3beta1.Environment] in the specified [Agent][google.cloud.dialogflow.cx.v3beta1.Agent]. This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields: - `metadata`: An empty [Struct message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: [Environment][google.cloud.dialogflow.cx.v3beta1.Environment]
-
updateEnvironment
public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> updateEnvironment(UpdateEnvironmentRequest request)
Updates the specified [Environment][google.cloud.dialogflow.cx.v3beta1.Environment]. This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields: - `metadata`: An empty [Struct message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: [Environment][google.cloud.dialogflow.cx.v3beta1.Environment]
-
deleteEnvironment
public com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty> deleteEnvironment(DeleteEnvironmentRequest request)
Deletes the specified [Environment][google.cloud.dialogflow.cx.v3beta1.Environment].
-
lookupEnvironmentHistory
public com.google.common.util.concurrent.ListenableFuture<LookupEnvironmentHistoryResponse> lookupEnvironmentHistory(LookupEnvironmentHistoryRequest request)
Looks up the history of the specified [Environment][google.cloud.dialogflow.cx.v3beta1.Environment].
-
runContinuousTest
public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> runContinuousTest(RunContinuousTestRequest request)
Kicks off a continuous test under the specified [Environment][google.cloud.dialogflow.cx.v3beta1.Environment]. This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields: - `metadata`: [RunContinuousTestMetadata][google.cloud.dialogflow.cx.v3beta1.RunContinuousTestMetadata] - `response`: [RunContinuousTestResponse][google.cloud.dialogflow.cx.v3beta1.RunContinuousTestResponse]
-
listContinuousTestResults
public com.google.common.util.concurrent.ListenableFuture<ListContinuousTestResultsResponse> listContinuousTestResults(ListContinuousTestResultsRequest request)
Fetches a list of continuous test results for a given environment.
-
deployFlow
public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> deployFlow(DeployFlowRequest request)
Deploys a flow to the specified [Environment][google.cloud.dialogflow.cx.v3beta1.Environment]. This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields: - `metadata`: [DeployFlowMetadata][google.cloud.dialogflow.cx.v3beta1.DeployFlowMetadata] - `response`: [DeployFlowResponse][google.cloud.dialogflow.cx.v3beta1.DeployFlowResponse]
-
-