Interface TimelineItemOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    TimelineItem, TimelineItem.Builder

    public interface TimelineItemOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      com.google.protobuf.Duration getDuration()
      optional .google.protobuf.Duration duration = 5;
      com.google.protobuf.DurationOrBuilder getDurationOrBuilder()
      optional .google.protobuf.Duration duration = 5;
      String getGroupId()
      if this item is part of a group, this is the group identifier
      com.google.protobuf.ByteString getGroupIdBytes()
      if this item is part of a group, this is the group identifier
      String getId()
      Item identifier
      com.google.protobuf.ByteString getIdBytes()
      Item identifier
      String getName()
      Item name
      com.google.protobuf.ByteString getNameBytes()
      Item name
      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
      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
      com.google.protobuf.Timestamp getStart()
      optional .google.protobuf.Timestamp start = 4;
      com.google.protobuf.TimestampOrBuilder getStartOrBuilder()
      optional .google.protobuf.Timestamp start = 4;
      String getTags​(int index)
      repeated string tags = 6;
      com.google.protobuf.ByteString getTagsBytes​(int index)
      repeated string tags = 6;
      int getTagsCount()
      repeated string tags = 6;
      List<String> getTagsList()
      repeated string tags = 6;
      TimelineItemType getType()
      optional .yamcs.protobuf.timeline.TimelineItemType type = 3;
      boolean hasDuration()
      optional .google.protobuf.Duration duration = 5;
      boolean hasGroupId()
      if this item is part of a group, this is the group identifier
      boolean hasId()
      Item identifier
      boolean hasName()
      Item name
      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
      boolean hasStart()
      optional .google.protobuf.Timestamp start = 4;
      boolean hasType()
      optional .yamcs.protobuf.timeline.TimelineItemType type = 3;
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • hasId

        boolean hasId()
         Item identifier
         
        optional string id = 1;
        Returns:
        Whether the id field is set.
      • getId

        String getId()
         Item identifier
         
        optional string id = 1;
        Returns:
        The id.
      • getIdBytes

        com.google.protobuf.ByteString getIdBytes()
         Item identifier
         
        optional string id = 1;
        Returns:
        The bytes for id.
      • hasName

        boolean hasName()
         Item name
         
        optional string name = 2;
        Returns:
        Whether the name field is set.
      • getName

        String getName()
         Item name
         
        optional string name = 2;
        Returns:
        The name.
      • getNameBytes

        com.google.protobuf.ByteString getNameBytes()
         Item name
         
        optional string name = 2;
        Returns:
        The bytes for name.
      • hasType

        boolean hasType()
        optional .yamcs.protobuf.timeline.TimelineItemType type = 3;
        Returns:
        Whether the type field is set.
      • getType

        TimelineItemType getType()
        optional .yamcs.protobuf.timeline.TimelineItemType type = 3;
        Returns:
        The type.
      • hasStart

        boolean hasStart()
        optional .google.protobuf.Timestamp start = 4;
        Returns:
        Whether the start field is set.
      • getStart

        com.google.protobuf.Timestamp getStart()
        optional .google.protobuf.Timestamp start = 4;
        Returns:
        The start.
      • getStartOrBuilder

        com.google.protobuf.TimestampOrBuilder getStartOrBuilder()
        optional .google.protobuf.Timestamp start = 4;
      • hasDuration

        boolean hasDuration()
        optional .google.protobuf.Duration duration = 5;
        Returns:
        Whether the duration field is set.
      • getDuration

        com.google.protobuf.Duration getDuration()
        optional .google.protobuf.Duration duration = 5;
        Returns:
        The duration.
      • getDurationOrBuilder

        com.google.protobuf.DurationOrBuilder getDurationOrBuilder()
        optional .google.protobuf.Duration duration = 5;
      • getTagsList

        List<String> getTagsList()
        repeated string tags = 6;
        Returns:
        A list containing the tags.
      • getTagsCount

        int getTagsCount()
        repeated string tags = 6;
        Returns:
        The count of tags.
      • getTags

        String getTags​(int index)
        repeated string tags = 6;
        Parameters:
        index - The index of the element to return.
        Returns:
        The tags at the given index.
      • getTagsBytes

        com.google.protobuf.ByteString getTagsBytes​(int index)
        repeated string tags = 6;
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the tags at the given index.
      • hasGroupId

        boolean hasGroupId()
        if this item is part of a group, this is the group identifier
         
        optional string groupId = 7;
        Returns:
        Whether the groupId field is set.
      • getGroupId

        String getGroupId()
        if this item is part of a group, this is the group identifier
         
        optional string groupId = 7;
        Returns:
        The groupId.
      • getGroupIdBytes

        com.google.protobuf.ByteString getGroupIdBytes()
        if this item is part of a group, this is the group identifier
         
        optional string groupId = 7;
        Returns:
        The bytes for groupId.
      • hasRelativeTime

        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;
        Returns:
        Whether the relativeTime field is set.
      • getRelativeTime

        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;
        Returns:
        The relativeTime.
      • getRelativeTimeOrBuilder

        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;