Class Commanding.CommandQueueInfo

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
org.yamcs.protobuf.Commanding.CommandQueueInfo
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable, Commanding.CommandQueueInfoOrBuilder
Enclosing class:
Commanding

public static final class Commanding.CommandQueueInfo extends com.google.protobuf.GeneratedMessageV3 implements Commanding.CommandQueueInfoOrBuilder
Protobuf type yamcs.protobuf.commanding.CommandQueueInfo
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()
    • 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 Commanding.CommandQueueInfoOrBuilder
      Returns:
      Whether the instance field is set.
    • getInstance

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

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

      public boolean hasProcessorName()
       Processor name
       
      optional string processorName = 2;
      Specified by:
      hasProcessorName in interface Commanding.CommandQueueInfoOrBuilder
      Returns:
      Whether the processorName field is set.
    • getProcessorName

      public String getProcessorName()
       Processor name
       
      optional string processorName = 2;
      Specified by:
      getProcessorName in interface Commanding.CommandQueueInfoOrBuilder
      Returns:
      The processorName.
    • getProcessorNameBytes

      public com.google.protobuf.ByteString getProcessorNameBytes()
       Processor name
       
      optional string processorName = 2;
      Specified by:
      getProcessorNameBytes in interface Commanding.CommandQueueInfoOrBuilder
      Returns:
      The bytes for processorName.
    • hasName

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

      public String getName()
       Command queue name
       
      optional string name = 3;
      Specified by:
      getName in interface Commanding.CommandQueueInfoOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Command queue name
       
      optional string name = 3;
      Specified by:
      getNameBytes in interface Commanding.CommandQueueInfoOrBuilder
      Returns:
      The bytes for name.
    • hasState

      public boolean hasState()
       Current queue state
       
      optional .yamcs.protobuf.commanding.QueueState state = 4;
      Specified by:
      hasState in interface Commanding.CommandQueueInfoOrBuilder
      Returns:
      Whether the state field is set.
    • getState

      public Commanding.QueueState getState()
       Current queue state
       
      optional .yamcs.protobuf.commanding.QueueState state = 4;
      Specified by:
      getState in interface Commanding.CommandQueueInfoOrBuilder
      Returns:
      The state.
    • hasOrder

      public boolean hasOrder()
       Submitted commands are matches to the first queue that
       whose filter criteria (if any) match the command's
       features. Queues are considered in the order specified by
       this field, going from lowest to highest.
       
      optional int32 order = 9;
      Specified by:
      hasOrder in interface Commanding.CommandQueueInfoOrBuilder
      Returns:
      Whether the order field is set.
    • getOrder

      public int getOrder()
       Submitted commands are matches to the first queue that
       whose filter criteria (if any) match the command's
       features. Queues are considered in the order specified by
       this field, going from lowest to highest.
       
      optional int32 order = 9;
      Specified by:
      getOrder in interface Commanding.CommandQueueInfoOrBuilder
      Returns:
      The order.
    • getUsersList

      public com.google.protobuf.ProtocolStringList getUsersList()
       This queue only considers commands that are issued
       by one of the users in this list.
       If the list is empty, all commands are considered.
       Note that users/groups are considered at the same time
       (a match with any of the two is sufficient).
       
      repeated string users = 10;
      Specified by:
      getUsersList in interface Commanding.CommandQueueInfoOrBuilder
      Returns:
      A list containing the users.
    • getUsersCount

      public int getUsersCount()
       This queue only considers commands that are issued
       by one of the users in this list.
       If the list is empty, all commands are considered.
       Note that users/groups are considered at the same time
       (a match with any of the two is sufficient).
       
      repeated string users = 10;
      Specified by:
      getUsersCount in interface Commanding.CommandQueueInfoOrBuilder
      Returns:
      The count of users.
    • getUsers

      public String getUsers(int index)
       This queue only considers commands that are issued
       by one of the users in this list.
       If the list is empty, all commands are considered.
       Note that users/groups are considered at the same time
       (a match with any of the two is sufficient).
       
      repeated string users = 10;
      Specified by:
      getUsers in interface Commanding.CommandQueueInfoOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The users at the given index.
    • getUsersBytes

      public com.google.protobuf.ByteString getUsersBytes(int index)
       This queue only considers commands that are issued
       by one of the users in this list.
       If the list is empty, all commands are considered.
       Note that users/groups are considered at the same time
       (a match with any of the two is sufficient).
       
      repeated string users = 10;
      Specified by:
      getUsersBytes in interface Commanding.CommandQueueInfoOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the users at the given index.
    • getGroupsList

      public com.google.protobuf.ProtocolStringList getGroupsList()
       This queue only considers commands that are issued
       by one of the users who belongs to any of these groups.
       If the list is empty, all commands are considered.
       Note that users/groups are considered at the same time
       (a match with any of the two is sufficient).
       
      repeated string groups = 11;
      Specified by:
      getGroupsList in interface Commanding.CommandQueueInfoOrBuilder
      Returns:
      A list containing the groups.
    • getGroupsCount

      public int getGroupsCount()
       This queue only considers commands that are issued
       by one of the users who belongs to any of these groups.
       If the list is empty, all commands are considered.
       Note that users/groups are considered at the same time
       (a match with any of the two is sufficient).
       
      repeated string groups = 11;
      Specified by:
      getGroupsCount in interface Commanding.CommandQueueInfoOrBuilder
      Returns:
      The count of groups.
    • getGroups

      public String getGroups(int index)
       This queue only considers commands that are issued
       by one of the users who belongs to any of these groups.
       If the list is empty, all commands are considered.
       Note that users/groups are considered at the same time
       (a match with any of the two is sufficient).
       
      repeated string groups = 11;
      Specified by:
      getGroups in interface Commanding.CommandQueueInfoOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The groups at the given index.
    • getGroupsBytes

      public com.google.protobuf.ByteString getGroupsBytes(int index)
       This queue only considers commands that are issued
       by one of the users who belongs to any of these groups.
       If the list is empty, all commands are considered.
       Note that users/groups are considered at the same time
       (a match with any of the two is sufficient).
       
      repeated string groups = 11;
      Specified by:
      getGroupsBytes in interface Commanding.CommandQueueInfoOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the groups at the given index.
    • hasMinLevel

      public boolean hasMinLevel()
       This queue only considers commands that are at least
       as significant as this level.
       
      optional .yamcs.protobuf.mdb.SignificanceInfo.SignificanceLevelType minLevel = 12;
      Specified by:
      hasMinLevel in interface Commanding.CommandQueueInfoOrBuilder
      Returns:
      Whether the minLevel field is set.
    • getMinLevel

       This queue only considers commands that are at least
       as significant as this level.
       
      optional .yamcs.protobuf.mdb.SignificanceInfo.SignificanceLevelType minLevel = 12;
      Specified by:
      getMinLevel in interface Commanding.CommandQueueInfoOrBuilder
      Returns:
      The minLevel.
    • getTcPatternsList

      public com.google.protobuf.ProtocolStringList getTcPatternsList()
       This queue only considers commands whose qualified name
       matches any of the regular expressions in this list.
       If the list is empty, all commands are considered.
       
      repeated string tcPatterns = 13;
      Specified by:
      getTcPatternsList in interface Commanding.CommandQueueInfoOrBuilder
      Returns:
      A list containing the tcPatterns.
    • getTcPatternsCount

      public int getTcPatternsCount()
       This queue only considers commands whose qualified name
       matches any of the regular expressions in this list.
       If the list is empty, all commands are considered.
       
      repeated string tcPatterns = 13;
      Specified by:
      getTcPatternsCount in interface Commanding.CommandQueueInfoOrBuilder
      Returns:
      The count of tcPatterns.
    • getTcPatterns

      public String getTcPatterns(int index)
       This queue only considers commands whose qualified name
       matches any of the regular expressions in this list.
       If the list is empty, all commands are considered.
       
      repeated string tcPatterns = 13;
      Specified by:
      getTcPatterns in interface Commanding.CommandQueueInfoOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The tcPatterns at the given index.
    • getTcPatternsBytes

      public com.google.protobuf.ByteString getTcPatternsBytes(int index)
       This queue only considers commands whose qualified name
       matches any of the regular expressions in this list.
       If the list is empty, all commands are considered.
       
      repeated string tcPatterns = 13;
      Specified by:
      getTcPatternsBytes in interface Commanding.CommandQueueInfoOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the tcPatterns at the given index.
    • getEntriesList

      public List<Commanding.CommandQueueEntry> getEntriesList()
       Currently pending (queued) commands
       
      repeated .yamcs.protobuf.commanding.CommandQueueEntry entries = 14;
      Specified by:
      getEntriesList in interface Commanding.CommandQueueInfoOrBuilder
    • getEntriesOrBuilderList

      public List<? extends Commanding.CommandQueueEntryOrBuilder> getEntriesOrBuilderList()
       Currently pending (queued) commands
       
      repeated .yamcs.protobuf.commanding.CommandQueueEntry entries = 14;
      Specified by:
      getEntriesOrBuilderList in interface Commanding.CommandQueueInfoOrBuilder
    • getEntriesCount

      public int getEntriesCount()
       Currently pending (queued) commands
       
      repeated .yamcs.protobuf.commanding.CommandQueueEntry entries = 14;
      Specified by:
      getEntriesCount in interface Commanding.CommandQueueInfoOrBuilder
    • getEntries

      public Commanding.CommandQueueEntry getEntries(int index)
       Currently pending (queued) commands
       
      repeated .yamcs.protobuf.commanding.CommandQueueEntry entries = 14;
      Specified by:
      getEntries in interface Commanding.CommandQueueInfoOrBuilder
    • getEntriesOrBuilder

      public Commanding.CommandQueueEntryOrBuilder getEntriesOrBuilder(int index)
       Currently pending (queued) commands
       
      repeated .yamcs.protobuf.commanding.CommandQueueEntry entries = 14;
      Specified by:
      getEntriesOrBuilder in interface Commanding.CommandQueueInfoOrBuilder
    • hasAcceptedCommandsCount

      public boolean hasAcceptedCommandsCount()
       Number of commands that successfully passed through this queue.
       
      optional int32 acceptedCommandsCount = 15;
      Specified by:
      hasAcceptedCommandsCount in interface Commanding.CommandQueueInfoOrBuilder
      Returns:
      Whether the acceptedCommandsCount field is set.
    • getAcceptedCommandsCount

      public int getAcceptedCommandsCount()
       Number of commands that successfully passed through this queue.
       
      optional int32 acceptedCommandsCount = 15;
      Specified by:
      getAcceptedCommandsCount in interface Commanding.CommandQueueInfoOrBuilder
      Returns:
      The acceptedCommandsCount.
    • hasRejectedCommandsCount

      public boolean hasRejectedCommandsCount()
       Number of commands that were rejected by this queue.
       
      optional int32 rejectedCommandsCount = 16;
      Specified by:
      hasRejectedCommandsCount in interface Commanding.CommandQueueInfoOrBuilder
      Returns:
      Whether the rejectedCommandsCount field is set.
    • getRejectedCommandsCount

      public int getRejectedCommandsCount()
       Number of commands that were rejected by this queue.
       
      optional int32 rejectedCommandsCount = 16;
      Specified by:
      getRejectedCommandsCount in interface Commanding.CommandQueueInfoOrBuilder
      Returns:
      The rejectedCommandsCount.
    • 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 Commanding.CommandQueueInfo parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

      public static Commanding.CommandQueueInfo parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

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

      public static Commanding.CommandQueueInfo parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

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

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

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

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

      public static Commanding.CommandQueueInfo.Builder newBuilder()
    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

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

      public static Commanding.CommandQueueInfo getDefaultInstance()
    • parser

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

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