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 type
yamcs.protobuf.cop1.Cop1Status
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
Protobuf 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, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
static final com.google.protobuf.Parser<Cop1Status>
Deprecated.static final int
static final int
static final int
static final int
static final int
static final int
Fields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFields
Fields inherited from class com.google.protobuf.AbstractMessage
memoizedSize
Fields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode
-
Method Summary
Modifier and TypeMethodDescriptionboolean
getClcw()
Last received CLCWLast received CLCWboolean
If false, all frames are immediately transmitted (i.e.static Cop1Status
static final com.google.protobuf.Descriptors.Descriptor
getLink()
Link name for which this status applies.com.google.protobuf.ByteString
Link name for which this status applies.int
getNnR()
The nR from the previous CLCWint
Number of frames in the out queue (waiting to be picked up by the master chain multiplexer)com.google.protobuf.Parser<Cop1Status>
int
Number of unacknowledged frames in the sent queueint
boolean
Relevant if cop1Active = false -> set the bypass flag on all outgoing framesgetState()
Current state of FOP-1 state machine, only relevant if cop1Active = trueint
How many times the last frame has been transmittedfinal com.google.protobuf.UnknownFieldSet
int
getVS()
V(S) - Transmitter Frame Sequence Number;int
Number of TC packets in the wait queueboolean
hasClcw()
Last received CLCWboolean
If false, all frames are immediately transmitted (i.e.int
hashCode()
boolean
hasLink()
Link name for which this status applies.boolean
hasNnR()
The nR from the previous CLCWboolean
Number of frames in the out queue (waiting to be picked up by the master chain multiplexer)boolean
Number of unacknowledged frames in the sent queueboolean
Relevant if cop1Active = false -> set the bypass flag on all outgoing framesboolean
hasState()
Current state of FOP-1 state machine, only relevant if cop1Active = trueboolean
How many times the last frame has been transmittedboolean
hasVS()
V(S) - Transmitter Frame Sequence Number;boolean
Number of TC packets in the wait queueprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
static Cop1Status.Builder
static Cop1Status.Builder
newBuilder
(Cop1Status prototype) protected Cop1Status.Builder
newBuilderForType
(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected Object
newInstance
(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static Cop1Status
parseDelimitedFrom
(InputStream input) static Cop1Status
parseDelimitedFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Cop1Status
parseFrom
(byte[] data) static Cop1Status
parseFrom
(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Cop1Status
parseFrom
(com.google.protobuf.ByteString data) static Cop1Status
parseFrom
(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Cop1Status
parseFrom
(com.google.protobuf.CodedInputStream input) static Cop1Status
parseFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Cop1Status
parseFrom
(InputStream input) static Cop1Status
parseFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Cop1Status
parseFrom
(ByteBuffer data) static Cop1Status
parseFrom
(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Cop1Status>
parser()
void
writeTo
(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, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, 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
Methods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeTo
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
-
Field Details
-
LINK_FIELD_NUMBER
public static final int LINK_FIELD_NUMBER- See Also:
-
COP1ACTIVE_FIELD_NUMBER
public static final int COP1ACTIVE_FIELD_NUMBER- See Also:
-
SETBYPASSALL_FIELD_NUMBER
public static final int SETBYPASSALL_FIELD_NUMBER- See Also:
-
CLCW_FIELD_NUMBER
public static final int CLCW_FIELD_NUMBER- See Also:
-
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER- See Also:
-
VS_FIELD_NUMBER
public static final int VS_FIELD_NUMBER- See Also:
-
NNR_FIELD_NUMBER
public static final int NNR_FIELD_NUMBER- See Also:
-
WAITQUEUENUMTC_FIELD_NUMBER
public static final int WAITQUEUENUMTC_FIELD_NUMBER- See Also:
-
SENTQUEUENUMFRAMES_FIELD_NUMBER
public static final int SENTQUEUENUMFRAMES_FIELD_NUMBER- See Also:
-
OUTQUEUENUMFRAMES_FIELD_NUMBER
public static final int OUTQUEUENUMFRAMES_FIELD_NUMBER- See Also:
-
TXCOUNT_FIELD_NUMBER
public static final int TXCOUNT_FIELD_NUMBER- See Also:
-
PARSER
Deprecated.
-
-
Method Details
-
newInstance
- Overrides:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()- Specified by:
getUnknownFields
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getUnknownFields
in classcom.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 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:
hasLink
in 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:
getLink
in 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:
getLinkBytes
in interfaceCop1StatusOrBuilder
- Returns:
- The bytes for link.
-
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 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:
getCop1Active
in interfaceCop1StatusOrBuilder
- Returns:
- The cop1Active.
-
hasSetBypassAll
public boolean hasSetBypassAll()Relevant if cop1Active = false -> set the bypass flag on all outgoing frames
optional bool setBypassAll = 2;
- Specified by:
hasSetBypassAll
in 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:
getSetBypassAll
in interfaceCop1StatusOrBuilder
- Returns:
- The setBypassAll.
-
hasClcw
public boolean hasClcw()Last received CLCW
optional .yamcs.protobuf.cop1.Clcw clcw = 3;
- Specified by:
hasClcw
in interfaceCop1StatusOrBuilder
- Returns:
- Whether the clcw field is set.
-
getClcw
Last received CLCW
optional .yamcs.protobuf.cop1.Clcw clcw = 3;
- Specified by:
getClcw
in interfaceCop1StatusOrBuilder
- Returns:
- The clcw.
-
getClcwOrBuilder
Last received CLCW
optional .yamcs.protobuf.cop1.Clcw clcw = 3;
- Specified by:
getClcwOrBuilder
in 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:
hasState
in 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:
getState
in interfaceCop1StatusOrBuilder
- Returns:
- The state.
-
hasVS
public boolean hasVS()V(S) - Transmitter Frame Sequence Number;
optional uint32 vS = 5;
- Specified by:
hasVS
in interfaceCop1StatusOrBuilder
- Returns:
- Whether the vS field is set.
-
getVS
public int getVS()V(S) - Transmitter Frame Sequence Number;
optional uint32 vS = 5;
- Specified by:
getVS
in interfaceCop1StatusOrBuilder
- Returns:
- The vS.
-
hasNnR
public boolean hasNnR()The nR from the previous CLCW
optional uint32 nnR = 6;
- Specified by:
hasNnR
in interfaceCop1StatusOrBuilder
- Returns:
- Whether the nnR field is set.
-
getNnR
public int getNnR()The nR from the previous CLCW
optional uint32 nnR = 6;
- Specified by:
getNnR
in interfaceCop1StatusOrBuilder
- Returns:
- The nnR.
-
hasWaitQueueNumTC
public boolean hasWaitQueueNumTC()Number of TC packets in the wait queue
optional uint32 waitQueueNumTC = 7;
- Specified by:
hasWaitQueueNumTC
in 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:
getWaitQueueNumTC
in interfaceCop1StatusOrBuilder
- Returns:
- The waitQueueNumTC.
-
hasSentQueueNumFrames
public boolean hasSentQueueNumFrames()Number of unacknowledged frames in the sent queue
optional uint32 sentQueueNumFrames = 8;
- Specified by:
hasSentQueueNumFrames
in 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:
getSentQueueNumFrames
in interfaceCop1StatusOrBuilder
- Returns:
- The sentQueueNumFrames.
-
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 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:
getOutQueueNumFrames
in interfaceCop1StatusOrBuilder
- Returns:
- The outQueueNumFrames.
-
hasTxCount
public boolean hasTxCount()How many times the last frame has been transmitted
optional uint32 txCount = 10;
- Specified by:
hasTxCount
in 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:
getTxCount
in interfaceCop1StatusOrBuilder
- Returns:
- The txCount.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in 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
- Throws:
IOException
-
parseFrom
public static Cop1Status parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Cop1Status parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Cop1Status parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Cop1Status.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-