Class GrpcNotificationChannelServiceStub (3.43.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
Name Description
clientContext ClientContext
Returns
Type Description
GrpcNotificationChannelServiceStub
Exceptions
Type Description
IOException

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

public static final GrpcNotificationChannelServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
Name Description
clientContext ClientContext
callableFactory GrpcStubCallableFactory
Returns
Type Description
GrpcNotificationChannelServiceStub
Exceptions
Type Description
IOException

create(NotificationChannelServiceStubSettings settings)

public static final GrpcNotificationChannelServiceStub create(NotificationChannelServiceStubSettings settings)
Parameter
Name Description
settings NotificationChannelServiceStubSettings
Returns
Type Description
GrpcNotificationChannelServiceStub
Exceptions
Type Description
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
Name Description
settings NotificationChannelServiceStubSettings
clientContext ClientContext

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
Name Description
settings NotificationChannelServiceStubSettings
clientContext ClientContext
callableFactory GrpcStubCallableFactory

Methods

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Name Description
duration long
unit TimeUnit
Returns
Type Description
boolean
Exceptions
Type Description
InterruptedException

close()

public final void close()
Overrides

createNotificationChannelCallable()

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

deleteNotificationChannelCallable()

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

getNotificationChannelCallable()

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

getNotificationChannelDescriptorCallable()

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

getNotificationChannelVerificationCodeCallable()

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

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
Type Description
GrpcOperationsStub

isShutdown()

public boolean isShutdown()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
boolean

listNotificationChannelDescriptorsCallable()

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

listNotificationChannelDescriptorsPagedCallable()

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

listNotificationChannelsCallable()

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

listNotificationChannelsPagedCallable()

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

sendNotificationChannelVerificationCodeCallable()

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

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

updateNotificationChannelCallable()

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

verifyNotificationChannelCallable()

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