@Generated(value="by gapic-generator") @BetaApi(value="A restructuring of stub classes is planned, so this may break in the future") public class GrpcNotificationChannelServiceStub extends NotificationChannelServiceStub
This class is for advanced usage and reflects the underlying API directly.
Modifier | Constructor and Description |
---|---|
protected |
GrpcNotificationChannelServiceStub(NotificationChannelServiceStubSettings settings,
ClientContext clientContext)
Constructs an instance of GrpcNotificationChannelServiceStub, using the given settings.
|
protected |
GrpcNotificationChannelServiceStub(NotificationChannelServiceStubSettings settings,
ClientContext clientContext,
GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcNotificationChannelServiceStub, using the given settings.
|
Modifier and Type | Method and Description |
---|---|
boolean |
awaitTermination(long duration,
TimeUnit unit) |
void |
close() |
static GrpcNotificationChannelServiceStub |
create(ClientContext clientContext) |
static GrpcNotificationChannelServiceStub |
create(ClientContext clientContext,
GrpcStubCallableFactory callableFactory) |
static GrpcNotificationChannelServiceStub |
create(NotificationChannelServiceStubSettings settings) |
UnaryCallable<com.google.monitoring.v3.CreateNotificationChannelRequest,com.google.monitoring.v3.NotificationChannel> |
createNotificationChannelCallable() |
UnaryCallable<com.google.monitoring.v3.DeleteNotificationChannelRequest,Empty> |
deleteNotificationChannelCallable() |
UnaryCallable<com.google.monitoring.v3.GetNotificationChannelRequest,com.google.monitoring.v3.NotificationChannel> |
getNotificationChannelCallable() |
UnaryCallable<com.google.monitoring.v3.GetNotificationChannelDescriptorRequest,com.google.monitoring.v3.NotificationChannelDescriptor> |
getNotificationChannelDescriptorCallable() |
boolean |
isShutdown() |
boolean |
isTerminated() |
UnaryCallable<com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest,com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse> |
listNotificationChannelDescriptorsCallable() |
UnaryCallable<com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest,NotificationChannelServiceClient.ListNotificationChannelDescriptorsPagedResponse> |
listNotificationChannelDescriptorsPagedCallable() |
UnaryCallable<com.google.monitoring.v3.ListNotificationChannelsRequest,com.google.monitoring.v3.ListNotificationChannelsResponse> |
listNotificationChannelsCallable() |
UnaryCallable<com.google.monitoring.v3.ListNotificationChannelsRequest,NotificationChannelServiceClient.ListNotificationChannelsPagedResponse> |
listNotificationChannelsPagedCallable() |
void |
shutdown() |
void |
shutdownNow() |
UnaryCallable<com.google.monitoring.v3.UpdateNotificationChannelRequest,com.google.monitoring.v3.NotificationChannel> |
updateNotificationChannelCallable() |
protected GrpcNotificationChannelServiceStub(NotificationChannelServiceStubSettings settings, ClientContext clientContext) throws IOException
IOException
protected GrpcNotificationChannelServiceStub(NotificationChannelServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException
IOException
public static final GrpcNotificationChannelServiceStub create(NotificationChannelServiceStubSettings settings) throws IOException
IOException
public static final GrpcNotificationChannelServiceStub create(ClientContext clientContext) throws IOException
IOException
public static final GrpcNotificationChannelServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException
IOException
public UnaryCallable<com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest,NotificationChannelServiceClient.ListNotificationChannelDescriptorsPagedResponse> listNotificationChannelDescriptorsPagedCallable()
listNotificationChannelDescriptorsPagedCallable
in class NotificationChannelServiceStub
public UnaryCallable<com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest,com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse> listNotificationChannelDescriptorsCallable()
listNotificationChannelDescriptorsCallable
in class NotificationChannelServiceStub
public UnaryCallable<com.google.monitoring.v3.GetNotificationChannelDescriptorRequest,com.google.monitoring.v3.NotificationChannelDescriptor> getNotificationChannelDescriptorCallable()
getNotificationChannelDescriptorCallable
in class NotificationChannelServiceStub
public UnaryCallable<com.google.monitoring.v3.ListNotificationChannelsRequest,NotificationChannelServiceClient.ListNotificationChannelsPagedResponse> listNotificationChannelsPagedCallable()
listNotificationChannelsPagedCallable
in class NotificationChannelServiceStub
public UnaryCallable<com.google.monitoring.v3.ListNotificationChannelsRequest,com.google.monitoring.v3.ListNotificationChannelsResponse> listNotificationChannelsCallable()
listNotificationChannelsCallable
in class NotificationChannelServiceStub
public UnaryCallable<com.google.monitoring.v3.GetNotificationChannelRequest,com.google.monitoring.v3.NotificationChannel> getNotificationChannelCallable()
getNotificationChannelCallable
in class NotificationChannelServiceStub
public UnaryCallable<com.google.monitoring.v3.CreateNotificationChannelRequest,com.google.monitoring.v3.NotificationChannel> createNotificationChannelCallable()
createNotificationChannelCallable
in class NotificationChannelServiceStub
public UnaryCallable<com.google.monitoring.v3.UpdateNotificationChannelRequest,com.google.monitoring.v3.NotificationChannel> updateNotificationChannelCallable()
updateNotificationChannelCallable
in class NotificationChannelServiceStub
public UnaryCallable<com.google.monitoring.v3.DeleteNotificationChannelRequest,Empty> deleteNotificationChannelCallable()
deleteNotificationChannelCallable
in class NotificationChannelServiceStub
public final void close()
close
in interface AutoCloseable
close
in class NotificationChannelServiceStub
public void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException
InterruptedException
Copyright © 2019 Google LLC. All rights reserved.