Class MachineImagesSettings.Builder (1.58.0)

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

Builder for MachineImagesSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > MachineImagesSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(MachineImagesSettings settings)

protected Builder(MachineImagesSettings settings)
Parameter
Name Description
settings MachineImagesSettings

Builder(MachineImagesStubSettings.Builder stubSettings)

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

Methods

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

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

build()

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

deleteOperationSettings()

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

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

Returns
Type Description
Builder<DeleteMachineImageRequest,Operation,Operation>

deleteSettings()

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

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

Returns
Type Description
Builder<DeleteMachineImageRequest,Operation>

getIamPolicySettings()

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

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

Returns
Type Description
Builder<GetIamPolicyMachineImageRequest,Policy>

getSettings()

public UnaryCallSettings.Builder<GetMachineImageRequest,MachineImage> getSettings()

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

Returns
Type Description
Builder<GetMachineImageRequest,MachineImage>

getStubSettingsBuilder()

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

insertOperationSettings()

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

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

Returns
Type Description
Builder<InsertMachineImageRequest,Operation,Operation>

insertSettings()

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

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

Returns
Type Description
Builder<InsertMachineImageRequest,Operation>

listSettings()

public PagedCallSettings.Builder<ListMachineImagesRequest,MachineImageList,MachineImagesClient.ListPagedResponse> listSettings()

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

Returns
Type Description
Builder<ListMachineImagesRequest,MachineImageList,ListPagedResponse>

setIamPolicySettings()

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

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

Returns
Type Description
Builder<SetIamPolicyMachineImageRequest,Policy>

testIamPermissionsSettings()

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

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

Returns
Type Description
Builder<TestIamPermissionsMachineImageRequest,TestPermissionsResponse>