Class ImagesSettings.Builder (1.32.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
NameDescription
clientContextClientContext

Builder(ImagesSettings settings)

protected Builder(ImagesSettings settings)
Parameter
NameDescription
settingsImagesSettings

Builder(ImagesStubSettings.Builder stubSettings)

protected Builder(ImagesStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsImagesStubSettings.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
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
ImagesSettings.Builder

build()

public ImagesSettings build()
Returns
TypeDescription
ImagesSettings
Overrides
Exceptions
TypeDescription
IOException

deleteOperationSettings()

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

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

Returns
TypeDescription
Builder<DeleteImageRequest,Operation,Operation>

deleteSettings()

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

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

Returns
TypeDescription
Builder<DeleteImageRequest,Operation>

deprecateOperationSettings()

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

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

Returns
TypeDescription
Builder<DeprecateImageRequest,Operation,Operation>

deprecateSettings()

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

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

Returns
TypeDescription
Builder<DeprecateImageRequest,Operation>

getFromFamilySettings()

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

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

Returns
TypeDescription
Builder<GetFromFamilyImageRequest,Image>

getIamPolicySettings()

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

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

Returns
TypeDescription
Builder<GetIamPolicyImageRequest,Policy>

getSettings()

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

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

Returns
TypeDescription
Builder<GetImageRequest,Image>

getStubSettingsBuilder()

public ImagesStubSettings.Builder getStubSettingsBuilder()
Returns
TypeDescription
ImagesStubSettings.Builder

insertOperationSettings()

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

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

Returns
TypeDescription
Builder<InsertImageRequest,Operation,Operation>

insertSettings()

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

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

Returns
TypeDescription
Builder<InsertImageRequest,Operation>

listSettings()

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

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

Returns
TypeDescription
Builder<ListImagesRequest,ImageList,ListPagedResponse>

patchOperationSettings()

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

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

Returns
TypeDescription
Builder<PatchImageRequest,Operation,Operation>

patchSettings()

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

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

Returns
TypeDescription
Builder<PatchImageRequest,Operation>

setIamPolicySettings()

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

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

Returns
TypeDescription
Builder<SetIamPolicyImageRequest,Policy>

setLabelsOperationSettings()

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

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

Returns
TypeDescription
Builder<SetLabelsImageRequest,Operation,Operation>

setLabelsSettings()

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

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

Returns
TypeDescription
Builder<SetLabelsImageRequest,Operation>

testIamPermissionsSettings()

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

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

Returns
TypeDescription
Builder<TestIamPermissionsImageRequest,TestPermissionsResponse>