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 protected
HttpJsonParticipantsStub(ParticipantsStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of HttpJsonParticipantsStub, using the given settings.protected
HttpJsonParticipantsStub(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()
boolean
awaitTermination(long duration, TimeUnit unit)
void
close()
com.google.api.gax.rpc.UnaryCallable<CompileSuggestionRequest,CompileSuggestionResponse>
compileSuggestionCallable()
static HttpJsonParticipantsStub
create(com.google.api.gax.rpc.ClientContext clientContext)
static HttpJsonParticipantsStub
create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory)
static HttpJsonParticipantsStub
create(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()
boolean
isShutdown()
boolean
isTerminated()
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()
void
shutdown()
void
shutdownNow()
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:
createParticipantCallable
in classParticipantsStub
-
getParticipantCallable
public com.google.api.gax.rpc.UnaryCallable<GetParticipantRequest,Participant> getParticipantCallable()
- Overrides:
getParticipantCallable
in classParticipantsStub
-
listParticipantsCallable
public com.google.api.gax.rpc.UnaryCallable<ListParticipantsRequest,ListParticipantsResponse> listParticipantsCallable()
- Overrides:
listParticipantsCallable
in classParticipantsStub
-
listParticipantsPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListParticipantsRequest,ParticipantsClient.ListParticipantsPagedResponse> listParticipantsPagedCallable()
- Overrides:
listParticipantsPagedCallable
in classParticipantsStub
-
updateParticipantCallable
public com.google.api.gax.rpc.UnaryCallable<UpdateParticipantRequest,Participant> updateParticipantCallable()
- Overrides:
updateParticipantCallable
in classParticipantsStub
-
analyzeContentCallable
public com.google.api.gax.rpc.UnaryCallable<AnalyzeContentRequest,AnalyzeContentResponse> analyzeContentCallable()
- Overrides:
analyzeContentCallable
in classParticipantsStub
-
suggestArticlesCallable
public com.google.api.gax.rpc.UnaryCallable<SuggestArticlesRequest,SuggestArticlesResponse> suggestArticlesCallable()
- Overrides:
suggestArticlesCallable
in classParticipantsStub
-
suggestFaqAnswersCallable
public com.google.api.gax.rpc.UnaryCallable<SuggestFaqAnswersRequest,SuggestFaqAnswersResponse> suggestFaqAnswersCallable()
- Overrides:
suggestFaqAnswersCallable
in classParticipantsStub
-
suggestSmartRepliesCallable
public com.google.api.gax.rpc.UnaryCallable<SuggestSmartRepliesRequest,SuggestSmartRepliesResponse> suggestSmartRepliesCallable()
- Overrides:
suggestSmartRepliesCallable
in classParticipantsStub
-
listSuggestionsCallable
public com.google.api.gax.rpc.UnaryCallable<ListSuggestionsRequest,ListSuggestionsResponse> listSuggestionsCallable()
- Overrides:
listSuggestionsCallable
in classParticipantsStub
-
listSuggestionsPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListSuggestionsRequest,ParticipantsClient.ListSuggestionsPagedResponse> listSuggestionsPagedCallable()
- Overrides:
listSuggestionsPagedCallable
in classParticipantsStub
-
compileSuggestionCallable
public com.google.api.gax.rpc.UnaryCallable<CompileSuggestionRequest,CompileSuggestionResponse> compileSuggestionCallable()
- Overrides:
compileSuggestionCallable
in classParticipantsStub
-
listLocationsCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse> listLocationsCallable()
- Overrides:
listLocationsCallable
in classParticipantsStub
-
listLocationsPagedCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.ListLocationsRequest,ParticipantsClient.ListLocationsPagedResponse> listLocationsPagedCallable()
- Overrides:
listLocationsPagedCallable
in classParticipantsStub
-
getLocationCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> getLocationCallable()
- Overrides:
getLocationCallable
in classParticipantsStub
-
streamingAnalyzeContentCallable
public com.google.api.gax.rpc.BidiStreamingCallable<StreamingAnalyzeContentRequest,StreamingAnalyzeContentResponse> streamingAnalyzeContentCallable()
- Overrides:
streamingAnalyzeContentCallable
in classParticipantsStub
-
close
public final void close()
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in 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
-
-