public class HttpJsonParticipantsStub extends ParticipantsStub
REST 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 HttpJsonParticipantsStub create(ClientContext clientContext)
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonParticipantsStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
create(ParticipantsStubSettings settings)
public static final HttpJsonParticipantsStub create(ParticipantsStubSettings settings)
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
Constructors
HttpJsonParticipantsStub(ParticipantsStubSettings settings, ClientContext clientContext)
protected HttpJsonParticipantsStub(ParticipantsStubSettings settings, ClientContext clientContext)
Constructs an instance of HttpJsonParticipantsStub, 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.
HttpJsonParticipantsStub(ParticipantsStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
protected HttpJsonParticipantsStub(ParticipantsStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonParticipantsStub, 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
compileSuggestionCallable()
public UnaryCallable<CompileSuggestionRequest,CompileSuggestionResponse> compileSuggestionCallable()
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
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
listSuggestionsCallable()
public UnaryCallable<ListSuggestionsRequest,ListSuggestionsResponse> listSuggestionsCallable()
Overrides
listSuggestionsPagedCallable()
public UnaryCallable<ListSuggestionsRequest,ParticipantsClient.ListSuggestionsPagedResponse> listSuggestionsPagedCallable()
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
suggestSmartRepliesCallable()
public UnaryCallable<SuggestSmartRepliesRequest,SuggestSmartRepliesResponse> suggestSmartRepliesCallable()
Overrides
updateParticipantCallable()
public UnaryCallable<UpdateParticipantRequest,Participant> updateParticipantCallable()
Overrides