Class AddBandRequest

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

public final class AddBandRequest extends com.google.protobuf.GeneratedMessageV3 implements AddBandRequestOrBuilder
Protobuf type yamcs.protobuf.timeline.AddBandRequest
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    Protobuf type yamcs.protobuf.timeline.AddBandRequest

    Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3

    com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, 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
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final com.google.protobuf.Parser<AddBandRequest>
    Deprecated.
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     

    Fields inherited from class com.google.protobuf.GeneratedMessageV3

    alwaysUseFieldBuilders, unknownFields

    Fields inherited from class com.google.protobuf.AbstractMessage

    memoizedSize

    Fields inherited from class com.google.protobuf.AbstractMessageLite

    memoizedHashCode
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Additional properties used by yamcs-web to render this band
    boolean
     
     
     
    Band description
    com.google.protobuf.ByteString
    Band description
    static final com.google.protobuf.Descriptors.Descriptor
     
    getFilters(int index)
    A query filter which can be used to limit additionally the items which are part of the band
    int
    A query filter which can be used to limit additionally the items which are part of the band
    A query filter which can be used to limit additionally the items which are part of the band
    A query filter which can be used to limit additionally the items which are part of the band
    A query filter which can be used to limit additionally the items which are part of the band
    Optional band identifier.
    com.google.protobuf.ByteString
    Optional band identifier.
    Yamcs instance name
    com.google.protobuf.ByteString
    Yamcs instance name
    Band name
    com.google.protobuf.ByteString
    Band name
    com.google.protobuf.Parser<AddBandRequest>
     
    Deprecated.
    int
    Additional properties used by yamcs-web to render this band
    Additional properties used by yamcs-web to render this band
    getPropertiesOrDefault(String key, String defaultValue)
    Additional properties used by yamcs-web to render this band
    Additional properties used by yamcs-web to render this band
    int
     
    boolean
    if true, all users have access to this band, otherwise only the user who has created it
    the band contains only items from this source
    com.google.protobuf.ByteString
    the band contains only items from this source
    getTags(int index)
    Deprecated. 
    com.google.protobuf.ByteString
    getTagsBytes(int index)
    Deprecated. 
    int
    Deprecated. 
    com.google.protobuf.ProtocolStringList
    Deprecated. 
    Type of band
    final com.google.protobuf.UnknownFieldSet
     
    boolean
    Band description
    int
     
    boolean
    Optional band identifier.
    boolean
    Yamcs instance name
    boolean
    Band name
    boolean
    if true, all users have access to this band, otherwise only the user who has created it
    boolean
    the band contains only items from this source
    boolean
    Type of band
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
     
    protected com.google.protobuf.MapField
    internalGetMapField(int number)
     
    final boolean
     
     
     
     
    newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
     
    protected Object
    newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
     
     
    parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(byte[] data)
     
    parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(com.google.protobuf.ByteString data)
     
    parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(com.google.protobuf.CodedInputStream input)
     
    parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
     
    parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
     
    parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static com.google.protobuf.Parser<AddBandRequest>
     
     
    void
    writeTo(com.google.protobuf.CodedOutputStream output)
     

    Methods inherited from class com.google.protobuf.GeneratedMessageV3

    canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, 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 class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    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
  • 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 AddBandRequestOrBuilder
      Returns:
      Whether the instance field is set.
    • getInstance

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

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

      public boolean hasId()
       Optional band identifier.
       If not set, an ID will be assigned by the server.
       If set, it should be a valid UUID.
       
      optional string id = 10;
      Specified by:
      hasId in interface AddBandRequestOrBuilder
      Returns:
      Whether the id field is set.
    • getId

      public String getId()
       Optional band identifier.
       If not set, an ID will be assigned by the server.
       If set, it should be a valid UUID.
       
      optional string id = 10;
      Specified by:
      getId in interface AddBandRequestOrBuilder
      Returns:
      The id.
    • getIdBytes

      public com.google.protobuf.ByteString getIdBytes()
       Optional band identifier.
       If not set, an ID will be assigned by the server.
       If set, it should be a valid UUID.
       
      optional string id = 10;
      Specified by:
      getIdBytes in interface AddBandRequestOrBuilder
      Returns:
      The bytes for id.
    • hasName

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

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

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

      public boolean hasShared()
      if true, all users have access to this band, otherwise only the user who has created it 
       
      optional bool shared = 3;
      Specified by:
      hasShared in interface AddBandRequestOrBuilder
      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 = 3;
      Specified by:
      getShared in interface AddBandRequestOrBuilder
      Returns:
      The shared.
    • hasSource

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

      public String getSource()
      the band contains only items from this source
       
      optional string source = 4;
      Specified by:
      getSource in interface AddBandRequestOrBuilder
      Returns:
      The source.
    • getSourceBytes

      public com.google.protobuf.ByteString getSourceBytes()
      the band contains only items from this source
       
      optional string source = 4;
      Specified by:
      getSourceBytes in interface AddBandRequestOrBuilder
      Returns:
      The bytes for source.
    • getTagsList

      @Deprecated public com.google.protobuf.ProtocolStringList getTagsList()
      Deprecated.
       Items containing these tags will be part of the timeline
       this is deprecated, the filters below should be used instead
       
      repeated string tags = 5 [deprecated = true];
      Specified by:
      getTagsList in interface AddBandRequestOrBuilder
      Returns:
      A list containing the tags.
    • getTagsCount

      @Deprecated public int getTagsCount()
      Deprecated.
       Items containing these tags will be part of the timeline
       this is deprecated, the filters below should be used instead
       
      repeated string tags = 5 [deprecated = true];
      Specified by:
      getTagsCount in interface AddBandRequestOrBuilder
      Returns:
      The count of tags.
    • getTags

      @Deprecated public String getTags(int index)
      Deprecated.
       Items containing these tags will be part of the timeline
       this is deprecated, the filters below should be used instead
       
      repeated string tags = 5 [deprecated = true];
      Specified by:
      getTags in interface AddBandRequestOrBuilder
      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.
       Items containing these tags will be part of the timeline
       this is deprecated, the filters below should be used instead
       
      repeated string tags = 5 [deprecated = true];
      Specified by:
      getTagsBytes in interface AddBandRequestOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the tags at the given index.
    • getFiltersList

      public List<ItemFilter> getFiltersList()
       A query filter which can be used to limit additionally the items which are part of the band
       
      repeated .yamcs.protobuf.timeline.ItemFilter filters = 6;
      Specified by:
      getFiltersList in interface AddBandRequestOrBuilder
    • getFiltersOrBuilderList

      public List<? extends ItemFilterOrBuilder> getFiltersOrBuilderList()
       A query filter which can be used to limit additionally the items which are part of the band
       
      repeated .yamcs.protobuf.timeline.ItemFilter filters = 6;
      Specified by:
      getFiltersOrBuilderList in interface AddBandRequestOrBuilder
    • getFiltersCount

      public int getFiltersCount()
       A query filter which can be used to limit additionally the items which are part of the band
       
      repeated .yamcs.protobuf.timeline.ItemFilter filters = 6;
      Specified by:
      getFiltersCount in interface AddBandRequestOrBuilder
    • getFilters

      public ItemFilter getFilters(int index)
       A query filter which can be used to limit additionally the items which are part of the band
       
      repeated .yamcs.protobuf.timeline.ItemFilter filters = 6;
      Specified by:
      getFilters in interface AddBandRequestOrBuilder
    • getFiltersOrBuilder

      public ItemFilterOrBuilder getFiltersOrBuilder(int index)
       A query filter which can be used to limit additionally the items which are part of the band
       
      repeated .yamcs.protobuf.timeline.ItemFilter filters = 6;
      Specified by:
      getFiltersOrBuilder in interface AddBandRequestOrBuilder
    • hasType

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

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

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

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

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

      public int getPropertiesCount()
      Description copied from interface: AddBandRequestOrBuilder
       Additional properties used by yamcs-web to render this band
       
      map<string, string> properties = 9;
      Specified by:
      getPropertiesCount in interface AddBandRequestOrBuilder
    • containsProperties

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      public static AddBandRequest.Builder newBuilder()
    • newBuilder

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

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

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

      public static AddBandRequest getDefaultInstance()
    • parser

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

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