public static class DeviceManagerSettings.Builder extends ClientSettings.Builder<DeviceManagerSettings,DeviceManagerSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(ClientContext clientContext) |
protected |
Builder(DeviceManagerSettings settings) |
protected |
Builder(DeviceManagerStubSettings.Builder stubSettings) |
Modifier and Type | Method and Description |
---|---|
DeviceManagerSettings.Builder |
applyToAllUnaryMethods(com.google.api.core.ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Applies the given settings updater function to all of the unary API methods in this service.
|
UnaryCallSettings.Builder<com.google.cloud.iot.v1.BindDeviceToGatewayRequest,com.google.cloud.iot.v1.BindDeviceToGatewayResponse> |
bindDeviceToGatewaySettings()
Returns the builder for the settings used for calls to bindDeviceToGateway.
|
DeviceManagerSettings |
build() |
UnaryCallSettings.Builder<com.google.cloud.iot.v1.CreateDeviceRegistryRequest,com.google.cloud.iot.v1.DeviceRegistry> |
createDeviceRegistrySettings()
Returns the builder for the settings used for calls to createDeviceRegistry.
|
UnaryCallSettings.Builder<com.google.cloud.iot.v1.CreateDeviceRequest,com.google.cloud.iot.v1.Device> |
createDeviceSettings()
Returns the builder for the settings used for calls to createDevice.
|
UnaryCallSettings.Builder<com.google.cloud.iot.v1.DeleteDeviceRegistryRequest,Empty> |
deleteDeviceRegistrySettings()
Returns the builder for the settings used for calls to deleteDeviceRegistry.
|
UnaryCallSettings.Builder<com.google.cloud.iot.v1.DeleteDeviceRequest,Empty> |
deleteDeviceSettings()
Returns the builder for the settings used for calls to deleteDevice.
|
UnaryCallSettings.Builder<com.google.cloud.iot.v1.GetDeviceRegistryRequest,com.google.cloud.iot.v1.DeviceRegistry> |
getDeviceRegistrySettings()
Returns the builder for the settings used for calls to getDeviceRegistry.
|
UnaryCallSettings.Builder<com.google.cloud.iot.v1.GetDeviceRequest,com.google.cloud.iot.v1.Device> |
getDeviceSettings()
Returns the builder for the settings used for calls to getDevice.
|
UnaryCallSettings.Builder<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> |
getIamPolicySettings()
Returns the builder for the settings used for calls to getIamPolicy.
|
DeviceManagerStubSettings.Builder |
getStubSettingsBuilder() |
UnaryCallSettings.Builder<com.google.cloud.iot.v1.ListDeviceConfigVersionsRequest,com.google.cloud.iot.v1.ListDeviceConfigVersionsResponse> |
listDeviceConfigVersionsSettings()
Returns the builder for the settings used for calls to listDeviceConfigVersions.
|
PagedCallSettings.Builder<com.google.cloud.iot.v1.ListDeviceRegistriesRequest,com.google.cloud.iot.v1.ListDeviceRegistriesResponse,DeviceManagerClient.ListDeviceRegistriesPagedResponse> |
listDeviceRegistriesSettings()
Returns the builder for the settings used for calls to listDeviceRegistries.
|
PagedCallSettings.Builder<com.google.cloud.iot.v1.ListDevicesRequest,com.google.cloud.iot.v1.ListDevicesResponse,DeviceManagerClient.ListDevicesPagedResponse> |
listDevicesSettings()
Returns the builder for the settings used for calls to listDevices.
|
UnaryCallSettings.Builder<com.google.cloud.iot.v1.ListDeviceStatesRequest,com.google.cloud.iot.v1.ListDeviceStatesResponse> |
listDeviceStatesSettings()
Returns the builder for the settings used for calls to listDeviceStates.
|
UnaryCallSettings.Builder<com.google.cloud.iot.v1.ModifyCloudToDeviceConfigRequest,com.google.cloud.iot.v1.DeviceConfig> |
modifyCloudToDeviceConfigSettings()
Returns the builder for the settings used for calls to modifyCloudToDeviceConfig.
|
UnaryCallSettings.Builder<com.google.cloud.iot.v1.SendCommandToDeviceRequest,com.google.cloud.iot.v1.SendCommandToDeviceResponse> |
sendCommandToDeviceSettings()
Returns the builder for the settings used for calls to sendCommandToDevice.
|
UnaryCallSettings.Builder<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> |
setIamPolicySettings()
Returns the builder for the settings used for calls to setIamPolicy.
|
UnaryCallSettings.Builder<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> |
testIamPermissionsSettings()
Returns the builder for the settings used for calls to testIamPermissions.
|
UnaryCallSettings.Builder<com.google.cloud.iot.v1.UnbindDeviceFromGatewayRequest,com.google.cloud.iot.v1.UnbindDeviceFromGatewayResponse> |
unbindDeviceFromGatewaySettings()
Returns the builder for the settings used for calls to unbindDeviceFromGateway.
|
UnaryCallSettings.Builder<com.google.cloud.iot.v1.UpdateDeviceRegistryRequest,com.google.cloud.iot.v1.DeviceRegistry> |
updateDeviceRegistrySettings()
Returns the builder for the settings used for calls to updateDeviceRegistry.
|
UnaryCallSettings.Builder<com.google.cloud.iot.v1.UpdateDeviceRequest,com.google.cloud.iot.v1.Device> |
updateDeviceSettings()
Returns the builder for the settings used for calls to updateDevice.
|
applyToAllUnaryMethods, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getHeaderProvider, getInternalHeaderProvider, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, self, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setHeaderProvider, setInternalHeaderProvider, setTransportChannelProvider, setWatchdogCheckInterval, setWatchdogProvider, toString
protected Builder() throws IOException
IOException
protected Builder(ClientContext clientContext)
protected Builder(DeviceManagerSettings settings)
protected Builder(DeviceManagerStubSettings.Builder stubSettings)
public DeviceManagerStubSettings.Builder getStubSettingsBuilder()
public DeviceManagerSettings.Builder applyToAllUnaryMethods(com.google.api.core.ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater) throws Exception
Note: This method does not support applying settings to streaming methods.
Exception
public UnaryCallSettings.Builder<com.google.cloud.iot.v1.CreateDeviceRegistryRequest,com.google.cloud.iot.v1.DeviceRegistry> createDeviceRegistrySettings()
public UnaryCallSettings.Builder<com.google.cloud.iot.v1.GetDeviceRegistryRequest,com.google.cloud.iot.v1.DeviceRegistry> getDeviceRegistrySettings()
public UnaryCallSettings.Builder<com.google.cloud.iot.v1.UpdateDeviceRegistryRequest,com.google.cloud.iot.v1.DeviceRegistry> updateDeviceRegistrySettings()
public UnaryCallSettings.Builder<com.google.cloud.iot.v1.DeleteDeviceRegistryRequest,Empty> deleteDeviceRegistrySettings()
public PagedCallSettings.Builder<com.google.cloud.iot.v1.ListDeviceRegistriesRequest,com.google.cloud.iot.v1.ListDeviceRegistriesResponse,DeviceManagerClient.ListDeviceRegistriesPagedResponse> listDeviceRegistriesSettings()
public UnaryCallSettings.Builder<com.google.cloud.iot.v1.CreateDeviceRequest,com.google.cloud.iot.v1.Device> createDeviceSettings()
public UnaryCallSettings.Builder<com.google.cloud.iot.v1.GetDeviceRequest,com.google.cloud.iot.v1.Device> getDeviceSettings()
public UnaryCallSettings.Builder<com.google.cloud.iot.v1.UpdateDeviceRequest,com.google.cloud.iot.v1.Device> updateDeviceSettings()
public UnaryCallSettings.Builder<com.google.cloud.iot.v1.DeleteDeviceRequest,Empty> deleteDeviceSettings()
public PagedCallSettings.Builder<com.google.cloud.iot.v1.ListDevicesRequest,com.google.cloud.iot.v1.ListDevicesResponse,DeviceManagerClient.ListDevicesPagedResponse> listDevicesSettings()
public UnaryCallSettings.Builder<com.google.cloud.iot.v1.ModifyCloudToDeviceConfigRequest,com.google.cloud.iot.v1.DeviceConfig> modifyCloudToDeviceConfigSettings()
public UnaryCallSettings.Builder<com.google.cloud.iot.v1.ListDeviceConfigVersionsRequest,com.google.cloud.iot.v1.ListDeviceConfigVersionsResponse> listDeviceConfigVersionsSettings()
public UnaryCallSettings.Builder<com.google.cloud.iot.v1.ListDeviceStatesRequest,com.google.cloud.iot.v1.ListDeviceStatesResponse> listDeviceStatesSettings()
public UnaryCallSettings.Builder<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> setIamPolicySettings()
public UnaryCallSettings.Builder<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> getIamPolicySettings()
public UnaryCallSettings.Builder<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> testIamPermissionsSettings()
public UnaryCallSettings.Builder<com.google.cloud.iot.v1.SendCommandToDeviceRequest,com.google.cloud.iot.v1.SendCommandToDeviceResponse> sendCommandToDeviceSettings()
public UnaryCallSettings.Builder<com.google.cloud.iot.v1.BindDeviceToGatewayRequest,com.google.cloud.iot.v1.BindDeviceToGatewayResponse> bindDeviceToGatewaySettings()
public UnaryCallSettings.Builder<com.google.cloud.iot.v1.UnbindDeviceFromGatewayRequest,com.google.cloud.iot.v1.UnbindDeviceFromGatewayResponse> unbindDeviceFromGatewaySettings()
public DeviceManagerSettings build() throws IOException
build
in class ClientSettings.Builder<DeviceManagerSettings,DeviceManagerSettings.Builder>
IOException
Copyright © 2019 Google LLC. All rights reserved.