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)
Parameter
Returns
Exceptions
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonParticipantsStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters
Returns
Exceptions
create(ParticipantsStubSettings settings)
public static final HttpJsonParticipantsStub create(ParticipantsStubSettings settings)
Parameter
Returns
Exceptions
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
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.
Parameters
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.
Parameters
Methods
analyzeContentCallable()
public UnaryCallable<AnalyzeContentRequest,AnalyzeContentResponse> analyzeContentCallable()
Returns
Overrides
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Returns
Exceptions
close()
public final void close()
Overrides
createParticipantCallable()
public UnaryCallable<CreateParticipantRequest,Participant> createParticipantCallable()
Returns
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()
Returns
Overrides
isShutdown()
public boolean isShutdown()
Returns
isTerminated()
public boolean isTerminated()
Returns
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()
Returns
Overrides
listParticipantsCallable()
public UnaryCallable<ListParticipantsRequest,ListParticipantsResponse> listParticipantsCallable()
Returns
Overrides
listParticipantsPagedCallable()
public UnaryCallable<ListParticipantsRequest,ParticipantsClient.ListParticipantsPagedResponse> listParticipantsPagedCallable()
Returns
Overrides
shutdown()
shutdownNow()
public void shutdownNow()
suggestArticlesCallable()
public UnaryCallable<SuggestArticlesRequest,SuggestArticlesResponse> suggestArticlesCallable()
Returns
Overrides
suggestFaqAnswersCallable()
public UnaryCallable<SuggestFaqAnswersRequest,SuggestFaqAnswersResponse> suggestFaqAnswersCallable()
Returns
Overrides
suggestSmartRepliesCallable()
public UnaryCallable<SuggestSmartRepliesRequest,SuggestSmartRepliesResponse> suggestSmartRepliesCallable()
Returns
Overrides
updateParticipantCallable()
public UnaryCallable<UpdateParticipantRequest,Participant> updateParticipantCallable()
Returns
Overrides