public static class ParticipantsStubSettings.Builder extends StubSettings.Builder<ParticipantsStubSettings,ParticipantsStubSettings.Builder>
Builder for ParticipantsStubSettings.
Constructors
Builder()
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
Parameter
Builder(ParticipantsStubSettings settings)
protected Builder(ParticipantsStubSettings settings)
Parameter
Methods
analyzeContentSettings()
public UnaryCallSettings.Builder<AnalyzeContentRequest,AnalyzeContentResponse> analyzeContentSettings()
Returns the builder for the settings used for calls to analyzeContent.
Returns
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
public ParticipantsStubSettings.Builder applyToAllUnaryMethods(ApiFunction<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.
Parameter
Returns
build()
public ParticipantsStubSettings build()
Returns
Overrides
Exceptions
compileSuggestionSettings() (deprecated)
public UnaryCallSettings.Builder<CompileSuggestionRequest,CompileSuggestionResponse> compileSuggestionSettings()
(deprecated) This method is deprecated and will be removed in the next major version update.
Returns the builder for the settings used for calls to compileSuggestion.
Returns
createParticipantSettings()
public UnaryCallSettings.Builder<CreateParticipantRequest,Participant> createParticipantSettings()
Returns the builder for the settings used for calls to createParticipant.
Returns
getParticipantSettings()
public UnaryCallSettings.Builder<GetParticipantRequest,Participant> getParticipantSettings()
Returns the builder for the settings used for calls to getParticipant.
Returns
listParticipantsSettings()
public PagedCallSettings.Builder<ListParticipantsRequest,ListParticipantsResponse,ParticipantsClient.ListParticipantsPagedResponse> listParticipantsSettings()
Returns the builder for the settings used for calls to listParticipants.
Returns
listSuggestionsSettings() (deprecated)
public PagedCallSettings.Builder<ListSuggestionsRequest,ListSuggestionsResponse,ParticipantsClient.ListSuggestionsPagedResponse> listSuggestionsSettings()
(deprecated) This method is deprecated and will be removed in the next major version update.
Returns the builder for the settings used for calls to listSuggestions.
Returns
suggestArticlesSettings()
public UnaryCallSettings.Builder<SuggestArticlesRequest,SuggestArticlesResponse> suggestArticlesSettings()
Returns the builder for the settings used for calls to suggestArticles.
Returns
public UnaryCallSettings.Builder<SuggestFaqAnswersRequest,SuggestFaqAnswersResponse> suggestFaqAnswersSettings()
Returns the builder for the settings used for calls to suggestFaqAnswers.
Returns
suggestSmartRepliesSettings()
public UnaryCallSettings.Builder<SuggestSmartRepliesRequest,SuggestSmartRepliesResponse> suggestSmartRepliesSettings()
Returns the builder for the settings used for calls to suggestSmartReplies.
Returns
unaryMethodSettingsBuilders()
public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
Type | Description |
com.google.common.collect.ImmutableList<Builder<?,?>> | |
updateParticipantSettings()
public UnaryCallSettings.Builder<UpdateParticipantRequest,Participant> updateParticipantSettings()
Returns the builder for the settings used for calls to updateParticipant.
Returns