Class GenerativeQuestionServiceStubSettings.Builder (2.54.0)

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

Builder for GenerativeQuestionServiceStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > GenerativeQuestionServiceStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(GenerativeQuestionServiceStubSettings settings)

protected Builder(GenerativeQuestionServiceStubSettings settings)
Parameter
Name Description
settings GenerativeQuestionServiceStubSettings

Methods

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

public GenerativeQuestionServiceStubSettings.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
GenerativeQuestionServiceStubSettings.Builder

batchUpdateGenerativeQuestionConfigsSettings()

public UnaryCallSettings.Builder<BatchUpdateGenerativeQuestionConfigsRequest,BatchUpdateGenerativeQuestionConfigsResponse> batchUpdateGenerativeQuestionConfigsSettings()

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

Returns
Type Description
Builder<BatchUpdateGenerativeQuestionConfigsRequest,BatchUpdateGenerativeQuestionConfigsResponse>

build()

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

getGenerativeQuestionsFeatureConfigSettings()

public UnaryCallSettings.Builder<GetGenerativeQuestionsFeatureConfigRequest,GenerativeQuestionsFeatureConfig> getGenerativeQuestionsFeatureConfigSettings()

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

Returns
Type Description
Builder<GetGenerativeQuestionsFeatureConfigRequest,GenerativeQuestionsFeatureConfig>

listGenerativeQuestionConfigsSettings()

public UnaryCallSettings.Builder<ListGenerativeQuestionConfigsRequest,ListGenerativeQuestionConfigsResponse> listGenerativeQuestionConfigsSettings()

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

Returns
Type Description
Builder<ListGenerativeQuestionConfigsRequest,ListGenerativeQuestionConfigsResponse>

unaryMethodSettingsBuilders()

public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
Type Description
com.google.common.collect.ImmutableList<Builder<?,?>>

updateGenerativeQuestionConfigSettings()

public UnaryCallSettings.Builder<UpdateGenerativeQuestionConfigRequest,GenerativeQuestionConfig> updateGenerativeQuestionConfigSettings()

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

Returns
Type Description
Builder<UpdateGenerativeQuestionConfigRequest,GenerativeQuestionConfig>

updateGenerativeQuestionsFeatureConfigSettings()

public UnaryCallSettings.Builder<UpdateGenerativeQuestionsFeatureConfigRequest,GenerativeQuestionsFeatureConfig> updateGenerativeQuestionsFeatureConfigSettings()

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

Returns
Type Description
Builder<UpdateGenerativeQuestionsFeatureConfigRequest,GenerativeQuestionsFeatureConfig>