Class TimelineBand

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
org.yamcs.protobuf.TimelineBand
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable, TimelineBandOrBuilder

public final class TimelineBand extends com.google.protobuf.GeneratedMessageV3 implements TimelineBandOrBuilder
Protobuf type yamcs.protobuf.timeline.TimelineBand
See Also:
  • Field Details

  • Method Details

    • 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()
    • internalGetMapField

      protected com.google.protobuf.MapField internalGetMapField(int number)
      Overrides:
      internalGetMapField in class com.google.protobuf.GeneratedMessageV3
    • internalGetFieldAccessorTable

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

      public boolean hasInstance()
       Yamcs instance name
       
      optional string instance = 1;
      Specified by:
      hasInstance in interface TimelineBandOrBuilder
      Returns:
      Whether the instance field is set.
    • getInstance

      public String getInstance()
       Yamcs instance name
       
      optional string instance = 1;
      Specified by:
      getInstance in interface TimelineBandOrBuilder
      Returns:
      The instance.
    • getInstanceBytes

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

      public boolean hasId()
       Band identifier (UUID)
       
      optional string id = 2;
      Specified by:
      hasId in interface TimelineBandOrBuilder
      Returns:
      Whether the id field is set.
    • getId

      public String getId()
       Band identifier (UUID)
       
      optional string id = 2;
      Specified by:
      getId in interface TimelineBandOrBuilder
      Returns:
      The id.
    • getIdBytes

      public com.google.protobuf.ByteString getIdBytes()
       Band identifier (UUID)
       
      optional string id = 2;
      Specified by:
      getIdBytes in interface TimelineBandOrBuilder
      Returns:
      The bytes for id.
    • hasName

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

      public String getName()
       Band name
       
      optional string name = 3;
      Specified by:
      getName in interface TimelineBandOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Band name
       
      optional string name = 3;
      Specified by:
      getNameBytes in interface TimelineBandOrBuilder
      Returns:
      The bytes for name.
    • hasUsername

      public boolean hasUsername()
       User who has created the band
       
      optional string username = 4;
      Specified by:
      hasUsername in interface TimelineBandOrBuilder
      Returns:
      Whether the username field is set.
    • getUsername

      public String getUsername()
       User who has created the band
       
      optional string username = 4;
      Specified by:
      getUsername in interface TimelineBandOrBuilder
      Returns:
      The username.
    • getUsernameBytes

      public com.google.protobuf.ByteString getUsernameBytes()
       User who has created the band
       
      optional string username = 4;
      Specified by:
      getUsernameBytes in interface TimelineBandOrBuilder
      Returns:
      The bytes for username.
    • 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
      Returns:
      Whether the shared field is set.
    • 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
      Returns:
      The shared.
    • hasSource

      public boolean hasSource()
      the band contains only items from this source
       
      optional string source = 6;
      Specified by:
      hasSource in interface TimelineBandOrBuilder
      Returns:
      Whether the source field is set.
    • getSource

      public String getSource()
      the band contains only items from this source
       
      optional string source = 6;
      Specified by:
      getSource in interface TimelineBandOrBuilder
      Returns:
      The source.
    • 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
      Returns:
      The bytes for source.
    • getTagsList

      @Deprecated public com.google.protobuf.ProtocolStringList getTagsList()
      Deprecated.
      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
      this is deprecated, the filters below should be used to select the items
       
      repeated string tags = 7 [deprecated = true];
      Specified by:
      getTagsList in interface TimelineBandOrBuilder
      Returns:
      A list containing the tags.
    • getTagsCount

      @Deprecated public int getTagsCount()
      Deprecated.
      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
      this is deprecated, the filters below should be used to select the items
       
      repeated string tags = 7 [deprecated = true];
      Specified by:
      getTagsCount in interface TimelineBandOrBuilder
      Returns:
      The count of tags.
    • getTags

      @Deprecated public String getTags(int index)
      Deprecated.
      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
      this is deprecated, the filters below should be used to select the items
       
      repeated string tags = 7 [deprecated = true];
      Specified by:
      getTags in interface TimelineBandOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The tags at the given index.
    • getTagsBytes

      @Deprecated public com.google.protobuf.ByteString getTagsBytes(int index)
      Deprecated.
      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
      this is deprecated, the filters below should be used to select the items
       
      repeated string tags = 7 [deprecated = true];
      Specified by:
      getTagsBytes in interface TimelineBandOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the tags at the given index.
    • getFiltersList

      public List<ItemFilter> getFiltersList()
      The filters are to be considered in an AND manner.
       An item will be part of the band if it matches all the filters.
       If the list is empty, then all items from the given source are part of the band
       
      repeated .yamcs.protobuf.timeline.ItemFilter filters = 8;
      Specified by:
      getFiltersList in interface TimelineBandOrBuilder
    • getFiltersOrBuilderList

      public List<? extends ItemFilterOrBuilder> getFiltersOrBuilderList()
      The filters are to be considered in an AND manner.
       An item will be part of the band if it matches all the filters.
       If the list is empty, then all items from the given source are part of the band
       
      repeated .yamcs.protobuf.timeline.ItemFilter filters = 8;
      Specified by:
      getFiltersOrBuilderList in interface TimelineBandOrBuilder
    • getFiltersCount

      public int getFiltersCount()
      The filters are to be considered in an AND manner.
       An item will be part of the band if it matches all the filters.
       If the list is empty, then all items from the given source are part of the band
       
      repeated .yamcs.protobuf.timeline.ItemFilter filters = 8;
      Specified by:
      getFiltersCount in interface TimelineBandOrBuilder
    • getFilters

      public ItemFilter getFilters(int index)
      The filters are to be considered in an AND manner.
       An item will be part of the band if it matches all the filters.
       If the list is empty, then all items from the given source are part of the band
       
      repeated .yamcs.protobuf.timeline.ItemFilter filters = 8;
      Specified by:
      getFilters in interface TimelineBandOrBuilder
    • getFiltersOrBuilder

      public ItemFilterOrBuilder getFiltersOrBuilder(int index)
      The filters are to be considered in an AND manner.
       An item will be part of the band if it matches all the filters.
       If the list is empty, then all items from the given source are part of the band
       
      repeated .yamcs.protobuf.timeline.ItemFilter filters = 8;
      Specified by:
      getFiltersOrBuilder in interface TimelineBandOrBuilder
    • hasType

      public boolean hasType()
       Type of band
       
      optional .yamcs.protobuf.timeline.TimelineBandType type = 9;
      Specified by:
      hasType in interface TimelineBandOrBuilder
      Returns:
      Whether the type field is set.
    • getType

      public TimelineBandType getType()
       Type of band
       
      optional .yamcs.protobuf.timeline.TimelineBandType type = 9;
      Specified by:
      getType in interface TimelineBandOrBuilder
      Returns:
      The type.
    • hasDescription

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

      public String getDescription()
       Band description
       
      optional string description = 10;
      Specified by:
      getDescription in interface TimelineBandOrBuilder
      Returns:
      The description.
    • getDescriptionBytes

      public com.google.protobuf.ByteString getDescriptionBytes()
       Band description
       
      optional string description = 10;
      Specified by:
      getDescriptionBytes in interface TimelineBandOrBuilder
      Returns:
      The bytes for description.
    • getPropertiesCount

      public int getPropertiesCount()
      Description copied from interface: TimelineBandOrBuilder
       Additional properties used by yamcs-web to render this band
       
      map<string, string> properties = 11;
      Specified by:
      getPropertiesCount in interface TimelineBandOrBuilder
    • 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
    • getProperties

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

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

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

      public String getPropertiesOrThrow(String key)
       Additional properties used by yamcs-web to render this band
       
      map<string, string> properties = 11;
      Specified by:
      getPropertiesOrThrow in interface TimelineBandOrBuilder
    • 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 TimelineBand parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

      public static TimelineBand parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static TimelineBand parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static TimelineBand parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static TimelineBand parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static TimelineBand parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

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

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

      public static TimelineBand.Builder newBuilder()
    • newBuilder

      public static TimelineBand.Builder newBuilder(TimelineBand prototype)
    • toBuilder

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

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

      public static TimelineBand getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<TimelineBand> 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 TimelineBand getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder