# Interface CivilTimeIntervalOrBuilder (0.2.0)

    public interface CivilTimeIntervalOrBuilder extends MessageOrBuilder

## Implements

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

## Methods

### getEnd()

    public abstract CivilDateTime getEnd()

Required. The exclusive end of the range.

`
.google.devicesandservices.health.v4.CivilDateTime end = 2 [(.google.api.field_behavior) = REQUIRED];
`

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

### getEndOrBuilder()

    public abstract CivilDateTimeOrBuilder getEndOrBuilder()

Required. The exclusive end of the range.

`
.google.devicesandservices.health.v4.CivilDateTime end = 2 [(.google.api.field_behavior) = REQUIRED];
`

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

### getStart()

    public abstract CivilDateTime getStart()

Required. The inclusive start of the range.

`
.google.devicesandservices.health.v4.CivilDateTime start = 1 [(.google.api.field_behavior) = REQUIRED];
`

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

### getStartOrBuilder()

    public abstract CivilDateTimeOrBuilder getStartOrBuilder()

Required. The inclusive start of the range.

`
.google.devicesandservices.health.v4.CivilDateTime start = 1 [(.google.api.field_behavior) = REQUIRED];
`

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

### hasEnd()

    public abstract boolean hasEnd()

Required. The exclusive end of the range.

`
.google.devicesandservices.health.v4.CivilDateTime end = 2 [(.google.api.field_behavior) = REQUIRED];
`

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

### hasStart()

    public abstract boolean hasStart()

Required. The inclusive start of the range.

`
.google.devicesandservices.health.v4.CivilDateTime start = 1 [(.google.api.field_behavior) = REQUIRED];
`

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