public static class DeviceManagerStubSettings.Builder extends StubSettings.Builder<DeviceManagerStubSettings,DeviceManagerStubSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(ClientContext clientContext) |
protected |
Builder(DeviceManagerStubSettings settings) |
Modifier and Type | Method and Description |
---|---|
DeviceManagerStubSettings.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.
|
DeviceManagerStubSettings |
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.
|
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.
|
com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> |
unaryMethodSettingsBuilders() |
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, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setHeaderProvider, setInternalHeaderProvider, setStreamWatchdogCheckInterval, setStreamWatchdogProvider, setTracerFactory, setTransportChannelProvider, toString
protected Builder()
protected Builder(ClientContext clientContext)
protected Builder(DeviceManagerStubSettings settings)
public DeviceManagerStubSettings.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 com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
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 DeviceManagerStubSettings build() throws IOException
build
in class StubSettings.Builder<DeviceManagerStubSettings,DeviceManagerStubSettings.Builder>
IOException
Copyright © 2019 Google LLC. All rights reserved.