Class DnsThreatDetectorServiceGrpc.DnsThreatDetectorServiceStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractAsyncStub<DnsThreatDetectorServiceGrpc.DnsThreatDetectorServiceStub>
com.google.cloud.networksecurity.v1beta1.DnsThreatDetectorServiceGrpc.DnsThreatDetectorServiceStub
- Enclosing class:
- DnsThreatDetectorServiceGrpc
public static final class DnsThreatDetectorServiceGrpc.DnsThreatDetectorServiceStub
extends io.grpc.stub.AbstractAsyncStub<DnsThreatDetectorServiceGrpc.DnsThreatDetectorServiceStub>
A stub to allow clients to do asynchronous rpc calls to service DnsThreatDetectorService.
The Network Security API for DNS Threat Detectors.
-
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 TypeMethodDescriptionbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) voidcreateDnsThreatDetector(CreateDnsThreatDetectorRequest request, io.grpc.stub.StreamObserver<DnsThreatDetector> responseObserver) Creates a new DnsThreatDetector in a given project and location.voiddeleteDnsThreatDetector(DeleteDnsThreatDetectorRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver) Deletes a single DnsThreatDetector.voidgetDnsThreatDetector(GetDnsThreatDetectorRequest request, io.grpc.stub.StreamObserver<DnsThreatDetector> responseObserver) Gets the details of a single DnsThreatDetector.voidlistDnsThreatDetectors(ListDnsThreatDetectorsRequest request, io.grpc.stub.StreamObserver<ListDnsThreatDetectorsResponse> responseObserver) Lists DnsThreatDetectors in a given project and location.voidupdateDnsThreatDetector(UpdateDnsThreatDetectorRequest request, io.grpc.stub.StreamObserver<DnsThreatDetector> responseObserver) Updates a single DnsThreatDetector.Methods inherited from class io.grpc.stub.AbstractAsyncStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected DnsThreatDetectorServiceGrpc.DnsThreatDetectorServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<DnsThreatDetectorServiceGrpc.DnsThreatDetectorServiceStub>
-
listDnsThreatDetectors
public void listDnsThreatDetectors(ListDnsThreatDetectorsRequest request, io.grpc.stub.StreamObserver<ListDnsThreatDetectorsResponse> responseObserver) Lists DnsThreatDetectors in a given project and location.
-
getDnsThreatDetector
public void getDnsThreatDetector(GetDnsThreatDetectorRequest request, io.grpc.stub.StreamObserver<DnsThreatDetector> responseObserver) Gets the details of a single DnsThreatDetector.
-
createDnsThreatDetector
public void createDnsThreatDetector(CreateDnsThreatDetectorRequest request, io.grpc.stub.StreamObserver<DnsThreatDetector> responseObserver) Creates a new DnsThreatDetector in a given project and location.
-
updateDnsThreatDetector
public void updateDnsThreatDetector(UpdateDnsThreatDetectorRequest request, io.grpc.stub.StreamObserver<DnsThreatDetector> responseObserver) Updates a single DnsThreatDetector.
-
deleteDnsThreatDetector
public void deleteDnsThreatDetector(DeleteDnsThreatDetectorRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver) Deletes a single DnsThreatDetector.
-