Class MachineImagesSettings.Builder (1.23.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
NameDescription
clientContextClientContext

Builder(MachineImagesSettings settings)

protected Builder(MachineImagesSettings settings)
Parameter
NameDescription
settingsMachineImagesSettings

Builder(MachineImagesStubSettings.Builder stubSettings)

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

build()

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

deleteOperationSettings()

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

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

Returns
TypeDescription
Builder<DeleteMachineImageRequest,Operation,Operation>

deleteSettings()

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

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

Returns
TypeDescription
Builder<DeleteMachineImageRequest,Operation>

getIamPolicySettings()

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

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

Returns
TypeDescription
Builder<GetIamPolicyMachineImageRequest,Policy>

getSettings()

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

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

Returns
TypeDescription
Builder<GetMachineImageRequest,MachineImage>

getStubSettingsBuilder()

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

insertOperationSettings()

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

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

Returns
TypeDescription
Builder<InsertMachineImageRequest,Operation,Operation>

insertSettings()

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

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

Returns
TypeDescription
Builder<InsertMachineImageRequest,Operation>

listSettings()

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

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

Returns
TypeDescription
Builder<ListMachineImagesRequest,MachineImageList,ListPagedResponse>

setIamPolicySettings()

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

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

Returns
TypeDescription
Builder<SetIamPolicyMachineImageRequest,Policy>

testIamPermissionsSettings()

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

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

Returns
TypeDescription
Builder<TestIamPermissionsMachineImageRequest,TestPermissionsResponse>