Class GrpcNotificationChannelServiceStub (3.7.0)

public class GrpcNotificationChannelServiceStub extends NotificationChannelServiceStub

gRPC stub implementation for the NotificationChannelService service API.

This class is for advanced usage and reflects the underlying API directly.

Inheritance

java.lang.Object > NotificationChannelServiceStub > GrpcNotificationChannelServiceStub

Static Methods

create(ClientContext clientContext)

public static final GrpcNotificationChannelServiceStub create(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext
Returns Exceptions
TypeDescription
IOException

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

public static final GrpcNotificationChannelServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
NameDescription
clientContextClientContext
callableFactoryGrpcStubCallableFactory
Returns Exceptions
TypeDescription
IOException

create(NotificationChannelServiceStubSettings settings)

public static final GrpcNotificationChannelServiceStub create(NotificationChannelServiceStubSettings settings)
Parameter Returns Exceptions
TypeDescription
IOException

Constructors

GrpcNotificationChannelServiceStub(NotificationChannelServiceStubSettings settings, ClientContext clientContext)

protected GrpcNotificationChannelServiceStub(NotificationChannelServiceStubSettings settings, ClientContext clientContext)

Constructs an instance of GrpcNotificationChannelServiceStub, using the given settings. This is protected so that it is easy to make a subclass, but otherwise, the static factory methods should be preferred.

Parameters
NameDescription
settingsNotificationChannelServiceStubSettings
clientContextClientContext

GrpcNotificationChannelServiceStub(NotificationChannelServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

protected GrpcNotificationChannelServiceStub(NotificationChannelServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

Constructs an instance of GrpcNotificationChannelServiceStub, using the given settings. This is protected so that it is easy to make a subclass, but otherwise, the static factory methods should be preferred.

Parameters
NameDescription
settingsNotificationChannelServiceStubSettings
clientContextClientContext
callableFactoryGrpcStubCallableFactory

Methods

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
NameDescription
durationlong
unitTimeUnit
Returns
TypeDescription
boolean
Exceptions
TypeDescription
InterruptedException

close()

public final void close()
Overrides

createNotificationChannelCallable()

public UnaryCallable<CreateNotificationChannelRequest,NotificationChannel> createNotificationChannelCallable()
Returns Overrides

deleteNotificationChannelCallable()

public UnaryCallable<DeleteNotificationChannelRequest,Empty> deleteNotificationChannelCallable()
Returns Overrides

getNotificationChannelCallable()

public UnaryCallable<GetNotificationChannelRequest,NotificationChannel> getNotificationChannelCallable()
Returns Overrides

getNotificationChannelDescriptorCallable()

public UnaryCallable<GetNotificationChannelDescriptorRequest,NotificationChannelDescriptor> getNotificationChannelDescriptorCallable()
Returns Overrides

getNotificationChannelVerificationCodeCallable()

public UnaryCallable<GetNotificationChannelVerificationCodeRequest,GetNotificationChannelVerificationCodeResponse> getNotificationChannelVerificationCodeCallable()
Returns Overrides

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
TypeDescription
GrpcOperationsStub

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listNotificationChannelDescriptorsCallable()

public UnaryCallable<ListNotificationChannelDescriptorsRequest,ListNotificationChannelDescriptorsResponse> listNotificationChannelDescriptorsCallable()
Returns Overrides

listNotificationChannelDescriptorsPagedCallable()

public UnaryCallable<ListNotificationChannelDescriptorsRequest,NotificationChannelServiceClient.ListNotificationChannelDescriptorsPagedResponse> listNotificationChannelDescriptorsPagedCallable()
Returns Overrides

listNotificationChannelsCallable()

public UnaryCallable<ListNotificationChannelsRequest,ListNotificationChannelsResponse> listNotificationChannelsCallable()
Returns Overrides

listNotificationChannelsPagedCallable()

public UnaryCallable<ListNotificationChannelsRequest,NotificationChannelServiceClient.ListNotificationChannelsPagedResponse> listNotificationChannelsPagedCallable()
Returns Overrides

sendNotificationChannelVerificationCodeCallable()

public UnaryCallable<SendNotificationChannelVerificationCodeRequest,Empty> sendNotificationChannelVerificationCodeCallable()
Returns Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

updateNotificationChannelCallable()

public UnaryCallable<UpdateNotificationChannelRequest,NotificationChannel> updateNotificationChannelCallable()
Returns Overrides

verifyNotificationChannelCallable()

public UnaryCallable<VerifyNotificationChannelRequest,NotificationChannel> verifyNotificationChannelCallable()
Returns Overrides