public com.google.cloud.iot.v1.DeviceState getDeviceStates(int index) {
    return deviceStates_.get(index);
  }
public com . google . cloud . iot . v1 . DeviceState getDeviceStates ( int index ) { return deviceStates_ . get ( index ) ; }
<pre>
The last few device states. States are listed in descending order of server
update time, starting from the most recent one.
</pre>

<code>repeated .google.cloud.iot.v1.DeviceState device_states = 1;</code>