@Generated(value="by GAPIC v0.0.5") @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,
com.google.api.gax.rpc.ClientContext clientContext)
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(com.google.api.gax.rpc.ClientContext clientContext) |
static GrpcNotificationChannelServiceStub |
create(NotificationChannelServiceStubSettings settings) |
com.google.api.gax.rpc.UnaryCallable<com.google.monitoring.v3.CreateNotificationChannelRequest,com.google.monitoring.v3.NotificationChannel> |
createNotificationChannelCallable() |
com.google.api.gax.rpc.UnaryCallable<com.google.monitoring.v3.DeleteNotificationChannelRequest,com.google.protobuf.Empty> |
deleteNotificationChannelCallable() |
com.google.api.gax.rpc.UnaryCallable<com.google.monitoring.v3.GetNotificationChannelRequest,com.google.monitoring.v3.NotificationChannel> |
getNotificationChannelCallable() |
com.google.api.gax.rpc.UnaryCallable<com.google.monitoring.v3.GetNotificationChannelDescriptorRequest,com.google.monitoring.v3.NotificationChannelDescriptor> |
getNotificationChannelDescriptorCallable() |
boolean |
isShutdown() |
boolean |
isTerminated() |
com.google.api.gax.rpc.UnaryCallable<com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest,com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse> |
listNotificationChannelDescriptorsCallable() |
com.google.api.gax.rpc.UnaryCallable<com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest,NotificationChannelServiceClient.ListNotificationChannelDescriptorsPagedResponse> |
listNotificationChannelDescriptorsPagedCallable() |
com.google.api.gax.rpc.UnaryCallable<com.google.monitoring.v3.ListNotificationChannelsRequest,com.google.monitoring.v3.ListNotificationChannelsResponse> |
listNotificationChannelsCallable() |
com.google.api.gax.rpc.UnaryCallable<com.google.monitoring.v3.ListNotificationChannelsRequest,NotificationChannelServiceClient.ListNotificationChannelsPagedResponse> |
listNotificationChannelsPagedCallable() |
void |
shutdown() |
void |
shutdownNow() |
com.google.api.gax.rpc.UnaryCallable<com.google.monitoring.v3.UpdateNotificationChannelRequest,com.google.monitoring.v3.NotificationChannel> |
updateNotificationChannelCallable() |
protected GrpcNotificationChannelServiceStub(NotificationChannelServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOException
public static final GrpcNotificationChannelServiceStub create(NotificationChannelServiceStubSettings settings) throws IOException
IOException
public static final GrpcNotificationChannelServiceStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOException
public com.google.api.gax.rpc.UnaryCallable<com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest,NotificationChannelServiceClient.ListNotificationChannelDescriptorsPagedResponse> listNotificationChannelDescriptorsPagedCallable()
listNotificationChannelDescriptorsPagedCallable
in class NotificationChannelServiceStub
public com.google.api.gax.rpc.UnaryCallable<com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest,com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse> listNotificationChannelDescriptorsCallable()
listNotificationChannelDescriptorsCallable
in class NotificationChannelServiceStub
public com.google.api.gax.rpc.UnaryCallable<com.google.monitoring.v3.GetNotificationChannelDescriptorRequest,com.google.monitoring.v3.NotificationChannelDescriptor> getNotificationChannelDescriptorCallable()
getNotificationChannelDescriptorCallable
in class NotificationChannelServiceStub
public com.google.api.gax.rpc.UnaryCallable<com.google.monitoring.v3.ListNotificationChannelsRequest,NotificationChannelServiceClient.ListNotificationChannelsPagedResponse> listNotificationChannelsPagedCallable()
listNotificationChannelsPagedCallable
in class NotificationChannelServiceStub
public com.google.api.gax.rpc.UnaryCallable<com.google.monitoring.v3.ListNotificationChannelsRequest,com.google.monitoring.v3.ListNotificationChannelsResponse> listNotificationChannelsCallable()
listNotificationChannelsCallable
in class NotificationChannelServiceStub
public com.google.api.gax.rpc.UnaryCallable<com.google.monitoring.v3.GetNotificationChannelRequest,com.google.monitoring.v3.NotificationChannel> getNotificationChannelCallable()
getNotificationChannelCallable
in class NotificationChannelServiceStub
public com.google.api.gax.rpc.UnaryCallable<com.google.monitoring.v3.CreateNotificationChannelRequest,com.google.monitoring.v3.NotificationChannel> createNotificationChannelCallable()
createNotificationChannelCallable
in class NotificationChannelServiceStub
public com.google.api.gax.rpc.UnaryCallable<com.google.monitoring.v3.UpdateNotificationChannelRequest,com.google.monitoring.v3.NotificationChannel> updateNotificationChannelCallable()
updateNotificationChannelCallable
in class NotificationChannelServiceStub
public com.google.api.gax.rpc.UnaryCallable<com.google.monitoring.v3.DeleteNotificationChannelRequest,com.google.protobuf.Empty> deleteNotificationChannelCallable()
deleteNotificationChannelCallable
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 © 2018 Google. All rights reserved.