Class TimelineItem.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<TimelineItem.Builder>
org.yamcs.protobuf.TimelineItem.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, TimelineItemOrBuilder
Enclosing class:
TimelineItem

public static final class TimelineItem.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<TimelineItem.Builder> implements TimelineItemOrBuilder
Protobuf type yamcs.protobuf.timeline.TimelineItem
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.MapField internalGetMapField(int number)
      Overrides:
      internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<TimelineItem.Builder>
    • internalGetMutableMapField

      protected com.google.protobuf.MapField internalGetMutableMapField(int number)
      Overrides:
      internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<TimelineItem.Builder>
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<TimelineItem.Builder>
    • clear

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

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

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

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

      public TimelineItem.Builder clone()
      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<TimelineItem.Builder>
    • setField

      public TimelineItem.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<TimelineItem.Builder>
    • clearField

      public TimelineItem.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<TimelineItem.Builder>
    • clearOneof

      public TimelineItem.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<TimelineItem.Builder>
    • setRepeatedField

      public TimelineItem.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<TimelineItem.Builder>
    • addRepeatedField

      public TimelineItem.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<TimelineItem.Builder>
    • mergeFrom

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

      public TimelineItem.Builder mergeFrom(TimelineItem other)
    • isInitialized

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

      public TimelineItem.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<TimelineItem.Builder>
      Throws:
      IOException
    • hasId

      public boolean hasId()
       Item identifier.
       The identifier is set and recognized by the source.
       It is possible but unlikely that two items coming from two different sources will have the same id.
       The rdb source sets the id to a UUID. 
       The commands source sets the id to the command id
       
      optional string id = 1;
      Specified by:
      hasId in interface TimelineItemOrBuilder
      Returns:
      Whether the id field is set.
    • getId

      public String getId()
       Item identifier.
       The identifier is set and recognized by the source.
       It is possible but unlikely that two items coming from two different sources will have the same id.
       The rdb source sets the id to a UUID. 
       The commands source sets the id to the command id
       
      optional string id = 1;
      Specified by:
      getId in interface TimelineItemOrBuilder
      Returns:
      The id.
    • getIdBytes

      public com.google.protobuf.ByteString getIdBytes()
       Item identifier.
       The identifier is set and recognized by the source.
       It is possible but unlikely that two items coming from two different sources will have the same id.
       The rdb source sets the id to a UUID. 
       The commands source sets the id to the command id
       
      optional string id = 1;
      Specified by:
      getIdBytes in interface TimelineItemOrBuilder
      Returns:
      The bytes for id.
    • setId

      public TimelineItem.Builder setId(String value)
       Item identifier.
       The identifier is set and recognized by the source.
       It is possible but unlikely that two items coming from two different sources will have the same id.
       The rdb source sets the id to a UUID. 
       The commands source sets the id to the command id
       
      optional string id = 1;
      Parameters:
      value - The id to set.
      Returns:
      This builder for chaining.
    • clearId

      public TimelineItem.Builder clearId()
       Item identifier.
       The identifier is set and recognized by the source.
       It is possible but unlikely that two items coming from two different sources will have the same id.
       The rdb source sets the id to a UUID. 
       The commands source sets the id to the command id
       
      optional string id = 1;
      Returns:
      This builder for chaining.
    • setIdBytes

      public TimelineItem.Builder setIdBytes(com.google.protobuf.ByteString value)
       Item identifier.
       The identifier is set and recognized by the source.
       It is possible but unlikely that two items coming from two different sources will have the same id.
       The rdb source sets the id to a UUID. 
       The commands source sets the id to the command id
       
      optional string id = 1;
      Parameters:
      value - The bytes for id to set.
      Returns:
      This builder for chaining.
    • hasName

      public boolean hasName()
       Item name
       
      optional string name = 2;
      Specified by:
      hasName in interface TimelineItemOrBuilder
      Returns:
      Whether the name field is set.
    • getName

      public String getName()
       Item name
       
      optional string name = 2;
      Specified by:
      getName in interface TimelineItemOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Item name
       
      optional string name = 2;
      Specified by:
      getNameBytes in interface TimelineItemOrBuilder
      Returns:
      The bytes for name.
    • setName

      public TimelineItem.Builder setName(String value)
       Item name
       
      optional string name = 2;
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public TimelineItem.Builder clearName()
       Item name
       
      optional string name = 2;
      Returns:
      This builder for chaining.
    • setNameBytes

      public TimelineItem.Builder setNameBytes(com.google.protobuf.ByteString value)
       Item name
       
      optional string name = 2;
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • hasType

      public boolean hasType()
      optional .yamcs.protobuf.timeline.TimelineItemType type = 3;
      Specified by:
      hasType in interface TimelineItemOrBuilder
      Returns:
      Whether the type field is set.
    • getType

      public TimelineItemType getType()
      optional .yamcs.protobuf.timeline.TimelineItemType type = 3;
      Specified by:
      getType in interface TimelineItemOrBuilder
      Returns:
      The type.
    • setType

      public TimelineItem.Builder setType(TimelineItemType value)
      optional .yamcs.protobuf.timeline.TimelineItemType type = 3;
      Parameters:
      value - The type to set.
      Returns:
      This builder for chaining.
    • clearType

      public TimelineItem.Builder clearType()
      optional .yamcs.protobuf.timeline.TimelineItemType type = 3;
      Returns:
      This builder for chaining.
    • hasStart

      public boolean hasStart()
      optional .google.protobuf.Timestamp start = 4;
      Specified by:
      hasStart in interface TimelineItemOrBuilder
      Returns:
      Whether the start field is set.
    • getStart

      public com.google.protobuf.Timestamp getStart()
      optional .google.protobuf.Timestamp start = 4;
      Specified by:
      getStart in interface TimelineItemOrBuilder
      Returns:
      The start.
    • setStart

      public TimelineItem.Builder setStart(com.google.protobuf.Timestamp value)
      optional .google.protobuf.Timestamp start = 4;
    • setStart

      public TimelineItem.Builder setStart(com.google.protobuf.Timestamp.Builder builderForValue)
      optional .google.protobuf.Timestamp start = 4;
    • mergeStart

      public TimelineItem.Builder mergeStart(com.google.protobuf.Timestamp value)
      optional .google.protobuf.Timestamp start = 4;
    • clearStart

      public TimelineItem.Builder clearStart()
      optional .google.protobuf.Timestamp start = 4;
    • getStartBuilder

      public com.google.protobuf.Timestamp.Builder getStartBuilder()
      optional .google.protobuf.Timestamp start = 4;
    • getStartOrBuilder

      public com.google.protobuf.TimestampOrBuilder getStartOrBuilder()
      optional .google.protobuf.Timestamp start = 4;
      Specified by:
      getStartOrBuilder in interface TimelineItemOrBuilder
    • hasDuration

      public boolean hasDuration()
      optional .google.protobuf.Duration duration = 5;
      Specified by:
      hasDuration in interface TimelineItemOrBuilder
      Returns:
      Whether the duration field is set.
    • getDuration

      public com.google.protobuf.Duration getDuration()
      optional .google.protobuf.Duration duration = 5;
      Specified by:
      getDuration in interface TimelineItemOrBuilder
      Returns:
      The duration.
    • setDuration

      public TimelineItem.Builder setDuration(com.google.protobuf.Duration value)
      optional .google.protobuf.Duration duration = 5;
    • setDuration

      public TimelineItem.Builder setDuration(com.google.protobuf.Duration.Builder builderForValue)
      optional .google.protobuf.Duration duration = 5;
    • mergeDuration

      public TimelineItem.Builder mergeDuration(com.google.protobuf.Duration value)
      optional .google.protobuf.Duration duration = 5;
    • clearDuration

      public TimelineItem.Builder clearDuration()
      optional .google.protobuf.Duration duration = 5;
    • getDurationBuilder

      public com.google.protobuf.Duration.Builder getDurationBuilder()
      optional .google.protobuf.Duration duration = 5;
    • getDurationOrBuilder

      public com.google.protobuf.DurationOrBuilder getDurationOrBuilder()
      optional .google.protobuf.Duration duration = 5;
      Specified by:
      getDurationOrBuilder in interface TimelineItemOrBuilder
    • getTagsList

      public com.google.protobuf.ProtocolStringList getTagsList()
      repeated string tags = 6;
      Specified by:
      getTagsList in interface TimelineItemOrBuilder
      Returns:
      A list containing the tags.
    • getTagsCount

      public int getTagsCount()
      repeated string tags = 6;
      Specified by:
      getTagsCount in interface TimelineItemOrBuilder
      Returns:
      The count of tags.
    • getTags

      public String getTags(int index)
      repeated string tags = 6;
      Specified by:
      getTags in interface TimelineItemOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The tags at the given index.
    • getTagsBytes

      public com.google.protobuf.ByteString getTagsBytes(int index)
      repeated string tags = 6;
      Specified by:
      getTagsBytes in interface TimelineItemOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the tags at the given index.
    • setTags

      public TimelineItem.Builder setTags(int index, String value)
      repeated string tags = 6;
      Parameters:
      index - The index to set the value at.
      value - The tags to set.
      Returns:
      This builder for chaining.
    • addTags

      public TimelineItem.Builder addTags(String value)
      repeated string tags = 6;
      Parameters:
      value - The tags to add.
      Returns:
      This builder for chaining.
    • addAllTags

      public TimelineItem.Builder addAllTags(Iterable<String> values)
      repeated string tags = 6;
      Parameters:
      values - The tags to add.
      Returns:
      This builder for chaining.
    • clearTags

      public TimelineItem.Builder clearTags()
      repeated string tags = 6;
      Returns:
      This builder for chaining.
    • addTagsBytes

      public TimelineItem.Builder addTagsBytes(com.google.protobuf.ByteString value)
      repeated string tags = 6;
      Parameters:
      value - The bytes of the tags to add.
      Returns:
      This builder for chaining.
    • hasGroupId

      public boolean hasGroupId()
       If this item is part of a group, this is the group identifier
       
      optional string groupId = 7;
      Specified by:
      hasGroupId in interface TimelineItemOrBuilder
      Returns:
      Whether the groupId field is set.
    • getGroupId

      public String getGroupId()
       If this item is part of a group, this is the group identifier
       
      optional string groupId = 7;
      Specified by:
      getGroupId in interface TimelineItemOrBuilder
      Returns:
      The groupId.
    • getGroupIdBytes

      public com.google.protobuf.ByteString getGroupIdBytes()
       If this item is part of a group, this is the group identifier
       
      optional string groupId = 7;
      Specified by:
      getGroupIdBytes in interface TimelineItemOrBuilder
      Returns:
      The bytes for groupId.
    • setGroupId

      public TimelineItem.Builder setGroupId(String value)
       If this item is part of a group, this is the group identifier
       
      optional string groupId = 7;
      Parameters:
      value - The groupId to set.
      Returns:
      This builder for chaining.
    • clearGroupId

      public TimelineItem.Builder clearGroupId()
       If this item is part of a group, this is the group identifier
       
      optional string groupId = 7;
      Returns:
      This builder for chaining.
    • setGroupIdBytes

      public TimelineItem.Builder setGroupIdBytes(com.google.protobuf.ByteString value)
       If this item is part of a group, this is the group identifier
       
      optional string groupId = 7;
      Parameters:
      value - The bytes for groupId to set.
      Returns:
      This builder for chaining.
    • hasRelativeTime

      public boolean hasRelativeTime()
      if this item time specification is relative to another item, relativeTime contains a reference
       to that item as well as the relative start (the duration is the same as given by the duration above)
      note that start of the item will be computed by the server based on the relativeTime before sending the item to the client
       
      optional .yamcs.protobuf.timeline.RelativeTime relativeTime = 8;
      Specified by:
      hasRelativeTime in interface TimelineItemOrBuilder
      Returns:
      Whether the relativeTime field is set.
    • getRelativeTime

      public RelativeTime getRelativeTime()
      if this item time specification is relative to another item, relativeTime contains a reference
       to that item as well as the relative start (the duration is the same as given by the duration above)
      note that start of the item will be computed by the server based on the relativeTime before sending the item to the client
       
      optional .yamcs.protobuf.timeline.RelativeTime relativeTime = 8;
      Specified by:
      getRelativeTime in interface TimelineItemOrBuilder
      Returns:
      The relativeTime.
    • setRelativeTime

      public TimelineItem.Builder setRelativeTime(RelativeTime value)
      if this item time specification is relative to another item, relativeTime contains a reference
       to that item as well as the relative start (the duration is the same as given by the duration above)
      note that start of the item will be computed by the server based on the relativeTime before sending the item to the client
       
      optional .yamcs.protobuf.timeline.RelativeTime relativeTime = 8;
    • setRelativeTime

      public TimelineItem.Builder setRelativeTime(RelativeTime.Builder builderForValue)
      if this item time specification is relative to another item, relativeTime contains a reference
       to that item as well as the relative start (the duration is the same as given by the duration above)
      note that start of the item will be computed by the server based on the relativeTime before sending the item to the client
       
      optional .yamcs.protobuf.timeline.RelativeTime relativeTime = 8;
    • mergeRelativeTime

      public TimelineItem.Builder mergeRelativeTime(RelativeTime value)
      if this item time specification is relative to another item, relativeTime contains a reference
       to that item as well as the relative start (the duration is the same as given by the duration above)
      note that start of the item will be computed by the server based on the relativeTime before sending the item to the client
       
      optional .yamcs.protobuf.timeline.RelativeTime relativeTime = 8;
    • clearRelativeTime

      public TimelineItem.Builder clearRelativeTime()
      if this item time specification is relative to another item, relativeTime contains a reference
       to that item as well as the relative start (the duration is the same as given by the duration above)
      note that start of the item will be computed by the server based on the relativeTime before sending the item to the client
       
      optional .yamcs.protobuf.timeline.RelativeTime relativeTime = 8;
    • getRelativeTimeBuilder

      public RelativeTime.Builder getRelativeTimeBuilder()
      if this item time specification is relative to another item, relativeTime contains a reference
       to that item as well as the relative start (the duration is the same as given by the duration above)
      note that start of the item will be computed by the server based on the relativeTime before sending the item to the client
       
      optional .yamcs.protobuf.timeline.RelativeTime relativeTime = 8;
    • getRelativeTimeOrBuilder

      public RelativeTimeOrBuilder getRelativeTimeOrBuilder()
      if this item time specification is relative to another item, relativeTime contains a reference
       to that item as well as the relative start (the duration is the same as given by the duration above)
      note that start of the item will be computed by the server based on the relativeTime before sending the item to the client
       
      optional .yamcs.protobuf.timeline.RelativeTime relativeTime = 8;
      Specified by:
      getRelativeTimeOrBuilder in interface TimelineItemOrBuilder
    • hasDescription

      public boolean hasDescription()
       Item description
       
      optional string description = 9;
      Specified by:
      hasDescription in interface TimelineItemOrBuilder
      Returns:
      Whether the description field is set.
    • getDescription

      public String getDescription()
       Item description
       
      optional string description = 9;
      Specified by:
      getDescription in interface TimelineItemOrBuilder
      Returns:
      The description.
    • getDescriptionBytes

      public com.google.protobuf.ByteString getDescriptionBytes()
       Item description
       
      optional string description = 9;
      Specified by:
      getDescriptionBytes in interface TimelineItemOrBuilder
      Returns:
      The bytes for description.
    • setDescription

      public TimelineItem.Builder setDescription(String value)
       Item description
       
      optional string description = 9;
      Parameters:
      value - The description to set.
      Returns:
      This builder for chaining.
    • clearDescription

      public TimelineItem.Builder clearDescription()
       Item description
       
      optional string description = 9;
      Returns:
      This builder for chaining.
    • setDescriptionBytes

      public TimelineItem.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
       Item description
       
      optional string description = 9;
      Parameters:
      value - The bytes for description to set.
      Returns:
      This builder for chaining.
    • getPropertiesCount

      public int getPropertiesCount()
      Description copied from interface: TimelineItemOrBuilder
       Additional properties used by yamcs-web to render this item
       
      map<string, string> properties = 14;
      Specified by:
      getPropertiesCount in interface TimelineItemOrBuilder
    • containsProperties

      public boolean containsProperties(String key)
       Additional properties used by yamcs-web to render this item
       
      map<string, string> properties = 14;
      Specified by:
      containsProperties in interface TimelineItemOrBuilder
    • getProperties

      @Deprecated public Map<String,String> getProperties()
      Deprecated.
      Use getPropertiesMap() instead.
      Specified by:
      getProperties in interface TimelineItemOrBuilder
    • getPropertiesMap

      public Map<String,String> getPropertiesMap()
       Additional properties used by yamcs-web to render this item
       
      map<string, string> properties = 14;
      Specified by:
      getPropertiesMap in interface TimelineItemOrBuilder
    • getPropertiesOrDefault

      public String getPropertiesOrDefault(String key, String defaultValue)
       Additional properties used by yamcs-web to render this item
       
      map<string, string> properties = 14;
      Specified by:
      getPropertiesOrDefault in interface TimelineItemOrBuilder
    • getPropertiesOrThrow

      public String getPropertiesOrThrow(String key)
       Additional properties used by yamcs-web to render this item
       
      map<string, string> properties = 14;
      Specified by:
      getPropertiesOrThrow in interface TimelineItemOrBuilder
    • clearProperties

      public TimelineItem.Builder clearProperties()
    • removeProperties

      public TimelineItem.Builder removeProperties(String key)
       Additional properties used by yamcs-web to render this item
       
      map<string, string> properties = 14;
    • getMutableProperties

      @Deprecated public Map<String,String> getMutableProperties()
      Deprecated.
      Use alternate mutation accessors instead.
    • putProperties

      public TimelineItem.Builder putProperties(String key, String value)
       Additional properties used by yamcs-web to render this item
       
      map<string, string> properties = 14;
    • putAllProperties

      public TimelineItem.Builder putAllProperties(Map<String,String> values)
       Additional properties used by yamcs-web to render this item
       
      map<string, string> properties = 14;
    • hasStatus

      public boolean hasStatus()
       For activities: execution status
       
      optional .yamcs.protobuf.timeline.ExecutionStatus status = 10;
      Specified by:
      hasStatus in interface TimelineItemOrBuilder
      Returns:
      Whether the status field is set.
    • getStatus

      public ExecutionStatus getStatus()
       For activities: execution status
       
      optional .yamcs.protobuf.timeline.ExecutionStatus status = 10;
      Specified by:
      getStatus in interface TimelineItemOrBuilder
      Returns:
      The status.
    • setStatus

      public TimelineItem.Builder setStatus(ExecutionStatus value)
       For activities: execution status
       
      optional .yamcs.protobuf.timeline.ExecutionStatus status = 10;
      Parameters:
      value - The status to set.
      Returns:
      This builder for chaining.
    • clearStatus

      public TimelineItem.Builder clearStatus()
       For activities: execution status
       
      optional .yamcs.protobuf.timeline.ExecutionStatus status = 10;
      Returns:
      This builder for chaining.
    • hasFailureReason

      public boolean hasFailureReason()
       For activities: if the status is FAILED or ABORTED, this may indicate the reason
       some information may also be available in the item log 
       
      optional string failureReason = 11;
      Specified by:
      hasFailureReason in interface TimelineItemOrBuilder
      Returns:
      Whether the failureReason field is set.
    • getFailureReason

      public String getFailureReason()
       For activities: if the status is FAILED or ABORTED, this may indicate the reason
       some information may also be available in the item log 
       
      optional string failureReason = 11;
      Specified by:
      getFailureReason in interface TimelineItemOrBuilder
      Returns:
      The failureReason.
    • getFailureReasonBytes

      public com.google.protobuf.ByteString getFailureReasonBytes()
       For activities: if the status is FAILED or ABORTED, this may indicate the reason
       some information may also be available in the item log 
       
      optional string failureReason = 11;
      Specified by:
      getFailureReasonBytes in interface TimelineItemOrBuilder
      Returns:
      The bytes for failureReason.
    • setFailureReason

      public TimelineItem.Builder setFailureReason(String value)
       For activities: if the status is FAILED or ABORTED, this may indicate the reason
       some information may also be available in the item log 
       
      optional string failureReason = 11;
      Parameters:
      value - The failureReason to set.
      Returns:
      This builder for chaining.
    • clearFailureReason

      public TimelineItem.Builder clearFailureReason()
       For activities: if the status is FAILED or ABORTED, this may indicate the reason
       some information may also be available in the item log 
       
      optional string failureReason = 11;
      Returns:
      This builder for chaining.
    • setFailureReasonBytes

      public TimelineItem.Builder setFailureReasonBytes(com.google.protobuf.ByteString value)
       For activities: if the status is FAILED or ABORTED, this may indicate the reason
       some information may also be available in the item log 
       
      optional string failureReason = 11;
      Parameters:
      value - The bytes for failureReason to set.
      Returns:
      This builder for chaining.
    • hasActivityDefinition

      public boolean hasActivityDefinition()
       Activity definition associated to this item.
       Set if ``type`` is ACTIVITY.
       
      optional .yamcs.protobuf.activities.ActivityDefinitionInfo activityDefinition = 13;
      Specified by:
      hasActivityDefinition in interface TimelineItemOrBuilder
      Returns:
      Whether the activityDefinition field is set.
    • getActivityDefinition

      public ActivityDefinitionInfo getActivityDefinition()
       Activity definition associated to this item.
       Set if ``type`` is ACTIVITY.
       
      optional .yamcs.protobuf.activities.ActivityDefinitionInfo activityDefinition = 13;
      Specified by:
      getActivityDefinition in interface TimelineItemOrBuilder
      Returns:
      The activityDefinition.
    • setActivityDefinition

      public TimelineItem.Builder setActivityDefinition(ActivityDefinitionInfo value)
       Activity definition associated to this item.
       Set if ``type`` is ACTIVITY.
       
      optional .yamcs.protobuf.activities.ActivityDefinitionInfo activityDefinition = 13;
    • setActivityDefinition

      public TimelineItem.Builder setActivityDefinition(ActivityDefinitionInfo.Builder builderForValue)
       Activity definition associated to this item.
       Set if ``type`` is ACTIVITY.
       
      optional .yamcs.protobuf.activities.ActivityDefinitionInfo activityDefinition = 13;
    • mergeActivityDefinition

      public TimelineItem.Builder mergeActivityDefinition(ActivityDefinitionInfo value)
       Activity definition associated to this item.
       Set if ``type`` is ACTIVITY.
       
      optional .yamcs.protobuf.activities.ActivityDefinitionInfo activityDefinition = 13;
    • clearActivityDefinition

      public TimelineItem.Builder clearActivityDefinition()
       Activity definition associated to this item.
       Set if ``type`` is ACTIVITY.
       
      optional .yamcs.protobuf.activities.ActivityDefinitionInfo activityDefinition = 13;
    • getActivityDefinitionBuilder

      public ActivityDefinitionInfo.Builder getActivityDefinitionBuilder()
       Activity definition associated to this item.
       Set if ``type`` is ACTIVITY.
       
      optional .yamcs.protobuf.activities.ActivityDefinitionInfo activityDefinition = 13;
    • getActivityDefinitionOrBuilder

      public ActivityDefinitionInfoOrBuilder getActivityDefinitionOrBuilder()
       Activity definition associated to this item.
       Set if ``type`` is ACTIVITY.
       
      optional .yamcs.protobuf.activities.ActivityDefinitionInfo activityDefinition = 13;
      Specified by:
      getActivityDefinitionOrBuilder in interface TimelineItemOrBuilder
    • getRunsList

      public com.google.protobuf.ProtocolStringList getRunsList()
       Identifiers of activity runs matching this item.
       Set if ``type`` is ACTIVITY.
       
      repeated string runs = 15;
      Specified by:
      getRunsList in interface TimelineItemOrBuilder
      Returns:
      A list containing the runs.
    • getRunsCount

      public int getRunsCount()
       Identifiers of activity runs matching this item.
       Set if ``type`` is ACTIVITY.
       
      repeated string runs = 15;
      Specified by:
      getRunsCount in interface TimelineItemOrBuilder
      Returns:
      The count of runs.
    • getRuns

      public String getRuns(int index)
       Identifiers of activity runs matching this item.
       Set if ``type`` is ACTIVITY.
       
      repeated string runs = 15;
      Specified by:
      getRuns in interface TimelineItemOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The runs at the given index.
    • getRunsBytes

      public com.google.protobuf.ByteString getRunsBytes(int index)
       Identifiers of activity runs matching this item.
       Set if ``type`` is ACTIVITY.
       
      repeated string runs = 15;
      Specified by:
      getRunsBytes in interface TimelineItemOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the runs at the given index.
    • setRuns

      public TimelineItem.Builder setRuns(int index, String value)
       Identifiers of activity runs matching this item.
       Set if ``type`` is ACTIVITY.
       
      repeated string runs = 15;
      Parameters:
      index - The index to set the value at.
      value - The runs to set.
      Returns:
      This builder for chaining.
    • addRuns

      public TimelineItem.Builder addRuns(String value)
       Identifiers of activity runs matching this item.
       Set if ``type`` is ACTIVITY.
       
      repeated string runs = 15;
      Parameters:
      value - The runs to add.
      Returns:
      This builder for chaining.
    • addAllRuns

      public TimelineItem.Builder addAllRuns(Iterable<String> values)
       Identifiers of activity runs matching this item.
       Set if ``type`` is ACTIVITY.
       
      repeated string runs = 15;
      Parameters:
      values - The runs to add.
      Returns:
      This builder for chaining.
    • clearRuns

      public TimelineItem.Builder clearRuns()
       Identifiers of activity runs matching this item.
       Set if ``type`` is ACTIVITY.
       
      repeated string runs = 15;
      Returns:
      This builder for chaining.
    • addRunsBytes

      public TimelineItem.Builder addRunsBytes(com.google.protobuf.ByteString value)
       Identifiers of activity runs matching this item.
       Set if ``type`` is ACTIVITY.
       
      repeated string runs = 15;
      Parameters:
      value - The bytes of the runs to add.
      Returns:
      This builder for chaining.
    • setUnknownFields

      public final TimelineItem.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<TimelineItem.Builder>
    • mergeUnknownFields

      public final TimelineItem.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<TimelineItem.Builder>