public com.google.cloud.iot.v1.GatewayType getGatewayType() {
    if (filterCase_ == 1) {
      @SuppressWarnings("deprecation")
      com.google.cloud.iot.v1.GatewayType result =
          com.google.cloud.iot.v1.GatewayType.valueOf((java.lang.Integer) filter_);
      return result == null ? com.google.cloud.iot.v1.GatewayType.UNRECOGNIZED : result;
    }
    return com.google.cloud.iot.v1.GatewayType.GATEWAY_TYPE_UNSPECIFIED;
  }
public com . google . cloud . iot . v1 . GatewayType getGatewayType ( ) { if ( filterCase_ == 1 ) { @ SuppressWarnings ( "deprecation" ) com . google . cloud . iot . v1 . GatewayType result = com . google . cloud . iot . v1 . GatewayType . valueOf ( ( java . lang . Integer ) filter_ ) ; return result == null ? com . google . cloud . iot . v1 . GatewayType . UNRECOGNIZED : result ; } return com . google . cloud . iot . v1 . GatewayType . GATEWAY_TYPE_UNSPECIFIED ; }
<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>