# Interface ActivityLevelRollupValue.ActivityLevelRollupByActivityLevelTypeOrBuilder (0.2.0)

    public static interface ActivityLevelRollupValue.ActivityLevelRollupByActivityLevelTypeOrBuilder extends MessageOrBuilder

## Implements

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

## Methods

### getActivityLevelType()

    public abstract ActivityLevel.ActivityLevelType getActivityLevelType()

Activity level type.

`
.google.devicesandservices.health.v4.ActivityLevel.ActivityLevelType activity_level_type = 1;
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-health/latest/com.google.devicesandservices.health.v4.ActivityLevel.ActivityLevelType` | The activityLevelType. |

### getActivityLevelTypeValue()

    public abstract int getActivityLevelTypeValue()

Activity level type.

`
.google.devicesandservices.health.v4.ActivityLevel.ActivityLevelType activity_level_type = 1;
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The enum numeric value on the wire for activityLevelType. |

### getTotalDuration()

    public abstract Duration getTotalDuration()

Total duration in the activity level type.

`.google.protobuf.Duration total_duration = 2;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.Duration.html` | The totalDuration. |

### getTotalDurationOrBuilder()

    public abstract DurationOrBuilder getTotalDurationOrBuilder()

Total duration in the activity level type.

`.google.protobuf.Duration total_duration = 2;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.DurationOrBuilder.html` |   |

### hasTotalDuration()

    public abstract boolean hasTotalDuration()

Total duration in the activity level type.

`.google.protobuf.Duration total_duration = 2;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the totalDuration field is set. |