Class HttpJsonParticipantsStub
- java.lang.Object
-
- com.google.cloud.dialogflow.v2beta1.stub.ParticipantsStub
-
- com.google.cloud.dialogflow.v2beta1.stub.HttpJsonParticipantsStub
-
- All Implemented Interfaces:
com.google.api.gax.core.BackgroundResource,AutoCloseable
@BetaApi @Generated("by gapic-generator-java") 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.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedHttpJsonParticipantsStub(ParticipantsStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext)Constructs an instance of HttpJsonParticipantsStub, using the given settings.protectedHttpJsonParticipantsStub(ParticipantsStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory)Constructs an instance of HttpJsonParticipantsStub, 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()com.google.api.gax.rpc.UnaryCallable<CompileSuggestionRequest,CompileSuggestionResponse>compileSuggestionCallable()static HttpJsonParticipantsStubcreate(com.google.api.gax.rpc.ClientContext clientContext)static HttpJsonParticipantsStubcreate(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory)static HttpJsonParticipantsStubcreate(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()static List<com.google.api.gax.httpjson.ApiMethodDescriptor>getMethodDescriptors()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()com.google.api.gax.rpc.UnaryCallable<ListSuggestionsRequest,ListSuggestionsResponse>listSuggestionsCallable()com.google.api.gax.rpc.UnaryCallable<ListSuggestionsRequest,ParticipantsClient.ListSuggestionsPagedResponse>listSuggestionsPagedCallable()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
-
HttpJsonParticipantsStub
protected HttpJsonParticipantsStub(ParticipantsStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
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.- Throws:
IOException
-
HttpJsonParticipantsStub
protected HttpJsonParticipantsStub(ParticipantsStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
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.- Throws:
IOException
-
-
Method Detail
-
create
public static final HttpJsonParticipantsStub create(ParticipantsStubSettings settings) throws IOException
- Throws:
IOException
-
create
public static final HttpJsonParticipantsStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
- Throws:
IOException
-
create
public static final HttpJsonParticipantsStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
- Throws:
IOException
-
getMethodDescriptors
@InternalApi public static List<com.google.api.gax.httpjson.ApiMethodDescriptor> getMethodDescriptors()
-
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
-
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
-
listSuggestionsCallable
public com.google.api.gax.rpc.UnaryCallable<ListSuggestionsRequest,ListSuggestionsResponse> listSuggestionsCallable()
- Overrides:
listSuggestionsCallablein classParticipantsStub
-
listSuggestionsPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListSuggestionsRequest,ParticipantsClient.ListSuggestionsPagedResponse> listSuggestionsPagedCallable()
- Overrides:
listSuggestionsPagedCallablein classParticipantsStub
-
compileSuggestionCallable
public com.google.api.gax.rpc.UnaryCallable<CompileSuggestionRequest,CompileSuggestionResponse> compileSuggestionCallable()
- Overrides:
compileSuggestionCallablein 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
-
streamingAnalyzeContentCallable
public com.google.api.gax.rpc.BidiStreamingCallable<StreamingAnalyzeContentRequest,StreamingAnalyzeContentResponse> streamingAnalyzeContentCallable()
- Overrides:
streamingAnalyzeContentCallablein 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
-
-