Class OrganizationEvent.Builder

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

public static final class OrganizationEvent.Builder extends com.google.protobuf.GeneratedMessage.Builder<OrganizationEvent.Builder> 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
  • 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<OrganizationEvent.Builder>
    • clear

      public OrganizationEvent.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<OrganizationEvent.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<OrganizationEvent.Builder>
    • getDefaultInstanceForType

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

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

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

      public OrganizationEvent.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<OrganizationEvent.Builder>
    • mergeFrom

      public OrganizationEvent.Builder mergeFrom(OrganizationEvent other)
    • isInitialized

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

      public OrganizationEvent.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<OrganizationEvent.Builder>
      Throws:
      IOException
    • 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.
    • setName

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

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

      public OrganizationEvent.Builder setNameBytes(com.google.protobuf.ByteString value)
       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];
      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 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.
    • setTitle

      public OrganizationEvent.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 OrganizationEvent.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 OrganizationEvent.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 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.
    • setDescription

      public OrganizationEvent.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 OrganizationEvent.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 OrganizationEvent.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.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.
    • setCategoryValue

      public OrganizationEvent.Builder setCategoryValue(int value)
       Output only. The category of the event.
       
      .google.cloud.servicehealth.v1.OrganizationEvent.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 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.
    • setCategory

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

      public OrganizationEvent.Builder clearCategory()
       Output only. The category of the event.
       
      .google.cloud.servicehealth.v1.OrganizationEvent.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.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.
    • setDetailedCategoryValue

      public OrganizationEvent.Builder setDetailedCategoryValue(int value)
       Output only. The detailed category of the event.
       
      .google.cloud.servicehealth.v1.OrganizationEvent.DetailedCategory detailed_category = 17 [(.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 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.
    • setDetailedCategory

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

      public OrganizationEvent.Builder clearDetailedCategory()
       Output only. The detailed category of the event.
       
      .google.cloud.servicehealth.v1.OrganizationEvent.DetailedCategory detailed_category = 17 [(.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.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.
    • setStateValue

      public OrganizationEvent.Builder setStateValue(int value)
       Output only. The current state of the event.
       
      .google.cloud.servicehealth.v1.OrganizationEvent.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 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.
    • setState

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

      public OrganizationEvent.Builder clearState()
       Output only. The current state of the event.
       
      .google.cloud.servicehealth.v1.OrganizationEvent.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.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.
    • setDetailedStateValue

      public OrganizationEvent.Builder setDetailedStateValue(int value)
       Output only. The current detailed state of the incident.
       
      .google.cloud.servicehealth.v1.OrganizationEvent.DetailedState detailed_state = 16 [(.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 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.
    • setDetailedState

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

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

      public OrganizationEvent.Builder setEventImpacts(int index, EventImpact value)
       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];
    • setEventImpacts

      public OrganizationEvent.Builder setEventImpacts(int index, EventImpact.Builder builderForValue)
       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];
    • addEventImpacts

      public OrganizationEvent.Builder addEventImpacts(EventImpact value)
       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];
    • addEventImpacts

      public OrganizationEvent.Builder addEventImpacts(int index, EventImpact value)
       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];
    • addEventImpacts

      public OrganizationEvent.Builder addEventImpacts(EventImpact.Builder builderForValue)
       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];
    • addEventImpacts

      public OrganizationEvent.Builder addEventImpacts(int index, EventImpact.Builder builderForValue)
       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];
    • addAllEventImpacts

      public OrganizationEvent.Builder addAllEventImpacts(Iterable<? extends EventImpact> values)
       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];
    • clearEventImpacts

      public OrganizationEvent.Builder clearEventImpacts()
       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];
    • removeEventImpacts

      public OrganizationEvent.Builder removeEventImpacts(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];
    • getEventImpactsBuilder

      public EventImpact.Builder getEventImpactsBuilder(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];
    • 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
    • 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
    • addEventImpactsBuilder

      public EventImpact.Builder addEventImpactsBuilder()
       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];
    • addEventImpactsBuilder

      public EventImpact.Builder addEventImpactsBuilder(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];
    • getEventImpactsBuilderList

      public List<EventImpact.Builder> getEventImpactsBuilderList()
       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];
    • 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
    • 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
    • setUpdates

      public OrganizationEvent.Builder setUpdates(int index, EventUpdate value)
       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];
    • setUpdates

      public OrganizationEvent.Builder setUpdates(int index, EventUpdate.Builder builderForValue)
       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];
    • addUpdates

      public OrganizationEvent.Builder addUpdates(EventUpdate value)
       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];
    • addUpdates

      public OrganizationEvent.Builder addUpdates(int index, EventUpdate value)
       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];
    • addUpdates

      public OrganizationEvent.Builder addUpdates(EventUpdate.Builder builderForValue)
       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];
    • addUpdates

      public OrganizationEvent.Builder addUpdates(int index, EventUpdate.Builder builderForValue)
       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];
    • addAllUpdates

      public OrganizationEvent.Builder addAllUpdates(Iterable<? extends EventUpdate> values)
       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];
    • clearUpdates

      public OrganizationEvent.Builder clearUpdates()
       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];
    • removeUpdates

      public OrganizationEvent.Builder removeUpdates(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];
    • getUpdatesBuilder

      public EventUpdate.Builder getUpdatesBuilder(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];
    • 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
    • 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
    • addUpdatesBuilder

      public EventUpdate.Builder addUpdatesBuilder()
       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];
    • addUpdatesBuilder

      public EventUpdate.Builder addUpdatesBuilder(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];
    • getUpdatesBuilderList

      public List<EventUpdate.Builder> getUpdatesBuilderList()
       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];
    • 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.
    • setParentEvent

      public OrganizationEvent.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 = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The parentEvent to set.
      Returns:
      This builder for chaining.
    • clearParentEvent

      public OrganizationEvent.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 = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setParentEventBytes

      public OrganizationEvent.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 = 9 [(.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 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.
    • setUpdateTime

      public OrganizationEvent.Builder setUpdateTime(com.google.protobuf.Timestamp value)
       Output only. The time the update was posted.
       
      .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setUpdateTime

      public OrganizationEvent.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. The time the update was posted.
       
      .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeUpdateTime

      public OrganizationEvent.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
       Output only. The time the update was posted.
       
      .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearUpdateTime

      public OrganizationEvent.Builder clearUpdateTime()
       Output only. The time the update was posted.
       
      .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getUpdateTimeBuilder

      public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
       Output only. The time the update was posted.
       
      .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • 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.
    • setStartTime

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

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

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

      public OrganizationEvent.Builder clearStartTime()
       Output only. The start time of the event, if applicable.
       
      .google.protobuf.Timestamp start_time = 12 [(.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 = 12 [(.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 = 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.
    • setEndTime

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

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

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

      public OrganizationEvent.Builder clearEndTime()
       Output only. The end time of the event, if applicable.
       
      .google.protobuf.Timestamp end_time = 13 [(.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 = 13 [(.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 = 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.
    • setNextUpdateTime

      public OrganizationEvent.Builder setNextUpdateTime(com.google.protobuf.Timestamp value)
       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];
    • setNextUpdateTime

      public OrganizationEvent.Builder setNextUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       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];
    • mergeNextUpdateTime

      public OrganizationEvent.Builder mergeNextUpdateTime(com.google.protobuf.Timestamp value)
       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];
    • clearNextUpdateTime

      public OrganizationEvent.Builder clearNextUpdateTime()
       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];
    • getNextUpdateTimeBuilder

      public com.google.protobuf.Timestamp.Builder getNextUpdateTimeBuilder()
       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];
    • 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