Class EssentialContactsServiceGrpc.EssentialContactsServiceFutureStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractFutureStub<EssentialContactsServiceGrpc.EssentialContactsServiceFutureStub>
com.google.cloud.essentialcontacts.v1.EssentialContactsServiceGrpc.EssentialContactsServiceFutureStub
- Enclosing class:
- EssentialContactsServiceGrpc
public static final class EssentialContactsServiceGrpc.EssentialContactsServiceFutureStub
extends io.grpc.stub.AbstractFutureStub<EssentialContactsServiceGrpc.EssentialContactsServiceFutureStub>
A stub to allow clients to do ListenableFuture-style 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) com.google.common.util.concurrent.ListenableFuture<ComputeContactsResponse>computeContacts(ComputeContactsRequest request) Lists all contacts for the resource that are subscribed to the specified notification categories, including contacts inherited from any parent resources.com.google.common.util.concurrent.ListenableFuture<Contact>createContact(CreateContactRequest request) Adds a new contact for a resource.com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty>deleteContact(DeleteContactRequest request) Deletes a contact.com.google.common.util.concurrent.ListenableFuture<Contact>getContact(GetContactRequest request) Gets a single contact.com.google.common.util.concurrent.ListenableFuture<ListContactsResponse>listContacts(ListContactsRequest request) Lists the contacts that have been set on a resource.com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty>sendTestMessage(SendTestMessageRequest request) Allows a contact admin to send a test message to contact to verify that it has been configured correctly.com.google.common.util.concurrent.ListenableFuture<Contact>updateContact(UpdateContactRequest request) Updates a contact.Methods inherited from class io.grpc.stub.AbstractFutureStub
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.EssentialContactsServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<EssentialContactsServiceGrpc.EssentialContactsServiceFutureStub>
-
createContact
public com.google.common.util.concurrent.ListenableFuture<Contact> createContact(CreateContactRequest request) Adds a new contact for a resource.
-
updateContact
public com.google.common.util.concurrent.ListenableFuture<Contact> updateContact(UpdateContactRequest request) Updates a contact. Note: A contact's email address cannot be changed.
-
listContacts
public com.google.common.util.concurrent.ListenableFuture<ListContactsResponse> listContacts(ListContactsRequest request) Lists the contacts that have been set on a resource.
-
getContact
public com.google.common.util.concurrent.ListenableFuture<Contact> getContact(GetContactRequest request) Gets a single contact.
-
deleteContact
public com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty> deleteContact(DeleteContactRequest request) Deletes a contact.
-
computeContacts
public com.google.common.util.concurrent.ListenableFuture<ComputeContactsResponse> computeContacts(ComputeContactsRequest request) Lists all contacts for the resource that are subscribed to the specified notification categories, including contacts inherited from any parent resources.
-
sendTestMessage
public com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty> sendTestMessage(SendTestMessageRequest request) Allows a contact admin to send a test message to contact to verify that it has been configured correctly.
-