Class ParticipantsStubSettings.Builder (4.57.0)

public static class ParticipantsStubSettings.Builder extends StubSettings.Builder<ParticipantsStubSettings,ParticipantsStubSettings.Builder>

Builder for ParticipantsStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > ParticipantsStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(ParticipantsStubSettings settings)

protected Builder(ParticipantsStubSettings settings)
Parameter
Name Description
settings ParticipantsStubSettings

Methods

analyzeContentSettings()

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

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

Returns
Type Description
Builder<AnalyzeContentRequest,AnalyzeContentResponse>

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
Name Description
settingsUpdater ApiFunction<Builder<?,?>,java.lang.Void>
Returns
Type Description
ParticipantsStubSettings.Builder

build()

public ParticipantsStubSettings build()
Returns
Type Description
ParticipantsStubSettings
Overrides
Exceptions
Type Description
IOException

createParticipantSettings()

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

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

Returns
Type Description
Builder<CreateParticipantRequest,Participant>

getLocationSettings()

public UnaryCallSettings.Builder<GetLocationRequest,Location> getLocationSettings()

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

Returns
Type Description
Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>

getParticipantSettings()

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

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

Returns
Type Description
Builder<GetParticipantRequest,Participant>

listLocationsSettings()

public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse,ParticipantsClient.ListLocationsPagedResponse> listLocationsSettings()

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

Returns
Type Description
Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,ListLocationsPagedResponse>

listParticipantsSettings()

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

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

Returns
Type Description
Builder<ListParticipantsRequest,ListParticipantsResponse,ListParticipantsPagedResponse>

streamingAnalyzeContentSettings()

public StreamingCallSettings.Builder<StreamingAnalyzeContentRequest,StreamingAnalyzeContentResponse> streamingAnalyzeContentSettings()

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

Returns
Type Description
Builder<StreamingAnalyzeContentRequest,StreamingAnalyzeContentResponse>

suggestArticlesSettings()

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

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

Returns
Type Description
Builder<SuggestArticlesRequest,SuggestArticlesResponse>

suggestFaqAnswersSettings()

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

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

Returns
Type Description
Builder<SuggestFaqAnswersRequest,SuggestFaqAnswersResponse>

suggestKnowledgeAssistSettings()

public UnaryCallSettings.Builder<SuggestKnowledgeAssistRequest,SuggestKnowledgeAssistResponse> suggestKnowledgeAssistSettings()

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

Returns
Type Description
Builder<SuggestKnowledgeAssistRequest,SuggestKnowledgeAssistResponse>

suggestSmartRepliesSettings()

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

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

Returns
Type Description
Builder<SuggestSmartRepliesRequest,SuggestSmartRepliesResponse>

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
Type Description
Builder<UpdateParticipantRequest,Participant>