# Interface EventOrBuilder (0.60.0)

0.60.0 (latest) 0.58.0 0.55.0 0.54.0 0.52.0 0.50.0 0.49.0 0.47.0 0.45.0 0.43.0 0.42.0 0.41.0 0.40.0 0.39.0 0.37.0 0.35.0 0.34.0 0.31.0 0.30.0 0.29.0 0.27.0 0.26.0 0.25.0 0.24.0 0.23.0 0.22.0 0.21.0 0.20.0 0.19.0 0.18.0 0.16.0 0.15.0 0.14.0 0.13.0 0.12.0 0.11.0 0.10.0 0.9.0 0.8.0 0.7.0 0.6.0 0.4.0 0.3.0 0.2.0 0.1.0

    public interface EventOrBuilder extends MessageOrBuilder

## Implements

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

## Methods

### getCategory()

    public abstract Event.EventCategory getCategory()

Output only. The category of the event.

`
.google.cloud.servicehealth.v1.Event.EventCategory category = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-servicehealth/latest/com.google.cloud.servicehealth.v1.Event.EventCategory` | The category. |

### getCategoryValue()

    public abstract int getCategoryValue()

Output only. The category of the event.

`
.google.cloud.servicehealth.v1.Event.EventCategory category = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

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

### getDescription()

    public abstract String getDescription()

Output only. Free-form, human-readable description.

`string description = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The description. |

### getDescriptionBytes()

    public abstract ByteString getDescriptionBytes()

Output only. Free-form, human-readable description.

`string description = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for description. |

### getDetailedCategory()

    public abstract Event.DetailedCategory getDetailedCategory()

Output only. The detailed category of the event.

`
.google.cloud.servicehealth.v1.Event.DetailedCategory detailed_category = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-servicehealth/latest/com.google.cloud.servicehealth.v1.Event.DetailedCategory` | The detailedCategory. |

### getDetailedCategoryValue()

    public abstract int getDetailedCategoryValue()

Output only. The detailed category of the event.

`
.google.cloud.servicehealth.v1.Event.DetailedCategory detailed_category = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

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

### getDetailedState()

    public abstract Event.DetailedState getDetailedState()

Output only. The current detailed state of the incident.

`
.google.cloud.servicehealth.v1.Event.DetailedState detailed_state = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-servicehealth/latest/com.google.cloud.servicehealth.v1.Event.DetailedState` | The detailedState. |

### getDetailedStateValue()

    public abstract int getDetailedStateValue()

Output only. The current detailed state of the incident.

`
.google.cloud.servicehealth.v1.Event.DetailedState detailed_state = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

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

### getEndTime()

    public abstract Timestamp getEndTime()

Output only. The end time of the event, if applicable.

`.google.protobuf.Timestamp end_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

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

### getEndTimeOrBuilder()

    public abstract TimestampOrBuilder getEndTimeOrBuilder()

Output only. The end time of the event, if applicable.

`.google.protobuf.Timestamp end_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

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

### getEventImpacts(int index)

    public abstract EventImpact getEventImpacts(int index)

Google Cloud products and locations impacted by the event.

`repeated .google.cloud.servicehealth.v1.EventImpact event_impacts = 20;`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-servicehealth/latest/com.google.cloud.servicehealth.v1.EventImpact` |   |

### getEventImpactsCount()

    public abstract int getEventImpactsCount()

Google Cloud products and locations impacted by the event.

`repeated .google.cloud.servicehealth.v1.EventImpact event_impacts = 20;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |   |

### getEventImpactsList()

    public abstract List<EventImpact> getEventImpactsList()

Google Cloud products and locations impacted by the event.

`repeated .google.cloud.servicehealth.v1.EventImpact event_impacts = 20;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-servicehealth/latest/com.google.cloud.servicehealth.v1.EventImpact>` |   |

### getEventImpactsOrBuilder(int index)

    public abstract EventImpactOrBuilder getEventImpactsOrBuilder(int index)

Google Cloud products and locations impacted by the event.

`repeated .google.cloud.servicehealth.v1.EventImpact event_impacts = 20;`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-servicehealth/latest/com.google.cloud.servicehealth.v1.EventImpactOrBuilder` |   |

### getEventImpactsOrBuilderList()

    public abstract List<? extends EventImpactOrBuilder> getEventImpactsOrBuilderList()

Google Cloud products and locations impacted by the event.

`repeated .google.cloud.servicehealth.v1.EventImpact event_impacts = 20;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<? extends com.google.cloud.servicehealth.v1.EventImpactOrBuilder>` |   |

### getName()

    public abstract String getName()

Output only. Identifier. Name of the event. Unique name of the event in
this scope including project and location using the form
`projects/{project_id}/locations/{location}/events/{event_id}`.

`
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IDENTIFIER];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The name. |

### getNameBytes()

    public abstract ByteString getNameBytes()

Output only. Identifier. Name of the event. Unique name of the event in
this scope including project and location using the form
`projects/{project_id}/locations/{location}/events/{event_id}`.

`
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IDENTIFIER];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for name. |

