Class 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 Detail

      • 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.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>
      • 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
      • getIdBytes

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

        public TimelineItem.Builder setIdBytes​(com.google.protobuf.ByteString value)
         Item identifier
         
        optional string id = 1;
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
         Item name
         
        optional string name = 2;
        Specified by:
        getNameBytes in interface TimelineItemOrBuilder
      • setNameBytes

        public TimelineItem.Builder setNameBytes​(com.google.protobuf.ByteString value)
         Item name
         
        optional string name = 2;
      • hasType

        public boolean hasType()
        optional .yamcs.protobuf.timeline.TimelineItemType type = 3;
        Specified by:
        hasType in interface TimelineItemOrBuilder
      • clearType

        public TimelineItem.Builder clearType()
        optional .yamcs.protobuf.timeline.TimelineItemType type = 3;
      • hasStart

        public boolean hasStart()
        optional .google.protobuf.Timestamp start = 4;
        Specified by:
        hasStart in interface TimelineItemOrBuilder
      • getStart

        public com.google.protobuf.Timestamp getStart()
        optional .google.protobuf.Timestamp start = 4;
        Specified by:
        getStart in interface TimelineItemOrBuilder
      • 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
      • getDuration

        public com.google.protobuf.Duration getDuration()
        optional .google.protobuf.Duration duration = 5;
        Specified by:
        getDuration in interface TimelineItemOrBuilder
      • 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
      • getTagsBytes

        public com.google.protobuf.ByteString getTagsBytes​(int index)
        repeated string tags = 6;
        Specified by:
        getTagsBytes in interface TimelineItemOrBuilder
      • addTagsBytes

        public TimelineItem.Builder addTagsBytes​(com.google.protobuf.ByteString value)
        repeated string tags = 6;
      • 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
      • 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
      • 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
      • setGroupId

        public TimelineItem.Builder setGroupId​(String value)
        if this item is part of a group, this is the group identifier
         
        optional string groupId = 7;
      • clearGroupId

        public TimelineItem.Builder clearGroupId()
        if this item is part of a group, this is the group identifier
         
        optional string groupId = 7;
      • 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;
      • 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
      • 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
      • 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
      • 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>