Class EventUpdate.Builder

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

public static final class EventUpdate.Builder extends com.google.protobuf.GeneratedMessage.Builder<EventUpdate.Builder> implements EventUpdateOrBuilder
 Records an update made to the event.
 
Protobuf type google.cloud.servicehealth.v1.EventUpdate
  • 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<EventUpdate.Builder>
    • clear

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

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

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

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

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

      public EventUpdate.Builder mergeFrom(EventUpdate other)
    • isInitialized

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

      public EventUpdate.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<EventUpdate.Builder>
      Throws:
      IOException
    • hasUpdateTime

      public boolean hasUpdateTime()
       Output only. The time the update was posted.
       
      .google.protobuf.Timestamp update_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasUpdateTime in interface EventUpdateOrBuilder
      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 = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateTime in interface EventUpdateOrBuilder
      Returns:
      The updateTime.
    • setUpdateTime

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

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

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

      public EventUpdate.Builder clearUpdateTime()
       Output only. The time the update was posted.
       
      .google.protobuf.Timestamp update_time = 1 [(.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 = 1 [(.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 = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateTimeOrBuilder in interface EventUpdateOrBuilder
    • getTitle

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

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

      public EventUpdate.Builder setTitle(String value)
       Output only. Brief title 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 EventUpdate.Builder clearTitle()
       Output only. Brief title for the event.
       
      string title = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setTitleBytes

      public EventUpdate.Builder setTitleBytes(com.google.protobuf.ByteString value)
       Output only. Brief title 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 EventUpdateOrBuilder
      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 EventUpdateOrBuilder
      Returns:
      The bytes for description.
    • setDescription

      public EventUpdate.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 EventUpdate.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 EventUpdate.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.
    • getSymptom

      public String getSymptom()
       Output only. Symptoms of the event, if available.
       
      string symptom = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getSymptom in interface EventUpdateOrBuilder
      Returns:
      The symptom.
    • getSymptomBytes

      public com.google.protobuf.ByteString getSymptomBytes()
       Output only. Symptoms of the event, if available.
       
      string symptom = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getSymptomBytes in interface EventUpdateOrBuilder
      Returns:
      The bytes for symptom.
    • setSymptom

      public EventUpdate.Builder setSymptom(String value)
       Output only. Symptoms of the event, if available.
       
      string symptom = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The symptom to set.
      Returns:
      This builder for chaining.
    • clearSymptom

      public EventUpdate.Builder clearSymptom()
       Output only. Symptoms of the event, if available.
       
      string symptom = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setSymptomBytes

      public EventUpdate.Builder setSymptomBytes(com.google.protobuf.ByteString value)
       Output only. Symptoms of the event, if available.
       
      string symptom = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for symptom to set.
      Returns:
      This builder for chaining.
    • getWorkaround

      public String getWorkaround()
       Output only. Workaround steps to remediate the event impact, if available.
       
      string workaround = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getWorkaround in interface EventUpdateOrBuilder
      Returns:
      The workaround.
    • getWorkaroundBytes

      public com.google.protobuf.ByteString getWorkaroundBytes()
       Output only. Workaround steps to remediate the event impact, if available.
       
      string workaround = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getWorkaroundBytes in interface EventUpdateOrBuilder
      Returns:
      The bytes for workaround.
    • setWorkaround

      public EventUpdate.Builder setWorkaround(String value)
       Output only. Workaround steps to remediate the event impact, if available.
       
      string workaround = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The workaround to set.
      Returns:
      This builder for chaining.
    • clearWorkaround

      public EventUpdate.Builder clearWorkaround()
       Output only. Workaround steps to remediate the event impact, if available.
       
      string workaround = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setWorkaroundBytes

      public EventUpdate.Builder setWorkaroundBytes(com.google.protobuf.ByteString value)
       Output only. Workaround steps to remediate the event impact, if available.
       
      string workaround = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for workaround to set.
      Returns:
      This builder for chaining.