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

Commit

Permalink
feat(generator): update protoc to v3.15.3 (#389)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
yoshi-automation committed Mar 2, 2021
1 parent d871990 commit 7c7af19
Show file tree
Hide file tree
Showing 4 changed files with 159 additions and 3 deletions.
9 changes: 9 additions & 0 deletions proto-google-cloud-iot-v1/clirr-ignored-differences.xml
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- see http://www.mojohaus.org/clirr-maven-plugin/examples/ignored-differences.html -->
<differences>
<difference>
<differenceType>7012</differenceType>
<className>com/google/cloud/iot/v1/*OrBuilder</className>
<method>* has*(*)</method>
</difference>
</differences>
Expand Up @@ -174,6 +174,22 @@ public FilterCase getFilterCase() {
}

public static final int GATEWAY_TYPE_FIELD_NUMBER = 1;
/**
*
*
* <pre>
* If `GATEWAY` is specified, only gateways are returned. If `NON_GATEWAY`
* is specified, only non-gateway devices are returned. If
* `GATEWAY_TYPE_UNSPECIFIED` is specified, all devices are returned.
* </pre>
*
* <code>.google.cloud.iot.v1.GatewayType gateway_type = 1;</code>
*
* @return Whether the gatewayType field is set.
*/
public boolean hasGatewayType() {
return filterCase_ == 1;
}
/**
*
*
Expand Down Expand Up @@ -217,6 +233,23 @@ public com.google.cloud.iot.v1.GatewayType getGatewayType() {
}

public static final int ASSOCIATIONS_GATEWAY_ID_FIELD_NUMBER = 2;
/**
*
*
* <pre>
* If set, only devices associated with the specified gateway are returned.
* The gateway ID can be numeric (`num_id`) or the user-defined string
* (`id`). For example, if `123` is specified, only devices bound to the
* gateway with `num_id` 123 are returned.
* </pre>
*
* <code>string associations_gateway_id = 2;</code>
*
* @return Whether the associationsGatewayId field is set.
*/
public boolean hasAssociationsGatewayId() {
return filterCase_ == 2;
}
/**
*
*
Expand Down Expand Up @@ -279,6 +312,23 @@ public com.google.protobuf.ByteString getAssociationsGatewayIdBytes() {
}

public static final int ASSOCIATIONS_DEVICE_ID_FIELD_NUMBER = 3;
/**
*
*
* <pre>
* If set, returns only the gateways with which the specified device is
* associated. The device ID can be numeric (`num_id`) or the user-defined
* string (`id`). For example, if `456` is specified, returns only the
* gateways to which the device with `num_id` 456 is bound.
* </pre>
*
* <code>string associations_device_id = 3;</code>
*
* @return Whether the associationsDeviceId field is set.
*/
public boolean hasAssociationsDeviceId() {
return filterCase_ == 3;
}
/**
*
*
Expand Down Expand Up @@ -740,6 +790,23 @@ public Builder clearFilter() {
return this;
}

/**
*
*
* <pre>
* If `GATEWAY` is specified, only gateways are returned. If `NON_GATEWAY`
* is specified, only non-gateway devices are returned. If
* `GATEWAY_TYPE_UNSPECIFIED` is specified, all devices are returned.
* </pre>
*
* <code>.google.cloud.iot.v1.GatewayType gateway_type = 1;</code>
*
* @return Whether the gatewayType field is set.
*/
@java.lang.Override
public boolean hasGatewayType() {
return filterCase_ == 1;
}
/**
*
*
Expand Down Expand Up @@ -848,6 +915,24 @@ public Builder clearGatewayType() {
return this;
}

/**
*
*
* <pre>
* If set, only devices associated with the specified gateway are returned.
* The gateway ID can be numeric (`num_id`) or the user-defined string
* (`id`). For example, if `123` is specified, only devices bound to the
* gateway with `num_id` 123 are returned.
* </pre>
*
* <code>string associations_gateway_id = 2;</code>
*
* @return Whether the associationsGatewayId field is set.
*/
@java.lang.Override
public boolean hasAssociationsGatewayId() {
return filterCase_ == 2;
}
/**
*
*
Expand Down Expand Up @@ -982,6 +1067,24 @@ public Builder setAssociationsGatewayIdBytes(com.google.protobuf.ByteString valu
return this;
}

/**
*
*
* <pre>
* If set, returns only the gateways with which the specified device is
* associated. The device ID can be numeric (`num_id`) or the user-defined
* string (`id`). For example, if `456` is specified, returns only the
* gateways to which the device with `num_id` 456 is bound.
* </pre>
*
* <code>string associations_device_id = 3;</code>
*
* @return Whether the associationsDeviceId field is set.
*/
@java.lang.Override
public boolean hasAssociationsDeviceId() {
return filterCase_ == 3;
}
/**
*
*
Expand Down
Expand Up @@ -23,6 +23,20 @@ public interface GatewayListOptionsOrBuilder
// @@protoc_insertion_point(interface_extends:google.cloud.iot.v1.GatewayListOptions)
com.google.protobuf.MessageOrBuilder {

/**
*
*
* <pre>
* If `GATEWAY` is specified, only gateways are returned. If `NON_GATEWAY`
* is specified, only non-gateway devices are returned. If
* `GATEWAY_TYPE_UNSPECIFIED` is specified, all devices are returned.
* </pre>
*
* <code>.google.cloud.iot.v1.GatewayType gateway_type = 1;</code>
*
* @return Whether the gatewayType field is set.
*/
boolean hasGatewayType();
/**
*
*
Expand Down Expand Up @@ -52,6 +66,21 @@ public interface GatewayListOptionsOrBuilder
*/
com.google.cloud.iot.v1.GatewayType getGatewayType();

/**
*
*
* <pre>
* If set, only devices associated with the specified gateway are returned.
* The gateway ID can be numeric (`num_id`) or the user-defined string
* (`id`). For example, if `123` is specified, only devices bound to the
* gateway with `num_id` 123 are returned.
* </pre>
*
* <code>string associations_gateway_id = 2;</code>
*
* @return Whether the associationsGatewayId field is set.
*/
boolean hasAssociationsGatewayId();
/**
*
*
Expand Down Expand Up @@ -83,6 +112,21 @@ public interface GatewayListOptionsOrBuilder
*/
com.google.protobuf.ByteString getAssociationsGatewayIdBytes();

/**
*
*
* <pre>
* If set, returns only the gateways with which the specified device is
* associated. The device ID can be numeric (`num_id`) or the user-defined
* string (`id`). For example, if `456` is specified, returns only the
* gateways to which the device with `num_id` 456 is bound.
* </pre>
*
* <code>string associations_device_id = 3;</code>
*
* @return Whether the associationsDeviceId field is set.
*/
boolean hasAssociationsDeviceId();
/**
*
*
Expand Down
6 changes: 3 additions & 3 deletions synth.metadata
Expand Up @@ -4,15 +4,15 @@
"git": {
"name": ".",
"remote": "https://github.com/googleapis/java-iot.git",
"sha": "fc78b63d49c72b33b154840c445cb7d545504d07"
"sha": "d8719908f43b3363620add64d1b625083eea84f3"
}
},
{
"git": {
"name": "googleapis",
"remote": "https://github.com/googleapis/googleapis.git",
"sha": "af8f71dae961ee036a0ac52a1965270149a6b2c9",
"internalRef": "358516065"
"sha": "f6dd7e47620566925a4b3f1ce029e74e1b2f2516",
"internalRef": "359781040"
}
},
{
Expand Down

0 comments on commit 7c7af19

Please sign in to comment.