# Enum DataSource.RecordingMethod (0.2.0)

    public enum DataSource.RecordingMethod extends Enum<DataSource.RecordingMethod> implements ProtocolMessageEnum

The method by which the data was recorded.

Protobuf enum `google.devicesandservices.health.v4.DataSource.RecordingMethod`

## Implements

[ProtocolMessageEnum](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ProtocolMessageEnum.html)

## Inherited Members

[Enum.\<T\>valueOf(Class\<T\>,String)](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#valueOf-java.lang.Class-java.lang.String-) [Enum.clone()](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#clone--) [Enum.compareTo(E)](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#compareTo-E-) [Enum.equals(Object)](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#equals-java.lang.Object-) [Enum.finalize()](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#finalize--) [Enum.getDeclaringClass()](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#getDeclaringClass--) [Enum.hashCode()](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#hashCode--) [Enum.name()](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#name--) [Enum.ordinal()](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#ordinal--) [Enum.toString()](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#toString--) [Object.getClass()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--) [Object.notify()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--) [Object.notifyAll()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--) [Object.wait()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--) [Object.wait(long)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-) [Object.wait(long,int)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-)

| ## Static Fields ||
|---|---|
| **Name** | **Description** |
| `ACTIVELY_MEASURED` | The data was actively measured by a device. `ACTIVELY_MEASURED = 4;` |
| `ACTIVELY_MEASURED_VALUE` | The data was actively measured by a device. `ACTIVELY_MEASURED = 4;` |
| `DERIVED` | The data was derived from other data, e.g., by an algorithm in the backend. `DERIVED = 3;` |
| `DERIVED_VALUE` | The data was derived from other data, e.g., by an algorithm in the backend. `DERIVED = 3;` |
| `MANUAL` | The data was manually entered by the user. `MANUAL = 1;` |
| `MANUAL_VALUE` | The data was manually entered by the user. `MANUAL = 1;` |
| `PASSIVELY_MEASURED` | The data was passively measured by a device. `PASSIVELY_MEASURED = 2;` |
| `PASSIVELY_MEASURED_VALUE` | The data was passively measured by a device. `PASSIVELY_MEASURED = 2;` |
| `RECORDING_METHOD_UNSPECIFIED` | The recording method is unspecified. `RECORDING_METHOD_UNSPECIFIED = 0;` |
| `RECORDING_METHOD_UNSPECIFIED_VALUE` | The recording method is unspecified. `RECORDING_METHOD_UNSPECIFIED = 0;` |
| `UNKNOWN` | The recording method is unknown. This is set when the data is uploaded from a third party app that does not provide this information. `UNKNOWN = 5;` |
| `UNKNOWN_VALUE` | The recording method is unknown. This is set when the data is uploaded from a third party app that does not provide this information. `UNKNOWN = 5;` |
| `UNRECOGNIZED` |   |

| ## Static Methods ||
|---|---|
| **Name** | **Description** |
| `forNumber(int value)` |   |
| `getDescriptor()` |   |
| `internalGetValueMap()` |   |
| `valueOf(Descriptors.EnumValueDescriptor desc)` |   |
| `valueOf(int value)` | **Deprecated.** *Use [#forNumber(int)](https://docs.cloud.google.com/java/docs/reference/google-cloud-health/latest/com.google.devicesandservices.health.v4.DataSource.RecordingMethod#com_google_devicesandservices_health_v4_DataSource_RecordingMethod_forNumber_int_) instead.* |
| `valueOf(String name)` |   |
| `values()` |   |

| ## Methods ||
|---|---|
| **Name** | **Description** |
| `getDescriptorForType()` |   |
| `getNumber()` |   |
| `getValueDescriptor()` |   |