Class MachineImagesStubSettings.Builder (1.28.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
NameDescription
clientContextClientContext

Builder(MachineImagesStubSettings settings)

protected Builder(MachineImagesStubSettings settings)
Parameter
NameDescription
settingsMachineImagesStubSettings

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
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
MachineImagesStubSettings.Builder

build()

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

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>

unaryMethodSettingsBuilders()

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