Class Mdb.MathElement

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
org.yamcs.protobuf.Mdb.MathElement
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable, Mdb.MathElementOrBuilder
Enclosing class:
Mdb

public static final class Mdb.MathElement extends com.google.protobuf.GeneratedMessage implements Mdb.MathElementOrBuilder
Protobuf type yamcs.protobuf.mdb.MathElement
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    Protobuf type yamcs.protobuf.mdb.MathElement
    static enum 
    Protobuf enum yamcs.protobuf.mdb.MathElement.Type

    Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage

    com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message,T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter

    Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage

    com.google.protobuf.AbstractMessage.BuilderParent

    Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite

    com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     

    Fields inherited from class com.google.protobuf.GeneratedMessage

    alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFields

    Fields inherited from class com.google.protobuf.AbstractMessage

    memoizedSize

    Fields inherited from class com.google.protobuf.AbstractMessageLite

    memoizedHashCode
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
     
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    com.google.protobuf.Descriptors.Descriptor
     
    Operator symbol if type `OPERATOR`.
    com.google.protobuf.ByteString
    Operator symbol if type `OPERATOR`.
    Parameter whose value is used if type `PARAMETER`.
    int
    Parameter instance specifier
    Parameter whose value is used if type `PARAMETER`.
    com.google.protobuf.Parser<Mdb.MathElement>
     
    int
     
    Type of element, either an operand kind or an operator.
    double
    Constant if type `VALUE_OPERAND`.
    int
     
    boolean
    Operator symbol if type `OPERATOR`.
    boolean
    Parameter whose value is used if type `PARAMETER`.
    boolean
    Parameter instance specifier
    boolean
    Type of element, either an operand kind or an operator.
    boolean
    Constant if type `VALUE_OPERAND`.
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
     
    final boolean
     
     
     
     
    newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
     
     
    parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(byte[] data)
     
    parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(com.google.protobuf.ByteString data)
     
    parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(com.google.protobuf.CodedInputStream input)
     
    parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
     
    parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
     
    parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static com.google.protobuf.Parser<Mdb.MathElement>
     
     
    void
    writeTo(com.google.protobuf.CodedOutputStream output)
     

    Methods inherited from class com.google.protobuf.GeneratedMessage

    computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, 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, hashFields, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite

    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, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Field Details

  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • hasType

      public boolean hasType()
       Type of element, either an operand kind or an operator.
       
      optional .yamcs.protobuf.mdb.MathElement.Type type = 1;
      Specified by:
      hasType in interface Mdb.MathElementOrBuilder
      Returns:
      Whether the type field is set.
    • getType

      public Mdb.MathElement.Type getType()
       Type of element, either an operand kind or an operator.
       
      optional .yamcs.protobuf.mdb.MathElement.Type type = 1;
      Specified by:
      getType in interface Mdb.MathElementOrBuilder
      Returns:
      The type.
    • hasOperator

      public boolean hasOperator()
       Operator symbol if type `OPERATOR`.
       
      optional string operator = 2;
      Specified by:
      hasOperator in interface Mdb.MathElementOrBuilder
      Returns:
      Whether the operator field is set.
    • getOperator

      public String getOperator()
       Operator symbol if type `OPERATOR`.
       
      optional string operator = 2;
      Specified by:
      getOperator in interface Mdb.MathElementOrBuilder
      Returns:
      The operator.
    • getOperatorBytes

      public com.google.protobuf.ByteString getOperatorBytes()
       Operator symbol if type `OPERATOR`.
       
      optional string operator = 2;
      Specified by:
      getOperatorBytes in interface Mdb.MathElementOrBuilder
      Returns:
      The bytes for operator.
    • hasValue

      public boolean hasValue()
       Constant if type `VALUE_OPERAND`.
       
      optional double value = 3;
      Specified by:
      hasValue in interface Mdb.MathElementOrBuilder
      Returns:
      Whether the value field is set.
    • getValue

      public double getValue()
       Constant if type `VALUE_OPERAND`.
       
      optional double value = 3;
      Specified by:
      getValue in interface Mdb.MathElementOrBuilder
      Returns:
      The value.
    • hasParameter

      public boolean hasParameter()
       Parameter whose value is used if type `PARAMETER`.
       
      optional .yamcs.protobuf.mdb.ParameterInfo parameter = 4;
      Specified by:
      hasParameter in interface Mdb.MathElementOrBuilder
      Returns:
      Whether the parameter field is set.
    • getParameter

      public Mdb.ParameterInfo getParameter()
       Parameter whose value is used if type `PARAMETER`.
       
      optional .yamcs.protobuf.mdb.ParameterInfo parameter = 4;
      Specified by:
      getParameter in interface Mdb.MathElementOrBuilder
      Returns:
      The parameter.
    • getParameterOrBuilder

      public Mdb.ParameterInfoOrBuilder getParameterOrBuilder()
       Parameter whose value is used if type `PARAMETER`.
       
      optional .yamcs.protobuf.mdb.ParameterInfo parameter = 4;
      Specified by:
      getParameterOrBuilder in interface Mdb.MathElementOrBuilder
    • hasParameterInstance

      public boolean hasParameterInstance()
       Parameter instance specifier
       
      optional int32 parameterInstance = 5;
      Specified by:
      hasParameterInstance in interface Mdb.MathElementOrBuilder
      Returns:
      Whether the parameterInstance field is set.
    • getParameterInstance

      public int getParameterInstance()
       Parameter instance specifier
       
      optional int32 parameterInstance = 5;
      Specified by:
      getParameterInstance in interface Mdb.MathElementOrBuilder
      Returns:
      The parameterInstance.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • 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.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • 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 Mdb.MathElement parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

      public static Mdb.MathElement parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

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

      public static Mdb.MathElement parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

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

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

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

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

      public static Mdb.MathElement.Builder newBuilder()
    • newBuilder

      public static Mdb.MathElement.Builder newBuilder(Mdb.MathElement prototype)
    • toBuilder

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

      protected Mdb.MathElement.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static Mdb.MathElement getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<Mdb.MathElement> 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.GeneratedMessage
    • getDefaultInstanceForType

      public Mdb.MathElement getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder