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)
Parameter
Returns
Exceptions
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcParticipantsStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
Returns
Exceptions
create(ParticipantsStubSettings settings)
public static final GrpcParticipantsStub create(ParticipantsStubSettings settings)
Parameter
Returns
Exceptions
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
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
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
getOperationsStub()
public GrpcOperationsStub getOperationsStub()
Returns
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