Interface EventOrBuilder (0.6.0)

public interface EventOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

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
TypeDescription
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
TypeDescription
int

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
TypeDescription
String

The description.

getDescriptionBytes()

public abstract ByteString getDescriptionBytes()

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

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

Returns
TypeDescription
ByteString

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
TypeDescription
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
TypeDescription
int

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
TypeDescription
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
TypeDescription
int

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
TypeDescription
Timestamp

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
TypeDescription
TimestampOrBuilder

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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
int

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
TypeDescription
List<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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? 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
TypeDescription
String

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
TypeDescription
ByteString

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
TypeDescription
Timestamp

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
TypeDescription
TimestampOrBuilder

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
TypeDescription
String

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
TypeDescription
ByteString

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
TypeDescription
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
TypeDescription
int

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
TypeDescription
Timestamp

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
TypeDescription
TimestampOrBuilder

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
TypeDescription
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
TypeDescription
int

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
TypeDescription
String

The title.

getTitleBytes()

public abstract ByteString getTitleBytes()

Output only. Brief description for the event.

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

Returns
TypeDescription
ByteString

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
TypeDescription
Timestamp

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
TypeDescription
TimestampOrBuilder

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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
int

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
TypeDescription
List<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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? 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
TypeDescription
boolean

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
TypeDescription
boolean

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
TypeDescription
boolean

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
TypeDescription
boolean

Whether the updateTime field is set.