Package org.yamcs.protobuf
Class Cop1Status.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- 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 typeyamcs.protobuf.cop1.Cop1Status
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Cop1Status.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Cop1Statusbuild()Cop1StatusbuildPartial()Cop1Status.Builderclear()Cop1Status.BuilderclearClcw()Last received CLCWCop1Status.BuilderclearCop1Active()If false, all frames are immediately transmitted (i.e.Cop1Status.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Cop1Status.BuilderclearLink()Link name for which this status applies.Cop1Status.BuilderclearNnR()The nR from the previous CLCWCop1Status.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Cop1Status.BuilderclearOutQueueNumFrames()Number of frames in the out queue (waiting to be picked up by the master chain multiplexer)Cop1Status.BuilderclearSentQueueNumFrames()Number of unacknowledged frames in the sent queueCop1Status.BuilderclearSetBypassAll()Relevant if cop1Active = false -> set the bypass flag on all outgoing framesCop1Status.BuilderclearState()Current state of FOP-1 state machine, only relevant if cop1Active = trueCop1Status.BuilderclearTxCount()How many times the last frame has been transmittedCop1Status.BuilderclearVS()V(S) - Transmitter Frame Sequence Number;Cop1Status.BuilderclearWaitQueueNumTC()Number of TC packets in the wait queueCop1Status.Builderclone()ClcwgetClcw()Last received CLCWClcw.BuildergetClcwBuilder()Last received CLCWClcwOrBuildergetClcwOrBuilder()Last received CLCWbooleangetCop1Active()If false, all frames are immediately transmitted (i.e.Cop1StatusgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetLink()Link name for which this status applies.com.google.protobuf.ByteStringgetLinkBytes()Link name for which this status applies.intgetNnR()The nR from the previous CLCWintgetOutQueueNumFrames()Number of frames in the out queue (waiting to be picked up by the master chain multiplexer)intgetSentQueueNumFrames()Number of unacknowledged frames in the sent queuebooleangetSetBypassAll()Relevant if cop1Active = false -> set the bypass flag on all outgoing framesCop1StategetState()Current state of FOP-1 state machine, only relevant if cop1Active = trueintgetTxCount()How many times the last frame has been transmittedintgetVS()V(S) - Transmitter Frame Sequence Number;intgetWaitQueueNumTC()Number of TC packets in the wait queuebooleanhasClcw()Last received CLCWbooleanhasCop1Active()If false, all frames are immediately transmitted (i.e.booleanhasLink()Link name for which this status applies.booleanhasNnR()The nR from the previous CLCWbooleanhasOutQueueNumFrames()Number of frames in the out queue (waiting to be picked up by the master chain multiplexer)booleanhasSentQueueNumFrames()Number of unacknowledged frames in the sent queuebooleanhasSetBypassAll()Relevant if cop1Active = false -> set the bypass flag on all outgoing framesbooleanhasState()Current state of FOP-1 state machine, only relevant if cop1Active = truebooleanhasTxCount()How many times the last frame has been transmittedbooleanhasVS()V(S) - Transmitter Frame Sequence Number;booleanhasWaitQueueNumTC()Number of TC packets in the wait queueprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Cop1Status.BuildermergeClcw(Clcw value)Last received CLCWCop1Status.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Cop1Status.BuildermergeFrom(com.google.protobuf.Message other)Cop1Status.BuildermergeFrom(Cop1Status other)Cop1Status.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Cop1Status.BuildersetClcw(Clcw value)Last received CLCWCop1Status.BuildersetClcw(Clcw.Builder builderForValue)Last received CLCWCop1Status.BuildersetCop1Active(boolean value)If false, all frames are immediately transmitted (i.e.Cop1Status.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Cop1Status.BuildersetLink(String value)Link name for which this status applies.Cop1Status.BuildersetLinkBytes(com.google.protobuf.ByteString value)Link name for which this status applies.Cop1Status.BuildersetNnR(int value)The nR from the previous CLCWCop1Status.BuildersetOutQueueNumFrames(int value)Number of frames in the out queue (waiting to be picked up by the master chain multiplexer)Cop1Status.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Cop1Status.BuildersetSentQueueNumFrames(int value)Number of unacknowledged frames in the sent queueCop1Status.BuildersetSetBypassAll(boolean value)Relevant if cop1Active = false -> set the bypass flag on all outgoing framesCop1Status.BuildersetState(Cop1State value)Current state of FOP-1 state machine, only relevant if cop1Active = trueCop1Status.BuildersetTxCount(int value)How many times the last frame has been transmittedCop1Status.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Cop1Status.BuildersetVS(int value)V(S) - Transmitter Frame Sequence Number;Cop1Status.BuildersetWaitQueueNumTC(int value)Number of TC packets in the wait queue-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
-
-
-
Method Detail
-
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
public 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
public Cop1Status getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Cop1Status build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Cop1Status buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Cop1Status.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
public Cop1Status.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Cop1Status.Builder>
-
clearOneof
public Cop1Status.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- 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
public Cop1Status.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Cop1Status.Builder>
-
mergeFrom
public Cop1Status.Builder mergeFrom(Cop1Status other)
-
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
-
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:
getLinkin interfaceCop1StatusOrBuilder
-
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
-
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:
hasCop1Activein interfaceCop1StatusOrBuilder
-
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
-
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:
hasSetBypassAllin interfaceCop1StatusOrBuilder
-
getSetBypassAll
public boolean getSetBypassAll()
Relevant if cop1Active = false -> set the bypass flag on all outgoing frames
optional bool setBypassAll = 2;- Specified by:
getSetBypassAllin interfaceCop1StatusOrBuilder
-
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:
hasClcwin interfaceCop1StatusOrBuilder
-
getClcw
public Clcw getClcw()
Last received CLCW
optional .yamcs.protobuf.cop1.Clcw clcw = 3;- Specified by:
getClcwin interfaceCop1StatusOrBuilder
-
setClcw
public Cop1Status.Builder setClcw(Clcw value)
Last received CLCW
optional .yamcs.protobuf.cop1.Clcw clcw = 3;
-
setClcw
public Cop1Status.Builder setClcw(Clcw.Builder builderForValue)
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;
-
getClcwOrBuilder
public ClcwOrBuilder 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
-
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:
getStatein interfaceCop1StatusOrBuilder
-
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:
hasVSin interfaceCop1StatusOrBuilder
-
getVS
public int getVS()
V(S) - Transmitter Frame Sequence Number;
optional uint32 vS = 5;- Specified by:
getVSin interfaceCop1StatusOrBuilder
-
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:
hasNnRin interfaceCop1StatusOrBuilder
-
getNnR
public int getNnR()
The nR from the previous CLCW
optional uint32 nnR = 6;- Specified by:
getNnRin interfaceCop1StatusOrBuilder
-
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:
hasWaitQueueNumTCin interfaceCop1StatusOrBuilder
-
getWaitQueueNumTC
public int getWaitQueueNumTC()
Number of TC packets in the wait queue
optional uint32 waitQueueNumTC = 7;- Specified by:
getWaitQueueNumTCin interfaceCop1StatusOrBuilder
-
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:
hasSentQueueNumFramesin interfaceCop1StatusOrBuilder
-
getSentQueueNumFrames
public int getSentQueueNumFrames()
Number of unacknowledged frames in the sent queue
optional uint32 sentQueueNumFrames = 8;- Specified by:
getSentQueueNumFramesin interfaceCop1StatusOrBuilder
-
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:
hasOutQueueNumFramesin interfaceCop1StatusOrBuilder
-
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
-
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:
hasTxCountin interfaceCop1StatusOrBuilder
-
getTxCount
public int getTxCount()
How many times the last frame has been transmitted
optional uint32 txCount = 10;- Specified by:
getTxCountin interfaceCop1StatusOrBuilder
-
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:
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>
-
-