Class EncryptionSpecServiceGrpc.EncryptionSpecServiceStub

java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractAsyncStub<EncryptionSpecServiceGrpc.EncryptionSpecServiceStub>
com.google.cloud.dialogflow.v2.EncryptionSpecServiceGrpc.EncryptionSpecServiceStub
Enclosing class:
EncryptionSpecServiceGrpc

public static final class EncryptionSpecServiceGrpc.EncryptionSpecServiceStub extends io.grpc.stub.AbstractAsyncStub<EncryptionSpecServiceGrpc.EncryptionSpecServiceStub>
A stub to allow clients to do asynchronous rpc calls to service EncryptionSpecService.
 Manages encryption spec settings for Dialogflow and Agent Assist.
 
  • Nested Class Summary

    Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub

    io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>>
  • Method Summary

    Modifier and Type
    Method
    Description
    build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
     
    void
    getEncryptionSpec(GetEncryptionSpecRequest request, io.grpc.stub.StreamObserver<EncryptionSpec> responseObserver)
    Gets location-level encryption key specification.
    void
    initializeEncryptionSpec(InitializeEncryptionSpecRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver)
    Initializes a location-level encryption key specification.

    Methods inherited from class io.grpc.stub.AbstractAsyncStub

    newStub, newStub

    Methods inherited from class io.grpc.stub.AbstractStub

    getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • build

      protected EncryptionSpecServiceGrpc.EncryptionSpecServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
      Specified by:
      build in class io.grpc.stub.AbstractStub<EncryptionSpecServiceGrpc.EncryptionSpecServiceStub>
    • getEncryptionSpec

      public void getEncryptionSpec(GetEncryptionSpecRequest request, io.grpc.stub.StreamObserver<EncryptionSpec> responseObserver)
       Gets location-level encryption key specification.
       
    • initializeEncryptionSpec

      public void initializeEncryptionSpec(InitializeEncryptionSpecRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver)
       Initializes a location-level encryption key specification.  An error will
       be thrown if the location has resources already created before the
       initialization. Once the encryption specification is initialized at a
       location, it is immutable and all newly created resources under the
       location will be encrypted with the existing specification.