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.
Static Methods
create(ClientContext clientContext)
public static final GrpcNotificationChannelServiceStub create(ClientContext clientContext)
Parameter
Returns
Exceptions
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcNotificationChannelServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
Returns
Exceptions
create(NotificationChannelServiceStubSettings settings)
public static final GrpcNotificationChannelServiceStub create(NotificationChannelServiceStubSettings settings)
Parameter
Returns
Exceptions
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
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
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Returns
Exceptions
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
isShutdown()
public boolean isShutdown()
Returns
isTerminated()
public boolean isTerminated()
Returns
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()
shutdownNow()
public void shutdownNow()
updateNotificationChannelCallable()
public UnaryCallable<UpdateNotificationChannelRequest,NotificationChannel> updateNotificationChannelCallable()
Returns
Overrides
verifyNotificationChannelCallable()
public UnaryCallable<VerifyNotificationChannelRequest,NotificationChannel> verifyNotificationChannelCallable()
Returns
Overrides