Class Event.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Event.Builder>
com.google.cloud.servicehealth.v1.Event.Builder
All Implemented Interfaces:
EventOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
Event

public static final class Event.Builder extends com.google.protobuf.GeneratedMessage.Builder<Event.Builder> implements EventOrBuilder
 Represents service health events that may affect Google Cloud products.
 Event resource is a read-only view and does not allow any modifications. All
 fields are output only.
 
Protobuf type google.cloud.servicehealth.v1.Event
  • 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.Builder<Event.Builder>
    • clear

      public Event.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<Event.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<Event.Builder>
    • getDefaultInstanceForType

      public Event getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public Event build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public Event buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public Event.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Event.Builder>
    • mergeFrom

      public Event.Builder mergeFrom(Event other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<Event.Builder>
    • mergeFrom

      public Event.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Event.Builder>
      Throws:
      IOException
    • getName

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

      public Event.Builder setName(String value)
       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];
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public Event.Builder clearName()
       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:
      This builder for chaining.
    • setNameBytes

      public Event.Builder setNameBytes(com.google.protobuf.ByteString value)
       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];
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • 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 EventOrBuilder
      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 EventOrBuilder
      Returns:
      The bytes for title.
    • setTitle

      public Event.Builder setTitle(String value)
       Output only. Brief description for the event.
       
      string title = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The title to set.
      Returns:
      This builder for chaining.
    • clearTitle

      public Event.Builder clearTitle()
       Output only. Brief description for the event.
       
      string title = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setTitleBytes

      public Event.Builder setTitleBytes(com.google.protobuf.ByteString value)
       Output only. Brief description for the event.
       
      string title = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for title to set.
      Returns:
      This builder for chaining.
    • 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 EventOrBuilder
      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 EventOrBuilder
      Returns:
      The bytes for description.
    • setDescription

      public Event.Builder setDescription(String value)
       Output only. Free-form, human-readable description.
       
      string description = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The description to set.
      Returns:
      This builder for chaining.
    • clearDescription

      public Event.Builder clearDescription()
       Output only. Free-form, human-readable description.
       
      string description = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setDescriptionBytes

      public Event.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
       Output only. Free-form, human-readable description.
       
      string description = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for description to set.
      Returns:
      This builder for chaining.
    • getCategoryValue

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

      public Event.Builder setCategoryValue(int value)
       Output only. The category of the event.
       
      .google.cloud.servicehealth.v1.Event.EventCategory category = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The enum numeric value on the wire for category to set.
      Returns:
      This builder for chaining.
    • getCategory

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

      public Event.Builder setCategory(Event.EventCategory value)
       Output only. The category of the event.
       
      .google.cloud.servicehealth.v1.Event.EventCategory category = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The category to set.
      Returns:
      This builder for chaining.
    • clearCategory

      public Event.Builder clearCategory()
       Output only. The category of the event.
       
      .google.cloud.servicehealth.v1.Event.EventCategory category = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • getDetailedCategoryValue

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

      public Event.Builder setDetailedCategoryValue(int value)
       Output only. The detailed category of the event.
       
      .google.cloud.servicehealth.v1.Event.DetailedCategory detailed_category = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The enum numeric value on the wire for detailedCategory to set.
      Returns:
      This builder for chaining.
    • getDetailedCategory

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

      public Event.Builder setDetailedCategory(Event.DetailedCategory value)
       Output only. The detailed category of the event.
       
      .google.cloud.servicehealth.v1.Event.DetailedCategory detailed_category = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The detailedCategory to set.
      Returns:
      This builder for chaining.
    • clearDetailedCategory

      public Event.Builder clearDetailedCategory()
       Output only. The detailed category of the event.
       
      .google.cloud.servicehealth.v1.Event.DetailedCategory detailed_category = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • getStateValue

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

      public Event.Builder setStateValue(int value)
       Output only. The current state of the event.
       
      .google.cloud.servicehealth.v1.Event.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The enum numeric value on the wire for state to set.
      Returns:
      This builder for chaining.
    • getState

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

      public Event.Builder setState(Event.State value)
       Output only. The current state of the event.
       
      .google.cloud.servicehealth.v1.Event.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The state to set.
      Returns:
      This builder for chaining.
    • clearState

      public Event.Builder clearState()
       Output only. The current state of the event.
       
      .google.cloud.servicehealth.v1.Event.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • getDetailedStateValue

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

      public Event.Builder setDetailedStateValue(int value)
       Output only. The current detailed state of the incident.
       
      .google.cloud.servicehealth.v1.Event.DetailedState detailed_state = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The enum numeric value on the wire for detailedState to set.
      Returns:
      This builder for chaining.
    • getDetailedState

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

      public Event.Builder setDetailedState(Event.DetailedState value)
       Output only. The current detailed state of the incident.
       
      .google.cloud.servicehealth.v1.Event.DetailedState detailed_state = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The detailedState to set.
      Returns:
      This builder for chaining.
    • clearDetailedState

      public Event.Builder clearDetailedState()
       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:
      This builder for chaining.
    • getEventImpactsList

      public List<EventImpact> getEventImpactsList()
       Google Cloud products and locations impacted by the event.
       
      repeated .google.cloud.servicehealth.v1.EventImpact event_impacts = 20;
      Specified by:
      getEventImpactsList in interface EventOrBuilder
    • getEventImpactsCount

      public int getEventImpactsCount()
       Google Cloud products and locations impacted by the event.
       
      repeated .google.cloud.servicehealth.v1.EventImpact event_impacts = 20;
      Specified by:
      getEventImpactsCount in interface EventOrBuilder
    • getEventImpacts

      public EventImpact getEventImpacts(int index)
       Google Cloud products and locations impacted by the event.
       
      repeated .google.cloud.servicehealth.v1.EventImpact event_impacts = 20;
      Specified by:
      getEventImpacts in interface EventOrBuilder
    • setEventImpacts

      public Event.Builder setEventImpacts(int index, EventImpact value)
       Google Cloud products and locations impacted by the event.
       
      repeated .google.cloud.servicehealth.v1.EventImpact event_impacts = 20;
    • setEventImpacts

      public Event.Builder setEventImpacts(int index, EventImpact.Builder builderForValue)
       Google Cloud products and locations impacted by the event.
       
      repeated .google.cloud.servicehealth.v1.EventImpact event_impacts = 20;
    • addEventImpacts

      public Event.Builder addEventImpacts(EventImpact value)
       Google Cloud products and locations impacted by the event.
       
      repeated .google.cloud.servicehealth.v1.EventImpact event_impacts = 20;
    • addEventImpacts

      public Event.Builder addEventImpacts(int index, EventImpact value)
       Google Cloud products and locations impacted by the event.
       
      repeated .google.cloud.servicehealth.v1.EventImpact event_impacts = 20;
    • addEventImpacts

      public Event.Builder addEventImpacts(EventImpact.Builder builderForValue)
       Google Cloud products and locations impacted by the event.
       
      repeated .google.cloud.servicehealth.v1.EventImpact event_impacts = 20;
    • addEventImpacts

      public Event.Builder addEventImpacts(int index, EventImpact.Builder builderForValue)
       Google Cloud products and locations impacted by the event.
       
      repeated .google.cloud.servicehealth.v1.EventImpact event_impacts = 20;
    • addAllEventImpacts

      public Event.Builder addAllEventImpacts(Iterable<? extends EventImpact> values)
       Google Cloud products and locations impacted by the event.
       
      repeated .google.cloud.servicehealth.v1.EventImpact event_impacts = 20;
    • clearEventImpacts

      public Event.Builder clearEventImpacts()
       Google Cloud products and locations impacted by the event.
       
      repeated .google.cloud.servicehealth.v1.EventImpact event_impacts = 20;
    • removeEventImpacts

      public Event.Builder removeEventImpacts(int index)
       Google Cloud products and locations impacted by the event.
       
      repeated .google.cloud.servicehealth.v1.EventImpact event_impacts = 20;
    • getEventImpactsBuilder

      public EventImpact.Builder getEventImpactsBuilder(int index)
       Google Cloud products and locations impacted by the event.
       
      repeated .google.cloud.servicehealth.v1.EventImpact event_impacts = 20;
    • getEventImpactsOrBuilder

      public EventImpactOrBuilder getEventImpactsOrBuilder(int index)
       Google Cloud products and locations impacted by the event.
       
      repeated .google.cloud.servicehealth.v1.EventImpact event_impacts = 20;
      Specified by:
      getEventImpactsOrBuilder in interface EventOrBuilder
    • getEventImpactsOrBuilderList

      public List<? extends EventImpactOrBuilder> getEventImpactsOrBuilderList()
       Google Cloud products and locations impacted by the event.
       
      repeated .google.cloud.servicehealth.v1.EventImpact event_impacts = 20;
      Specified by:
      getEventImpactsOrBuilderList in interface EventOrBuilder
    • addEventImpactsBuilder

      public EventImpact.Builder addEventImpactsBuilder()
       Google Cloud products and locations impacted by the event.
       
      repeated .google.cloud.servicehealth.v1.EventImpact event_impacts = 20;
    • addEventImpactsBuilder

      public EventImpact.Builder addEventImpactsBuilder(int index)
       Google Cloud products and locations impacted by the event.
       
      repeated .google.cloud.servicehealth.v1.EventImpact event_impacts = 20;
    • getEventImpactsBuilderList

      public List<EventImpact.Builder> getEventImpactsBuilderList()
       Google Cloud products and locations impacted by the event.
       
      repeated .google.cloud.servicehealth.v1.EventImpact event_impacts = 20;
    • getRelevanceValue

      public 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];
      Specified by:
      getRelevanceValue in interface EventOrBuilder
      Returns:
      The enum numeric value on the wire for relevance.
    • setRelevanceValue

      public Event.Builder setRelevanceValue(int value)
       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];
      Parameters:
      value - The enum numeric value on the wire for relevance to set.
      Returns:
      This builder for chaining.
    • getRelevance

      public 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];
      Specified by:
      getRelevance in interface EventOrBuilder
      Returns:
      The relevance.
    • setRelevance

      public Event.Builder setRelevance(Event.Relevance value)
       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];
      Parameters:
      value - The relevance to set.
      Returns:
      This builder for chaining.
    • clearRelevance

      public Event.Builder clearRelevance()
       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:
      This builder for chaining.
    • getUpdatesList

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

      public int getUpdatesCount()
       Output only. Event updates are correspondence from Google.
       
      repeated .google.cloud.servicehealth.v1.EventUpdate updates = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdatesCount in interface EventOrBuilder
    • getUpdates

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

      public Event.Builder setUpdates(int index, EventUpdate value)
       Output only. Event updates are correspondence from Google.
       
      repeated .google.cloud.servicehealth.v1.EventUpdate updates = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setUpdates

      public Event.Builder setUpdates(int index, EventUpdate.Builder builderForValue)
       Output only. Event updates are correspondence from Google.
       
      repeated .google.cloud.servicehealth.v1.EventUpdate updates = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addUpdates

      public Event.Builder addUpdates(EventUpdate value)
       Output only. Event updates are correspondence from Google.
       
      repeated .google.cloud.servicehealth.v1.EventUpdate updates = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addUpdates

      public Event.Builder addUpdates(int index, EventUpdate value)
       Output only. Event updates are correspondence from Google.
       
      repeated .google.cloud.servicehealth.v1.EventUpdate updates = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addUpdates

      public Event.Builder addUpdates(EventUpdate.Builder builderForValue)
       Output only. Event updates are correspondence from Google.
       
      repeated .google.cloud.servicehealth.v1.EventUpdate updates = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addUpdates

      public Event.Builder addUpdates(int index, EventUpdate.Builder builderForValue)
       Output only. Event updates are correspondence from Google.
       
      repeated .google.cloud.servicehealth.v1.EventUpdate updates = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addAllUpdates

      public Event.Builder addAllUpdates(Iterable<? extends EventUpdate> values)
       Output only. Event updates are correspondence from Google.
       
      repeated .google.cloud.servicehealth.v1.EventUpdate updates = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearUpdates

      public Event.Builder clearUpdates()
       Output only. Event updates are correspondence from Google.
       
      repeated .google.cloud.servicehealth.v1.EventUpdate updates = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • removeUpdates

      public Event.Builder removeUpdates(int index)
       Output only. Event updates are correspondence from Google.
       
      repeated .google.cloud.servicehealth.v1.EventUpdate updates = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getUpdatesBuilder

      public EventUpdate.Builder getUpdatesBuilder(int index)
       Output only. Event updates are correspondence from Google.
       
      repeated .google.cloud.servicehealth.v1.EventUpdate updates = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getUpdatesOrBuilder

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

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

      public EventUpdate.Builder addUpdatesBuilder()
       Output only. Event updates are correspondence from Google.
       
      repeated .google.cloud.servicehealth.v1.EventUpdate updates = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addUpdatesBuilder

      public EventUpdate.Builder addUpdatesBuilder(int index)
       Output only. Event updates are correspondence from Google.
       
      repeated .google.cloud.servicehealth.v1.EventUpdate updates = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getUpdatesBuilderList

      public List<EventUpdate.Builder> getUpdatesBuilderList()
       Output only. Event updates are correspondence from Google.
       
      repeated .google.cloud.servicehealth.v1.EventUpdate updates = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • 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 = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getParentEvent in interface EventOrBuilder
      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 = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getParentEventBytes in interface EventOrBuilder
      Returns:
      The bytes for parentEvent.
    • setParentEvent

      public Event.Builder setParentEvent(String value)
       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];
      Parameters:
      value - The parentEvent to set.
      Returns:
      This builder for chaining.
    • clearParentEvent

      public Event.Builder clearParentEvent()
       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:
      This builder for chaining.
    • setParentEventBytes

      public Event.Builder setParentEventBytes(com.google.protobuf.ByteString value)
       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];
      Parameters:
      value - The bytes for parentEvent to set.
      Returns:
      This builder for chaining.
    • hasUpdateTime

      public boolean hasUpdateTime()
       Output only. The time when the event was last modified.
       
      .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasUpdateTime in interface EventOrBuilder
      Returns:
      Whether the updateTime field is set.
    • getUpdateTime

      public 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];
      Specified by:
      getUpdateTime in interface EventOrBuilder
      Returns:
      The updateTime.
    • setUpdateTime

      public Event.Builder setUpdateTime(com.google.protobuf.Timestamp value)
       Output only. The time when the event was last modified.
       
      .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setUpdateTime

      public Event.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. The time when the event was last modified.
       
      .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeUpdateTime

      public Event.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
       Output only. The time when the event was last modified.
       
      .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearUpdateTime

      public Event.Builder clearUpdateTime()
       Output only. The time when the event was last modified.
       
      .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getUpdateTimeBuilder

      public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
       Output only. The time when the event was last modified.
       
      .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getUpdateTimeOrBuilder

      public 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];
      Specified by:
      getUpdateTimeOrBuilder in interface EventOrBuilder
    • hasStartTime

      public boolean hasStartTime()
       Output only. The start time of the event, if applicable.
       
      .google.protobuf.Timestamp start_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasStartTime in interface EventOrBuilder
      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 = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getStartTime in interface EventOrBuilder
      Returns:
      The startTime.
    • setStartTime

      public Event.Builder setStartTime(com.google.protobuf.Timestamp value)
       Output only. The start time of the event, if applicable.
       
      .google.protobuf.Timestamp start_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setStartTime

      public Event.Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. The start time of the event, if applicable.
       
      .google.protobuf.Timestamp start_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeStartTime

      public Event.Builder mergeStartTime(com.google.protobuf.Timestamp value)
       Output only. The start time of the event, if applicable.
       
      .google.protobuf.Timestamp start_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearStartTime

      public Event.Builder clearStartTime()
       Output only. The start time of the event, if applicable.
       
      .google.protobuf.Timestamp start_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getStartTimeBuilder

      public com.google.protobuf.Timestamp.Builder getStartTimeBuilder()
       Output only. The start time of the event, if applicable.
       
      .google.protobuf.Timestamp start_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getStartTimeOrBuilder

      public 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];
      Specified by:
      getStartTimeOrBuilder in interface EventOrBuilder
    • hasEndTime

      public boolean hasEndTime()
       Output only. The end time of the event, if applicable.
       
      .google.protobuf.Timestamp end_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasEndTime in interface EventOrBuilder
      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 = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getEndTime in interface EventOrBuilder
      Returns:
      The endTime.
    • setEndTime

      public Event.Builder setEndTime(com.google.protobuf.Timestamp value)
       Output only. The end time of the event, if applicable.
       
      .google.protobuf.Timestamp end_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setEndTime

      public Event.Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. The end time of the event, if applicable.
       
      .google.protobuf.Timestamp end_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeEndTime

      public Event.Builder mergeEndTime(com.google.protobuf.Timestamp value)
       Output only. The end time of the event, if applicable.
       
      .google.protobuf.Timestamp end_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearEndTime

      public Event.Builder clearEndTime()
       Output only. The end time of the event, if applicable.
       
      .google.protobuf.Timestamp end_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getEndTimeBuilder

      public com.google.protobuf.Timestamp.Builder getEndTimeBuilder()
       Output only. The end time of the event, if applicable.
       
      .google.protobuf.Timestamp end_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getEndTimeOrBuilder

      public 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];
      Specified by:
      getEndTimeOrBuilder in interface EventOrBuilder
    • hasNextUpdateTime

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

      public 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];
      Specified by:
      getNextUpdateTime in interface EventOrBuilder
      Returns:
      The nextUpdateTime.
    • setNextUpdateTime

      public Event.Builder setNextUpdateTime(com.google.protobuf.Timestamp value)
       Output only. The time when the next update can be expected.
       
      .google.protobuf.Timestamp next_update_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setNextUpdateTime

      public Event.Builder setNextUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. The time when the next update can be expected.
       
      .google.protobuf.Timestamp next_update_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeNextUpdateTime

      public Event.Builder mergeNextUpdateTime(com.google.protobuf.Timestamp value)
       Output only. The time when the next update can be expected.
       
      .google.protobuf.Timestamp next_update_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearNextUpdateTime

      public Event.Builder clearNextUpdateTime()
       Output only. The time when the next update can be expected.
       
      .google.protobuf.Timestamp next_update_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getNextUpdateTimeBuilder

      public com.google.protobuf.Timestamp.Builder getNextUpdateTimeBuilder()
       Output only. The time when the next update can be expected.
       
      .google.protobuf.Timestamp next_update_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getNextUpdateTimeOrBuilder

      public 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];
      Specified by:
      getNextUpdateTimeOrBuilder in interface EventOrBuilder