Class GrpcParticipantsStub
- java.lang.Object
-
- com.google.cloud.dialogflow.v2.stub.ParticipantsStub
-
- com.google.cloud.dialogflow.v2.stub.GrpcParticipantsStub
-
- All Implemented Interfaces:
com.google.api.gax.core.BackgroundResource,AutoCloseable
@Generated("by gapic-generator-java") 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.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedGrpcParticipantsStub(ParticipantsStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext)Constructs an instance of GrpcParticipantsStub, using the given settings.protectedGrpcParticipantsStub(ParticipantsStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory)Constructs an instance of GrpcParticipantsStub, using the given settings.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description com.google.api.gax.rpc.UnaryCallable<AnalyzeContentRequest,AnalyzeContentResponse>analyzeContentCallable()booleanawaitTermination(long duration, TimeUnit unit)voidclose()static GrpcParticipantsStubcreate(com.google.api.gax.rpc.ClientContext clientContext)static GrpcParticipantsStubcreate(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory)static GrpcParticipantsStubcreate(ParticipantsStubSettings settings)com.google.api.gax.rpc.UnaryCallable<CreateParticipantRequest,Participant>createParticipantCallable()com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>getLocationCallable()com.google.longrunning.stub.GrpcOperationsStubgetOperationsStub()com.google.api.gax.rpc.UnaryCallable<GetParticipantRequest,Participant>getParticipantCallable()booleanisShutdown()booleanisTerminated()com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse>listLocationsCallable()com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.ListLocationsRequest,ParticipantsClient.ListLocationsPagedResponse>listLocationsPagedCallable()com.google.api.gax.rpc.UnaryCallable<ListParticipantsRequest,ListParticipantsResponse>listParticipantsCallable()com.google.api.gax.rpc.UnaryCallable<ListParticipantsRequest,ParticipantsClient.ListParticipantsPagedResponse>listParticipantsPagedCallable()voidshutdown()voidshutdownNow()com.google.api.gax.rpc.BidiStreamingCallable<StreamingAnalyzeContentRequest,StreamingAnalyzeContentResponse>streamingAnalyzeContentCallable()com.google.api.gax.rpc.UnaryCallable<SuggestArticlesRequest,SuggestArticlesResponse>suggestArticlesCallable()com.google.api.gax.rpc.UnaryCallable<SuggestFaqAnswersRequest,SuggestFaqAnswersResponse>suggestFaqAnswersCallable()com.google.api.gax.rpc.UnaryCallable<SuggestSmartRepliesRequest,SuggestSmartRepliesResponse>suggestSmartRepliesCallable()com.google.api.gax.rpc.UnaryCallable<UpdateParticipantRequest,Participant>updateParticipantCallable()
-
-
-
Constructor Detail
-
GrpcParticipantsStub
protected GrpcParticipantsStub(ParticipantsStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
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.- Throws:
IOException
-
GrpcParticipantsStub
protected GrpcParticipantsStub(ParticipantsStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
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.- Throws:
IOException
-
-
Method Detail
-
create
public static final GrpcParticipantsStub create(ParticipantsStubSettings settings) throws IOException
- Throws:
IOException
-
create
public static final GrpcParticipantsStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
- Throws:
IOException
-
create
public static final GrpcParticipantsStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
- Throws:
IOException
-
getOperationsStub
public com.google.longrunning.stub.GrpcOperationsStub getOperationsStub()
-
createParticipantCallable
public com.google.api.gax.rpc.UnaryCallable<CreateParticipantRequest,Participant> createParticipantCallable()
- Overrides:
createParticipantCallablein classParticipantsStub
-
getParticipantCallable
public com.google.api.gax.rpc.UnaryCallable<GetParticipantRequest,Participant> getParticipantCallable()
- Overrides:
getParticipantCallablein classParticipantsStub
-
listParticipantsCallable
public com.google.api.gax.rpc.UnaryCallable<ListParticipantsRequest,ListParticipantsResponse> listParticipantsCallable()
- Overrides:
listParticipantsCallablein classParticipantsStub
-
listParticipantsPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListParticipantsRequest,ParticipantsClient.ListParticipantsPagedResponse> listParticipantsPagedCallable()
- Overrides:
listParticipantsPagedCallablein classParticipantsStub
-
updateParticipantCallable
public com.google.api.gax.rpc.UnaryCallable<UpdateParticipantRequest,Participant> updateParticipantCallable()
- Overrides:
updateParticipantCallablein classParticipantsStub
-
analyzeContentCallable
public com.google.api.gax.rpc.UnaryCallable<AnalyzeContentRequest,AnalyzeContentResponse> analyzeContentCallable()
- Overrides:
analyzeContentCallablein classParticipantsStub
-
streamingAnalyzeContentCallable
public com.google.api.gax.rpc.BidiStreamingCallable<StreamingAnalyzeContentRequest,StreamingAnalyzeContentResponse> streamingAnalyzeContentCallable()
- Overrides:
streamingAnalyzeContentCallablein classParticipantsStub
-
suggestArticlesCallable
public com.google.api.gax.rpc.UnaryCallable<SuggestArticlesRequest,SuggestArticlesResponse> suggestArticlesCallable()
- Overrides:
suggestArticlesCallablein classParticipantsStub
-
suggestFaqAnswersCallable
public com.google.api.gax.rpc.UnaryCallable<SuggestFaqAnswersRequest,SuggestFaqAnswersResponse> suggestFaqAnswersCallable()
- Overrides:
suggestFaqAnswersCallablein classParticipantsStub
-
suggestSmartRepliesCallable
public com.google.api.gax.rpc.UnaryCallable<SuggestSmartRepliesRequest,SuggestSmartRepliesResponse> suggestSmartRepliesCallable()
- Overrides:
suggestSmartRepliesCallablein classParticipantsStub
-
listLocationsCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse> listLocationsCallable()
- Overrides:
listLocationsCallablein classParticipantsStub
-
listLocationsPagedCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.ListLocationsRequest,ParticipantsClient.ListLocationsPagedResponse> listLocationsPagedCallable()
- Overrides:
listLocationsPagedCallablein classParticipantsStub
-
getLocationCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> getLocationCallable()
- Overrides:
getLocationCallablein classParticipantsStub
-
close
public final void close()
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein classParticipantsStub
-
shutdown
public void shutdown()
-
isShutdown
public boolean isShutdown()
-
isTerminated
public boolean isTerminated()
-
shutdownNow
public void shutdownNow()
-
awaitTermination
public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException- Throws:
InterruptedException
-
-