@@ -174,6 +174,22 @@ public FilterCase getFilterCase() {
174
174
}
175
175
176
176
public static final int GATEWAY_TYPE_FIELD_NUMBER = 1 ;
177
+ /**
178
+ *
179
+ *
180
+ * <pre>
181
+ * If `GATEWAY` is specified, only gateways are returned. If `NON_GATEWAY`
182
+ * is specified, only non-gateway devices are returned. If
183
+ * `GATEWAY_TYPE_UNSPECIFIED` is specified, all devices are returned.
184
+ * </pre>
185
+ *
186
+ * <code>.google.cloud.iot.v1.GatewayType gateway_type = 1;</code>
187
+ *
188
+ * @return Whether the gatewayType field is set.
189
+ */
190
+ public boolean hasGatewayType () {
191
+ return filterCase_ == 1 ;
192
+ }
177
193
/**
178
194
*
179
195
*
@@ -217,6 +233,23 @@ public com.google.cloud.iot.v1.GatewayType getGatewayType() {
217
233
}
218
234
219
235
public static final int ASSOCIATIONS_GATEWAY_ID_FIELD_NUMBER = 2 ;
236
+ /**
237
+ *
238
+ *
239
+ * <pre>
240
+ * If set, only devices associated with the specified gateway are returned.
241
+ * The gateway ID can be numeric (`num_id`) or the user-defined string
242
+ * (`id`). For example, if `123` is specified, only devices bound to the
243
+ * gateway with `num_id` 123 are returned.
244
+ * </pre>
245
+ *
246
+ * <code>string associations_gateway_id = 2;</code>
247
+ *
248
+ * @return Whether the associationsGatewayId field is set.
249
+ */
250
+ public boolean hasAssociationsGatewayId () {
251
+ return filterCase_ == 2 ;
252
+ }
220
253
/**
221
254
*
222
255
*
@@ -279,6 +312,23 @@ public com.google.protobuf.ByteString getAssociationsGatewayIdBytes() {
279
312
}
280
313
281
314
public static final int ASSOCIATIONS_DEVICE_ID_FIELD_NUMBER = 3 ;
315
+ /**
316
+ *
317
+ *
318
+ * <pre>
319
+ * If set, returns only the gateways with which the specified device is
320
+ * associated. The device ID can be numeric (`num_id`) or the user-defined
321
+ * string (`id`). For example, if `456` is specified, returns only the
322
+ * gateways to which the device with `num_id` 456 is bound.
323
+ * </pre>
324
+ *
325
+ * <code>string associations_device_id = 3;</code>
326
+ *
327
+ * @return Whether the associationsDeviceId field is set.
328
+ */
329
+ public boolean hasAssociationsDeviceId () {
330
+ return filterCase_ == 3 ;
331
+ }
282
332
/**
283
333
*
284
334
*
@@ -740,6 +790,23 @@ public Builder clearFilter() {
740
790
return this ;
741
791
}
742
792
793
+ /**
794
+ *
795
+ *
796
+ * <pre>
797
+ * If `GATEWAY` is specified, only gateways are returned. If `NON_GATEWAY`
798
+ * is specified, only non-gateway devices are returned. If
799
+ * `GATEWAY_TYPE_UNSPECIFIED` is specified, all devices are returned.
800
+ * </pre>
801
+ *
802
+ * <code>.google.cloud.iot.v1.GatewayType gateway_type = 1;</code>
803
+ *
804
+ * @return Whether the gatewayType field is set.
805
+ */
806
+ @ java .lang .Override
807
+ public boolean hasGatewayType () {
808
+ return filterCase_ == 1 ;
809
+ }
743
810
/**
744
811
*
745
812
*
@@ -848,6 +915,24 @@ public Builder clearGatewayType() {
848
915
return this ;
849
916
}
850
917
918
+ /**
919
+ *
920
+ *
921
+ * <pre>
922
+ * If set, only devices associated with the specified gateway are returned.
923
+ * The gateway ID can be numeric (`num_id`) or the user-defined string
924
+ * (`id`). For example, if `123` is specified, only devices bound to the
925
+ * gateway with `num_id` 123 are returned.
926
+ * </pre>
927
+ *
928
+ * <code>string associations_gateway_id = 2;</code>
929
+ *
930
+ * @return Whether the associationsGatewayId field is set.
931
+ */
932
+ @ java .lang .Override
933
+ public boolean hasAssociationsGatewayId () {
934
+ return filterCase_ == 2 ;
935
+ }
851
936
/**
852
937
*
853
938
*
@@ -982,6 +1067,24 @@ public Builder setAssociationsGatewayIdBytes(com.google.protobuf.ByteString valu
982
1067
return this ;
983
1068
}
984
1069
1070
+ /**
1071
+ *
1072
+ *
1073
+ * <pre>
1074
+ * If set, returns only the gateways with which the specified device is
1075
+ * associated. The device ID can be numeric (`num_id`) or the user-defined
1076
+ * string (`id`). For example, if `456` is specified, returns only the
1077
+ * gateways to which the device with `num_id` 456 is bound.
1078
+ * </pre>
1079
+ *
1080
+ * <code>string associations_device_id = 3;</code>
1081
+ *
1082
+ * @return Whether the associationsDeviceId field is set.
1083
+ */
1084
+ @ java .lang .Override
1085
+ public boolean hasAssociationsDeviceId () {
1086
+ return filterCase_ == 3 ;
1087
+ }
985
1088
/**
986
1089
*
987
1090
*
0 commit comments