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 com.google.api.gax.rpc.ClientSettings.Builder<DeviceManagerSettings,DeviceManagerSettings.Builder>
Builder for DeviceManagerSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
protected
Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected
Builder(DeviceManagerSettings settings)
protected
Builder(DeviceManagerStubSettings.Builder stubSettings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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,com.google.protobuf.Empty>
deleteDeviceRegistrySettings()
Returns the builder for the settings used for calls to deleteDeviceRegistry.com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteDeviceRequest,com.google.protobuf.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.-
Methods inherited from class com.google.api.gax.rpc.ClientSettings.Builder
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setQuotaProjectId, setTransportChannelProvider, setWatchdogCheckInterval, setWatchdogProvider, toString
-
-
-
-
Constructor Detail
-
Builder
protected Builder() throws IOException
- Throws:
IOException
-
Builder
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
-
Builder
protected Builder(DeviceManagerSettings settings)
-
Builder
protected Builder(DeviceManagerStubSettings.Builder stubSettings)
-
-
Method Detail
-
getStubSettingsBuilder
public DeviceManagerStubSettings.Builder getStubSettingsBuilder()
-
applyToAllUnaryMethods
public 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.Note: This method does not support applying settings to streaming methods.
-
createDeviceRegistrySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateDeviceRegistryRequest,DeviceRegistry> createDeviceRegistrySettings()
Returns the builder for the settings used for calls to createDeviceRegistry.
-
getDeviceRegistrySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetDeviceRegistryRequest,DeviceRegistry> getDeviceRegistrySettings()
Returns the builder for the settings used for calls to getDeviceRegistry.
-
updateDeviceRegistrySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateDeviceRegistryRequest,DeviceRegistry> updateDeviceRegistrySettings()
Returns the builder for the settings used for calls to updateDeviceRegistry.
-
deleteDeviceRegistrySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteDeviceRegistryRequest,com.google.protobuf.Empty> deleteDeviceRegistrySettings()
Returns the builder for the settings used for calls to deleteDeviceRegistry.
-
listDeviceRegistriesSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListDeviceRegistriesRequest,ListDeviceRegistriesResponse,DeviceManagerClient.ListDeviceRegistriesPagedResponse> listDeviceRegistriesSettings()
Returns the builder for the settings used for calls to listDeviceRegistries.
-
createDeviceSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateDeviceRequest,Device> createDeviceSettings()
Returns the builder for the settings used for calls to createDevice.
-
getDeviceSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetDeviceRequest,Device> getDeviceSettings()
Returns the builder for the settings used for calls to getDevice.
-
updateDeviceSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateDeviceRequest,Device> updateDeviceSettings()
Returns the builder for the settings used for calls to updateDevice.
-
deleteDeviceSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteDeviceRequest,com.google.protobuf.Empty> deleteDeviceSettings()
Returns the builder for the settings used for calls to deleteDevice.
-
listDevicesSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListDevicesRequest,ListDevicesResponse,DeviceManagerClient.ListDevicesPagedResponse> listDevicesSettings()
Returns the builder for the settings used for calls to listDevices.
-
modifyCloudToDeviceConfigSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<ModifyCloudToDeviceConfigRequest,DeviceConfig> modifyCloudToDeviceConfigSettings()
Returns the builder for the settings used for calls to modifyCloudToDeviceConfig.
-
listDeviceConfigVersionsSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<ListDeviceConfigVersionsRequest,ListDeviceConfigVersionsResponse> listDeviceConfigVersionsSettings()
Returns the builder for the settings used for calls to listDeviceConfigVersions.
-
listDeviceStatesSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<ListDeviceStatesRequest,ListDeviceStatesResponse> listDeviceStatesSettings()
Returns the builder for the settings used for calls to listDeviceStates.
-
setIamPolicySettings
public 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.
-
getIamPolicySettings
public 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.
-
testIamPermissionsSettings
public 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.
-
sendCommandToDeviceSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<SendCommandToDeviceRequest,SendCommandToDeviceResponse> sendCommandToDeviceSettings()
Returns the builder for the settings used for calls to sendCommandToDevice.
-
bindDeviceToGatewaySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<BindDeviceToGatewayRequest,BindDeviceToGatewayResponse> bindDeviceToGatewaySettings()
Returns the builder for the settings used for calls to bindDeviceToGateway.
-
unbindDeviceFromGatewaySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UnbindDeviceFromGatewayRequest,UnbindDeviceFromGatewayResponse> unbindDeviceFromGatewaySettings()
Returns the builder for the settings used for calls to unbindDeviceFromGateway.
-
build
public DeviceManagerSettings build() throws IOException
- Specified by:
build
in classcom.google.api.gax.rpc.ClientSettings.Builder<DeviceManagerSettings,DeviceManagerSettings.Builder>
- Throws:
IOException
-
-