• 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/resources.proto
18 
19 package com.google.cloud.iot.v1;
20 
21 public interface DeviceOrBuilder
22     extends
23     // @@protoc_insertion_point(interface_extends:google.cloud.iot.v1.Device)
24     com.google.protobuf.MessageOrBuilder {
25 
26   /**
27    *
28    *
29    * <pre>
30    * The user-defined device identifier. The device ID must be unique
31    * within a device registry.
32    * </pre>
33    *
34    * <code>string id = 1;</code>
35    *
36    * @return The id.
37    */
getId()38   java.lang.String getId();
39   /**
40    *
41    *
42    * <pre>
43    * The user-defined device identifier. The device ID must be unique
44    * within a device registry.
45    * </pre>
46    *
47    * <code>string id = 1;</code>
48    *
49    * @return The bytes for id.
50    */
getIdBytes()51   com.google.protobuf.ByteString getIdBytes();
52 
53   /**
54    *
55    *
56    * <pre>
57    * The resource path name. For example,
58    * `projects/p1/locations/us-central1/registries/registry0/devices/dev0` or
59    * `projects/p1/locations/us-central1/registries/registry0/devices/{num_id}`.
60    * When `name` is populated as a response from the service, it always ends
61    * in the device numeric ID.
62    * </pre>
63    *
64    * <code>string name = 2;</code>
65    *
66    * @return The name.
67    */
getName()68   java.lang.String getName();
69   /**
70    *
71    *
72    * <pre>
73    * The resource path name. For example,
74    * `projects/p1/locations/us-central1/registries/registry0/devices/dev0` or
75    * `projects/p1/locations/us-central1/registries/registry0/devices/{num_id}`.
76    * When `name` is populated as a response from the service, it always ends
77    * in the device numeric ID.
78    * </pre>
79    *
80    * <code>string name = 2;</code>
81    *
82    * @return The bytes for name.
83    */
getNameBytes()84   com.google.protobuf.ByteString getNameBytes();
85 
86   /**
87    *
88    *
89    * <pre>
90    * [Output only] A server-defined unique numeric ID for the device. This is a
91    * more compact way to identify devices, and it is globally unique.
92    * </pre>
93    *
94    * <code>uint64 num_id = 3;</code>
95    *
96    * @return The numId.
97    */
getNumId()98   long getNumId();
99 
100   /**
101    *
102    *
103    * <pre>
104    * The credentials used to authenticate this device. To allow credential
105    * rotation without interruption, multiple device credentials can be bound to
106    * this device. No more than 3 credentials can be bound to a single device at
107    * a time. When new credentials are added to a device, they are verified
108    * against the registry credentials. For details, see the description of the
109    * `DeviceRegistry.credentials` field.
110    * </pre>
111    *
112    * <code>repeated .google.cloud.iot.v1.DeviceCredential credentials = 12;</code>
113    */
getCredentialsList()114   java.util.List<com.google.cloud.iot.v1.DeviceCredential> getCredentialsList();
115   /**
116    *
117    *
118    * <pre>
119    * The credentials used to authenticate this device. To allow credential
120    * rotation without interruption, multiple device credentials can be bound to
121    * this device. No more than 3 credentials can be bound to a single device at
122    * a time. When new credentials are added to a device, they are verified
123    * against the registry credentials. For details, see the description of the
124    * `DeviceRegistry.credentials` field.
125    * </pre>
126    *
127    * <code>repeated .google.cloud.iot.v1.DeviceCredential credentials = 12;</code>
128    */
getCredentials(int index)129   com.google.cloud.iot.v1.DeviceCredential getCredentials(int index);
130   /**
131    *
132    *
133    * <pre>
134    * The credentials used to authenticate this device. To allow credential
135    * rotation without interruption, multiple device credentials can be bound to
136    * this device. No more than 3 credentials can be bound to a single device at
137    * a time. When new credentials are added to a device, they are verified
138    * against the registry credentials. For details, see the description of the
139    * `DeviceRegistry.credentials` field.
140    * </pre>
141    *
142    * <code>repeated .google.cloud.iot.v1.DeviceCredential credentials = 12;</code>
143    */
getCredentialsCount()144   int getCredentialsCount();
145   /**
146    *
147    *
148    * <pre>
149    * The credentials used to authenticate this device. To allow credential
150    * rotation without interruption, multiple device credentials can be bound to
151    * this device. No more than 3 credentials can be bound to a single device at
152    * a time. When new credentials are added to a device, they are verified
153    * against the registry credentials. For details, see the description of the
154    * `DeviceRegistry.credentials` field.
155    * </pre>
156    *
157    * <code>repeated .google.cloud.iot.v1.DeviceCredential credentials = 12;</code>
158    */
159   java.util.List<? extends com.google.cloud.iot.v1.DeviceCredentialOrBuilder>
getCredentialsOrBuilderList()160       getCredentialsOrBuilderList();
161   /**
162    *
163    *
164    * <pre>
165    * The credentials used to authenticate this device. To allow credential
166    * rotation without interruption, multiple device credentials can be bound to
167    * this device. No more than 3 credentials can be bound to a single device at
168    * a time. When new credentials are added to a device, they are verified
169    * against the registry credentials. For details, see the description of the
170    * `DeviceRegistry.credentials` field.
171    * </pre>
172    *
173    * <code>repeated .google.cloud.iot.v1.DeviceCredential credentials = 12;</code>
174    */
getCredentialsOrBuilder(int index)175   com.google.cloud.iot.v1.DeviceCredentialOrBuilder getCredentialsOrBuilder(int index);
176 
177   /**
178    *
179    *
180    * <pre>
181    * [Output only] The last time an MQTT `PINGREQ` was received. This field
182    * applies only to devices connecting through MQTT. MQTT clients usually only
183    * send `PINGREQ` messages if the connection is idle, and no other messages
184    * have been sent. Timestamps are periodically collected and written to
185    * storage; they may be stale by a few minutes.
186    * </pre>
187    *
188    * <code>.google.protobuf.Timestamp last_heartbeat_time = 7;</code>
189    *
190    * @return Whether the lastHeartbeatTime field is set.
191    */
hasLastHeartbeatTime()192   boolean hasLastHeartbeatTime();
193   /**
194    *
195    *
196    * <pre>
197    * [Output only] The last time an MQTT `PINGREQ` was received. This field
198    * applies only to devices connecting through MQTT. MQTT clients usually only
199    * send `PINGREQ` messages if the connection is idle, and no other messages
200    * have been sent. Timestamps are periodically collected and written to
201    * storage; they may be stale by a few minutes.
202    * </pre>
203    *
204    * <code>.google.protobuf.Timestamp last_heartbeat_time = 7;</code>
205    *
206    * @return The lastHeartbeatTime.
207    */
getLastHeartbeatTime()208   com.google.protobuf.Timestamp getLastHeartbeatTime();
209   /**
210    *
211    *
212    * <pre>
213    * [Output only] The last time an MQTT `PINGREQ` was received. This field
214    * applies only to devices connecting through MQTT. MQTT clients usually only
215    * send `PINGREQ` messages if the connection is idle, and no other messages
216    * have been sent. Timestamps are periodically collected and written to
217    * storage; they may be stale by a few minutes.
218    * </pre>
219    *
220    * <code>.google.protobuf.Timestamp last_heartbeat_time = 7;</code>
221    */
getLastHeartbeatTimeOrBuilder()222   com.google.protobuf.TimestampOrBuilder getLastHeartbeatTimeOrBuilder();
223 
224   /**
225    *
226    *
227    * <pre>
228    * [Output only] The last time a telemetry event was received. Timestamps are
229    * periodically collected and written to storage; they may be stale by a few
230    * minutes.
231    * </pre>
232    *
233    * <code>.google.protobuf.Timestamp last_event_time = 8;</code>
234    *
235    * @return Whether the lastEventTime field is set.
236    */
hasLastEventTime()237   boolean hasLastEventTime();
238   /**
239    *
240    *
241    * <pre>
242    * [Output only] The last time a telemetry event was received. Timestamps are
243    * periodically collected and written to storage; they may be stale by a few
244    * minutes.
245    * </pre>
246    *
247    * <code>.google.protobuf.Timestamp last_event_time = 8;</code>
248    *
249    * @return The lastEventTime.
250    */
getLastEventTime()251   com.google.protobuf.Timestamp getLastEventTime();
252   /**
253    *
254    *
255    * <pre>
256    * [Output only] The last time a telemetry event was received. Timestamps are
257    * periodically collected and written to storage; they may be stale by a few
258    * minutes.
259    * </pre>
260    *
261    * <code>.google.protobuf.Timestamp last_event_time = 8;</code>
262    */
getLastEventTimeOrBuilder()263   com.google.protobuf.TimestampOrBuilder getLastEventTimeOrBuilder();
264 
265   /**
266    *
267    *
268    * <pre>
269    * [Output only] The last time a state event was received. Timestamps are
270    * periodically collected and written to storage; they may be stale by a few
271    * minutes.
272    * </pre>
273    *
274    * <code>.google.protobuf.Timestamp last_state_time = 20;</code>
275    *
276    * @return Whether the lastStateTime field is set.
277    */
hasLastStateTime()278   boolean hasLastStateTime();
279   /**
280    *
281    *
282    * <pre>
283    * [Output only] The last time a state event was received. Timestamps are
284    * periodically collected and written to storage; they may be stale by a few
285    * minutes.
286    * </pre>
287    *
288    * <code>.google.protobuf.Timestamp last_state_time = 20;</code>
289    *
290    * @return The lastStateTime.
291    */
getLastStateTime()292   com.google.protobuf.Timestamp getLastStateTime();
293   /**
294    *
295    *
296    * <pre>
297    * [Output only] The last time a state event was received. Timestamps are
298    * periodically collected and written to storage; they may be stale by a few
299    * minutes.
300    * </pre>
301    *
302    * <code>.google.protobuf.Timestamp last_state_time = 20;</code>
303    */
getLastStateTimeOrBuilder()304   com.google.protobuf.TimestampOrBuilder getLastStateTimeOrBuilder();
305 
306   /**
307    *
308    *
309    * <pre>
310    * [Output only] The last time a cloud-to-device config version acknowledgment
311    * was received from the device. This field is only for configurations
312    * sent through MQTT.
313    * </pre>
314    *
315    * <code>.google.protobuf.Timestamp last_config_ack_time = 14;</code>
316    *
317    * @return Whether the lastConfigAckTime field is set.
318    */
hasLastConfigAckTime()319   boolean hasLastConfigAckTime();
320   /**
321    *
322    *
323    * <pre>
324    * [Output only] The last time a cloud-to-device config version acknowledgment
325    * was received from the device. This field is only for configurations
326    * sent through MQTT.
327    * </pre>
328    *
329    * <code>.google.protobuf.Timestamp last_config_ack_time = 14;</code>
330    *
331    * @return The lastConfigAckTime.
332    */
getLastConfigAckTime()333   com.google.protobuf.Timestamp getLastConfigAckTime();
334   /**
335    *
336    *
337    * <pre>
338    * [Output only] The last time a cloud-to-device config version acknowledgment
339    * was received from the device. This field is only for configurations
340    * sent through MQTT.
341    * </pre>
342    *
343    * <code>.google.protobuf.Timestamp last_config_ack_time = 14;</code>
344    */
getLastConfigAckTimeOrBuilder()345   com.google.protobuf.TimestampOrBuilder getLastConfigAckTimeOrBuilder();
346 
347   /**
348    *
349    *
350    * <pre>
351    * [Output only] The last time a cloud-to-device config version was sent to
352    * the device.
353    * </pre>
354    *
355    * <code>.google.protobuf.Timestamp last_config_send_time = 18;</code>
356    *
357    * @return Whether the lastConfigSendTime field is set.
358    */
hasLastConfigSendTime()359   boolean hasLastConfigSendTime();
360   /**
361    *
362    *
363    * <pre>
364    * [Output only] The last time a cloud-to-device config version was sent to
365    * the device.
366    * </pre>
367    *
368    * <code>.google.protobuf.Timestamp last_config_send_time = 18;</code>
369    *
370    * @return The lastConfigSendTime.
371    */
getLastConfigSendTime()372   com.google.protobuf.Timestamp getLastConfigSendTime();
373   /**
374    *
375    *
376    * <pre>
377    * [Output only] The last time a cloud-to-device config version was sent to
378    * the device.
379    * </pre>
380    *
381    * <code>.google.protobuf.Timestamp last_config_send_time = 18;</code>
382    */
getLastConfigSendTimeOrBuilder()383   com.google.protobuf.TimestampOrBuilder getLastConfigSendTimeOrBuilder();
384 
385   /**
386    *
387    *
388    * <pre>
389    * If a device is blocked, connections or requests from this device will fail.
390    * Can be used to temporarily prevent the device from connecting if, for
391    * example, the sensor is generating bad data and needs maintenance.
392    * </pre>
393    *
394    * <code>bool blocked = 19;</code>
395    *
396    * @return The blocked.
397    */
getBlocked()398   boolean getBlocked();
399 
400   /**
401    *
402    *
403    * <pre>
404    * [Output only] The time the most recent error occurred, such as a failure to
405    * publish to Cloud Pub/Sub. This field is the timestamp of
406    * 'last_error_status'.
407    * </pre>
408    *
409    * <code>.google.protobuf.Timestamp last_error_time = 10;</code>
410    *
411    * @return Whether the lastErrorTime field is set.
412    */
hasLastErrorTime()413   boolean hasLastErrorTime();
414   /**
415    *
416    *
417    * <pre>
418    * [Output only] The time the most recent error occurred, such as a failure to
419    * publish to Cloud Pub/Sub. This field is the timestamp of
420    * 'last_error_status'.
421    * </pre>
422    *
423    * <code>.google.protobuf.Timestamp last_error_time = 10;</code>
424    *
425    * @return The lastErrorTime.
426    */
getLastErrorTime()427   com.google.protobuf.Timestamp getLastErrorTime();
428   /**
429    *
430    *
431    * <pre>
432    * [Output only] The time the most recent error occurred, such as a failure to
433    * publish to Cloud Pub/Sub. This field is the timestamp of
434    * 'last_error_status'.
435    * </pre>
436    *
437    * <code>.google.protobuf.Timestamp last_error_time = 10;</code>
438    */
getLastErrorTimeOrBuilder()439   com.google.protobuf.TimestampOrBuilder getLastErrorTimeOrBuilder();
440 
441   /**
442    *
443    *
444    * <pre>
445    * [Output only] The error message of the most recent error, such as a failure
446    * to publish to Cloud Pub/Sub. 'last_error_time' is the timestamp of this
447    * field. If no errors have occurred, this field has an empty message
448    * and the status code 0 == OK. Otherwise, this field is expected to have a
449    * status code other than OK.
450    * </pre>
451    *
452    * <code>.google.rpc.Status last_error_status = 11;</code>
453    *
454    * @return Whether the lastErrorStatus field is set.
455    */
hasLastErrorStatus()456   boolean hasLastErrorStatus();
457   /**
458    *
459    *
460    * <pre>
461    * [Output only] The error message of the most recent error, such as a failure
462    * to publish to Cloud Pub/Sub. 'last_error_time' is the timestamp of this
463    * field. If no errors have occurred, this field has an empty message
464    * and the status code 0 == OK. Otherwise, this field is expected to have a
465    * status code other than OK.
466    * </pre>
467    *
468    * <code>.google.rpc.Status last_error_status = 11;</code>
469    *
470    * @return The lastErrorStatus.
471    */
getLastErrorStatus()472   com.google.rpc.Status getLastErrorStatus();
473   /**
474    *
475    *
476    * <pre>
477    * [Output only] The error message of the most recent error, such as a failure
478    * to publish to Cloud Pub/Sub. 'last_error_time' is the timestamp of this
479    * field. If no errors have occurred, this field has an empty message
480    * and the status code 0 == OK. Otherwise, this field is expected to have a
481    * status code other than OK.
482    * </pre>
483    *
484    * <code>.google.rpc.Status last_error_status = 11;</code>
485    */
getLastErrorStatusOrBuilder()486   com.google.rpc.StatusOrBuilder getLastErrorStatusOrBuilder();
487 
488   /**
489    *
490    *
491    * <pre>
492    * The most recent device configuration, which is eventually sent from
493    * Cloud IoT Core to the device. If not present on creation, the
494    * configuration will be initialized with an empty payload and version value
495    * of `1`. To update this field after creation, use the
496    * `DeviceManager.ModifyCloudToDeviceConfig` method.
497    * </pre>
498    *
499    * <code>.google.cloud.iot.v1.DeviceConfig config = 13;</code>
500    *
501    * @return Whether the config field is set.
502    */
hasConfig()503   boolean hasConfig();
504   /**
505    *
506    *
507    * <pre>
508    * The most recent device configuration, which is eventually sent from
509    * Cloud IoT Core to the device. If not present on creation, the
510    * configuration will be initialized with an empty payload and version value
511    * of `1`. To update this field after creation, use the
512    * `DeviceManager.ModifyCloudToDeviceConfig` method.
513    * </pre>
514    *
515    * <code>.google.cloud.iot.v1.DeviceConfig config = 13;</code>
516    *
517    * @return The config.
518    */
getConfig()519   com.google.cloud.iot.v1.DeviceConfig getConfig();
520   /**
521    *
522    *
523    * <pre>
524    * The most recent device configuration, which is eventually sent from
525    * Cloud IoT Core to the device. If not present on creation, the
526    * configuration will be initialized with an empty payload and version value
527    * of `1`. To update this field after creation, use the
528    * `DeviceManager.ModifyCloudToDeviceConfig` method.
529    * </pre>
530    *
531    * <code>.google.cloud.iot.v1.DeviceConfig config = 13;</code>
532    */
getConfigOrBuilder()533   com.google.cloud.iot.v1.DeviceConfigOrBuilder getConfigOrBuilder();
534 
535   /**
536    *
537    *
538    * <pre>
539    * [Output only] The state most recently received from the device. If no state
540    * has been reported, this field is not present.
541    * </pre>
542    *
543    * <code>.google.cloud.iot.v1.DeviceState state = 16;</code>
544    *
545    * @return Whether the state field is set.
546    */
hasState()547   boolean hasState();
548   /**
549    *
550    *
551    * <pre>
552    * [Output only] The state most recently received from the device. If no state
553    * has been reported, this field is not present.
554    * </pre>
555    *
556    * <code>.google.cloud.iot.v1.DeviceState state = 16;</code>
557    *
558    * @return The state.
559    */
getState()560   com.google.cloud.iot.v1.DeviceState getState();
561   /**
562    *
563    *
564    * <pre>
565    * [Output only] The state most recently received from the device. If no state
566    * has been reported, this field is not present.
567    * </pre>
568    *
569    * <code>.google.cloud.iot.v1.DeviceState state = 16;</code>
570    */
getStateOrBuilder()571   com.google.cloud.iot.v1.DeviceStateOrBuilder getStateOrBuilder();
572 
573   /**
574    *
575    *
576    * <pre>
577    * **Beta Feature**
578    * The logging verbosity for device activity. If unspecified,
579    * DeviceRegistry.log_level will be used.
580    * </pre>
581    *
582    * <code>.google.cloud.iot.v1.LogLevel log_level = 21;</code>
583    *
584    * @return The enum numeric value on the wire for logLevel.
585    */
getLogLevelValue()586   int getLogLevelValue();
587   /**
588    *
589    *
590    * <pre>
591    * **Beta Feature**
592    * The logging verbosity for device activity. If unspecified,
593    * DeviceRegistry.log_level will be used.
594    * </pre>
595    *
596    * <code>.google.cloud.iot.v1.LogLevel log_level = 21;</code>
597    *
598    * @return The logLevel.
599    */
getLogLevel()600   com.google.cloud.iot.v1.LogLevel getLogLevel();
601 
602   /**
603    *
604    *
605    * <pre>
606    * The metadata key-value pairs assigned to the device. This metadata is not
607    * interpreted or indexed by Cloud IoT Core. It can be used to add contextual
608    * information for the device.
609    * Keys must conform to the regular expression [a-zA-Z][a-zA-Z0-9-_.+~%]+ and
610    * be less than 128 bytes in length.
611    * Values are free-form strings. Each value must be less than or equal to 32
612    * KB in size.
613    * The total size of all keys and values must be less than 256 KB, and the
614    * maximum number of key-value pairs is 500.
615    * </pre>
616    *
617    * <code>map&lt;string, string&gt; metadata = 17;</code>
618    */
getMetadataCount()619   int getMetadataCount();
620   /**
621    *
622    *
623    * <pre>
624    * The metadata key-value pairs assigned to the device. This metadata is not
625    * interpreted or indexed by Cloud IoT Core. It can be used to add contextual
626    * information for the device.
627    * Keys must conform to the regular expression [a-zA-Z][a-zA-Z0-9-_.+~%]+ and
628    * be less than 128 bytes in length.
629    * Values are free-form strings. Each value must be less than or equal to 32
630    * KB in size.
631    * The total size of all keys and values must be less than 256 KB, and the
632    * maximum number of key-value pairs is 500.
633    * </pre>
634    *
635    * <code>map&lt;string, string&gt; metadata = 17;</code>
636    */
containsMetadata(java.lang.String key)637   boolean containsMetadata(java.lang.String key);
638   /** Use {@link #getMetadataMap()} instead. */
639   @java.lang.Deprecated
getMetadata()640   java.util.Map<java.lang.String, java.lang.String> getMetadata();
641   /**
642    *
643    *
644    * <pre>
645    * The metadata key-value pairs assigned to the device. This metadata is not
646    * interpreted or indexed by Cloud IoT Core. It can be used to add contextual
647    * information for the device.
648    * Keys must conform to the regular expression [a-zA-Z][a-zA-Z0-9-_.+~%]+ and
649    * be less than 128 bytes in length.
650    * Values are free-form strings. Each value must be less than or equal to 32
651    * KB in size.
652    * The total size of all keys and values must be less than 256 KB, and the
653    * maximum number of key-value pairs is 500.
654    * </pre>
655    *
656    * <code>map&lt;string, string&gt; metadata = 17;</code>
657    */
getMetadataMap()658   java.util.Map<java.lang.String, java.lang.String> getMetadataMap();
659   /**
660    *
661    *
662    * <pre>
663    * The metadata key-value pairs assigned to the device. This metadata is not
664    * interpreted or indexed by Cloud IoT Core. It can be used to add contextual
665    * information for the device.
666    * Keys must conform to the regular expression [a-zA-Z][a-zA-Z0-9-_.+~%]+ and
667    * be less than 128 bytes in length.
668    * Values are free-form strings. Each value must be less than or equal to 32
669    * KB in size.
670    * The total size of all keys and values must be less than 256 KB, and the
671    * maximum number of key-value pairs is 500.
672    * </pre>
673    *
674    * <code>map&lt;string, string&gt; metadata = 17;</code>
675    */
676   /* nullable */
getMetadataOrDefault( java.lang.String key, java.lang.String defaultValue)677   java.lang.String getMetadataOrDefault(
678       java.lang.String key,
679       /* nullable */
680       java.lang.String defaultValue);
681   /**
682    *
683    *
684    * <pre>
685    * The metadata key-value pairs assigned to the device. This metadata is not
686    * interpreted or indexed by Cloud IoT Core. It can be used to add contextual
687    * information for the device.
688    * Keys must conform to the regular expression [a-zA-Z][a-zA-Z0-9-_.+~%]+ and
689    * be less than 128 bytes in length.
690    * Values are free-form strings. Each value must be less than or equal to 32
691    * KB in size.
692    * The total size of all keys and values must be less than 256 KB, and the
693    * maximum number of key-value pairs is 500.
694    * </pre>
695    *
696    * <code>map&lt;string, string&gt; metadata = 17;</code>
697    */
getMetadataOrThrow(java.lang.String key)698   java.lang.String getMetadataOrThrow(java.lang.String key);
699 
700   /**
701    *
702    *
703    * <pre>
704    * Gateway-related configuration and state.
705    * </pre>
706    *
707    * <code>.google.cloud.iot.v1.GatewayConfig gateway_config = 24;</code>
708    *
709    * @return Whether the gatewayConfig field is set.
710    */
hasGatewayConfig()711   boolean hasGatewayConfig();
712   /**
713    *
714    *
715    * <pre>
716    * Gateway-related configuration and state.
717    * </pre>
718    *
719    * <code>.google.cloud.iot.v1.GatewayConfig gateway_config = 24;</code>
720    *
721    * @return The gatewayConfig.
722    */
getGatewayConfig()723   com.google.cloud.iot.v1.GatewayConfig getGatewayConfig();
724   /**
725    *
726    *
727    * <pre>
728    * Gateway-related configuration and state.
729    * </pre>
730    *
731    * <code>.google.cloud.iot.v1.GatewayConfig gateway_config = 24;</code>
732    */
getGatewayConfigOrBuilder()733   com.google.cloud.iot.v1.GatewayConfigOrBuilder getGatewayConfigOrBuilder();
734 }
735