• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright 2020 Google LLC
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *     https://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 // Generated by the protocol buffer compiler.  DO NOT EDIT!
17 // source: google/cloud/iot/v1/device_manager.proto
18 
19 package com.google.cloud.iot.v1;
20 
21 public interface UpdateDeviceRegistryRequestOrBuilder
22     extends
23     // @@protoc_insertion_point(interface_extends:google.cloud.iot.v1.UpdateDeviceRegistryRequest)
24     com.google.protobuf.MessageOrBuilder {
25 
26   /**
27    *
28    *
29    * <pre>
30    * Required. The new values for the device registry. The `id` field must be empty, and
31    * the `name` field must indicate the path of the resource. For example,
32    * `projects/example-project/locations/us-central1/registries/my-registry`.
33    * </pre>
34    *
35    * <code>
36    * .google.cloud.iot.v1.DeviceRegistry device_registry = 1 [(.google.api.field_behavior) = REQUIRED];
37    * </code>
38    *
39    * @return Whether the deviceRegistry field is set.
40    */
hasDeviceRegistry()41   boolean hasDeviceRegistry();
42   /**
43    *
44    *
45    * <pre>
46    * Required. The new values for the device registry. The `id` field must be empty, and
47    * the `name` field must indicate the path of the resource. For example,
48    * `projects/example-project/locations/us-central1/registries/my-registry`.
49    * </pre>
50    *
51    * <code>
52    * .google.cloud.iot.v1.DeviceRegistry device_registry = 1 [(.google.api.field_behavior) = REQUIRED];
53    * </code>
54    *
55    * @return The deviceRegistry.
56    */
getDeviceRegistry()57   com.google.cloud.iot.v1.DeviceRegistry getDeviceRegistry();
58   /**
59    *
60    *
61    * <pre>
62    * Required. The new values for the device registry. The `id` field must be empty, and
63    * the `name` field must indicate the path of the resource. For example,
64    * `projects/example-project/locations/us-central1/registries/my-registry`.
65    * </pre>
66    *
67    * <code>
68    * .google.cloud.iot.v1.DeviceRegistry device_registry = 1 [(.google.api.field_behavior) = REQUIRED];
69    * </code>
70    */
getDeviceRegistryOrBuilder()71   com.google.cloud.iot.v1.DeviceRegistryOrBuilder getDeviceRegistryOrBuilder();
72 
73   /**
74    *
75    *
76    * <pre>
77    * Required. Only updates the `device_registry` fields indicated by this mask.
78    * The field mask must not be empty, and it must not contain fields that
79    * are immutable or only set by the server.
80    * Mutable top-level fields: `event_notification_config`, `http_config`,
81    * `mqtt_config`, and `state_notification_config`.
82    * </pre>
83    *
84    * <code>.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
85    * </code>
86    *
87    * @return Whether the updateMask field is set.
88    */
hasUpdateMask()89   boolean hasUpdateMask();
90   /**
91    *
92    *
93    * <pre>
94    * Required. Only updates the `device_registry` fields indicated by this mask.
95    * The field mask must not be empty, and it must not contain fields that
96    * are immutable or only set by the server.
97    * Mutable top-level fields: `event_notification_config`, `http_config`,
98    * `mqtt_config`, and `state_notification_config`.
99    * </pre>
100    *
101    * <code>.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
102    * </code>
103    *
104    * @return The updateMask.
105    */
getUpdateMask()106   com.google.protobuf.FieldMask getUpdateMask();
107   /**
108    *
109    *
110    * <pre>
111    * Required. Only updates the `device_registry` fields indicated by this mask.
112    * The field mask must not be empty, and it must not contain fields that
113    * are immutable or only set by the server.
114    * Mutable top-level fields: `event_notification_config`, `http_config`,
115    * `mqtt_config`, and `state_notification_config`.
116    * </pre>
117    *
118    * <code>.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
119    * </code>
120    */
getUpdateMaskOrBuilder()121   com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder();
122 }
123