Class Cop1Status

  • All Implemented Interfaces:
    com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable, Cop1StatusOrBuilder

    public final class Cop1Status
    extends com.google.protobuf.GeneratedMessageV3
    implements Cop1StatusOrBuilder
    Protobuf type yamcs.protobuf.cop1.Cop1Status
    See Also:
    Serialized Form
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  Cop1Status.Builder
      Protobuf type yamcs.protobuf.cop1.Cop1Status
      • Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3

        com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,​BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,​BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
    • Method Detail

      • 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
      • hasLink

        public boolean hasLink()
         Link name for which this status applies. 
         It is present when this message is sent over the websocket as there might
         be multiple COP-1 links subscribed
         
        optional string link = 11;
        Specified by:
        hasLink in interface Cop1StatusOrBuilder
      • getLink

        public String getLink()
         Link name for which this status applies. 
         It is present when this message is sent over the websocket as there might
         be multiple COP-1 links subscribed
         
        optional string link = 11;
        Specified by:
        getLink in interface Cop1StatusOrBuilder
      • getLinkBytes

        public com.google.protobuf.ByteString getLinkBytes()
         Link name for which this status applies. 
         It is present when this message is sent over the websocket as there might
         be multiple COP-1 links subscribed
         
        optional string link = 11;
        Specified by:
        getLinkBytes in interface Cop1StatusOrBuilder
      • hasCop1Active

        public boolean hasCop1Active()
         If false, all frames are immediately transmitted (i.e. COP-1 is disabled)
         
        optional bool cop1Active = 1;
        Specified by:
        hasCop1Active in interface Cop1StatusOrBuilder
      • getCop1Active

        public boolean getCop1Active()
         If false, all frames are immediately transmitted (i.e. COP-1 is disabled)
         
        optional bool cop1Active = 1;
        Specified by:
        getCop1Active in interface Cop1StatusOrBuilder
      • hasSetBypassAll

        public boolean hasSetBypassAll()
         Relevant if cop1Active = false -> set the bypass flag on all outgoing frames 
         
        optional bool setBypassAll = 2;
        Specified by:
        hasSetBypassAll in interface Cop1StatusOrBuilder
      • getSetBypassAll

        public boolean getSetBypassAll()
         Relevant if cop1Active = false -> set the bypass flag on all outgoing frames 
         
        optional bool setBypassAll = 2;
        Specified by:
        getSetBypassAll in interface Cop1StatusOrBuilder
      • hasClcw

        public boolean hasClcw()
         Last received CLCW
         
        optional .yamcs.protobuf.cop1.Clcw clcw = 3;
        Specified by:
        hasClcw in interface Cop1StatusOrBuilder
      • getClcw

        public Clcw getClcw()
         Last received CLCW
         
        optional .yamcs.protobuf.cop1.Clcw clcw = 3;
        Specified by:
        getClcw in interface Cop1StatusOrBuilder
      • hasState

        public boolean hasState()
         Current state of FOP-1 state machine, only relevant if cop1Active = true
         
        optional .yamcs.protobuf.cop1.Cop1State state = 4;
        Specified by:
        hasState in interface Cop1StatusOrBuilder
      • getState

        public Cop1State getState()
         Current state of FOP-1 state machine, only relevant if cop1Active = true
         
        optional .yamcs.protobuf.cop1.Cop1State state = 4;
        Specified by:
        getState in interface Cop1StatusOrBuilder
      • hasVS

        public boolean hasVS()
         V(S) - Transmitter Frame Sequence Number;
         
        optional uint32 vS = 5;
        Specified by:
        hasVS in interface Cop1StatusOrBuilder
      • getVS

        public int getVS()
         V(S) - Transmitter Frame Sequence Number;
         
        optional uint32 vS = 5;
        Specified by:
        getVS in interface Cop1StatusOrBuilder
      • hasNnR

        public boolean hasNnR()
         The nR from the previous CLCW
         
        optional uint32 nnR = 6;
        Specified by:
        hasNnR in interface Cop1StatusOrBuilder
      • getNnR

        public int getNnR()
         The nR from the previous CLCW
         
        optional uint32 nnR = 6;
        Specified by:
        getNnR in interface Cop1StatusOrBuilder
      • hasWaitQueueNumTC

        public boolean hasWaitQueueNumTC()
         Number of TC packets in the wait queue
         
        optional uint32 waitQueueNumTC = 7;
        Specified by:
        hasWaitQueueNumTC in interface Cop1StatusOrBuilder
      • getWaitQueueNumTC

        public int getWaitQueueNumTC()
         Number of TC packets in the wait queue
         
        optional uint32 waitQueueNumTC = 7;
        Specified by:
        getWaitQueueNumTC in interface Cop1StatusOrBuilder
      • hasSentQueueNumFrames

        public boolean hasSentQueueNumFrames()
         Number of unacknowledged frames in the sent queue
         
        optional uint32 sentQueueNumFrames = 8;
        Specified by:
        hasSentQueueNumFrames in interface Cop1StatusOrBuilder
      • getSentQueueNumFrames

        public int getSentQueueNumFrames()
         Number of unacknowledged frames in the sent queue
         
        optional uint32 sentQueueNumFrames = 8;
        Specified by:
        getSentQueueNumFrames in interface Cop1StatusOrBuilder
      • hasOutQueueNumFrames

        public boolean hasOutQueueNumFrames()
         Number of frames in the out queue (waiting to be picked up by the master chain
         multiplexer)
         
        optional uint32 outQueueNumFrames = 9;
        Specified by:
        hasOutQueueNumFrames in interface Cop1StatusOrBuilder
      • getOutQueueNumFrames

        public int getOutQueueNumFrames()
         Number of frames in the out queue (waiting to be picked up by the master chain
         multiplexer)
         
        optional uint32 outQueueNumFrames = 9;
        Specified by:
        getOutQueueNumFrames in interface Cop1StatusOrBuilder
      • hasTxCount

        public boolean hasTxCount()
         How many times the last frame has been transmitted
         
        optional uint32 txCount = 10;
        Specified by:
        hasTxCount in interface Cop1StatusOrBuilder
      • getTxCount

        public int getTxCount()
         How many times the last frame has been transmitted
         
        optional uint32 txCount = 10;
        Specified by:
        getTxCount in interface Cop1StatusOrBuilder
      • 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 Cop1Status parseFrom​(ByteBuffer data)
                                    throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

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

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

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

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

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

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

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

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

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

        public static Cop1Status getDefaultInstance()
      • parser

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

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