Package com.google.cloud.iot.v1
Class DeviceManagerSettings.Builder
java.lang.Object
com.google.api.gax.rpc.ClientSettings.Builder<DeviceManagerSettings,DeviceManagerSettings.Builder>
com.google.cloud.iot.v1.DeviceManagerSettings.Builder
- Enclosing class:
- DeviceManagerSettings
public static class DeviceManagerSettings.Builder
extends ClientSettings.Builder<DeviceManagerSettings,DeviceManagerSettings.Builder>
Builder for DeviceManagerSettings.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBuilder()protectedBuilder(ClientContext clientContext) protectedBuilder(DeviceManagerSettings settings) protectedBuilder(DeviceManagerStubSettings.Builder stubSettings) -
Method Summary
Modifier and TypeMethodDescriptionapplyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?, ?>, Void> settingsUpdater) Applies the given settings updater function to all of the unary API methods in this service.Returns the builder for the settings used for calls to bindDeviceToGateway.build()Returns the builder for the settings used for calls to createDeviceRegistry.Returns the builder for the settings used for calls to createDevice.UnaryCallSettings.Builder<DeleteDeviceRegistryRequest,com.google.protobuf.Empty> Returns the builder for the settings used for calls to deleteDeviceRegistry.UnaryCallSettings.Builder<DeleteDeviceRequest,com.google.protobuf.Empty> Returns the builder for the settings used for calls to deleteDevice.Returns the builder for the settings used for calls to getDeviceRegistry.Returns the builder for the settings used for calls to getDevice.Returns the builder for the settings used for calls to getIamPolicy.Returns the builder for the settings used for calls to listDeviceConfigVersions.PagedCallSettings.Builder<ListDeviceRegistriesRequest,ListDeviceRegistriesResponse, DeviceManagerClient.ListDeviceRegistriesPagedResponse> Returns the builder for the settings used for calls to listDeviceRegistries.PagedCallSettings.Builder<ListDevicesRequest,ListDevicesResponse, DeviceManagerClient.ListDevicesPagedResponse> Returns the builder for the settings used for calls to listDevices.Returns the builder for the settings used for calls to listDeviceStates.Returns the builder for the settings used for calls to modifyCloudToDeviceConfig.Returns the builder for the settings used for calls to sendCommandToDevice.Returns the builder for the settings used for calls to setIamPolicy.Returns the builder for the settings used for calls to testIamPermissions.Returns the builder for the settings used for calls to unbindDeviceFromGateway.Returns the builder for the settings used for calls to updateDeviceRegistry.Returns the builder for the settings used for calls to updateDevice.Methods inherited from class com.google.api.gax.rpc.ClientSettings.Builder
applyToAllUnaryMethods, getApiKey, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogCheckIntervalDuration, getWatchdogProvider, self, setApiKey, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setQuotaProjectId, setTransportChannelProvider, setUniverseDomain, setWatchdogCheckInterval, setWatchdogCheckIntervalDuration, setWatchdogProvider, toString
-
Constructor Details
-
Builder
- Throws:
IOException
-
Builder
-
Builder
-
Builder
-
-
Method Details
-
getStubSettingsBuilder
-
applyToAllUnaryMethods
public DeviceManagerSettings.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.
-
createDeviceRegistrySettings
public UnaryCallSettings.Builder<CreateDeviceRegistryRequest,DeviceRegistry> createDeviceRegistrySettings()Returns the builder for the settings used for calls to createDeviceRegistry. -
getDeviceRegistrySettings
public UnaryCallSettings.Builder<GetDeviceRegistryRequest,DeviceRegistry> getDeviceRegistrySettings()Returns the builder for the settings used for calls to getDeviceRegistry. -
updateDeviceRegistrySettings
public UnaryCallSettings.Builder<UpdateDeviceRegistryRequest,DeviceRegistry> updateDeviceRegistrySettings()Returns the builder for the settings used for calls to updateDeviceRegistry. -
deleteDeviceRegistrySettings
public UnaryCallSettings.Builder<DeleteDeviceRegistryRequest,com.google.protobuf.Empty> deleteDeviceRegistrySettings()Returns the builder for the settings used for calls to deleteDeviceRegistry. -
listDeviceRegistriesSettings
public PagedCallSettings.Builder<ListDeviceRegistriesRequest,ListDeviceRegistriesResponse, listDeviceRegistriesSettings()DeviceManagerClient.ListDeviceRegistriesPagedResponse> Returns the builder for the settings used for calls to listDeviceRegistries. -
createDeviceSettings
Returns the builder for the settings used for calls to createDevice. -
getDeviceSettings
Returns the builder for the settings used for calls to getDevice. -
updateDeviceSettings
Returns the builder for the settings used for calls to updateDevice. -
deleteDeviceSettings
public UnaryCallSettings.Builder<DeleteDeviceRequest,com.google.protobuf.Empty> deleteDeviceSettings()Returns the builder for the settings used for calls to deleteDevice. -
listDevicesSettings
public PagedCallSettings.Builder<ListDevicesRequest,ListDevicesResponse, listDevicesSettings()DeviceManagerClient.ListDevicesPagedResponse> Returns the builder for the settings used for calls to listDevices. -
modifyCloudToDeviceConfigSettings
public UnaryCallSettings.Builder<ModifyCloudToDeviceConfigRequest,DeviceConfig> modifyCloudToDeviceConfigSettings()Returns the builder for the settings used for calls to modifyCloudToDeviceConfig. -
listDeviceConfigVersionsSettings
public UnaryCallSettings.Builder<ListDeviceConfigVersionsRequest,ListDeviceConfigVersionsResponse> listDeviceConfigVersionsSettings()Returns the builder for the settings used for calls to listDeviceConfigVersions. -
listDeviceStatesSettings
public UnaryCallSettings.Builder<ListDeviceStatesRequest,ListDeviceStatesResponse> listDeviceStatesSettings()Returns the builder for the settings used for calls to listDeviceStates. -
setIamPolicySettings
Returns the builder for the settings used for calls to setIamPolicy. -
getIamPolicySettings
Returns the builder for the settings used for calls to getIamPolicy. -
testIamPermissionsSettings
public UnaryCallSettings.Builder<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsSettings()Returns the builder for the settings used for calls to testIamPermissions. -
sendCommandToDeviceSettings
public UnaryCallSettings.Builder<SendCommandToDeviceRequest,SendCommandToDeviceResponse> sendCommandToDeviceSettings()Returns the builder for the settings used for calls to sendCommandToDevice. -
bindDeviceToGatewaySettings
public UnaryCallSettings.Builder<BindDeviceToGatewayRequest,BindDeviceToGatewayResponse> bindDeviceToGatewaySettings()Returns the builder for the settings used for calls to bindDeviceToGateway. -
unbindDeviceFromGatewaySettings
public UnaryCallSettings.Builder<UnbindDeviceFromGatewayRequest,UnbindDeviceFromGatewayResponse> unbindDeviceFromGatewaySettings()Returns the builder for the settings used for calls to unbindDeviceFromGateway. -
build
- Specified by:
buildin classClientSettings.Builder<DeviceManagerSettings,DeviceManagerSettings.Builder> - Throws:
IOException
-