Class GrpcParticipantsStub (4.7.0)

public class GrpcParticipantsStub extends ParticipantsStub

gRPC stub implementation for the Participants service API.

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

Inheritance

java.lang.Object > ParticipantsStub > GrpcParticipantsStub

Static Methods

create(ClientContext clientContext)

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

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

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

create(ParticipantsStubSettings settings)

public static final GrpcParticipantsStub create(ParticipantsStubSettings settings)
Parameter
NameDescription
settingsParticipantsStubSettings
Returns
TypeDescription
GrpcParticipantsStub
Exceptions
TypeDescription
IOException

Constructors

GrpcParticipantsStub(ParticipantsStubSettings settings, ClientContext clientContext)

protected GrpcParticipantsStub(ParticipantsStubSettings settings, ClientContext clientContext)

Constructs an instance of GrpcParticipantsStub, 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
settingsParticipantsStubSettings
clientContextClientContext

GrpcParticipantsStub(ParticipantsStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

protected GrpcParticipantsStub(ParticipantsStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

Constructs an instance of GrpcParticipantsStub, 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
settingsParticipantsStubSettings
clientContextClientContext
callableFactoryGrpcStubCallableFactory

Methods

analyzeContentCallable()

public UnaryCallable<AnalyzeContentRequest,AnalyzeContentResponse> analyzeContentCallable()
Returns
TypeDescription
UnaryCallable<AnalyzeContentRequest,AnalyzeContentResponse>
Overrides

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

createParticipantCallable()

public UnaryCallable<CreateParticipantRequest,Participant> createParticipantCallable()
Returns
TypeDescription
UnaryCallable<CreateParticipantRequest,Participant>
Overrides

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
TypeDescription
GrpcOperationsStub

getParticipantCallable()

public UnaryCallable<GetParticipantRequest,Participant> getParticipantCallable()
Returns
TypeDescription
UnaryCallable<GetParticipantRequest,Participant>
Overrides

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listParticipantsCallable()

public UnaryCallable<ListParticipantsRequest,ListParticipantsResponse> listParticipantsCallable()
Returns
TypeDescription
UnaryCallable<ListParticipantsRequest,ListParticipantsResponse>
Overrides

listParticipantsPagedCallable()

public UnaryCallable<ListParticipantsRequest,ParticipantsClient.ListParticipantsPagedResponse> listParticipantsPagedCallable()
Returns
TypeDescription
UnaryCallable<ListParticipantsRequest,ListParticipantsPagedResponse>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

suggestArticlesCallable()

public UnaryCallable<SuggestArticlesRequest,SuggestArticlesResponse> suggestArticlesCallable()
Returns
TypeDescription
UnaryCallable<SuggestArticlesRequest,SuggestArticlesResponse>
Overrides

suggestFaqAnswersCallable()

public UnaryCallable<SuggestFaqAnswersRequest,SuggestFaqAnswersResponse> suggestFaqAnswersCallable()
Returns
TypeDescription
UnaryCallable<SuggestFaqAnswersRequest,SuggestFaqAnswersResponse>
Overrides

suggestSmartRepliesCallable()

public UnaryCallable<SuggestSmartRepliesRequest,SuggestSmartRepliesResponse> suggestSmartRepliesCallable()
Returns
TypeDescription
UnaryCallable<SuggestSmartRepliesRequest,SuggestSmartRepliesResponse>
Overrides

updateParticipantCallable()

public UnaryCallable<UpdateParticipantRequest,Participant> updateParticipantCallable()
Returns
TypeDescription
UnaryCallable<UpdateParticipantRequest,Participant>
Overrides