# Interface OrganizationEventOrBuilder (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 OrganizationEventOrBuilder extends MessageOrBuilder

## Implements

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

## Methods

### getCategory()

    public abstract OrganizationEvent.EventCategory getCategory()

Output only. The category of the event.

`
.google.cloud.servicehealth.v1.OrganizationEvent.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.OrganizationEvent.EventCategory` | The category. |

### getCategoryValue()

    public abstract int getCategoryValue()

Output only. The category of the event.

`
.google.cloud.servicehealth.v1.OrganizationEvent.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 OrganizationEvent.DetailedCategory getDetailedCategory()

Output only. The detailed category of the event.

`
.google.cloud.servicehealth.v1.OrganizationEvent.DetailedCategory detailed_category = 17 [(.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.OrganizationEvent.DetailedCategory` | The detailedCategory. |

### getDetailedCategoryValue()

    public abstract int getDetailedCategoryValue()

Output only. The detailed category of the event.

`
.google.cloud.servicehealth.v1.OrganizationEvent.DetailedCategory detailed_category = 17 [(.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 OrganizationEvent.DetailedState getDetailedState()

Output only. The current detailed state of the incident.

`
.google.cloud.servicehealth.v1.OrganizationEvent.DetailedState detailed_state = 16 [(.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.OrganizationEvent.DetailedState` | The detailedState. |

### getDetailedStateValue()

    public abstract int getDetailedStateValue()

Output only. The current detailed state of the incident.

`
.google.cloud.servicehealth.v1.OrganizationEvent.DetailedState detailed_state = 16 [(.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 = 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 endTime. |

### getEndTimeOrBuilder()

    public abstract TimestampOrBuilder getEndTimeOrBuilder()

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

`.google.protobuf.Timestamp end_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` |   |

### getEventImpacts(int index)

    public abstract EventImpact getEventImpacts(int index)

Output only. Represents the Google Cloud products and locations impacted by
the event.

`
repeated .google.cloud.servicehealth.v1.EventImpact event_impacts = 15 [(.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.EventImpact` |   |

### getEventImpactsCount()

    public abstract int getEventImpactsCount()

Output only. Represents the Google Cloud products and locations impacted by
the event.

`
repeated .google.cloud.servicehealth.v1.EventImpact event_impacts = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

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

### getEventImpactsList()

    public abstract List<EventImpact> getEventImpactsList()

Output only. Represents the Google Cloud products and locations impacted by
the event.

`
repeated .google.cloud.servicehealth.v1.EventImpact event_impacts = 15 [(.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.EventImpact>` |   |

### getEventImpactsOrBuilder(int index)

    public abstract EventImpactOrBuilder getEventImpactsOrBuilder(int index)

Output only. Represents the Google Cloud products and locations impacted by
the event.

`
repeated .google.cloud.servicehealth.v1.EventImpact event_impacts = 15 [(.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.EventImpactOrBuilder` |   |

### getEventImpactsOrBuilderList()

    public abstract List<? extends EventImpactOrBuilder> getEventImpactsOrBuilderList()

Output only. Represents the Google Cloud products and locations impacted by
the event.

`
repeated .google.cloud.servicehealth.v1.EventImpact event_impacts = 15 [(.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.EventImpactOrBuilder>` |   |

### getName()

    public abstract String getName()

Output only. Identifier. Name of the event. Unique name of the event in
this scope including organization ID and location using the form
`organizations/{organization_id}/locations/{location}/organizationEvents/{event_id}`.

`organization_id` - see [Getting your organization resource
ID](https://cloud.google.com/resource-manager/docs/creating-managing-organization#retrieving_your_organization_id).\<br\>
`location` - The location to get the service health events from.\<br\>
`event_id` - Organization event ID to retrieve.

`
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 organization ID and location using the form
`organizations/{organization_id}/locations/{location}/organizationEvents/{event_id}`.

`organization_id` - see [Getting your organization resource
ID](https://cloud.google.com/resource-manager/docs/creating-managing-organization#retrieving_your_organization_id).\<br\>
`location` - The location to get the service health events from.\<br\>
`event_id` - Organization event ID to retrieve.

`
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. Incident-only field. The time when the next update can be
expected.

`
.google.protobuf.Timestamp next_update_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 nextUpdateTime. |

### getNextUpdateTimeOrBuilder()

    public abstract TimestampOrBuilder getNextUpdateTimeOrBuilder()

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

`
.google.protobuf.Timestamp next_update_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` |   |

### 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 = 9 [(.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 = 9 [(.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. |

### getStartTime()

    public abstract Timestamp getStartTime()

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

`.google.protobuf.Timestamp start_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 startTime. |

### getStartTimeOrBuilder()

    public abstract TimestampOrBuilder getStartTimeOrBuilder()

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

`.google.protobuf.Timestamp start_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` |   |

### getState()

    public abstract OrganizationEvent.State getState()

Output only. The current state of the event.

`
.google.cloud.servicehealth.v1.OrganizationEvent.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.OrganizationEvent.State` | The state. |

### getStateValue()

    public abstract int getStateValue()

Output only. The current state of the event.

`
.google.cloud.servicehealth.v1.OrganizationEvent.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 the update was posted.

`.google.protobuf.Timestamp update_time = 11 [(.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 the update was posted.

`.google.protobuf.Timestamp update_time = 11 [(.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. Incident-only field. Event updates are correspondence from
Google.

`
repeated .google.cloud.servicehealth.v1.EventUpdate updates = 8 [(.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. Incident-only field. Event updates are correspondence from
Google.

`
repeated .google.cloud.servicehealth.v1.EventUpdate updates = 8 [(.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. Incident-only field. Event updates are correspondence from
Google.

`
repeated .google.cloud.servicehealth.v1.EventUpdate updates = 8 [(.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. Incident-only field. Event updates are correspondence from
Google.

`
repeated .google.cloud.servicehealth.v1.EventUpdate updates = 8 [(.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. Incident-only field. Event updates are correspondence from
Google.

`
repeated .google.cloud.servicehealth.v1.EventUpdate updates = 8 [(.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 = 13 [(.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. Incident-only field. The time when the next update can be
expected.

`
.google.protobuf.Timestamp next_update_time = 14 [(.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 = 12 [(.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 the update was posted.

`.google.protobuf.Timestamp update_time = 11 [(.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. |