Class ImagesSettings.Builder (1.57.0)

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

Builder for ImagesSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > ImagesSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(ImagesSettings settings)

protected Builder(ImagesSettings settings)
Parameter
Name Description
settings ImagesSettings

Builder(ImagesStubSettings.Builder stubSettings)

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

Methods

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

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

build()

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

deleteOperationSettings()

public OperationCallSettings.Builder<DeleteImageRequest,Operation,Operation> deleteOperationSettings()

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

Returns
Type Description
Builder<DeleteImageRequest,Operation,Operation>

deleteSettings()

public UnaryCallSettings.Builder<DeleteImageRequest,Operation> deleteSettings()

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

Returns
Type Description
Builder<DeleteImageRequest,Operation>

deprecateOperationSettings()

public OperationCallSettings.Builder<DeprecateImageRequest,Operation,Operation> deprecateOperationSettings()

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

Returns
Type Description
Builder<DeprecateImageRequest,Operation,Operation>

deprecateSettings()

public UnaryCallSettings.Builder<DeprecateImageRequest,Operation> deprecateSettings()

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

Returns
Type Description
Builder<DeprecateImageRequest,Operation>

getFromFamilySettings()

public UnaryCallSettings.Builder<GetFromFamilyImageRequest,Image> getFromFamilySettings()

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

Returns
Type Description
Builder<GetFromFamilyImageRequest,Image>

getIamPolicySettings()

public UnaryCallSettings.Builder<GetIamPolicyImageRequest,Policy> getIamPolicySettings()

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

Returns
Type Description
Builder<GetIamPolicyImageRequest,Policy>

getSettings()

public UnaryCallSettings.Builder<GetImageRequest,Image> getSettings()

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

Returns
Type Description
Builder<GetImageRequest,Image>

getStubSettingsBuilder()

public ImagesStubSettings.Builder getStubSettingsBuilder()
Returns
Type Description
ImagesStubSettings.Builder

insertOperationSettings()

public OperationCallSettings.Builder<InsertImageRequest,Operation,Operation> insertOperationSettings()

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

Returns
Type Description
Builder<InsertImageRequest,Operation,Operation>

insertSettings()

public UnaryCallSettings.Builder<InsertImageRequest,Operation> insertSettings()

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

Returns
Type Description
Builder<InsertImageRequest,Operation>

listSettings()

public PagedCallSettings.Builder<ListImagesRequest,ImageList,ImagesClient.ListPagedResponse> listSettings()

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

Returns
Type Description
Builder<ListImagesRequest,ImageList,ListPagedResponse>

patchOperationSettings()

public OperationCallSettings.Builder<PatchImageRequest,Operation,Operation> patchOperationSettings()

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

Returns
Type Description
Builder<PatchImageRequest,Operation,Operation>

patchSettings()

public UnaryCallSettings.Builder<PatchImageRequest,Operation> patchSettings()

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

Returns
Type Description
Builder<PatchImageRequest,Operation>

setIamPolicySettings()

public UnaryCallSettings.Builder<SetIamPolicyImageRequest,Policy> setIamPolicySettings()

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

Returns
Type Description
Builder<SetIamPolicyImageRequest,Policy>

setLabelsOperationSettings()

public OperationCallSettings.Builder<SetLabelsImageRequest,Operation,Operation> setLabelsOperationSettings()

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

Returns
Type Description
Builder<SetLabelsImageRequest,Operation,Operation>

setLabelsSettings()

public UnaryCallSettings.Builder<SetLabelsImageRequest,Operation> setLabelsSettings()

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

Returns
Type Description
Builder<SetLabelsImageRequest,Operation>

testIamPermissionsSettings()

public UnaryCallSettings.Builder<TestIamPermissionsImageRequest,TestPermissionsResponse> testIamPermissionsSettings()

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

Returns
Type Description
Builder<TestIamPermissionsImageRequest,TestPermissionsResponse>