java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<Cop1Status.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<Cop1Status.Builder>
org.yamcs.protobuf.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 Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()Last received CLCWIf false, all frames are immediately transmitted (i.e.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) Link name for which this status applies.clearNnR()The nR from the previous CLCWclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Number of frames in the out queue (waiting to be picked up by the master chain multiplexer)Number of unacknowledged frames in the sent queueRelevant if cop1Active = false -> set the bypass flag on all outgoing framesCurrent state of FOP-1 state machine, only relevant if cop1Active = trueHow many times the last frame has been transmittedclearVS()V(S) - Transmitter Frame Sequence Number;Number of TC packets in the wait queueclone()getClcw()Last received CLCWLast received CLCWLast received CLCWbooleanIf false, all frames are immediately transmitted (i.e.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetLink()Link name for which this status applies.com.google.protobuf.ByteStringLink name for which this status applies.intgetNnR()The nR from the previous CLCWintNumber of frames in the out queue (waiting to be picked up by the master chain multiplexer)intNumber of unacknowledged frames in the sent queuebooleanRelevant if cop1Active = false -> set the bypass flag on all outgoing framesgetState()Current state of FOP-1 state machine, only relevant if cop1Active = trueintHow many times the last frame has been transmittedintgetVS()V(S) - Transmitter Frame Sequence Number;intNumber of TC packets in the wait queuebooleanhasClcw()Last received CLCWbooleanIf false, all frames are immediately transmitted (i.e.booleanhasLink()Link name for which this status applies.booleanhasNnR()The nR from the previous CLCWbooleanNumber of frames in the out queue (waiting to be picked up by the master chain multiplexer)booleanNumber of unacknowledged frames in the sent queuebooleanRelevant if cop1Active = false -> set the bypass flag on all outgoing framesbooleanhasState()Current state of FOP-1 state machine, only relevant if cop1Active = truebooleanHow many times the last frame has been transmittedbooleanhasVS()V(S) - Transmitter Frame Sequence Number;booleanNumber of TC packets in the wait queueprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanLast received CLCWmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(Cop1Status other) final Cop1Status.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Last received CLCWsetClcw(Clcw.Builder builderForValue) Last received CLCWsetCop1Active(boolean value) If false, all frames are immediately transmitted (i.e.Link name for which this status applies.setLinkBytes(com.google.protobuf.ByteString value) Link name for which this status applies.setNnR(int value) The nR from the previous CLCWsetOutQueueNumFrames(int value) Number of frames in the out queue (waiting to be picked up by the master chain multiplexer)setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setSentQueueNumFrames(int value) Number of unacknowledged frames in the sent queuesetSetBypassAll(boolean value) Relevant if cop1Active = false -> set the bypass flag on all outgoing framesCurrent state of FOP-1 state machine, only relevant if cop1Active = truesetTxCount(int value) How many times the last frame has been transmittedfinal Cop1Status.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setVS(int value) V(S) - Transmitter Frame Sequence Number;setWaitQueueNumTC(int value) Number of TC packets in the wait queueMethods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Cop1Status.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Cop1Status.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<Cop1Status.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Cop1Status.Builder>
-
setField
public Cop1Status.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Cop1Status.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Cop1Status.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Cop1Status.Builder>
-
setRepeatedField
public Cop1Status.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Cop1Status.Builder>
-
addRepeatedField
public Cop1Status.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Cop1Status.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Cop1Status.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.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:
hasLinkin interfaceCop1StatusOrBuilder- Returns:
- Whether the link field is set.
-
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:
getLinkin interfaceCop1StatusOrBuilder- Returns:
- The link.
-
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:
getLinkBytesin interfaceCop1StatusOrBuilder- Returns:
- The bytes for link.
-
setLink
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;- Parameters:
value- The link to set.- Returns:
- This builder for chaining.
-
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;- Returns:
- This builder for chaining.
-
setLinkBytes
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;- Parameters:
value- The bytes for link to set.- Returns:
- This builder for chaining.
-
hasCop1Active
public boolean hasCop1Active()If false, all frames are immediately transmitted (i.e. COP-1 is disabled)
optional bool cop1Active = 1;- Specified by:
hasCop1Activein interfaceCop1StatusOrBuilder- Returns:
- Whether the cop1Active field is set.
-
getCop1Active
public boolean getCop1Active()If false, all frames are immediately transmitted (i.e. COP-1 is disabled)
optional bool cop1Active = 1;- Specified by:
getCop1Activein interfaceCop1StatusOrBuilder- Returns:
- The cop1Active.
-
setCop1Active
If false, all frames are immediately transmitted (i.e. COP-1 is disabled)
optional bool cop1Active = 1;- Parameters:
value- The cop1Active to set.- Returns:
- This builder for chaining.
-
clearCop1Active
If false, all frames are immediately transmitted (i.e. COP-1 is disabled)
optional bool cop1Active = 1;- Returns:
- This builder for chaining.
-
hasSetBypassAll
public boolean hasSetBypassAll()Relevant if cop1Active = false -> set the bypass flag on all outgoing frames
optional bool setBypassAll = 2;- Specified by:
hasSetBypassAllin interfaceCop1StatusOrBuilder- Returns:
- Whether the setBypassAll field is set.
-
getSetBypassAll
public boolean getSetBypassAll()Relevant if cop1Active = false -> set the bypass flag on all outgoing frames
optional bool setBypassAll = 2;- Specified by:
getSetBypassAllin interfaceCop1StatusOrBuilder- Returns:
- The setBypassAll.
-
setSetBypassAll
Relevant if cop1Active = false -> set the bypass flag on all outgoing frames
optional bool setBypassAll = 2;- Parameters:
value- The setBypassAll to set.- Returns:
- This builder for chaining.
-
clearSetBypassAll
Relevant if cop1Active = false -> set the bypass flag on all outgoing frames
optional bool setBypassAll = 2;- Returns:
- This builder for chaining.
-
hasClcw
public boolean hasClcw()Last received CLCW
optional .yamcs.protobuf.cop1.Clcw clcw = 3;- Specified by:
hasClcwin interfaceCop1StatusOrBuilder- Returns:
- Whether the clcw field is set.
-
getClcw
Last received CLCW
optional .yamcs.protobuf.cop1.Clcw clcw = 3;- Specified by:
getClcwin interfaceCop1StatusOrBuilder- Returns:
- The clcw.
-
setClcw
Last received CLCW
optional .yamcs.protobuf.cop1.Clcw clcw = 3; -
setClcw
Last received CLCW
optional .yamcs.protobuf.cop1.Clcw clcw = 3; -
mergeClcw
Last received CLCW
optional .yamcs.protobuf.cop1.Clcw clcw = 3; -
clearClcw
Last received CLCW
optional .yamcs.protobuf.cop1.Clcw clcw = 3; -
getClcwBuilder
Last received CLCW
optional .yamcs.protobuf.cop1.Clcw clcw = 3; -
getClcwOrBuilder
Last received CLCW
optional .yamcs.protobuf.cop1.Clcw clcw = 3;- Specified by:
getClcwOrBuilderin interfaceCop1StatusOrBuilder
-
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:
hasStatein interfaceCop1StatusOrBuilder- Returns:
- Whether the state field is set.
-
getState
Current state of FOP-1 state machine, only relevant if cop1Active = true
optional .yamcs.protobuf.cop1.Cop1State state = 4;- Specified by:
getStatein interfaceCop1StatusOrBuilder- Returns:
- The state.
-
setState
Current state of FOP-1 state machine, only relevant if cop1Active = true
optional .yamcs.protobuf.cop1.Cop1State state = 4;- Parameters:
value- The state to set.- Returns:
- This builder for chaining.
-
clearState
Current state of FOP-1 state machine, only relevant if cop1Active = true
optional .yamcs.protobuf.cop1.Cop1State state = 4;- Returns:
- This builder for chaining.
-
hasVS
public boolean hasVS()V(S) - Transmitter Frame Sequence Number;
optional uint32 vS = 5;- Specified by:
hasVSin interfaceCop1StatusOrBuilder- Returns:
- Whether the vS field is set.
-
getVS
public int getVS()V(S) - Transmitter Frame Sequence Number;
optional uint32 vS = 5;- Specified by:
getVSin interfaceCop1StatusOrBuilder- Returns:
- The vS.
-
setVS
V(S) - Transmitter Frame Sequence Number;
optional uint32 vS = 5;- Parameters:
value- The vS to set.- Returns:
- This builder for chaining.
-
clearVS
V(S) - Transmitter Frame Sequence Number;
optional uint32 vS = 5;- Returns:
- This builder for chaining.
-
hasNnR
public boolean hasNnR()The nR from the previous CLCW
optional uint32 nnR = 6;- Specified by:
hasNnRin interfaceCop1StatusOrBuilder- Returns:
- Whether the nnR field is set.
-
getNnR
public int getNnR()The nR from the previous CLCW
optional uint32 nnR = 6;- Specified by:
getNnRin interfaceCop1StatusOrBuilder- Returns:
- The nnR.
-
setNnR
The nR from the previous CLCW
optional uint32 nnR = 6;- Parameters:
value- The nnR to set.- Returns:
- This builder for chaining.
-
clearNnR
The nR from the previous CLCW
optional uint32 nnR = 6;- Returns:
- This builder for chaining.
-
hasWaitQueueNumTC
public boolean hasWaitQueueNumTC()Number of TC packets in the wait queue
optional uint32 waitQueueNumTC = 7;- Specified by:
hasWaitQueueNumTCin interfaceCop1StatusOrBuilder- Returns:
- Whether the waitQueueNumTC field is set.
-
getWaitQueueNumTC
public int getWaitQueueNumTC()Number of TC packets in the wait queue
optional uint32 waitQueueNumTC = 7;- Specified by:
getWaitQueueNumTCin interfaceCop1StatusOrBuilder- Returns:
- The waitQueueNumTC.
-
setWaitQueueNumTC
Number of TC packets in the wait queue
optional uint32 waitQueueNumTC = 7;- Parameters:
value- The waitQueueNumTC to set.- Returns:
- This builder for chaining.
-
clearWaitQueueNumTC
Number of TC packets in the wait queue
optional uint32 waitQueueNumTC = 7;- Returns:
- This builder for chaining.
-
hasSentQueueNumFrames
public boolean hasSentQueueNumFrames()Number of unacknowledged frames in the sent queue
optional uint32 sentQueueNumFrames = 8;- Specified by:
hasSentQueueNumFramesin interfaceCop1StatusOrBuilder- Returns:
- Whether the sentQueueNumFrames field is set.
-
getSentQueueNumFrames
public int getSentQueueNumFrames()Number of unacknowledged frames in the sent queue
optional uint32 sentQueueNumFrames = 8;- Specified by:
getSentQueueNumFramesin interfaceCop1StatusOrBuilder- Returns:
- The sentQueueNumFrames.
-
setSentQueueNumFrames
Number of unacknowledged frames in the sent queue
optional uint32 sentQueueNumFrames = 8;- Parameters:
value- The sentQueueNumFrames to set.- Returns:
- This builder for chaining.
-
clearSentQueueNumFrames
Number of unacknowledged frames in the sent queue
optional uint32 sentQueueNumFrames = 8;- Returns:
- This builder for chaining.
-
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:
hasOutQueueNumFramesin interfaceCop1StatusOrBuilder- Returns:
- Whether the outQueueNumFrames field is set.
-
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:
getOutQueueNumFramesin interfaceCop1StatusOrBuilder- Returns:
- The outQueueNumFrames.
-
setOutQueueNumFrames
Number of frames in the out queue (waiting to be picked up by the master chain multiplexer)
optional uint32 outQueueNumFrames = 9;- Parameters:
value- The outQueueNumFrames to set.- Returns:
- This builder for chaining.
-
clearOutQueueNumFrames
Number of frames in the out queue (waiting to be picked up by the master chain multiplexer)
optional uint32 outQueueNumFrames = 9;- Returns:
- This builder for chaining.
-
hasTxCount
public boolean hasTxCount()How many times the last frame has been transmitted
optional uint32 txCount = 10;- Specified by:
hasTxCountin interfaceCop1StatusOrBuilder- Returns:
- Whether the txCount field is set.
-
getTxCount
public int getTxCount()How many times the last frame has been transmitted
optional uint32 txCount = 10;- Specified by:
getTxCountin interfaceCop1StatusOrBuilder- Returns:
- The txCount.
-
setTxCount
How many times the last frame has been transmitted
optional uint32 txCount = 10;- Parameters:
value- The txCount to set.- Returns:
- This builder for chaining.
-
clearTxCount
How many times the last frame has been transmitted
optional uint32 txCount = 10;- Returns:
- This builder for chaining.
-
setUnknownFields
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Cop1Status.Builder>
-
mergeUnknownFields
public final Cop1Status.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Cop1Status.Builder>
-