Class EnvironmentsGrpc.EnvironmentsStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractAsyncStub<EnvironmentsGrpc.EnvironmentsStub>
-
- com.google.cloud.dialogflow.cx.v3.EnvironmentsGrpc.EnvironmentsStub
-
- Enclosing class:
- EnvironmentsGrpc
public static final class EnvironmentsGrpc.EnvironmentsStub extends io.grpc.stub.AbstractAsyncStub<EnvironmentsGrpc.EnvironmentsStub>
A stub to allow clients to do asynchronous rpc calls to service Environments.Service for managing [Environments][google.cloud.dialogflow.cx.v3.Environment].
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected EnvironmentsGrpc.EnvironmentsStub
build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
void
createEnvironment(CreateEnvironmentRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Creates an [Environment][google.cloud.dialogflow.cx.v3.Environment] in the specified [Agent][google.cloud.dialogflow.cx.v3.Agent].void
deleteEnvironment(DeleteEnvironmentRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
Deletes the specified [Environment][google.cloud.dialogflow.cx.v3.Environment].void
deployFlow(DeployFlowRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Deploys a flow to the specified [Environment][google.cloud.dialogflow.cx.v3.Environment].void
getEnvironment(GetEnvironmentRequest request, io.grpc.stub.StreamObserver<Environment> responseObserver)
Retrieves the specified [Environment][google.cloud.dialogflow.cx.v3.Environment].void
listContinuousTestResults(ListContinuousTestResultsRequest request, io.grpc.stub.StreamObserver<ListContinuousTestResultsResponse> responseObserver)
Fetches a list of continuous test results for a given environment.void
listEnvironments(ListEnvironmentsRequest request, io.grpc.stub.StreamObserver<ListEnvironmentsResponse> responseObserver)
Returns the list of all environments in the specified [Agent][google.cloud.dialogflow.cx.v3.Agent].void
lookupEnvironmentHistory(LookupEnvironmentHistoryRequest request, io.grpc.stub.StreamObserver<LookupEnvironmentHistoryResponse> responseObserver)
Looks up the history of the specified [Environment][google.cloud.dialogflow.cx.v3.Environment].void
runContinuousTest(RunContinuousTestRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Kicks off a continuous test under the specified [Environment][google.cloud.dialogflow.cx.v3.Environment].void
updateEnvironment(UpdateEnvironmentRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Updates the specified [Environment][google.cloud.dialogflow.cx.v3.Environment].
-
-
-
Method Detail
-
build
protected EnvironmentsGrpc.EnvironmentsStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
build
in classio.grpc.stub.AbstractStub<EnvironmentsGrpc.EnvironmentsStub>
-
listEnvironments
public void listEnvironments(ListEnvironmentsRequest request, io.grpc.stub.StreamObserver<ListEnvironmentsResponse> responseObserver)
Returns the list of all environments in the specified [Agent][google.cloud.dialogflow.cx.v3.Agent].
-
getEnvironment
public void getEnvironment(GetEnvironmentRequest request, io.grpc.stub.StreamObserver<Environment> responseObserver)
Retrieves the specified [Environment][google.cloud.dialogflow.cx.v3.Environment].
-
createEnvironment
public void createEnvironment(CreateEnvironmentRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Creates an [Environment][google.cloud.dialogflow.cx.v3.Environment] in the specified [Agent][google.cloud.dialogflow.cx.v3.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.v3.Environment]
-
updateEnvironment
public void updateEnvironment(UpdateEnvironmentRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Updates the specified [Environment][google.cloud.dialogflow.cx.v3.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.v3.Environment]
-
deleteEnvironment
public void deleteEnvironment(DeleteEnvironmentRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
Deletes the specified [Environment][google.cloud.dialogflow.cx.v3.Environment].
-
lookupEnvironmentHistory
public void lookupEnvironmentHistory(LookupEnvironmentHistoryRequest request, io.grpc.stub.StreamObserver<LookupEnvironmentHistoryResponse> responseObserver)
Looks up the history of the specified [Environment][google.cloud.dialogflow.cx.v3.Environment].
-
runContinuousTest
public void runContinuousTest(RunContinuousTestRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Kicks off a continuous test under the specified [Environment][google.cloud.dialogflow.cx.v3.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.v3.RunContinuousTestMetadata] - `response`: [RunContinuousTestResponse][google.cloud.dialogflow.cx.v3.RunContinuousTestResponse]
-
listContinuousTestResults
public void listContinuousTestResults(ListContinuousTestResultsRequest request, io.grpc.stub.StreamObserver<ListContinuousTestResultsResponse> responseObserver)
Fetches a list of continuous test results for a given environment.
-
deployFlow
public void deployFlow(DeployFlowRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Deploys a flow to the specified [Environment][google.cloud.dialogflow.cx.v3.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.v3.DeployFlowMetadata] - `response`: [DeployFlowResponse][google.cloud.dialogflow.cx.v3.DeployFlowResponse]
-
-