Class TimelineBand.Builder

  • All Implemented Interfaces:
    com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, TimelineBandOrBuilder
    Enclosing class:
    TimelineBand

    public static final class TimelineBand.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<TimelineBand.Builder>
    implements TimelineBandOrBuilder
    Protobuf type yamcs.protobuf.timeline.TimelineBand
    • Method Detail

      • 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<TimelineBand.Builder>
      • internalGetMutableMapField

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

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

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

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

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

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

        public TimelineBand.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<TimelineBand.Builder>
      • setField

        public TimelineBand.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<TimelineBand.Builder>
      • clearField

        public TimelineBand.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<TimelineBand.Builder>
      • clearOneof

        public TimelineBand.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<TimelineBand.Builder>
      • setRepeatedField

        public TimelineBand.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<TimelineBand.Builder>
      • addRepeatedField

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

        public TimelineBand.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<TimelineBand.Builder>
      • isInitialized

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

        public TimelineBand.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<TimelineBand.Builder>
        Throws:
        IOException
      • getInstanceBytes

        public com.google.protobuf.ByteString getInstanceBytes()
         Yamcs instance name
         
        optional string instance = 1;
        Specified by:
        getInstanceBytes in interface TimelineBandOrBuilder
      • clearInstance

        public TimelineBand.Builder clearInstance()
         Yamcs instance name
         
        optional string instance = 1;
      • setInstanceBytes

        public TimelineBand.Builder setInstanceBytes​(com.google.protobuf.ByteString value)
         Yamcs instance name
         
        optional string instance = 1;
      • getIdBytes

        public com.google.protobuf.ByteString getIdBytes()
         Band identifier
         
        optional string id = 2;
        Specified by:
        getIdBytes in interface TimelineBandOrBuilder
      • setIdBytes

        public TimelineBand.Builder setIdBytes​(com.google.protobuf.ByteString value)
         Band identifier
         
        optional string id = 2;
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
         Band name
         
        optional string name = 3;
        Specified by:
        getNameBytes in interface TimelineBandOrBuilder
      • setNameBytes

        public TimelineBand.Builder setNameBytes​(com.google.protobuf.ByteString value)
         Band name
         
        optional string name = 3;
      • hasUsername

        public boolean hasUsername()
        user who has created the band
         
        optional string username = 4;
        Specified by:
        hasUsername in interface TimelineBandOrBuilder
      • getUsernameBytes

        public com.google.protobuf.ByteString getUsernameBytes()
        user who has created the band
         
        optional string username = 4;
        Specified by:
        getUsernameBytes in interface TimelineBandOrBuilder
      • setUsername

        public TimelineBand.Builder setUsername​(String value)
        user who has created the band
         
        optional string username = 4;
      • clearUsername

        public TimelineBand.Builder clearUsername()
        user who has created the band
         
        optional string username = 4;
      • setUsernameBytes

        public TimelineBand.Builder setUsernameBytes​(com.google.protobuf.ByteString value)
        user who has created the band
         
        optional string username = 4;
      • hasShared

        public boolean hasShared()
        if true, all users have access to this band, otherwise only the user who has created it
         
        optional bool shared = 5;
        Specified by:
        hasShared in interface TimelineBandOrBuilder
      • getShared

        public boolean getShared()
        if true, all users have access to this band, otherwise only the user who has created it
         
        optional bool shared = 5;
        Specified by:
        getShared in interface TimelineBandOrBuilder
      • setShared

        public TimelineBand.Builder setShared​(boolean value)
        if true, all users have access to this band, otherwise only the user who has created it
         
        optional bool shared = 5;
      • clearShared

        public TimelineBand.Builder clearShared()
        if true, all users have access to this band, otherwise only the user who has created it
         
        optional bool shared = 5;
      • hasSource

        public boolean hasSource()
        the band contains only items from this source
         
        optional string source = 6;
        Specified by:
        hasSource in interface TimelineBandOrBuilder
      • getSourceBytes

        public com.google.protobuf.ByteString getSourceBytes()
        the band contains only items from this source
         
        optional string source = 6;
        Specified by:
        getSourceBytes in interface TimelineBandOrBuilder
      • setSource

        public TimelineBand.Builder setSource​(String value)
        the band contains only items from this source
         
        optional string source = 6;
      • clearSource

        public TimelineBand.Builder clearSource()
        the band contains only items from this source
         
        optional string source = 6;
      • setSourceBytes

        public TimelineBand.Builder setSourceBytes​(com.google.protobuf.ByteString value)
        the band contains only items from this source
         
        optional string source = 6;
      • getTagsList

        public com.google.protobuf.ProtocolStringList getTagsList()
        the band contains only items with these tags; if the list is empty, then all items from the given source are part of the band
         
        repeated string tags = 7;
        Specified by:
        getTagsList in interface TimelineBandOrBuilder
      • getTagsCount

        public int getTagsCount()
        the band contains only items with these tags; if the list is empty, then all items from the given source are part of the band
         
        repeated string tags = 7;
        Specified by:
        getTagsCount in interface TimelineBandOrBuilder
      • getTags

        public String getTags​(int index)
        the band contains only items with these tags; if the list is empty, then all items from the given source are part of the band
         
        repeated string tags = 7;
        Specified by:
        getTags in interface TimelineBandOrBuilder
      • getTagsBytes

        public com.google.protobuf.ByteString getTagsBytes​(int index)
        the band contains only items with these tags; if the list is empty, then all items from the given source are part of the band
         
        repeated string tags = 7;
        Specified by:
        getTagsBytes in interface TimelineBandOrBuilder
      • setTags

        public TimelineBand.Builder setTags​(int index,
                                            String value)
        the band contains only items with these tags; if the list is empty, then all items from the given source are part of the band
         
        repeated string tags = 7;
      • addTags

        public TimelineBand.Builder addTags​(String value)
        the band contains only items with these tags; if the list is empty, then all items from the given source are part of the band
         
        repeated string tags = 7;
      • addAllTags

        public TimelineBand.Builder addAllTags​(Iterable<String> values)
        the band contains only items with these tags; if the list is empty, then all items from the given source are part of the band
         
        repeated string tags = 7;
      • clearTags

        public TimelineBand.Builder clearTags()
        the band contains only items with these tags; if the list is empty, then all items from the given source are part of the band
         
        repeated string tags = 7;
      • addTagsBytes

        public TimelineBand.Builder addTagsBytes​(com.google.protobuf.ByteString value)
        the band contains only items with these tags; if the list is empty, then all items from the given source are part of the band
         
        repeated string tags = 7;
      • hasType

        public boolean hasType()
         Type of band
         
        optional .yamcs.protobuf.timeline.TimelineBandType type = 9;
        Specified by:
        hasType in interface TimelineBandOrBuilder
      • clearType

        public TimelineBand.Builder clearType()
         Type of band
         
        optional .yamcs.protobuf.timeline.TimelineBandType type = 9;
      • getDescriptionBytes

        public com.google.protobuf.ByteString getDescriptionBytes()
         Band description
         
        optional string description = 10;
        Specified by:
        getDescriptionBytes in interface TimelineBandOrBuilder
      • setDescription

        public TimelineBand.Builder setDescription​(String value)
         Band description
         
        optional string description = 10;
      • clearDescription

        public TimelineBand.Builder clearDescription()
         Band description
         
        optional string description = 10;
      • setDescriptionBytes

        public TimelineBand.Builder setDescriptionBytes​(com.google.protobuf.ByteString value)
         Band description
         
        optional string description = 10;
      • containsProperties

        public boolean containsProperties​(String key)
         Additional properties used by yamcs-web to render this band
         
        map<string, string> properties = 11;
        Specified by:
        containsProperties in interface TimelineBandOrBuilder
      • removeProperties

        public TimelineBand.Builder removeProperties​(String key)
         Additional properties used by yamcs-web to render this band
         
        map<string, string> properties = 11;
      • getMutableProperties

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

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

        public TimelineBand.Builder putAllProperties​(Map<String,​String> values)
         Additional properties used by yamcs-web to render this band
         
        map<string, string> properties = 11;
      • setUnknownFields

        public final TimelineBand.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<TimelineBand.Builder>
      • mergeUnknownFields

        public final TimelineBand.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<TimelineBand.Builder>