Class EssentialContactsServiceGrpc.EssentialContactsServiceStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractAsyncStub<EssentialContactsServiceGrpc.EssentialContactsServiceStub>
com.google.cloud.essentialcontacts.v1.EssentialContactsServiceGrpc.EssentialContactsServiceStub
- Enclosing class:
- EssentialContactsServiceGrpc
public static final class EssentialContactsServiceGrpc.EssentialContactsServiceStub
extends io.grpc.stub.AbstractAsyncStub<EssentialContactsServiceGrpc.EssentialContactsServiceStub>
A stub to allow clients to do asynchronous rpc calls to service EssentialContactsService.
Manages contacts for important Google Cloud notifications.
-
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) voidcomputeContacts(ComputeContactsRequest request, io.grpc.stub.StreamObserver<ComputeContactsResponse> responseObserver) Lists all contacts for the resource that are subscribed to the specified notification categories, including contacts inherited from any parent resources.voidcreateContact(CreateContactRequest request, io.grpc.stub.StreamObserver<Contact> responseObserver) Adds a new contact for a resource.voiddeleteContact(DeleteContactRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver) Deletes a contact.voidgetContact(GetContactRequest request, io.grpc.stub.StreamObserver<Contact> responseObserver) Gets a single contact.voidlistContacts(ListContactsRequest request, io.grpc.stub.StreamObserver<ListContactsResponse> responseObserver) Lists the contacts that have been set on a resource.voidsendTestMessage(SendTestMessageRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver) Allows a contact admin to send a test message to contact to verify that it has been configured correctly.voidupdateContact(UpdateContactRequest request, io.grpc.stub.StreamObserver<Contact> responseObserver) Updates a contact.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 EssentialContactsServiceGrpc.EssentialContactsServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<EssentialContactsServiceGrpc.EssentialContactsServiceStub>
-
createContact
public void createContact(CreateContactRequest request, io.grpc.stub.StreamObserver<Contact> responseObserver) Adds a new contact for a resource.
-
updateContact
public void updateContact(UpdateContactRequest request, io.grpc.stub.StreamObserver<Contact> responseObserver) Updates a contact. Note: A contact's email address cannot be changed.
-
listContacts
public void listContacts(ListContactsRequest request, io.grpc.stub.StreamObserver<ListContactsResponse> responseObserver) Lists the contacts that have been set on a resource.
-
getContact
public void getContact(GetContactRequest request, io.grpc.stub.StreamObserver<Contact> responseObserver) Gets a single contact.
-
deleteContact
public void deleteContact(DeleteContactRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver) Deletes a contact.
-
computeContacts
public void computeContacts(ComputeContactsRequest request, io.grpc.stub.StreamObserver<ComputeContactsResponse> responseObserver) Lists all contacts for the resource that are subscribed to the specified notification categories, including contacts inherited from any parent resources.
-
sendTestMessage
public void sendTestMessage(SendTestMessageRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver) Allows a contact admin to send a test message to contact to verify that it has been configured correctly.
-