# Interface ObservationTimeIntervalOrBuilder (0.2.0)

    public interface ObservationTimeIntervalOrBuilder extends MessageOrBuilder

## Implements

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

## Methods

### getCivilEndTime()

    public abstract CivilDateTime getCivilEndTime()

Output only. Observed interval end time in civil time in the timezone the
subject is in at the end of the observed interval

`
.google.devicesandservices.health.v4.CivilDateTime civil_end_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

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

### getCivilEndTimeOrBuilder()

    public abstract CivilDateTimeOrBuilder getCivilEndTimeOrBuilder()

Output only. Observed interval end time in civil time in the timezone the
subject is in at the end of the observed interval

`
.google.devicesandservices.health.v4.CivilDateTime civil_end_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

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

### getCivilStartTime()

    public abstract CivilDateTime getCivilStartTime()

Output only. Observed interval start time in civil time in the timezone the
subject is in at the start of the observed interval

`
.google.devicesandservices.health.v4.CivilDateTime civil_start_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

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

### getCivilStartTimeOrBuilder()

    public abstract CivilDateTimeOrBuilder getCivilStartTimeOrBuilder()

Output only. Observed interval start time in civil time in the timezone the
subject is in at the start of the observed interval

`
.google.devicesandservices.health.v4.CivilDateTime civil_start_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

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

### getEndTime()

    public abstract Timestamp getEndTime()

Required. Observed interval end time.

`.google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = REQUIRED];`

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

### getEndTimeOrBuilder()

    public abstract TimestampOrBuilder getEndTimeOrBuilder()

Required. Observed interval end time.

`.google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = REQUIRED];`

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

### getEndUtcOffset()

    public abstract Duration getEndUtcOffset()

Required. The offset of the user's local time at the end of the observation
relative to the Coordinated Universal Time (UTC).

`.google.protobuf.Duration end_utc_offset = 4 [(.google.api.field_behavior) = REQUIRED];
`

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

### getEndUtcOffsetOrBuilder()

    public abstract DurationOrBuilder getEndUtcOffsetOrBuilder()

Required. The offset of the user's local time at the end of the observation
relative to the Coordinated Universal Time (UTC).

`.google.protobuf.Duration end_utc_offset = 4 [(.google.api.field_behavior) = REQUIRED];
`

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

### getStartTime()

    public abstract Timestamp getStartTime()

Required. Observed interval start time.

`.google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = REQUIRED];
`

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

### getStartTimeOrBuilder()

    public abstract TimestampOrBuilder getStartTimeOrBuilder()

Required. Observed interval start time.

`.google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = REQUIRED];
`

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

### getStartUtcOffset()

    public abstract Duration getStartUtcOffset()

Required. The offset of the user's local time at the start of the
observation relative to the Coordinated Universal Time (UTC).

`.google.protobuf.Duration start_utc_offset = 2 [(.google.api.field_behavior) = REQUIRED];
`

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

### getStartUtcOffsetOrBuilder()

    public abstract DurationOrBuilder getStartUtcOffsetOrBuilder()

Required. The offset of the user's local time at the start of the
observation relative to the Coordinated Universal Time (UTC).

`.google.protobuf.Duration start_utc_offset = 2 [(.google.api.field_behavior) = REQUIRED];
`

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

### hasCivilEndTime()

    public abstract boolean hasCivilEndTime()

Output only. Observed interval end time in civil time in the timezone the
subject is in at the end of the observed interval

`
.google.devicesandservices.health.v4.CivilDateTime civil_end_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

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

### hasCivilStartTime()

    public abstract boolean hasCivilStartTime()

Output only. Observed interval start time in civil time in the timezone the
subject is in at the start of the observed interval

`
.google.devicesandservices.health.v4.CivilDateTime civil_start_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

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

### hasEndTime()

    public abstract boolean hasEndTime()

Required. Observed interval end time.

`.google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = REQUIRED];`

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

### hasEndUtcOffset()

    public abstract boolean hasEndUtcOffset()

Required. The offset of the user's local time at the end of the observation
relative to the Coordinated Universal Time (UTC).

`.google.protobuf.Duration end_utc_offset = 4 [(.google.api.field_behavior) = REQUIRED];
`

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

### hasStartTime()

    public abstract boolean hasStartTime()

Required. Observed interval start time.

`.google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = REQUIRED];
`

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

### hasStartUtcOffset()

    public abstract boolean hasStartUtcOffset()

Required. The offset of the user's local time at the start of the
observation relative to the Coordinated Universal Time (UTC).

`.google.protobuf.Duration start_utc_offset = 2 [(.google.api.field_behavior) = REQUIRED];
`

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