Class ParticipantsSettings.Builder (4.14.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
Name Description
clientContext ClientContext

Builder(ParticipantsSettings settings)

protected Builder(ParticipantsSettings settings)
Parameter
Name Description
settings ParticipantsSettings

Builder(ParticipantsStubSettings.Builder stubSettings)

protected Builder(ParticipantsStubSettings.Builder stubSettings)
Parameter
Name Description
stubSettings ParticipantsStubSettings.Builder

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

build()

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

createParticipantSettings()

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

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

Returns

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

getStubSettingsBuilder()

public ParticipantsStubSettings.Builder getStubSettingsBuilder()
Returns

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

streamingAnalyzeContentSettings()

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

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

Returns

suggestArticlesSettings()

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

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

Returns

suggestFaqAnswersSettings()

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

updateParticipantSettings()

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

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

Returns