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.
Static Methods
create(ClientContext clientContext)
public static final GrpcParticipantsStub create(ClientContext clientContext)
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcParticipantsStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
create(ParticipantsStubSettings settings)
public static final GrpcParticipantsStub create(ParticipantsStubSettings settings)
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.
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.
Methods
analyzeContentCallable()
public UnaryCallable<AnalyzeContentRequest,AnalyzeContentResponse> analyzeContentCallable()
Overrides
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
close()
public final void close()
Overrides
createParticipantCallable()
public UnaryCallable<CreateParticipantRequest,Participant> createParticipantCallable()
Overrides
getLocationCallable()
public UnaryCallable<GetLocationRequest,Location> getLocationCallable()
Returns |
Type |
Description |
UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> |
|
Overrides
getOperationsStub()
public GrpcOperationsStub getOperationsStub()
getParticipantCallable()
public UnaryCallable<GetParticipantRequest,Participant> getParticipantCallable()
Overrides
isShutdown()
public boolean isShutdown()
isTerminated()
public boolean isTerminated()
listLocationsCallable()
public UnaryCallable<ListLocationsRequest,ListLocationsResponse> listLocationsCallable()
Returns |
Type |
Description |
UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse> |
|
Overrides
listLocationsPagedCallable()
public UnaryCallable<ListLocationsRequest,ParticipantsClient.ListLocationsPagedResponse> listLocationsPagedCallable()
Overrides
listParticipantsCallable()
public UnaryCallable<ListParticipantsRequest,ListParticipantsResponse> listParticipantsCallable()
Overrides
listParticipantsPagedCallable()
public UnaryCallable<ListParticipantsRequest,ParticipantsClient.ListParticipantsPagedResponse> listParticipantsPagedCallable()
Overrides
shutdown()
shutdownNow()
public void shutdownNow()
streamingAnalyzeContentCallable()
public BidiStreamingCallable<StreamingAnalyzeContentRequest,StreamingAnalyzeContentResponse> streamingAnalyzeContentCallable()
Overrides
suggestArticlesCallable()
public UnaryCallable<SuggestArticlesRequest,SuggestArticlesResponse> suggestArticlesCallable()
Overrides
suggestFaqAnswersCallable()
public UnaryCallable<SuggestFaqAnswersRequest,SuggestFaqAnswersResponse> suggestFaqAnswersCallable()
Overrides
suggestKnowledgeAssistCallable()
public UnaryCallable<SuggestKnowledgeAssistRequest,SuggestKnowledgeAssistResponse> suggestKnowledgeAssistCallable()
Overrides
suggestSmartRepliesCallable()
public UnaryCallable<SuggestSmartRepliesRequest,SuggestSmartRepliesResponse> suggestSmartRepliesCallable()
Overrides
updateParticipantCallable()
public UnaryCallable<UpdateParticipantRequest,Participant> updateParticipantCallable()
Overrides