Class GrpcNotificationChannelServiceStub (3.9.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
TypeDescription
GrpcNotificationChannelServiceStub
Exceptions
TypeDescription
IOException

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

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

create(NotificationChannelServiceStubSettings settings)

public static final GrpcNotificationChannelServiceStub create(NotificationChannelServiceStubSettings settings)
Parameter
NameDescription
settingsNotificationChannelServiceStubSettings
Returns
TypeDescription
GrpcNotificationChannelServiceStub
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
TypeDescription
UnaryCallable<CreateNotificationChannelRequest,NotificationChannel>
Overrides

deleteNotificationChannelCallable()

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

getNotificationChannelCallable()

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

getNotificationChannelDescriptorCallable()

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

getNotificationChannelVerificationCodeCallable()

public UnaryCallable<GetNotificationChannelVerificationCodeRequest,GetNotificationChannelVerificationCodeResponse> getNotificationChannelVerificationCodeCallable()
Returns
TypeDescription
UnaryCallable<GetNotificationChannelVerificationCodeRequest,GetNotificationChannelVerificationCodeResponse>
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
TypeDescription
UnaryCallable<ListNotificationChannelDescriptorsRequest,ListNotificationChannelDescriptorsResponse>
Overrides

listNotificationChannelDescriptorsPagedCallable()

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

listNotificationChannelsCallable()

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

listNotificationChannelsPagedCallable()

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

sendNotificationChannelVerificationCodeCallable()

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

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

updateNotificationChannelCallable()

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

verifyNotificationChannelCallable()

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