5555 * <p>The builder of this class is recursive, so contained classes are themselves builders. When
5656 * build() is called, the tree of builders is called to create the complete settings object.
5757 *
58- * <p>For example, to set the total timeout of createDeviceRegistry to 30 seconds:
58+ * <p>For example, to set the total timeout of deleteDeviceRegistry to 30 seconds:
5959 *
6060 * <pre>
6161 * <code>
6262 * DeviceManagerSettings.Builder deviceManagerSettingsBuilder =
6363 * DeviceManagerSettings.newBuilder();
6464 * deviceManagerSettingsBuilder
65- * .createDeviceRegistrySettings ()
65+ * .deleteDeviceRegistrySettings ()
6666 * .setRetrySettings(
67- * deviceManagerSettingsBuilder.createDeviceRegistrySettings ().getRetrySettings().toBuilder()
67+ * deviceManagerSettingsBuilder.deleteDeviceRegistrySettings ().getRetrySettings().toBuilder()
6868 * .setTotalTimeout(Duration.ofSeconds(30))
6969 * .build());
7070 * DeviceManagerSettings deviceManagerSettings = deviceManagerSettingsBuilder.build();
7474@ Generated ("by gapic-generator" )
7575@ BetaApi
7676public class DeviceManagerSettings extends ClientSettings <DeviceManagerSettings > {
77+ /** Returns the object with the settings used for calls to deleteDeviceRegistry. */
78+ public UnaryCallSettings <DeleteDeviceRegistryRequest , Empty > deleteDeviceRegistrySettings () {
79+ return ((DeviceManagerStubSettings ) getStubSettings ()).deleteDeviceRegistrySettings ();
80+ }
81+
82+ /** Returns the object with the settings used for calls to deleteDevice. */
83+ public UnaryCallSettings <DeleteDeviceRequest , Empty > deleteDeviceSettings () {
84+ return ((DeviceManagerStubSettings ) getStubSettings ()).deleteDeviceSettings ();
85+ }
86+
87+ /** Returns the object with the settings used for calls to modifyCloudToDeviceConfig. */
88+ public UnaryCallSettings <ModifyCloudToDeviceConfigRequest , DeviceConfig >
89+ modifyCloudToDeviceConfigSettings () {
90+ return ((DeviceManagerStubSettings ) getStubSettings ()).modifyCloudToDeviceConfigSettings ();
91+ }
92+
93+ /** Returns the object with the settings used for calls to sendCommandToDevice. */
94+ public UnaryCallSettings <SendCommandToDeviceRequest , SendCommandToDeviceResponse >
95+ sendCommandToDeviceSettings () {
96+ return ((DeviceManagerStubSettings ) getStubSettings ()).sendCommandToDeviceSettings ();
97+ }
98+
7799 /** Returns the object with the settings used for calls to createDeviceRegistry. */
78100 public UnaryCallSettings <CreateDeviceRegistryRequest , DeviceRegistry >
79101 createDeviceRegistrySettings () {
@@ -91,11 +113,6 @@ public UnaryCallSettings<GetDeviceRegistryRequest, DeviceRegistry> getDeviceRegi
91113 return ((DeviceManagerStubSettings ) getStubSettings ()).updateDeviceRegistrySettings ();
92114 }
93115
94- /** Returns the object with the settings used for calls to deleteDeviceRegistry. */
95- public UnaryCallSettings <DeleteDeviceRegistryRequest , Empty > deleteDeviceRegistrySettings () {
96- return ((DeviceManagerStubSettings ) getStubSettings ()).deleteDeviceRegistrySettings ();
97- }
98-
99116 /** Returns the object with the settings used for calls to listDeviceRegistries. */
100117 public PagedCallSettings <
101118 ListDeviceRegistriesRequest ,
@@ -120,23 +137,12 @@ public UnaryCallSettings<UpdateDeviceRequest, Device> updateDeviceSettings() {
120137 return ((DeviceManagerStubSettings ) getStubSettings ()).updateDeviceSettings ();
121138 }
122139
123- /** Returns the object with the settings used for calls to deleteDevice. */
124- public UnaryCallSettings <DeleteDeviceRequest , Empty > deleteDeviceSettings () {
125- return ((DeviceManagerStubSettings ) getStubSettings ()).deleteDeviceSettings ();
126- }
127-
128140 /** Returns the object with the settings used for calls to listDevices. */
129141 public PagedCallSettings <ListDevicesRequest , ListDevicesResponse , ListDevicesPagedResponse >
130142 listDevicesSettings () {
131143 return ((DeviceManagerStubSettings ) getStubSettings ()).listDevicesSettings ();
132144 }
133145
134- /** Returns the object with the settings used for calls to modifyCloudToDeviceConfig. */
135- public UnaryCallSettings <ModifyCloudToDeviceConfigRequest , DeviceConfig >
136- modifyCloudToDeviceConfigSettings () {
137- return ((DeviceManagerStubSettings ) getStubSettings ()).modifyCloudToDeviceConfigSettings ();
138- }
139-
140146 /** Returns the object with the settings used for calls to listDeviceConfigVersions. */
141147 public UnaryCallSettings <ListDeviceConfigVersionsRequest , ListDeviceConfigVersionsResponse >
142148 listDeviceConfigVersionsSettings () {
@@ -165,12 +171,6 @@ public UnaryCallSettings<GetIamPolicyRequest, Policy> getIamPolicySettings() {
165171 return ((DeviceManagerStubSettings ) getStubSettings ()).testIamPermissionsSettings ();
166172 }
167173
168- /** Returns the object with the settings used for calls to sendCommandToDevice. */
169- public UnaryCallSettings <SendCommandToDeviceRequest , SendCommandToDeviceResponse >
170- sendCommandToDeviceSettings () {
171- return ((DeviceManagerStubSettings ) getStubSettings ()).sendCommandToDeviceSettings ();
172- }
173-
174174 /** Returns the object with the settings used for calls to bindDeviceToGateway. */
175175 public UnaryCallSettings <BindDeviceToGatewayRequest , BindDeviceToGatewayResponse >
176176 bindDeviceToGatewaySettings () {
@@ -280,6 +280,29 @@ public Builder applyToAllUnaryMethods(
280280 return this ;
281281 }
282282
283+ /** Returns the builder for the settings used for calls to deleteDeviceRegistry. */
284+ public UnaryCallSettings .Builder <DeleteDeviceRegistryRequest , Empty >
285+ deleteDeviceRegistrySettings () {
286+ return getStubSettingsBuilder ().deleteDeviceRegistrySettings ();
287+ }
288+
289+ /** Returns the builder for the settings used for calls to deleteDevice. */
290+ public UnaryCallSettings .Builder <DeleteDeviceRequest , Empty > deleteDeviceSettings () {
291+ return getStubSettingsBuilder ().deleteDeviceSettings ();
292+ }
293+
294+ /** Returns the builder for the settings used for calls to modifyCloudToDeviceConfig. */
295+ public UnaryCallSettings .Builder <ModifyCloudToDeviceConfigRequest , DeviceConfig >
296+ modifyCloudToDeviceConfigSettings () {
297+ return getStubSettingsBuilder ().modifyCloudToDeviceConfigSettings ();
298+ }
299+
300+ /** Returns the builder for the settings used for calls to sendCommandToDevice. */
301+ public UnaryCallSettings .Builder <SendCommandToDeviceRequest , SendCommandToDeviceResponse >
302+ sendCommandToDeviceSettings () {
303+ return getStubSettingsBuilder ().sendCommandToDeviceSettings ();
304+ }
305+
283306 /** Returns the builder for the settings used for calls to createDeviceRegistry. */
284307 public UnaryCallSettings .Builder <CreateDeviceRegistryRequest , DeviceRegistry >
285308 createDeviceRegistrySettings () {
@@ -298,12 +321,6 @@ public Builder applyToAllUnaryMethods(
298321 return getStubSettingsBuilder ().updateDeviceRegistrySettings ();
299322 }
300323
301- /** Returns the builder for the settings used for calls to deleteDeviceRegistry. */
302- public UnaryCallSettings .Builder <DeleteDeviceRegistryRequest , Empty >
303- deleteDeviceRegistrySettings () {
304- return getStubSettingsBuilder ().deleteDeviceRegistrySettings ();
305- }
306-
307324 /** Returns the builder for the settings used for calls to listDeviceRegistries. */
308325 public PagedCallSettings .Builder <
309326 ListDeviceRegistriesRequest ,
@@ -328,24 +345,13 @@ public UnaryCallSettings.Builder<UpdateDeviceRequest, Device> updateDeviceSettin
328345 return getStubSettingsBuilder ().updateDeviceSettings ();
329346 }
330347
331- /** Returns the builder for the settings used for calls to deleteDevice. */
332- public UnaryCallSettings .Builder <DeleteDeviceRequest , Empty > deleteDeviceSettings () {
333- return getStubSettingsBuilder ().deleteDeviceSettings ();
334- }
335-
336348 /** Returns the builder for the settings used for calls to listDevices. */
337349 public PagedCallSettings .Builder <
338350 ListDevicesRequest , ListDevicesResponse , ListDevicesPagedResponse >
339351 listDevicesSettings () {
340352 return getStubSettingsBuilder ().listDevicesSettings ();
341353 }
342354
343- /** Returns the builder for the settings used for calls to modifyCloudToDeviceConfig. */
344- public UnaryCallSettings .Builder <ModifyCloudToDeviceConfigRequest , DeviceConfig >
345- modifyCloudToDeviceConfigSettings () {
346- return getStubSettingsBuilder ().modifyCloudToDeviceConfigSettings ();
347- }
348-
349355 /** Returns the builder for the settings used for calls to listDeviceConfigVersions. */
350356 public UnaryCallSettings .Builder <
351357 ListDeviceConfigVersionsRequest , ListDeviceConfigVersionsResponse >
@@ -375,12 +381,6 @@ public UnaryCallSettings.Builder<GetIamPolicyRequest, Policy> getIamPolicySettin
375381 return getStubSettingsBuilder ().testIamPermissionsSettings ();
376382 }
377383
378- /** Returns the builder for the settings used for calls to sendCommandToDevice. */
379- public UnaryCallSettings .Builder <SendCommandToDeviceRequest , SendCommandToDeviceResponse >
380- sendCommandToDeviceSettings () {
381- return getStubSettingsBuilder ().sendCommandToDeviceSettings ();
382- }
383-
384384 /** Returns the builder for the settings used for calls to bindDeviceToGateway. */
385385 public UnaryCallSettings .Builder <BindDeviceToGatewayRequest , BindDeviceToGatewayResponse >
386386 bindDeviceToGatewaySettings () {
0 commit comments