Class OrganizationEvent

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.servicehealth.v1.OrganizationEvent
All Implemented Interfaces:
OrganizationEventOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class OrganizationEvent extends com.google.protobuf.GeneratedMessage implements OrganizationEventOrBuilder
 Represents service health events that may affect Google Cloud products used
 across the organization. It is a read-only view and does not allow any
 modifications.
 
Protobuf type google.cloud.servicehealth.v1.OrganizationEvent
See Also:
  • Field Details

    • NAME_FIELD_NUMBER

      public static final int NAME_FIELD_NUMBER
      See Also:
    • TITLE_FIELD_NUMBER

      public static final int TITLE_FIELD_NUMBER
      See Also:
    • DESCRIPTION_FIELD_NUMBER

      public static final int DESCRIPTION_FIELD_NUMBER
      See Also:
    • CATEGORY_FIELD_NUMBER

      public static final int CATEGORY_FIELD_NUMBER
      See Also:
    • DETAILED_CATEGORY_FIELD_NUMBER

      public static final int DETAILED_CATEGORY_FIELD_NUMBER
      See Also:
    • STATE_FIELD_NUMBER

      public static final int STATE_FIELD_NUMBER
      See Also:
    • DETAILED_STATE_FIELD_NUMBER

      public static final int DETAILED_STATE_FIELD_NUMBER
      See Also:
    • EVENT_IMPACTS_FIELD_NUMBER

      public static final int EVENT_IMPACTS_FIELD_NUMBER
      See Also:
    • UPDATES_FIELD_NUMBER

      public static final int UPDATES_FIELD_NUMBER
      See Also:
    • PARENT_EVENT_FIELD_NUMBER

      public static final int PARENT_EVENT_FIELD_NUMBER
      See Also:
    • UPDATE_TIME_FIELD_NUMBER

      public static final int UPDATE_TIME_FIELD_NUMBER
      See Also:
    • START_TIME_FIELD_NUMBER

      public static final int START_TIME_FIELD_NUMBER
      See Also:
    • END_TIME_FIELD_NUMBER

      public static final int END_TIME_FIELD_NUMBER
      See Also:
    • NEXT_UPDATE_TIME_FIELD_NUMBER

      public static final int NEXT_UPDATE_TIME_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getName

      public 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];
      Specified by:
      getName in interface OrganizationEventOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.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];
      Specified by:
      getNameBytes in interface OrganizationEventOrBuilder
      Returns:
      The bytes for name.
    • getTitle

      public String getTitle()
       Output only. Brief description for the event.
       
      string title = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getTitle in interface OrganizationEventOrBuilder
      Returns:
      The title.
    • getTitleBytes

      public com.google.protobuf.ByteString getTitleBytes()
       Output only. Brief description for the event.
       
      string title = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getTitleBytes in interface OrganizationEventOrBuilder
      Returns:
      The bytes for title.
    • getDescription

      public String getDescription()
       Output only. Free-form, human-readable description.
       
      string description = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getDescription in interface OrganizationEventOrBuilder
      Returns:
      The description.
    • getDescriptionBytes

      public com.google.protobuf.ByteString getDescriptionBytes()
       Output only. Free-form, human-readable description.
       
      string description = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getDescriptionBytes in interface OrganizationEventOrBuilder
      Returns:
      The bytes for description.
    • getCategoryValue

      public int getCategoryValue()
       Output only. The category of the event.
       
      .google.cloud.servicehealth.v1.OrganizationEvent.EventCategory category = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCategoryValue in interface OrganizationEventOrBuilder
      Returns:
      The enum numeric value on the wire for category.
    • getCategory

      public OrganizationEvent.EventCategory getCategory()
       Output only. The category of the event.
       
      .google.cloud.servicehealth.v1.OrganizationEvent.EventCategory category = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCategory in interface OrganizationEventOrBuilder
      Returns:
      The category.
    • getDetailedCategoryValue

      public 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];
      Specified by:
      getDetailedCategoryValue in interface OrganizationEventOrBuilder
      Returns:
      The enum numeric value on the wire for detailedCategory.
    • getDetailedCategory

      public 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];
      Specified by:
      getDetailedCategory in interface OrganizationEventOrBuilder
      Returns:
      The detailedCategory.
    • getStateValue

      public int getStateValue()
       Output only. The current state of the event.
       
      .google.cloud.servicehealth.v1.OrganizationEvent.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getStateValue in interface OrganizationEventOrBuilder
      Returns:
      The enum numeric value on the wire for state.
    • getState

      public 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];
      Specified by:
      getState in interface OrganizationEventOrBuilder
      Returns:
      The state.
    • getDetailedStateValue

      public 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];
      Specified by:
      getDetailedStateValue in interface OrganizationEventOrBuilder
      Returns:
      The enum numeric value on the wire for detailedState.
    • getDetailedState

      public 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];
      Specified by:
      getDetailedState in interface OrganizationEventOrBuilder
      Returns:
      The detailedState.
    • getEventImpactsList

      public 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];
      Specified by:
      getEventImpactsList in interface OrganizationEventOrBuilder
    • getEventImpactsOrBuilderList

      public 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];
      Specified by:
      getEventImpactsOrBuilderList in interface OrganizationEventOrBuilder
    • getEventImpactsCount

      public 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];
      Specified by:
      getEventImpactsCount in interface OrganizationEventOrBuilder
    • getEventImpacts

      public 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];
      Specified by:
      getEventImpacts in interface OrganizationEventOrBuilder
    • getEventImpactsOrBuilder

      public 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];
      Specified by:
      getEventImpactsOrBuilder in interface OrganizationEventOrBuilder
    • getUpdatesList

      public 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];
      Specified by:
      getUpdatesList in interface OrganizationEventOrBuilder
    • getUpdatesOrBuilderList

      public 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];
      Specified by:
      getUpdatesOrBuilderList in interface OrganizationEventOrBuilder
    • getUpdatesCount

      public 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];
      Specified by:
      getUpdatesCount in interface OrganizationEventOrBuilder
    • getUpdates

      public 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];
      Specified by:
      getUpdates in interface OrganizationEventOrBuilder
    • getUpdatesOrBuilder

      public 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];
      Specified by:
      getUpdatesOrBuilder in interface OrganizationEventOrBuilder
    • getParentEvent

      public 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];
      Specified by:
      getParentEvent in interface OrganizationEventOrBuilder
      Returns:
      The parentEvent.
    • getParentEventBytes

      public 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 = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getParentEventBytes in interface OrganizationEventOrBuilder
      Returns:
      The bytes for parentEvent.
    • hasUpdateTime

      public boolean hasUpdateTime()
       Output only. The time the update was posted.
       
      .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasUpdateTime in interface OrganizationEventOrBuilder
      Returns:
      Whether the updateTime field is set.
    • getUpdateTime

      public com.google.protobuf.Timestamp getUpdateTime()
       Output only. The time the update was posted.
       
      .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateTime in interface OrganizationEventOrBuilder
      Returns:
      The updateTime.
    • getUpdateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
       Output only. The time the update was posted.
       
      .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateTimeOrBuilder in interface OrganizationEventOrBuilder
    • hasStartTime

      public boolean hasStartTime()
       Output only. The start time of the event, if applicable.
       
      .google.protobuf.Timestamp start_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasStartTime in interface OrganizationEventOrBuilder
      Returns:
      Whether the startTime field is set.
    • getStartTime

      public com.google.protobuf.Timestamp getStartTime()
       Output only. The start time of the event, if applicable.
       
      .google.protobuf.Timestamp start_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getStartTime in interface OrganizationEventOrBuilder
      Returns:
      The startTime.
    • getStartTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()
       Output only. The start time of the event, if applicable.
       
      .google.protobuf.Timestamp start_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getStartTimeOrBuilder in interface OrganizationEventOrBuilder
    • hasEndTime

      public boolean hasEndTime()
       Output only. The end time of the event, if applicable.
       
      .google.protobuf.Timestamp end_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasEndTime in interface OrganizationEventOrBuilder
      Returns:
      Whether the endTime field is set.
    • getEndTime

      public com.google.protobuf.Timestamp getEndTime()
       Output only. The end time of the event, if applicable.
       
      .google.protobuf.Timestamp end_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getEndTime in interface OrganizationEventOrBuilder
      Returns:
      The endTime.
    • getEndTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder()
       Output only. The end time of the event, if applicable.
       
      .google.protobuf.Timestamp end_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getEndTimeOrBuilder in interface OrganizationEventOrBuilder
    • hasNextUpdateTime

      public 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];
      Specified by:
      hasNextUpdateTime in interface OrganizationEventOrBuilder
      Returns:
      Whether the nextUpdateTime field is set.
    • getNextUpdateTime

      public com.google.protobuf.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];
      Specified by:
      getNextUpdateTime in interface OrganizationEventOrBuilder
      Returns:
      The nextUpdateTime.
    • getNextUpdateTimeOrBuilder

      public com.google.protobuf.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];
      Specified by:
      getNextUpdateTimeOrBuilder in interface OrganizationEventOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static OrganizationEvent parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static OrganizationEvent parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static OrganizationEvent parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static OrganizationEvent parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static OrganizationEvent parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static OrganizationEvent parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static OrganizationEvent parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static OrganizationEvent parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static OrganizationEvent parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static OrganizationEvent parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static OrganizationEvent parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static OrganizationEvent parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public OrganizationEvent.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static OrganizationEvent.Builder newBuilder()
    • newBuilder

      public static OrganizationEvent.Builder newBuilder(OrganizationEvent prototype)
    • toBuilder

      public OrganizationEvent.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected OrganizationEvent.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static OrganizationEvent getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<OrganizationEvent> parser()
    • getParserForType

      public com.google.protobuf.Parser<OrganizationEvent> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public OrganizationEvent getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder