Class ParticipantsSettings.Builder (4.4.0)

public static class ParticipantsSettings.Builder extends ClientSettings.Builder<ParticipantsSettings,ParticipantsSettings.Builder>

Builder for ParticipantsSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > ParticipantsSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(ParticipantsSettings settings)

protected Builder(ParticipantsSettings settings)
Parameter
NameDescription
settingsParticipantsSettings

Builder(ParticipantsStubSettings.Builder stubSettings)

protected Builder(ParticipantsStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsParticipantsStubSettings.Builder

Methods

analyzeContentSettings()

public UnaryCallSettings.Builder<AnalyzeContentRequest,AnalyzeContentResponse> analyzeContentSettings()

Returns the builder for the settings used for calls to analyzeContent.

Returns
TypeDescription
Builder<AnalyzeContentRequest,AnalyzeContentResponse>

applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)

public ParticipantsSettings.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
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
ParticipantsSettings.Builder

build()

public ParticipantsSettings build()
Returns
TypeDescription
ParticipantsSettings
Overrides Exceptions
TypeDescription
IOException

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
TypeDescription
Builder<CompileSuggestionRequest,CompileSuggestionResponse>

createParticipantSettings()

public UnaryCallSettings.Builder<CreateParticipantRequest,Participant> createParticipantSettings()

Returns the builder for the settings used for calls to createParticipant.

Returns
TypeDescription
Builder<CreateParticipantRequest,Participant>

getParticipantSettings()

public UnaryCallSettings.Builder<GetParticipantRequest,Participant> getParticipantSettings()

Returns the builder for the settings used for calls to getParticipant.

Returns
TypeDescription
Builder<GetParticipantRequest,Participant>

getStubSettingsBuilder()

public ParticipantsStubSettings.Builder getStubSettingsBuilder()
Returns
TypeDescription
ParticipantsStubSettings.Builder

listParticipantsSettings()

public PagedCallSettings.Builder<ListParticipantsRequest,ListParticipantsResponse,ParticipantsClient.ListParticipantsPagedResponse> listParticipantsSettings()

Returns the builder for the settings used for calls to listParticipants.

Returns
TypeDescription
Builder<ListParticipantsRequest,ListParticipantsResponse,ListParticipantsPagedResponse>

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
TypeDescription
Builder<ListSuggestionsRequest,ListSuggestionsResponse,ListSuggestionsPagedResponse>

suggestArticlesSettings()

public UnaryCallSettings.Builder<SuggestArticlesRequest,SuggestArticlesResponse> suggestArticlesSettings()

Returns the builder for the settings used for calls to suggestArticles.

Returns
TypeDescription
Builder<SuggestArticlesRequest,SuggestArticlesResponse>

suggestFaqAnswersSettings()

public UnaryCallSettings.Builder<SuggestFaqAnswersRequest,SuggestFaqAnswersResponse> suggestFaqAnswersSettings()

Returns the builder for the settings used for calls to suggestFaqAnswers.

Returns
TypeDescription
Builder<SuggestFaqAnswersRequest,SuggestFaqAnswersResponse>

suggestSmartRepliesSettings()

public UnaryCallSettings.Builder<SuggestSmartRepliesRequest,SuggestSmartRepliesResponse> suggestSmartRepliesSettings()

Returns the builder for the settings used for calls to suggestSmartReplies.

Returns
TypeDescription
Builder<SuggestSmartRepliesRequest,SuggestSmartRepliesResponse>

updateParticipantSettings()

public UnaryCallSettings.Builder<UpdateParticipantRequest,Participant> updateParticipantSettings()

Returns the builder for the settings used for calls to updateParticipant.

Returns
TypeDescription
Builder<UpdateParticipantRequest,Participant>