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