Class TimelineItem

  • All Implemented Interfaces:
    com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable, TimelineItemOrBuilder

    public final class TimelineItem
    extends com.google.protobuf.GeneratedMessageV3
    implements TimelineItemOrBuilder
    Protobuf type yamcs.protobuf.timeline.TimelineItem
    See Also:
    Serialized Form
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  TimelineItem.Builder
      Protobuf type yamcs.protobuf.timeline.TimelineItem
      • Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3

        com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,​BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,​BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
      • Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite

        com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(Object obj)  
      static TimelineItem getDefaultInstance()  
      TimelineItem getDefaultInstanceForType()  
      static com.google.protobuf.Descriptors.Descriptor getDescriptor()  
      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
      com.google.protobuf.Parser<TimelineItem> getParserForType()  
      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
      int getSerializedSize()  
      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;
      com.google.protobuf.ProtocolStringList getTagsList()
      repeated string tags = 6;
      TimelineItemType getType()
      optional .yamcs.protobuf.timeline.TimelineItemType type = 3;
      com.google.protobuf.UnknownFieldSet getUnknownFields()  
      boolean hasDuration()
      optional .google.protobuf.Duration duration = 5;
      boolean hasGroupId()
      if this item is part of a group, this is the group identifier
      int hashCode()  
      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;
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()  
      boolean isInitialized()  
      static TimelineItem.Builder newBuilder()  
      static TimelineItem.Builder newBuilder​(TimelineItem prototype)  
      TimelineItem.Builder newBuilderForType()  
      protected TimelineItem.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)  
      protected Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)  
      static TimelineItem parseDelimitedFrom​(InputStream input)  
      static TimelineItem parseDelimitedFrom​(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static TimelineItem parseFrom​(byte[] data)  
      static TimelineItem parseFrom​(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static TimelineItem parseFrom​(com.google.protobuf.ByteString data)  
      static TimelineItem parseFrom​(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static TimelineItem parseFrom​(com.google.protobuf.CodedInputStream input)  
      static TimelineItem parseFrom​(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static TimelineItem parseFrom​(InputStream input)  
      static TimelineItem parseFrom​(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static TimelineItem parseFrom​(ByteBuffer data)  
      static TimelineItem parseFrom​(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static com.google.protobuf.Parser<TimelineItem> parser()  
      TimelineItem.Builder toBuilder()  
      void writeTo​(com.google.protobuf.CodedOutputStream output)  
      • Methods inherited from class com.google.protobuf.GeneratedMessageV3

        canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
      • Methods inherited from class com.google.protobuf.AbstractMessage

        findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
      • Methods inherited from class com.google.protobuf.AbstractMessageLite

        addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
      • Methods inherited from interface com.google.protobuf.MessageLite

        toByteArray, toByteString, writeDelimitedTo, writeTo
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

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

      • newInstance

        protected Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • getUnknownFields

        public final com.google.protobuf.UnknownFieldSet getUnknownFields()
        Specified by:
        getUnknownFields in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getUnknownFields in class com.google.protobuf.GeneratedMessageV3
      • getDescriptor

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

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
      • hasId

        public boolean hasId()
         Item identifier
         
        optional string id = 1;
        Specified by:
        hasId in interface TimelineItemOrBuilder
        Returns:
        Whether the id field is set.
      • getIdBytes

        public com.google.protobuf.ByteString getIdBytes()
         Item identifier
         
        optional string id = 1;
        Specified by:
        getIdBytes in interface TimelineItemOrBuilder
        Returns:
        The bytes for id.
      • hasName

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

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

        public boolean hasType()
        optional .yamcs.protobuf.timeline.TimelineItemType type = 3;
        Specified by:
        hasType in interface TimelineItemOrBuilder
        Returns:
        Whether the type field is set.
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • 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
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.google.protobuf.AbstractMessage
      • parseFrom

        public static TimelineItem parseFrom​(ByteBuffer data)
                                      throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static TimelineItem parseFrom​(ByteBuffer data,
                                             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                      throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static TimelineItem parseFrom​(com.google.protobuf.ByteString data)
                                      throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static TimelineItem parseFrom​(com.google.protobuf.ByteString data,
                                             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                      throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static TimelineItem parseFrom​(byte[] data)
                                      throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static TimelineItem parseFrom​(byte[] data,
                                             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                      throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static TimelineItem parseFrom​(com.google.protobuf.CodedInputStream input,
                                             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                      throws IOException
        Throws:
        IOException
      • newBuilderForType

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

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

        protected TimelineItem.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstance

        public static TimelineItem getDefaultInstance()
      • parser

        public static com.google.protobuf.Parser<TimelineItem> parser()
      • getParserForType

        public com.google.protobuf.Parser<TimelineItem> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

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