@java.lang.Override
    public im.turms.client.model.proto.constant.DeviceType getDeviceTypes(int index) {
        im.turms.client.model.proto.constant.DeviceType result =
                im.turms.client.model.proto.constant.DeviceType
                        .forNumber(deviceTypes_.getInt(index));
        return result == null
                ? im.turms.client.model.proto.constant.DeviceType.UNRECOGNIZED
                : result;
    }
<pre>
Query filter
</pre>

<code>repeated .im.turms.proto.DeviceType device_types = 1;</code>

@param index The index of the element to return.
@return The deviceTypes at the given index.
turms-client-kotlin/src/main/java/im/turms/client/model/proto/request/user/UpdateUserOnlineStatusRequest.java