Class Mdb.ArgumentDimensionInfo

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

public static final class Mdb.ArgumentDimensionInfo extends com.google.protobuf.GeneratedMessageV3 implements Mdb.ArgumentDimensionInfoOrBuilder
Protobuf type yamcs.protobuf.mdb.ArgumentDimensionInfo
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
    • hasFixedValue

      public boolean hasFixedValue()
       Use a fixed integer value. If set, no other options are applicable.
       This value describes the length.
       
      optional int64 fixedValue = 1;
      Specified by:
      hasFixedValue in interface Mdb.ArgumentDimensionInfoOrBuilder
      Returns:
      Whether the fixedValue field is set.
    • getFixedValue

      public long getFixedValue()
       Use a fixed integer value. If set, no other options are applicable.
       This value describes the length.
       
      optional int64 fixedValue = 1;
      Specified by:
      getFixedValue in interface Mdb.ArgumentDimensionInfoOrBuilder
      Returns:
      The fixedValue.
    • hasParameter

      public boolean hasParameter()
       Use the value of the referenced parameter.
       The value describes the zero-based ending index (length - 1)
       For a value ``v``, the dimension's length is determined
       as: ``(v * slope) + intercept``. 
       
      optional .yamcs.protobuf.mdb.ParameterInfo parameter = 2;
      Specified by:
      hasParameter in interface Mdb.ArgumentDimensionInfoOrBuilder
      Returns:
      Whether the parameter field is set.
    • getParameter

      public Mdb.ParameterInfo getParameter()
       Use the value of the referenced parameter.
       The value describes the zero-based ending index (length - 1)
       For a value ``v``, the dimension's length is determined
       as: ``(v * slope) + intercept``. 
       
      optional .yamcs.protobuf.mdb.ParameterInfo parameter = 2;
      Specified by:
      getParameter in interface Mdb.ArgumentDimensionInfoOrBuilder
      Returns:
      The parameter.
    • getParameterOrBuilder

      public Mdb.ParameterInfoOrBuilder getParameterOrBuilder()
       Use the value of the referenced parameter.
       The value describes the zero-based ending index (length - 1)
       For a value ``v``, the dimension's length is determined
       as: ``(v * slope) + intercept``. 
       
      optional .yamcs.protobuf.mdb.ParameterInfo parameter = 2;
      Specified by:
      getParameterOrBuilder in interface Mdb.ArgumentDimensionInfoOrBuilder
    • hasArgument

      public boolean hasArgument()
       Use the value of the referenced argument.
       The value describes the zero-based ending index (length - 1)
       For a value ``v``, the dimension's length is determined
       as: ``(v * slope) + intercept``.
       
      optional string argument = 3;
      Specified by:
      hasArgument in interface Mdb.ArgumentDimensionInfoOrBuilder
      Returns:
      Whether the argument field is set.
    • getArgument

      public String getArgument()
       Use the value of the referenced argument.
       The value describes the zero-based ending index (length - 1)
       For a value ``v``, the dimension's length is determined
       as: ``(v * slope) + intercept``.
       
      optional string argument = 3;
      Specified by:
      getArgument in interface Mdb.ArgumentDimensionInfoOrBuilder
      Returns:
      The argument.
    • getArgumentBytes

      public com.google.protobuf.ByteString getArgumentBytes()
       Use the value of the referenced argument.
       The value describes the zero-based ending index (length - 1)
       For a value ``v``, the dimension's length is determined
       as: ``(v * slope) + intercept``.
       
      optional string argument = 3;
      Specified by:
      getArgumentBytes in interface Mdb.ArgumentDimensionInfoOrBuilder
      Returns:
      The bytes for argument.
    • hasSlope

      public boolean hasSlope()
       Scale the value obtained from a parameter or argument reference.
       
      optional int64 slope = 4;
      Specified by:
      hasSlope in interface Mdb.ArgumentDimensionInfoOrBuilder
      Returns:
      Whether the slope field is set.
    • getSlope

      public long getSlope()
       Scale the value obtained from a parameter or argument reference.
       
      optional int64 slope = 4;
      Specified by:
      getSlope in interface Mdb.ArgumentDimensionInfoOrBuilder
      Returns:
      The slope.
    • hasIntercept

      public boolean hasIntercept()
       Shift the value obtained from a parameter or argument reference.
       
      optional int64 intercept = 5;
      Specified by:
      hasIntercept in interface Mdb.ArgumentDimensionInfoOrBuilder
      Returns:
      Whether the intercept field is set.
    • getIntercept

      public long getIntercept()
       Shift the value obtained from a parameter or argument reference.
       
      optional int64 intercept = 5;
      Specified by:
      getIntercept in interface Mdb.ArgumentDimensionInfoOrBuilder
      Returns:
      The intercept.
    • 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 Mdb.ArgumentDimensionInfo parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

      public static Mdb.ArgumentDimensionInfo 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.ArgumentDimensionInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

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

      public static Mdb.ArgumentDimensionInfo getDefaultInstance()
    • parser

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

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