public static class MachineImagesStubSettings.Builder extends StubSettings.Builder<MachineImagesStubSettings,MachineImagesStubSettings.Builder>
Builder for MachineImagesStubSettings.
Constructors
Builder()
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
Builder(MachineImagesStubSettings settings)
protected Builder(MachineImagesStubSettings settings)
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.
build()
public MachineImagesStubSettings build()
Overrides
deleteOperationSettings()
public OperationCallSettings.Builder<DeleteMachineImageRequest,Operation,Operation> deleteOperationSettings()
Beta
The surface for use by generated code is not stable yet and may change in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
Returns the builder for the settings used for calls to delete.
deleteSettings()
public UnaryCallSettings.Builder<DeleteMachineImageRequest,Operation> deleteSettings()
Returns the builder for the settings used for calls to delete.
getEndpoint()
public String getEndpoint()
Returns the endpoint set by the user or the the service's default endpoint.
Overrides
getIamPolicySettings()
public UnaryCallSettings.Builder<GetIamPolicyMachineImageRequest,Policy> getIamPolicySettings()
Returns the builder for the settings used for calls to getIamPolicy.
getSettings()
public UnaryCallSettings.Builder<GetMachineImageRequest,MachineImage> getSettings()
Returns the builder for the settings used for calls to get.
insertOperationSettings()
public OperationCallSettings.Builder<InsertMachineImageRequest,Operation,Operation> insertOperationSettings()
Beta
The surface for use by generated code is not stable yet and may change in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
Returns the builder for the settings used for calls to insert.
insertSettings()
public UnaryCallSettings.Builder<InsertMachineImageRequest,Operation> insertSettings()
Returns the builder for the settings used for calls to insert.
listSettings()
public PagedCallSettings.Builder<ListMachineImagesRequest,MachineImageList,MachineImagesClient.ListPagedResponse> listSettings()
Returns the builder for the settings used for calls to list.
setIamPolicySettings()
public UnaryCallSettings.Builder<SetIamPolicyMachineImageRequest,Policy> setIamPolicySettings()
Returns the builder for the settings used for calls to setIamPolicy.
testIamPermissionsSettings()
public UnaryCallSettings.Builder<TestIamPermissionsMachineImageRequest,TestPermissionsResponse> testIamPermissionsSettings()
Returns the builder for the settings used for calls to testIamPermissions.
unaryMethodSettingsBuilders()
public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns Type Description com.google.common.collect.ImmutableList <Builder <? ,? >>