Interface EventOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Event,Event.Builder
@Generated
public interface EventOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionOutput only.intOutput only.Output only.com.google.protobuf.ByteStringOutput only.Output only.intOutput only.Output only.intOutput only.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.getEventImpacts(int index) Google Cloud products and locations impacted by the event.intGoogle Cloud products and locations impacted by the event.Google Cloud products and locations impacted by the event.getEventImpactsOrBuilder(int index) Google Cloud products and locations impacted by the event.List<? extends EventImpactOrBuilder>Google Cloud products and locations impacted by the event.getName()Output only.com.google.protobuf.ByteStringOutput only.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.Output only.com.google.protobuf.ByteStringOutput only.Output only.intOutput only.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.getState()Output only.intOutput only.getTitle()Output only.com.google.protobuf.ByteStringOutput only.getUpdates(int index) Output only.intOutput only.Output only.getUpdatesOrBuilder(int index) Output only.List<? extends EventUpdateOrBuilder>Output only.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.booleanOutput only.booleanOutput only.booleanOutput only.booleanOutput only.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getName
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:
- The name.
-
getNameBytes
com.google.protobuf.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:
- The bytes for name.
-
getTitle
String getTitle()Output only. Brief description for the event.
string title = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The title.
-
getTitleBytes
com.google.protobuf.ByteString getTitleBytes()Output only. Brief description for the event.
string title = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The bytes for title.
-
getDescription
String getDescription()Output only. Free-form, human-readable description.
string description = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The description.
-
getDescriptionBytes
com.google.protobuf.ByteString getDescriptionBytes()Output only. Free-form, human-readable description.
string description = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The bytes for description.
-
getCategoryValue
int getCategoryValue()Output only. The category of the event.
.google.cloud.servicehealth.v1.Event.EventCategory category = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The enum numeric value on the wire for category.
-
getCategory
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:
- The category.
-
getDetailedCategoryValue
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:
- The enum numeric value on the wire for detailedCategory.
-
getDetailedCategory
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:
- The detailedCategory.
-
getStateValue
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:
- The enum numeric value on the wire for state.
-
getState
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:
- The state.
-
getDetailedStateValue
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:
- The enum numeric value on the wire for detailedState.
-
getDetailedState
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:
- The detailedState.
-
getEventImpactsList
List<EventImpact> getEventImpactsList()Google Cloud products and locations impacted by the event.
repeated .google.cloud.servicehealth.v1.EventImpact event_impacts = 20; -
getEventImpacts
Google Cloud products and locations impacted by the event.
repeated .google.cloud.servicehealth.v1.EventImpact event_impacts = 20; -
getEventImpactsCount
int getEventImpactsCount()Google Cloud products and locations impacted by the event.
repeated .google.cloud.servicehealth.v1.EventImpact event_impacts = 20; -
getEventImpactsOrBuilderList
List<? extends EventImpactOrBuilder> getEventImpactsOrBuilderList()Google Cloud products and locations impacted by the event.
repeated .google.cloud.servicehealth.v1.EventImpact event_impacts = 20; -
getEventImpactsOrBuilder
Google Cloud products and locations impacted by the event.
repeated .google.cloud.servicehealth.v1.EventImpact event_impacts = 20; -
getRelevanceValue
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:
- The enum numeric value on the wire for relevance.
-
getRelevance
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:
- The relevance.
-
getUpdatesList
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]; -
getUpdates
Output only. Event updates are correspondence from Google.
repeated .google.cloud.servicehealth.v1.EventUpdate updates = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getUpdatesCount
int getUpdatesCount()Output only. Event updates are correspondence from Google.
repeated .google.cloud.servicehealth.v1.EventUpdate updates = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getUpdatesOrBuilderList
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]; -
getUpdatesOrBuilder
Output only. Event updates are correspondence from Google.
repeated .google.cloud.servicehealth.v1.EventUpdate updates = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getParentEvent
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:
- The parentEvent.
-
getParentEventBytes
com.google.protobuf.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:
- The bytes for parentEvent.
-
hasUpdateTime
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:
- Whether the updateTime field is set.
-
getUpdateTime
com.google.protobuf.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:
- The updateTime.
-
getUpdateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()Output only. The time when the event was last modified.
.google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
hasStartTime
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:
- Whether the startTime field is set.
-
getStartTime
com.google.protobuf.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:
- The startTime.
-
getStartTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()Output only. The start time of the event, if applicable.
.google.protobuf.Timestamp start_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
hasEndTime
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:
- Whether the endTime field is set.
-
getEndTime
com.google.protobuf.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:
- The endTime.
-
getEndTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder()Output only. The end time of the event, if applicable.
.google.protobuf.Timestamp end_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
hasNextUpdateTime
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:
- Whether the nextUpdateTime field is set.
-
getNextUpdateTime
com.google.protobuf.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:
- The nextUpdateTime.
-
getNextUpdateTimeOrBuilder
com.google.protobuf.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];
-