Class Cop1Status.Builder

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

    public static final class Cop1Status.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<Cop1Status.Builder>
    implements Cop1StatusOrBuilder
    Protobuf type yamcs.protobuf.cop1.Cop1Status
    • Method Detail

      • 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.Builder<Cop1Status.Builder>
      • clear

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

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

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

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

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

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

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

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

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

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

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

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

        public Cop1Status.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<Cop1Status.Builder>
        Throws:
        IOException
      • 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
      • setLink

        public Cop1Status.Builder setLink​(String value)
         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;
      • clearLink

        public Cop1Status.Builder clearLink()
         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;
      • setLinkBytes

        public Cop1Status.Builder setLinkBytes​(com.google.protobuf.ByteString value)
         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;
      • 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
      • setCop1Active

        public Cop1Status.Builder setCop1Active​(boolean value)
         If false, all frames are immediately transmitted (i.e. COP-1 is disabled)
         
        optional bool cop1Active = 1;
      • clearCop1Active

        public Cop1Status.Builder clearCop1Active()
         If false, all frames are immediately transmitted (i.e. COP-1 is disabled)
         
        optional bool cop1Active = 1;
      • 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
      • setSetBypassAll

        public Cop1Status.Builder setSetBypassAll​(boolean value)
         Relevant if cop1Active = false -> set the bypass flag on all outgoing frames 
         
        optional bool setBypassAll = 2;
      • clearSetBypassAll

        public Cop1Status.Builder clearSetBypassAll()
         Relevant if cop1Active = false -> set the bypass flag on all outgoing frames 
         
        optional bool setBypassAll = 2;
      • 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
      • setClcw

        public Cop1Status.Builder setClcw​(Clcw value)
         Last received CLCW
         
        optional .yamcs.protobuf.cop1.Clcw clcw = 3;
      • mergeClcw

        public Cop1Status.Builder mergeClcw​(Clcw value)
         Last received CLCW
         
        optional .yamcs.protobuf.cop1.Clcw clcw = 3;
      • clearClcw

        public Cop1Status.Builder clearClcw()
         Last received CLCW
         
        optional .yamcs.protobuf.cop1.Clcw clcw = 3;
      • getClcwBuilder

        public Clcw.Builder getClcwBuilder()
         Last received CLCW
         
        optional .yamcs.protobuf.cop1.Clcw clcw = 3;
      • 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
      • setState

        public Cop1Status.Builder setState​(Cop1State value)
         Current state of FOP-1 state machine, only relevant if cop1Active = true
         
        optional .yamcs.protobuf.cop1.Cop1State state = 4;
      • clearState

        public Cop1Status.Builder clearState()
         Current state of FOP-1 state machine, only relevant if cop1Active = true
         
        optional .yamcs.protobuf.cop1.Cop1State state = 4;
      • 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
      • setVS

        public Cop1Status.Builder setVS​(int value)
         V(S) - Transmitter Frame Sequence Number;
         
        optional uint32 vS = 5;
      • clearVS

        public Cop1Status.Builder clearVS()
         V(S) - Transmitter Frame Sequence Number;
         
        optional uint32 vS = 5;
      • 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
      • setNnR

        public Cop1Status.Builder setNnR​(int value)
         The nR from the previous CLCW
         
        optional uint32 nnR = 6;
      • clearNnR

        public Cop1Status.Builder clearNnR()
         The nR from the previous CLCW
         
        optional uint32 nnR = 6;
      • 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
      • setWaitQueueNumTC

        public Cop1Status.Builder setWaitQueueNumTC​(int value)
         Number of TC packets in the wait queue
         
        optional uint32 waitQueueNumTC = 7;
      • clearWaitQueueNumTC

        public Cop1Status.Builder clearWaitQueueNumTC()
         Number of TC packets in the wait queue
         
        optional uint32 waitQueueNumTC = 7;
      • 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
      • setSentQueueNumFrames

        public Cop1Status.Builder setSentQueueNumFrames​(int value)
         Number of unacknowledged frames in the sent queue
         
        optional uint32 sentQueueNumFrames = 8;
      • clearSentQueueNumFrames

        public Cop1Status.Builder clearSentQueueNumFrames()
         Number of unacknowledged frames in the sent queue
         
        optional uint32 sentQueueNumFrames = 8;
      • 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
      • setOutQueueNumFrames

        public Cop1Status.Builder setOutQueueNumFrames​(int value)
         Number of frames in the out queue (waiting to be picked up by the master chain
         multiplexer)
         
        optional uint32 outQueueNumFrames = 9;
      • clearOutQueueNumFrames

        public Cop1Status.Builder clearOutQueueNumFrames()
         Number of frames in the out queue (waiting to be picked up by the master chain
         multiplexer)
         
        optional uint32 outQueueNumFrames = 9;
      • 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
      • setTxCount

        public Cop1Status.Builder setTxCount​(int value)
         How many times the last frame has been transmitted
         
        optional uint32 txCount = 10;
      • clearTxCount

        public Cop1Status.Builder clearTxCount()
         How many times the last frame has been transmitted
         
        optional uint32 txCount = 10;
      • setUnknownFields

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

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