Class 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 Detail

      • 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].
         
      • 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]
         
      • 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]