Package com.google.cloud.iot.v1.stub
Class DeviceManagerStubSettings.Builder
- java.lang.Object
-
- com.google.api.gax.rpc.StubSettings.Builder<DeviceManagerStubSettings,DeviceManagerStubSettings.Builder>
-
- com.google.cloud.iot.v1.stub.DeviceManagerStubSettings.Builder
-
- Enclosing class:
- DeviceManagerStubSettings
public static class DeviceManagerStubSettings.Builder extends com.google.api.gax.rpc.StubSettings.Builder<DeviceManagerStubSettings,DeviceManagerStubSettings.Builder>
Builder for DeviceManagerStubSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
protected
Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected
Builder(DeviceManagerStubSettings settings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DeviceManagerStubSettings.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.DeviceManagerStubSettings
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.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.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>>
unaryMethodSettingsBuilders()
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.StubSettings.Builder
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getMtlsEndpoint, getQuotaProjectId, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setMtlsEndpoint, setQuotaProjectId, setStreamWatchdogCheckInterval, setStreamWatchdogProvider, setSwitchToMtlsEndpointAllowed, setTracerFactory, setTransportChannelProvider, toString
-
-
-
-
Constructor Detail
-
Builder
protected Builder()
-
Builder
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
-
Builder
protected Builder(DeviceManagerStubSettings settings)
-
-
Method Detail
-
applyToAllUnaryMethods
public DeviceManagerStubSettings.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.
-
unaryMethodSettingsBuilders
public com.google.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
-
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 DeviceManagerStubSettings build() throws IOException
- Specified by:
build
in classcom.google.api.gax.rpc.StubSettings.Builder<DeviceManagerStubSettings,DeviceManagerStubSettings.Builder>
- Throws:
IOException
-
-