### getNextUpdateTime()

    public abstract Timestamp getNextUpdateTime()

Output only. The time when the next update can be expected.

`
.google.protobuf.Timestamp next_update_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

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

### getNextUpdateTimeOrBuilder()

    public abstract TimestampOrBuilder getNextUpdateTimeOrBuilder()

Output only. The time when the next update can be expected.

`
.google.protobuf.Timestamp next_update_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

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

### getParentEvent()

    public abstract String getParentEvent()

Output only. When `detailed_state`=`MERGED`, `parent_event` contains the
name of the parent event. All further updates will be published to the
parent event.

`string parent_event = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The parentEvent. |

### getParentEventBytes()

    public abstract ByteString getParentEventBytes()

Output only. When `detailed_state`=`MERGED`, `parent_event` contains the
name of the parent event. All further updates will be published to the
parent event.

`string parent_event = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for parentEvent. |

### getRelevance()

    public abstract Event.Relevance getRelevance()

Output only. Communicates why a given event is deemed relevant in the
context of a given project.

`
.google.cloud.servicehealth.v1.Event.Relevance relevance = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-servicehealth/latest/com.google.cloud.servicehealth.v1.Event.Relevance` | The relevance. |

### getRelevanceValue()

    public abstract int getRelevanceValue()

Output only. Communicates why a given event is deemed relevant in the
context of a given project.

`
.google.cloud.servicehealth.v1.Event.Relevance relevance = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

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

### getStartTime()

    public abstract Timestamp getStartTime()

Output only. The start time of the event, if applicable.

`.google.protobuf.Timestamp start_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

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

### getStartTimeOrBuilder()

    public abstract TimestampOrBuilder getStartTimeOrBuilder()

Output only. The start time of the event, if applicable.

`.google.protobuf.Timestamp start_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

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

### getState()

    public abstract Event.State getState()

Output only. The current state of the event.

`
.google.cloud.servicehealth.v1.Event.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-servicehealth/latest/com.google.cloud.servicehealth.v1.Event.State` | The state. |

### getStateValue()

    public abstract int getStateValue()

Output only. The current state of the event.

`
.google.cloud.servicehealth.v1.Event.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

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

### getTitle()

    public abstract String getTitle()

Output only. Brief description for the event.

`string title = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The title. |

### getTitleBytes()

    public abstract ByteString getTitleBytes()

Output only. Brief description for the event.

`string title = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for title. |

### getUpdateTime()

    public abstract Timestamp getUpdateTime()

Output only. The time when the event was last modified.

`.google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

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

### getUpdateTimeOrBuilder()

    public abstract TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. The time when the event was last modified.

`.google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

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

### getUpdates(int index)

    public abstract EventUpdate getUpdates(int index)

Output only. Event updates are correspondence from Google.

`
repeated .google.cloud.servicehealth.v1.EventUpdate updates = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-servicehealth/latest/com.google.cloud.servicehealth.v1.EventUpdate` |   |

### getUpdatesCount()

    public abstract int getUpdatesCount()

Output only. Event updates are correspondence from Google.

`
repeated .google.cloud.servicehealth.v1.EventUpdate updates = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |   |

### getUpdatesList()

    public abstract List<EventUpdate> getUpdatesList()

Output only. Event updates are correspondence from Google.

`
repeated .google.cloud.servicehealth.v1.EventUpdate updates = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-servicehealth/latest/com.google.cloud.servicehealth.v1.EventUpdate>` |   |

### getUpdatesOrBuilder(int index)

    public abstract EventUpdateOrBuilder getUpdatesOrBuilder(int index)

Output only. Event updates are correspondence from Google.

`
repeated .google.cloud.servicehealth.v1.EventUpdate updates = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-servicehealth/latest/com.google.cloud.servicehealth.v1.EventUpdateOrBuilder` |   |

### getUpdatesOrBuilderList()

    public abstract List<? extends EventUpdateOrBuilder> getUpdatesOrBuilderList()

Output only. Event updates are correspondence from Google.

`
repeated .google.cloud.servicehealth.v1.EventUpdate updates = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<? extends com.google.cloud.servicehealth.v1.EventUpdateOrBuilder>` |   |

### hasEndTime()

    public abstract boolean hasEndTime()

Output only. The end time of the event, if applicable.

`.google.protobuf.Timestamp end_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

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

### hasNextUpdateTime()

    public abstract boolean hasNextUpdateTime()

Output only. The time when the next update can be expected.

`
.google.protobuf.Timestamp next_update_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

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

### hasStartTime()

    public abstract boolean hasStartTime()

Output only. The start time of the event, if applicable.

`.google.protobuf.Timestamp start_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

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

### hasUpdateTime()

    public abstract boolean hasUpdateTime()

Output only. The time when the event was last modified.

`.google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

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