Package com.google.cloud.dialogflow.v2
Class ParticipantsSettings.Builder
- java.lang.Object
-
- com.google.api.gax.rpc.ClientSettings.Builder<ParticipantsSettings,ParticipantsSettings.Builder>
-
- com.google.cloud.dialogflow.v2.ParticipantsSettings.Builder
-
- Enclosing class:
- ParticipantsSettings
public static class ParticipantsSettings.Builder extends com.google.api.gax.rpc.ClientSettings.Builder<ParticipantsSettings,ParticipantsSettings.Builder>
Builder for ParticipantsSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
protected
Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected
Builder(ParticipantsSettings settings)
protected
Builder(ParticipantsStubSettings.Builder stubSettings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.google.api.gax.rpc.UnaryCallSettings.Builder<AnalyzeContentRequest,AnalyzeContentResponse>
analyzeContentSettings()
Returns the builder for the settings used for calls to analyzeContent.ParticipantsSettings.Builder
applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Applies the given settings updater function to all of the unary API methods in this service.ParticipantsSettings
build()
com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateParticipantRequest,Participant>
createParticipantSettings()
Returns the builder for the settings used for calls to createParticipant.com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>
getLocationSettings()
Returns the builder for the settings used for calls to getLocation.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetParticipantRequest,Participant>
getParticipantSettings()
Returns the builder for the settings used for calls to getParticipant.ParticipantsStubSettings.Builder
getStubSettingsBuilder()
com.google.api.gax.rpc.PagedCallSettings.Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,ParticipantsClient.ListLocationsPagedResponse>
listLocationsSettings()
Returns the builder for the settings used for calls to listLocations.com.google.api.gax.rpc.PagedCallSettings.Builder<ListParticipantsRequest,ListParticipantsResponse,ParticipantsClient.ListParticipantsPagedResponse>
listParticipantsSettings()
Returns the builder for the settings used for calls to listParticipants.com.google.api.gax.rpc.StreamingCallSettings.Builder<StreamingAnalyzeContentRequest,StreamingAnalyzeContentResponse>
streamingAnalyzeContentSettings()
Returns the builder for the settings used for calls to streamingAnalyzeContent.com.google.api.gax.rpc.UnaryCallSettings.Builder<SuggestArticlesRequest,SuggestArticlesResponse>
suggestArticlesSettings()
Returns the builder for the settings used for calls to suggestArticles.com.google.api.gax.rpc.UnaryCallSettings.Builder<SuggestFaqAnswersRequest,SuggestFaqAnswersResponse>
suggestFaqAnswersSettings()
Returns the builder for the settings used for calls to suggestFaqAnswers.com.google.api.gax.rpc.UnaryCallSettings.Builder<SuggestSmartRepliesRequest,SuggestSmartRepliesResponse>
suggestSmartRepliesSettings()
Returns the builder for the settings used for calls to suggestSmartReplies.com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateParticipantRequest,Participant>
updateParticipantSettings()
Returns the builder for the settings used for calls to updateParticipant.-
Methods inherited from class com.google.api.gax.rpc.ClientSettings.Builder
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setQuotaProjectId, setTransportChannelProvider, setWatchdogCheckInterval, setWatchdogProvider, toString
-
-
-
-
Constructor Detail
-
Builder
protected Builder() throws IOException
- Throws:
IOException
-
Builder
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
-
Builder
protected Builder(ParticipantsSettings settings)
-
Builder
protected Builder(ParticipantsStubSettings.Builder stubSettings)
-
-
Method Detail
-
getStubSettingsBuilder
public ParticipantsStubSettings.Builder getStubSettingsBuilder()
-
applyToAllUnaryMethods
public ParticipantsSettings.Builder applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Applies the given settings updater function to all of the unary API methods in this service.Note: This method does not support applying settings to streaming methods.
-
createParticipantSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateParticipantRequest,Participant> createParticipantSettings()
Returns the builder for the settings used for calls to createParticipant.
-
getParticipantSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetParticipantRequest,Participant> getParticipantSettings()
Returns the builder for the settings used for calls to getParticipant.
-
listParticipantsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListParticipantsRequest,ListParticipantsResponse,ParticipantsClient.ListParticipantsPagedResponse> listParticipantsSettings()
Returns the builder for the settings used for calls to listParticipants.
-
updateParticipantSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateParticipantRequest,Participant> updateParticipantSettings()
Returns the builder for the settings used for calls to updateParticipant.
-
analyzeContentSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<AnalyzeContentRequest,AnalyzeContentResponse> analyzeContentSettings()
Returns the builder for the settings used for calls to analyzeContent.
-
streamingAnalyzeContentSettings
public com.google.api.gax.rpc.StreamingCallSettings.Builder<StreamingAnalyzeContentRequest,StreamingAnalyzeContentResponse> streamingAnalyzeContentSettings()
Returns the builder for the settings used for calls to streamingAnalyzeContent.
-
suggestArticlesSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<SuggestArticlesRequest,SuggestArticlesResponse> suggestArticlesSettings()
Returns the builder for the settings used for calls to suggestArticles.
-
suggestFaqAnswersSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<SuggestFaqAnswersRequest,SuggestFaqAnswersResponse> suggestFaqAnswersSettings()
Returns the builder for the settings used for calls to suggestFaqAnswers.
-
suggestSmartRepliesSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<SuggestSmartRepliesRequest,SuggestSmartRepliesResponse> suggestSmartRepliesSettings()
Returns the builder for the settings used for calls to suggestSmartReplies.
-
listLocationsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,ParticipantsClient.ListLocationsPagedResponse> listLocationsSettings()
Returns the builder for the settings used for calls to listLocations.
-
getLocationSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> getLocationSettings()
Returns the builder for the settings used for calls to getLocation.
-
build
public ParticipantsSettings build() throws IOException
- Specified by:
build
in classcom.google.api.gax.rpc.ClientSettings.Builder<ParticipantsSettings,ParticipantsSettings.Builder>
- Throws:
IOException
-
-