Class MachineImagesStubSettings.Builder (1.52.0)

public static class MachineImagesStubSettings.Builder extends StubSettings.Builder<MachineImagesStubSettings,MachineImagesStubSettings.Builder>

Builder for MachineImagesStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > MachineImagesStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(MachineImagesStubSettings settings)

protected Builder(MachineImagesStubSettings settings)
Parameter
Name Description
settings MachineImagesStubSettings

Methods

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

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

build()

public MachineImagesStubSettings build()
Returns
Type Description
MachineImagesStubSettings
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>

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>

unaryMethodSettingsBuilders()

public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
Type Description
com.google.common.collect.ImmutableList<Builder<?,?>>