Package org.yamcs.protobuf
Class Cop1Status
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- org.yamcs.protobuf.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 typeyamcs.protobuf.cop1.Cop1Status- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCop1Status.BuilderProtobuf typeyamcs.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
-
-
Field Summary
Fields Modifier and Type Field Description static intCLCW_FIELD_NUMBERstatic intCOP1ACTIVE_FIELD_NUMBERstatic intLINK_FIELD_NUMBERstatic intNNR_FIELD_NUMBERstatic intOUTQUEUENUMFRAMES_FIELD_NUMBERstatic com.google.protobuf.Parser<Cop1Status>PARSERDeprecated.static intSENTQUEUENUMFRAMES_FIELD_NUMBERstatic intSETBYPASSALL_FIELD_NUMBERstatic intSTATE_FIELD_NUMBERstatic intTXCOUNT_FIELD_NUMBERstatic intVS_FIELD_NUMBERstatic intWAITQUEUENUMTC_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)ClcwgetClcw()Last received CLCWClcwOrBuildergetClcwOrBuilder()Last received CLCWbooleangetCop1Active()If false, all frames are immediately transmitted (i.e.static Cop1StatusgetDefaultInstance()Cop1StatusgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()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)com.google.protobuf.Parser<Cop1Status>getParserForType()intgetSentQueueNumFrames()Number of unacknowledged frames in the sent queueintgetSerializedSize()booleangetSetBypassAll()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 transmittedcom.google.protobuf.UnknownFieldSetgetUnknownFields()intgetVS()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.inthashCode()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()static Cop1Status.BuildernewBuilder()static Cop1Status.BuildernewBuilder(Cop1Status prototype)Cop1Status.BuildernewBuilderForType()protected Cop1Status.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)static Cop1StatusparseDelimitedFrom(InputStream input)static Cop1StatusparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Cop1StatusparseFrom(byte[] data)static Cop1StatusparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Cop1StatusparseFrom(com.google.protobuf.ByteString data)static Cop1StatusparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Cop1StatusparseFrom(com.google.protobuf.CodedInputStream input)static Cop1StatusparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Cop1StatusparseFrom(InputStream input)static Cop1StatusparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Cop1StatusparseFrom(ByteBuffer data)static Cop1StatusparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Cop1Status>parser()Cop1Status.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
LINK_FIELD_NUMBER
public static final int LINK_FIELD_NUMBER
- See Also:
- Constant Field Values
-
COP1ACTIVE_FIELD_NUMBER
public static final int COP1ACTIVE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SETBYPASSALL_FIELD_NUMBER
public static final int SETBYPASSALL_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CLCW_FIELD_NUMBER
public static final int CLCW_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
VS_FIELD_NUMBER
public static final int VS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NNR_FIELD_NUMBER
public static final int NNR_FIELD_NUMBER
- See Also:
- Constant Field Values
-
WAITQUEUENUMTC_FIELD_NUMBER
public static final int WAITQUEUENUMTC_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SENTQUEUENUMFRAMES_FIELD_NUMBER
public static final int SENTQUEUENUMFRAMES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
OUTQUEUENUMFRAMES_FIELD_NUMBER
public static final int OUTQUEUENUMFRAMES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TXCOUNT_FIELD_NUMBER
public static final int TXCOUNT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PARSER
@Deprecated public static final com.google.protobuf.Parser<Cop1Status> PARSER
Deprecated.
-
-
Method Detail
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.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(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Cop1Status parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Cop1Status parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Cop1Status parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Cop1Status parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
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:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Cop1Status.Builder newBuilder()
-
newBuilder
public static Cop1Status.Builder newBuilder(Cop1Status prototype)
-
toBuilder
public Cop1Status.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Cop1Status.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.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:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Cop1Status getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-