Class Yamcs.ReplayRequest

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
org.yamcs.protobuf.Yamcs.ReplayRequest
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable, Yamcs.ReplayRequestOrBuilder
Enclosing class:
Yamcs

public static final class Yamcs.ReplayRequest extends com.google.protobuf.GeneratedMessageV3 implements Yamcs.ReplayRequestOrBuilder
used to replay (concurrently) TM packets, parameters and events
 
Protobuf type yamcs.protobuf.ReplayRequest
See Also:
  • Field Details

  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • getUnknownFields

      public final com.google.protobuf.UnknownFieldSet getUnknownFields()
      Specified by:
      getUnknownFields in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getUnknownFields in class com.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 class com.google.protobuf.GeneratedMessageV3
    • hasStart

      public boolean hasStart()
       **Required.** The time at which the replay should start. 
       
      optional .google.protobuf.Timestamp start = 13;
      Specified by:
      hasStart in interface Yamcs.ReplayRequestOrBuilder
      Returns:
      Whether the start field is set.
    • getStart

      public com.google.protobuf.Timestamp getStart()
       **Required.** The time at which the replay should start. 
       
      optional .google.protobuf.Timestamp start = 13;
      Specified by:
      getStart in interface Yamcs.ReplayRequestOrBuilder
      Returns:
      The start.
    • getStartOrBuilder

      public com.google.protobuf.TimestampOrBuilder getStartOrBuilder()
       **Required.** The time at which the replay should start. 
       
      optional .google.protobuf.Timestamp start = 13;
      Specified by:
      getStartOrBuilder in interface Yamcs.ReplayRequestOrBuilder
    • hasStop

      public boolean hasStop()
       The time at which the replay should stop.
       If unspecified, the replay will keep going as long  as there is remaining data.
       
      optional .google.protobuf.Timestamp stop = 14;
      Specified by:
      hasStop in interface Yamcs.ReplayRequestOrBuilder
      Returns:
      Whether the stop field is set.
    • getStop

      public com.google.protobuf.Timestamp getStop()
       The time at which the replay should stop.
       If unspecified, the replay will keep going as long  as there is remaining data.
       
      optional .google.protobuf.Timestamp stop = 14;
      Specified by:
      getStop in interface Yamcs.ReplayRequestOrBuilder
      Returns:
      The stop.
    • getStopOrBuilder

      public com.google.protobuf.TimestampOrBuilder getStopOrBuilder()
       The time at which the replay should stop.
       If unspecified, the replay will keep going as long  as there is remaining data.
       
      optional .google.protobuf.Timestamp stop = 14;
      Specified by:
      getStopOrBuilder in interface Yamcs.ReplayRequestOrBuilder
    • hasEndAction

      public boolean hasEndAction()
      what should happen at the end of the replay
       
      optional .yamcs.protobuf.EndAction endAction = 3 [default = QUIT];
      Specified by:
      hasEndAction in interface Yamcs.ReplayRequestOrBuilder
      Returns:
      Whether the endAction field is set.
    • getEndAction

      public Yamcs.EndAction getEndAction()
      what should happen at the end of the replay
       
      optional .yamcs.protobuf.EndAction endAction = 3 [default = QUIT];
      Specified by:
      getEndAction in interface Yamcs.ReplayRequestOrBuilder
      Returns:
      The endAction.
    • hasSpeed

      public boolean hasSpeed()
      how fast the replay should go
       
      optional .yamcs.protobuf.ReplaySpeed speed = 4;
      Specified by:
      hasSpeed in interface Yamcs.ReplayRequestOrBuilder
      Returns:
      Whether the speed field is set.
    • getSpeed

      public Yamcs.ReplaySpeed getSpeed()
      how fast the replay should go
       
      optional .yamcs.protobuf.ReplaySpeed speed = 4;
      Specified by:
      getSpeed in interface Yamcs.ReplayRequestOrBuilder
      Returns:
      The speed.
    • getSpeedOrBuilder

      public Yamcs.ReplaySpeedOrBuilder getSpeedOrBuilder()
      how fast the replay should go
       
      optional .yamcs.protobuf.ReplaySpeed speed = 4;
      Specified by:
      getSpeedOrBuilder in interface Yamcs.ReplayRequestOrBuilder
    • hasReverse

      public boolean hasReverse()
       Reverse the direction of the replay
       
      optional bool reverse = 15;
      Specified by:
      hasReverse in interface Yamcs.ReplayRequestOrBuilder
      Returns:
      Whether the reverse field is set.
    • getReverse

      public boolean getReverse()
       Reverse the direction of the replay
       
      optional bool reverse = 15;
      Specified by:
      getReverse in interface Yamcs.ReplayRequestOrBuilder
      Returns:
      The reverse.
    • hasParameterRequest

      public boolean hasParameterRequest()
      optional .yamcs.protobuf.ParameterReplayRequest parameterRequest = 8;
      Specified by:
      hasParameterRequest in interface Yamcs.ReplayRequestOrBuilder
      Returns:
      Whether the parameterRequest field is set.
    • getParameterRequest

      public Yamcs.ParameterReplayRequest getParameterRequest()
      optional .yamcs.protobuf.ParameterReplayRequest parameterRequest = 8;
      Specified by:
      getParameterRequest in interface Yamcs.ReplayRequestOrBuilder
      Returns:
      The parameterRequest.
    • getParameterRequestOrBuilder

      public Yamcs.ParameterReplayRequestOrBuilder getParameterRequestOrBuilder()
      optional .yamcs.protobuf.ParameterReplayRequest parameterRequest = 8;
      Specified by:
      getParameterRequestOrBuilder in interface Yamcs.ReplayRequestOrBuilder
    • hasPacketRequest

      public boolean hasPacketRequest()
       By default all Packets, Events, CommandHistory are part of the replay
       Unless one or more of the below requests are specified.
       
      optional .yamcs.protobuf.PacketReplayRequest packetRequest = 9;
      Specified by:
      hasPacketRequest in interface Yamcs.ReplayRequestOrBuilder
      Returns:
      Whether the packetRequest field is set.
    • getPacketRequest

      public Yamcs.PacketReplayRequest getPacketRequest()
       By default all Packets, Events, CommandHistory are part of the replay
       Unless one or more of the below requests are specified.
       
      optional .yamcs.protobuf.PacketReplayRequest packetRequest = 9;
      Specified by:
      getPacketRequest in interface Yamcs.ReplayRequestOrBuilder
      Returns:
      The packetRequest.
    • getPacketRequestOrBuilder

      public Yamcs.PacketReplayRequestOrBuilder getPacketRequestOrBuilder()
       By default all Packets, Events, CommandHistory are part of the replay
       Unless one or more of the below requests are specified.
       
      optional .yamcs.protobuf.PacketReplayRequest packetRequest = 9;
      Specified by:
      getPacketRequestOrBuilder in interface Yamcs.ReplayRequestOrBuilder
    • hasEventRequest

      public boolean hasEventRequest()
      optional .yamcs.protobuf.EventReplayRequest eventRequest = 10;
      Specified by:
      hasEventRequest in interface Yamcs.ReplayRequestOrBuilder
      Returns:
      Whether the eventRequest field is set.
    • getEventRequest

      public Yamcs.EventReplayRequest getEventRequest()
      optional .yamcs.protobuf.EventReplayRequest eventRequest = 10;
      Specified by:
      getEventRequest in interface Yamcs.ReplayRequestOrBuilder
      Returns:
      The eventRequest.
    • getEventRequestOrBuilder

      public Yamcs.EventReplayRequestOrBuilder getEventRequestOrBuilder()
      optional .yamcs.protobuf.EventReplayRequest eventRequest = 10;
      Specified by:
      getEventRequestOrBuilder in interface Yamcs.ReplayRequestOrBuilder
    • hasCommandHistoryRequest

      public boolean hasCommandHistoryRequest()
      optional .yamcs.protobuf.CommandHistoryReplayRequest commandHistoryRequest = 11;
      Specified by:
      hasCommandHistoryRequest in interface Yamcs.ReplayRequestOrBuilder
      Returns:
      Whether the commandHistoryRequest field is set.
    • getCommandHistoryRequest

      public Yamcs.CommandHistoryReplayRequest getCommandHistoryRequest()
      optional .yamcs.protobuf.CommandHistoryReplayRequest commandHistoryRequest = 11;
      Specified by:
      getCommandHistoryRequest in interface Yamcs.ReplayRequestOrBuilder
      Returns:
      The commandHistoryRequest.
    • getCommandHistoryRequestOrBuilder

      public Yamcs.CommandHistoryReplayRequestOrBuilder getCommandHistoryRequestOrBuilder()
      optional .yamcs.protobuf.CommandHistoryReplayRequest commandHistoryRequest = 11;
      Specified by:
      getCommandHistoryRequestOrBuilder in interface Yamcs.ReplayRequestOrBuilder
    • hasPpRequest

      public boolean hasPpRequest()
      optional .yamcs.protobuf.PpReplayRequest ppRequest = 12;
      Specified by:
      hasPpRequest in interface Yamcs.ReplayRequestOrBuilder
      Returns:
      Whether the ppRequest field is set.
    • getPpRequest

      public Yamcs.PpReplayRequest getPpRequest()
      optional .yamcs.protobuf.PpReplayRequest ppRequest = 12;
      Specified by:
      getPpRequest in interface Yamcs.ReplayRequestOrBuilder
      Returns:
      The ppRequest.
    • getPpRequestOrBuilder

      public Yamcs.PpReplayRequestOrBuilder getPpRequestOrBuilder()
      optional .yamcs.protobuf.PpReplayRequest ppRequest = 12;
      Specified by:
      getPpRequestOrBuilder in interface Yamcs.ReplayRequestOrBuilder
    • hasAutostart

      public boolean hasAutostart()
       Start the replay following initialization
       Defaults to true, if unspecified
       
      optional bool autostart = 16 [default = true];
      Specified by:
      hasAutostart in interface Yamcs.ReplayRequestOrBuilder
      Returns:
      Whether the autostart field is set.
    • getAutostart

      public boolean getAutostart()
       Start the replay following initialization
       Defaults to true, if unspecified
       
      optional bool autostart = 16 [default = true];
      Specified by:
      getAutostart in interface Yamcs.ReplayRequestOrBuilder
      Returns:
      The autostart.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static Yamcs.ReplayRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Yamcs.ReplayRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Yamcs.ReplayRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Yamcs.ReplayRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Yamcs.ReplayRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Yamcs.ReplayRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Yamcs.ReplayRequest parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Yamcs.ReplayRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Yamcs.ReplayRequest parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Yamcs.ReplayRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Yamcs.ReplayRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Yamcs.ReplayRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public Yamcs.ReplayRequest.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static Yamcs.ReplayRequest.Builder newBuilder()
    • newBuilder

      public static Yamcs.ReplayRequest.Builder newBuilder(Yamcs.ReplayRequest prototype)
    • toBuilder

      public Yamcs.ReplayRequest.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected Yamcs.ReplayRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static Yamcs.ReplayRequest getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<Yamcs.ReplayRequest> parser()
    • getParserForType

      public com.google.protobuf.Parser<Yamcs.ReplayRequest> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

      public Yamcs.ReplayRequest getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder