• 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 DeviceConfigOrBuilder
22     extends
23     // @@protoc_insertion_point(interface_extends:google.cloud.iot.v1.DeviceConfig)
24     com.google.protobuf.MessageOrBuilder {
25 
26   /**
27    *
28    *
29    * <pre>
30    * [Output only] The version of this update. The version number is assigned by
31    * the server, and is always greater than 0 after device creation. The
32    * version must be 0 on the `CreateDevice` request if a `config` is
33    * specified; the response of `CreateDevice` will always have a value of 1.
34    * </pre>
35    *
36    * <code>int64 version = 1;</code>
37    *
38    * @return The version.
39    */
getVersion()40   long getVersion();
41 
42   /**
43    *
44    *
45    * <pre>
46    * [Output only] The time at which this configuration version was updated in
47    * Cloud IoT Core. This timestamp is set by the server.
48    * </pre>
49    *
50    * <code>.google.protobuf.Timestamp cloud_update_time = 2;</code>
51    *
52    * @return Whether the cloudUpdateTime field is set.
53    */
hasCloudUpdateTime()54   boolean hasCloudUpdateTime();
55   /**
56    *
57    *
58    * <pre>
59    * [Output only] The time at which this configuration version was updated in
60    * Cloud IoT Core. This timestamp is set by the server.
61    * </pre>
62    *
63    * <code>.google.protobuf.Timestamp cloud_update_time = 2;</code>
64    *
65    * @return The cloudUpdateTime.
66    */
getCloudUpdateTime()67   com.google.protobuf.Timestamp getCloudUpdateTime();
68   /**
69    *
70    *
71    * <pre>
72    * [Output only] The time at which this configuration version was updated in
73    * Cloud IoT Core. This timestamp is set by the server.
74    * </pre>
75    *
76    * <code>.google.protobuf.Timestamp cloud_update_time = 2;</code>
77    */
getCloudUpdateTimeOrBuilder()78   com.google.protobuf.TimestampOrBuilder getCloudUpdateTimeOrBuilder();
79 
80   /**
81    *
82    *
83    * <pre>
84    * [Output only] The time at which Cloud IoT Core received the
85    * acknowledgment from the device, indicating that the device has received
86    * this configuration version. If this field is not present, the device has
87    * not yet acknowledged that it received this version. Note that when
88    * the config was sent to the device, many config versions may have been
89    * available in Cloud IoT Core while the device was disconnected, and on
90    * connection, only the latest version is sent to the device. Some
91    * versions may never be sent to the device, and therefore are never
92    * acknowledged. This timestamp is set by Cloud IoT Core.
93    * </pre>
94    *
95    * <code>.google.protobuf.Timestamp device_ack_time = 3;</code>
96    *
97    * @return Whether the deviceAckTime field is set.
98    */
hasDeviceAckTime()99   boolean hasDeviceAckTime();
100   /**
101    *
102    *
103    * <pre>
104    * [Output only] The time at which Cloud IoT Core received the
105    * acknowledgment from the device, indicating that the device has received
106    * this configuration version. If this field is not present, the device has
107    * not yet acknowledged that it received this version. Note that when
108    * the config was sent to the device, many config versions may have been
109    * available in Cloud IoT Core while the device was disconnected, and on
110    * connection, only the latest version is sent to the device. Some
111    * versions may never be sent to the device, and therefore are never
112    * acknowledged. This timestamp is set by Cloud IoT Core.
113    * </pre>
114    *
115    * <code>.google.protobuf.Timestamp device_ack_time = 3;</code>
116    *
117    * @return The deviceAckTime.
118    */
getDeviceAckTime()119   com.google.protobuf.Timestamp getDeviceAckTime();
120   /**
121    *
122    *
123    * <pre>
124    * [Output only] The time at which Cloud IoT Core received the
125    * acknowledgment from the device, indicating that the device has received
126    * this configuration version. If this field is not present, the device has
127    * not yet acknowledged that it received this version. Note that when
128    * the config was sent to the device, many config versions may have been
129    * available in Cloud IoT Core while the device was disconnected, and on
130    * connection, only the latest version is sent to the device. Some
131    * versions may never be sent to the device, and therefore are never
132    * acknowledged. This timestamp is set by Cloud IoT Core.
133    * </pre>
134    *
135    * <code>.google.protobuf.Timestamp device_ack_time = 3;</code>
136    */
getDeviceAckTimeOrBuilder()137   com.google.protobuf.TimestampOrBuilder getDeviceAckTimeOrBuilder();
138 
139   /**
140    *
141    *
142    * <pre>
143    * The device configuration data.
144    * </pre>
145    *
146    * <code>bytes binary_data = 4;</code>
147    *
148    * @return The binaryData.
149    */
getBinaryData()150   com.google.protobuf.ByteString getBinaryData();
151 }
152