Send feedback
Class DeviceManagerStubSettings.Builder (2.4.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.4.0 keyboard_arrow_down
public static class DeviceManagerStubSettings . Builder extends StubSettings . Builder<DeviceManagerStubSettings , DeviceManagerStubSettings . Builder >
Builder for DeviceManagerStubSettings.
Constructors
Builder()
Builder(ClientContext clientContext)
protected Builder ( ClientContext clientContext )
Parameter
Builder(DeviceManagerStubSettings settings)
protected Builder ( DeviceManagerStubSettings settings )
Parameter
Methods
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
public DeviceManagerStubSettings . 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
Returns
bindDeviceToGatewaySettings()
public UnaryCallSettings . Builder<BindDeviceToGatewayRequest , BindDeviceToGatewayResponse > bindDeviceToGatewaySettings ()
Returns the builder for the settings used for calls to bindDeviceToGateway.
Returns
build()
public DeviceManagerStubSettings build ()
Returns
Overrides
Exceptions
createDeviceRegistrySettings()
public UnaryCallSettings . Builder<CreateDeviceRegistryRequest , DeviceRegistry > createDeviceRegistrySettings ()
Returns the builder for the settings used for calls to createDeviceRegistry.
Returns
createDeviceSettings()
public UnaryCallSettings . Builder<CreateDeviceRequest , Device > createDeviceSettings ()
Returns the builder for the settings used for calls to createDevice.
Returns
deleteDeviceRegistrySettings()
public UnaryCallSettings . Builder<DeleteDeviceRegistryRequest , Empty > deleteDeviceRegistrySettings ()
Returns the builder for the settings used for calls to deleteDeviceRegistry.
Returns
deleteDeviceSettings()
public UnaryCallSettings . Builder<DeleteDeviceRequest , Empty > deleteDeviceSettings ()
Returns the builder for the settings used for calls to deleteDevice.
Returns
getDeviceRegistrySettings()
public UnaryCallSettings . Builder<GetDeviceRegistryRequest , DeviceRegistry > getDeviceRegistrySettings ()
Returns the builder for the settings used for calls to getDeviceRegistry.
Returns
getDeviceSettings()
public UnaryCallSettings . Builder<GetDeviceRequest , Device > getDeviceSettings ()
Returns the builder for the settings used for calls to getDevice.
Returns
getIamPolicySettings()
public UnaryCallSettings . Builder<GetIamPolicyRequest , Policy > getIamPolicySettings ()
Returns the builder for the settings used for calls to getIamPolicy.
Returns
Type Description Builder <com.google.iam.v1.GetIamPolicyRequest ,com.google.iam.v1.Policy >
listDeviceConfigVersionsSettings()
public UnaryCallSettings . Builder<ListDeviceConfigVersionsRequest , ListDeviceConfigVersionsResponse > listDeviceConfigVersionsSettings ()
Returns the builder for the settings used for calls to listDeviceConfigVersions.
Returns
listDeviceRegistriesSettings()
public PagedCallSettings . Builder<ListDeviceRegistriesRequest , ListDeviceRegistriesResponse , DeviceManagerClient . ListDeviceRegistriesPagedResponse > listDeviceRegistriesSettings ()
Returns the builder for the settings used for calls to listDeviceRegistries.
Returns
listDeviceStatesSettings()
public UnaryCallSettings . Builder<ListDeviceStatesRequest , ListDeviceStatesResponse > listDeviceStatesSettings ()
Returns the builder for the settings used for calls to listDeviceStates.
Returns
listDevicesSettings()
public PagedCallSettings . Builder<ListDevicesRequest , ListDevicesResponse , DeviceManagerClient . ListDevicesPagedResponse > listDevicesSettings ()
Returns the builder for the settings used for calls to listDevices.
Returns
modifyCloudToDeviceConfigSettings()
public UnaryCallSettings . Builder<ModifyCloudToDeviceConfigRequest , DeviceConfig > modifyCloudToDeviceConfigSettings ()
Returns the builder for the settings used for calls to modifyCloudToDeviceConfig.
Returns
sendCommandToDeviceSettings()
public UnaryCallSettings . Builder<SendCommandToDeviceRequest , SendCommandToDeviceResponse > sendCommandToDeviceSettings ()
Returns the builder for the settings used for calls to sendCommandToDevice.
Returns
setIamPolicySettings()
public UnaryCallSettings . Builder<SetIamPolicyRequest , Policy > setIamPolicySettings ()
Returns the builder for the settings used for calls to setIamPolicy.
Returns
Type Description Builder <com.google.iam.v1.SetIamPolicyRequest ,com.google.iam.v1.Policy >
testIamPermissionsSettings()
public UnaryCallSettings . Builder<TestIamPermissionsRequest , TestIamPermissionsResponse > testIamPermissionsSettings ()
Returns the builder for the settings used for calls to testIamPermissions.
Returns
Type Description Builder <com.google.iam.v1.TestIamPermissionsRequest ,com.google.iam.v1.TestIamPermissionsResponse >
unaryMethodSettingsBuilders()
public ImmutableList<UnaryCallSettings . Builder <? , ? >> unaryMethodSettingsBuilders ()
Returns
Type Description com.google.common.collect.ImmutableList <Builder <? ,? >>
unbindDeviceFromGatewaySettings()
public UnaryCallSettings . Builder<UnbindDeviceFromGatewayRequest , UnbindDeviceFromGatewayResponse > unbindDeviceFromGatewaySettings ()
Returns the builder for the settings used for calls to unbindDeviceFromGateway.
Returns
updateDeviceRegistrySettings()
public UnaryCallSettings . Builder<UpdateDeviceRegistryRequest , DeviceRegistry > updateDeviceRegistrySettings ()
Returns the builder for the settings used for calls to updateDeviceRegistry.
Returns
updateDeviceSettings()
public UnaryCallSettings . Builder<UpdateDeviceRequest , Device > updateDeviceSettings ()
Returns the builder for the settings used for calls to updateDevice.
Returns
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-11-06 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-11-06 UTC."],[],[]]