Class ModelArmorStubSettings.Builder (0.3.0)
0.44.0 (latest)
0.40.0
0.36.0
0.35.0
0.34.0
0.32.0
0.29.0
0.28.0
0.26.0
0.24.0
0.23.0
0.21.0
0.19.0
0.17.0
0.16.0
0.15.0
0.14.0
0.13.0
0.11.0
0.9.0
0.8.0
0.5.0
0.4.0
0.3.0
0.1.0
public static class ModelArmorStubSettings . Builder extends StubSettings . Builder<ModelArmorStubSettings , ModelArmorStubSettings . Builder >
Builder for ModelArmorStubSettings.
Constructors
Builder()
Builder(ClientContext clientContext)
protected Builder ( ClientContext clientContext )
Builder(ModelArmorStubSettings settings)
protected Builder ( ModelArmorStubSettings settings )
Methods
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
public ModelArmorStubSettings . 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.
build()
public ModelArmorStubSettings build ()
Overrides
createTemplateSettings()
public UnaryCallSettings . Builder<CreateTemplateRequest , Template > createTemplateSettings ()
Returns the builder for the settings used for calls to createTemplate.
deleteTemplateSettings()
public UnaryCallSettings . Builder<DeleteTemplateRequest , Empty > deleteTemplateSettings ()
Returns the builder for the settings used for calls to deleteTemplate.
getFloorSettingSettings()
public UnaryCallSettings . Builder<GetFloorSettingRequest , FloorSetting > getFloorSettingSettings ()
Returns the builder for the settings used for calls to getFloorSetting.
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 >
getTemplateSettings()
public UnaryCallSettings . Builder<GetTemplateRequest , Template > getTemplateSettings ()
Returns the builder for the settings used for calls to getTemplate.
listLocationsSettings()
public PagedCallSettings . Builder<ListLocationsRequest , ListLocationsResponse , ModelArmorClient . ListLocationsPagedResponse > listLocationsSettings ()
Returns the builder for the settings used for calls to listLocations.
listTemplatesSettings()
public PagedCallSettings . Builder<ListTemplatesRequest , ListTemplatesResponse , ModelArmorClient . ListTemplatesPagedResponse > listTemplatesSettings ()
Returns the builder for the settings used for calls to listTemplates.
sanitizeModelResponseSettings()
public UnaryCallSettings . Builder<SanitizeModelResponseRequest , SanitizeModelResponseResponse > sanitizeModelResponseSettings ()
Returns the builder for the settings used for calls to sanitizeModelResponse.
sanitizeUserPromptSettings()
public UnaryCallSettings . Builder<SanitizeUserPromptRequest , SanitizeUserPromptResponse > sanitizeUserPromptSettings ()
Returns the builder for the settings used for calls to sanitizeUserPrompt.
unaryMethodSettingsBuilders()
public ImmutableList<UnaryCallSettings . Builder <? , ? >> unaryMethodSettingsBuilders ()
Returns
Type
Description
com.google.common.collect.ImmutableList <Builder <? ,? >>
updateFloorSettingSettings()
public UnaryCallSettings . Builder<UpdateFloorSettingRequest , FloorSetting > updateFloorSettingSettings ()
Returns the builder for the settings used for calls to updateFloorSetting.
updateTemplateSettings()
public UnaryCallSettings . Builder<UpdateTemplateRequest , Template > updateTemplateSettings ()
Returns the builder for the settings used for calls to updateTemplate.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-11-19 UTC."],[],[]]