Skip to content
This repository was archived by the owner on Sep 16, 2023. It is now read-only.

Commit 7c7af19

Browse files
feat(generator): update protoc to v3.15.3 (#389)
This PR was generated using Autosynth. 🌈 Synth log will be available here: https://source.cloud.google.com/results/invocations/04c8998c-c603-45ac-a235-c5b6849907a3/targets - [ ] To automatically regenerate this PR, check this box. PiperOrigin-RevId: 359781040 Source-Link: googleapis/googleapis@f6dd7e4
1 parent d871990 commit 7c7af19

File tree

4 files changed

+159
-3
lines changed

4 files changed

+159
-3
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!-- see http://www.mojohaus.org/clirr-maven-plugin/examples/ignored-differences.html -->
3+
<differences>
4+
<difference>
5+
<differenceType>7012</differenceType>
6+
<className>com/google/cloud/iot/v1/*OrBuilder</className>
7+
<method>* has*(*)</method>
8+
</difference>
9+
</differences>

proto-google-cloud-iot-v1/src/main/java/com/google/cloud/iot/v1/GatewayListOptions.java

Lines changed: 103 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,22 @@ public FilterCase getFilterCase() {
174174
}
175175

176176
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+
}
177193
/**
178194
*
179195
*
@@ -217,6 +233,23 @@ public com.google.cloud.iot.v1.GatewayType getGatewayType() {
217233
}
218234

219235
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+
}
220253
/**
221254
*
222255
*
@@ -279,6 +312,23 @@ public com.google.protobuf.ByteString getAssociationsGatewayIdBytes() {
279312
}
280313

281314
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+
}
282332
/**
283333
*
284334
*
@@ -740,6 +790,23 @@ public Builder clearFilter() {
740790
return this;
741791
}
742792

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+
}
743810
/**
744811
*
745812
*
@@ -848,6 +915,24 @@ public Builder clearGatewayType() {
848915
return this;
849916
}
850917

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+
}
851936
/**
852937
*
853938
*
@@ -982,6 +1067,24 @@ public Builder setAssociationsGatewayIdBytes(com.google.protobuf.ByteString valu
9821067
return this;
9831068
}
9841069

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+
}
9851088
/**
9861089
*
9871090
*

proto-google-cloud-iot-v1/src/main/java/com/google/cloud/iot/v1/GatewayListOptionsOrBuilder.java

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,20 @@ public interface GatewayListOptionsOrBuilder
2323
// @@protoc_insertion_point(interface_extends:google.cloud.iot.v1.GatewayListOptions)
2424
com.google.protobuf.MessageOrBuilder {
2525

26+
/**
27+
*
28+
*
29+
* <pre>
30+
* If `GATEWAY` is specified, only gateways are returned. If `NON_GATEWAY`
31+
* is specified, only non-gateway devices are returned. If
32+
* `GATEWAY_TYPE_UNSPECIFIED` is specified, all devices are returned.
33+
* </pre>
34+
*
35+
* <code>.google.cloud.iot.v1.GatewayType gateway_type = 1;</code>
36+
*
37+
* @return Whether the gatewayType field is set.
38+
*/
39+
boolean hasGatewayType();
2640
/**
2741
*
2842
*
@@ -52,6 +66,21 @@ public interface GatewayListOptionsOrBuilder
5266
*/
5367
com.google.cloud.iot.v1.GatewayType getGatewayType();
5468

69+
/**
70+
*
71+
*
72+
* <pre>
73+
* If set, only devices associated with the specified gateway are returned.
74+
* The gateway ID can be numeric (`num_id`) or the user-defined string
75+
* (`id`). For example, if `123` is specified, only devices bound to the
76+
* gateway with `num_id` 123 are returned.
77+
* </pre>
78+
*
79+
* <code>string associations_gateway_id = 2;</code>
80+
*
81+
* @return Whether the associationsGatewayId field is set.
82+
*/
83+
boolean hasAssociationsGatewayId();
5584
/**
5685
*
5786
*
@@ -83,6 +112,21 @@ public interface GatewayListOptionsOrBuilder
83112
*/
84113
com.google.protobuf.ByteString getAssociationsGatewayIdBytes();
85114

115+
/**
116+
*
117+
*
118+
* <pre>
119+
* If set, returns only the gateways with which the specified device is
120+
* associated. The device ID can be numeric (`num_id`) or the user-defined
121+
* string (`id`). For example, if `456` is specified, returns only the
122+
* gateways to which the device with `num_id` 456 is bound.
123+
* </pre>
124+
*
125+
* <code>string associations_device_id = 3;</code>
126+
*
127+
* @return Whether the associationsDeviceId field is set.
128+
*/
129+
boolean hasAssociationsDeviceId();
86130
/**
87131
*
88132
*

synth.metadata

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@
44
"git": {
55
"name": ".",
66
"remote": "https://github.com/googleapis/java-iot.git",
7-
"sha": "fc78b63d49c72b33b154840c445cb7d545504d07"
7+
"sha": "d8719908f43b3363620add64d1b625083eea84f3"
88
}
99
},
1010
{
1111
"git": {
1212
"name": "googleapis",
1313
"remote": "https://github.com/googleapis/googleapis.git",
14-
"sha": "af8f71dae961ee036a0ac52a1965270149a6b2c9",
15-
"internalRef": "358516065"
14+
"sha": "f6dd7e47620566925a4b3f1ce029e74e1b2f2516",
15+
"internalRef": "359781040"
1616
}
1717
},
1818
{

0 commit comments

Comments
 (0)