Class TseCommand

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
org.yamcs.tse.api.TseCommand
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable, TseCommandOrBuilder

public final class TseCommand extends com.google.protobuf.GeneratedMessageV3 implements TseCommandOrBuilder
Protobuf type yamcs.protobuf.tse.TseCommand
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()
    • internalGetMapField

      protected com.google.protobuf.MapField internalGetMapField(int number)
      Overrides:
      internalGetMapField in class com.google.protobuf.GeneratedMessageV3
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
    • hasId

      public boolean hasId()
      optional .yamcs.protobuf.commanding.CommandId id = 6;
      Specified by:
      hasId in interface TseCommandOrBuilder
      Returns:
      Whether the id field is set.
    • getId

      public Commanding.CommandId getId()
      optional .yamcs.protobuf.commanding.CommandId id = 6;
      Specified by:
      getId in interface TseCommandOrBuilder
      Returns:
      The id.
    • getIdOrBuilder

      public Commanding.CommandIdOrBuilder getIdOrBuilder()
      optional .yamcs.protobuf.commanding.CommandId id = 6;
      Specified by:
      getIdOrBuilder in interface TseCommandOrBuilder
    • hasInstrument

      public boolean hasInstrument()
      optional string instrument = 1;
      Specified by:
      hasInstrument in interface TseCommandOrBuilder
      Returns:
      Whether the instrument field is set.
    • getInstrument

      public String getInstrument()
      optional string instrument = 1;
      Specified by:
      getInstrument in interface TseCommandOrBuilder
      Returns:
      The instrument.
    • getInstrumentBytes

      public com.google.protobuf.ByteString getInstrumentBytes()
      optional string instrument = 1;
      Specified by:
      getInstrumentBytes in interface TseCommandOrBuilder
      Returns:
      The bytes for instrument.
    • hasCommand

      public boolean hasCommand()
      optional string command = 2;
      Specified by:
      hasCommand in interface TseCommandOrBuilder
      Returns:
      Whether the command field is set.
    • getCommand

      public String getCommand()
      optional string command = 2;
      Specified by:
      getCommand in interface TseCommandOrBuilder
      Returns:
      The command.
    • getCommandBytes

      public com.google.protobuf.ByteString getCommandBytes()
      optional string command = 2;
      Specified by:
      getCommandBytes in interface TseCommandOrBuilder
      Returns:
      The bytes for command.
    • hasResponse

      public boolean hasResponse()
      optional string response = 3;
      Specified by:
      hasResponse in interface TseCommandOrBuilder
      Returns:
      Whether the response field is set.
    • getResponse

      public String getResponse()
      optional string response = 3;
      Specified by:
      getResponse in interface TseCommandOrBuilder
      Returns:
      The response.
    • getResponseBytes

      public com.google.protobuf.ByteString getResponseBytes()
      optional string response = 3;
      Specified by:
      getResponseBytes in interface TseCommandOrBuilder
      Returns:
      The bytes for response.
    • getArgumentMappingCount

      public int getArgumentMappingCount()
      Description copied from interface: TseCommandOrBuilder
      map<string, .yamcs.protobuf.Value> argumentMapping = 4;
      Specified by:
      getArgumentMappingCount in interface TseCommandOrBuilder
    • containsArgumentMapping

      public boolean containsArgumentMapping(String key)
      map<string, .yamcs.protobuf.Value> argumentMapping = 4;
      Specified by:
      containsArgumentMapping in interface TseCommandOrBuilder
    • getArgumentMapping

      @Deprecated public Map<String,Yamcs.Value> getArgumentMapping()
      Deprecated.
      Specified by:
      getArgumentMapping in interface TseCommandOrBuilder
    • getArgumentMappingMap

      public Map<String,Yamcs.Value> getArgumentMappingMap()
      map<string, .yamcs.protobuf.Value> argumentMapping = 4;
      Specified by:
      getArgumentMappingMap in interface TseCommandOrBuilder
    • getArgumentMappingOrDefault

      public Yamcs.Value getArgumentMappingOrDefault(String key, Yamcs.Value defaultValue)
      map<string, .yamcs.protobuf.Value> argumentMapping = 4;
      Specified by:
      getArgumentMappingOrDefault in interface TseCommandOrBuilder
    • getArgumentMappingOrThrow

      public Yamcs.Value getArgumentMappingOrThrow(String key)
      map<string, .yamcs.protobuf.Value> argumentMapping = 4;
      Specified by:
      getArgumentMappingOrThrow in interface TseCommandOrBuilder
    • getParameterMappingCount

      public int getParameterMappingCount()
      Description copied from interface: TseCommandOrBuilder
      map<string, string> parameterMapping = 5;
      Specified by:
      getParameterMappingCount in interface TseCommandOrBuilder
    • containsParameterMapping

      public boolean containsParameterMapping(String key)
      map<string, string> parameterMapping = 5;
      Specified by:
      containsParameterMapping in interface TseCommandOrBuilder
    • getParameterMapping

      @Deprecated public Map<String,String> getParameterMapping()
      Deprecated.
      Specified by:
      getParameterMapping in interface TseCommandOrBuilder
    • getParameterMappingMap

      public Map<String,String> getParameterMappingMap()
      map<string, string> parameterMapping = 5;
      Specified by:
      getParameterMappingMap in interface TseCommandOrBuilder
    • getParameterMappingOrDefault

      public String getParameterMappingOrDefault(String key, String defaultValue)
      map<string, string> parameterMapping = 5;
      Specified by:
      getParameterMappingOrDefault in interface TseCommandOrBuilder
    • getParameterMappingOrThrow

      public String getParameterMappingOrThrow(String key)
      map<string, string> parameterMapping = 5;
      Specified by:
      getParameterMappingOrThrow in interface TseCommandOrBuilder
    • 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 TseCommand parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

      public static TseCommand parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

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

      public static TseCommand parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

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

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

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

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

      public static TseCommand.Builder newBuilder()
    • newBuilder

      public static TseCommand.Builder newBuilder(TseCommand prototype)
    • toBuilder

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

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

      public static TseCommand getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<TseCommand> 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 TseCommand getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder