Class ProtobufQuinticHermiteSpline

java.lang.Object
us.hebi.quickbuf.ProtoMessage<ProtobufQuinticHermiteSpline>
org.wpilib.math.spline.proto.detail.ProtobufQuinticHermiteSpline
All Implemented Interfaces:
Cloneable

public final class ProtobufQuinticHermiteSpline extends us.hebi.quickbuf.ProtoMessage<ProtobufQuinticHermiteSpline> implements Cloneable
Protobuf type ProtobufQuinticHermiteSpline
  • Method Details

    • newInstance

      public static ProtobufQuinticHermiteSpline newInstance()
      Returns:
      a new empty instance of ProtobufQuinticHermiteSpline
    • hasXInitial

      public boolean hasXInitial()
      repeated double x_initial = 1;
      Returns:
      whether the xInitial field is set
    • clearXInitial

      public ProtobufQuinticHermiteSpline clearXInitial()
      repeated double x_initial = 1;
      Returns:
      this
    • getXInitial

      public us.hebi.quickbuf.RepeatedDouble getXInitial()
      repeated double x_initial = 1; This method returns the internal storage object without modifying any has state. The returned object should not be modified and be treated as read-only. Use getMutableXInitial() if you want to modify it.
      Returns:
      internal storage object for reading
    • getMutableXInitial

      public us.hebi.quickbuf.RepeatedDouble getMutableXInitial()
      repeated double x_initial = 1; This method returns the internal storage object and sets the corresponding has state. The returned object will become part of this message and its contents may be modified as long as the has state is not cleared.
      Returns:
      internal storage object for modifications
    • addXInitial

      public ProtobufQuinticHermiteSpline addXInitial(double value)
      repeated double x_initial = 1;
      Parameters:
      value - the xInitial to add
      Returns:
      this
    • addAllXInitial

      public ProtobufQuinticHermiteSpline addAllXInitial(double... values)
      repeated double x_initial = 1;
      Parameters:
      values - the xInitial to add
      Returns:
      this
    • hasXFinal

      public boolean hasXFinal()
      repeated double x_final = 2;
      Returns:
      whether the xFinal field is set
    • clearXFinal

      public ProtobufQuinticHermiteSpline clearXFinal()
      repeated double x_final = 2;
      Returns:
      this
    • getXFinal

      public us.hebi.quickbuf.RepeatedDouble getXFinal()
      repeated double x_final = 2; This method returns the internal storage object without modifying any has state. The returned object should not be modified and be treated as read-only. Use getMutableXFinal() if you want to modify it.
      Returns:
      internal storage object for reading
    • getMutableXFinal

      public us.hebi.quickbuf.RepeatedDouble getMutableXFinal()
      repeated double x_final = 2; This method returns the internal storage object and sets the corresponding has state. The returned object will become part of this message and its contents may be modified as long as the has state is not cleared.
      Returns:
      internal storage object for modifications
    • addXFinal

      public ProtobufQuinticHermiteSpline addXFinal(double value)
      repeated double x_final = 2;
      Parameters:
      value - the xFinal to add
      Returns:
      this
    • addAllXFinal

      public ProtobufQuinticHermiteSpline addAllXFinal(double... values)
      repeated double x_final = 2;
      Parameters:
      values - the xFinal to add
      Returns:
      this
    • hasYInitial

      public boolean hasYInitial()
      repeated double y_initial = 3;
      Returns:
      whether the yInitial field is set
    • clearYInitial

      public ProtobufQuinticHermiteSpline clearYInitial()
      repeated double y_initial = 3;
      Returns:
      this
    • getYInitial

      public us.hebi.quickbuf.RepeatedDouble getYInitial()
      repeated double y_initial = 3; This method returns the internal storage object without modifying any has state. The returned object should not be modified and be treated as read-only. Use getMutableYInitial() if you want to modify it.
      Returns:
      internal storage object for reading
    • getMutableYInitial

      public us.hebi.quickbuf.RepeatedDouble getMutableYInitial()
      repeated double y_initial = 3; This method returns the internal storage object and sets the corresponding has state. The returned object will become part of this message and its contents may be modified as long as the has state is not cleared.
      Returns:
      internal storage object for modifications
    • addYInitial

      public ProtobufQuinticHermiteSpline addYInitial(double value)
      repeated double y_initial = 3;
      Parameters:
      value - the yInitial to add
      Returns:
      this
    • addAllYInitial

      public ProtobufQuinticHermiteSpline addAllYInitial(double... values)
      repeated double y_initial = 3;
      Parameters:
      values - the yInitial to add
      Returns:
      this
    • hasYFinal

      public boolean hasYFinal()
      repeated double y_final = 4;
      Returns:
      whether the yFinal field is set
    • clearYFinal

      public ProtobufQuinticHermiteSpline clearYFinal()
      repeated double y_final = 4;
      Returns:
      this
    • getYFinal

      public us.hebi.quickbuf.RepeatedDouble getYFinal()
      repeated double y_final = 4; This method returns the internal storage object without modifying any has state. The returned object should not be modified and be treated as read-only. Use getMutableYFinal() if you want to modify it.
      Returns:
      internal storage object for reading
    • getMutableYFinal

      public us.hebi.quickbuf.RepeatedDouble getMutableYFinal()
      repeated double y_final = 4; This method returns the internal storage object and sets the corresponding has state. The returned object will become part of this message and its contents may be modified as long as the has state is not cleared.
      Returns:
      internal storage object for modifications
    • addYFinal

      public ProtobufQuinticHermiteSpline addYFinal(double value)
      repeated double y_final = 4;
      Parameters:
      value - the yFinal to add
      Returns:
      this
    • addAllYFinal

      public ProtobufQuinticHermiteSpline addAllYFinal(double... values)
      repeated double y_final = 4;
      Parameters:
      values - the yFinal to add
      Returns:
      this
    • copyFrom

      Specified by:
      copyFrom in class us.hebi.quickbuf.ProtoMessage<ProtobufQuinticHermiteSpline>
    • mergeFrom

      Overrides:
      mergeFrom in class us.hebi.quickbuf.ProtoMessage<ProtobufQuinticHermiteSpline>
    • clear

      Specified by:
      clear in class us.hebi.quickbuf.ProtoMessage<ProtobufQuinticHermiteSpline>
    • clearQuick

      public ProtobufQuinticHermiteSpline clearQuick()
      Overrides:
      clearQuick in class us.hebi.quickbuf.ProtoMessage<ProtobufQuinticHermiteSpline>
    • equals

      public boolean equals(Object o)
      Specified by:
      equals in class us.hebi.quickbuf.ProtoMessage<ProtobufQuinticHermiteSpline>
    • writeTo

      public void writeTo(us.hebi.quickbuf.ProtoSink output) throws IOException
      Specified by:
      writeTo in class us.hebi.quickbuf.ProtoMessage<ProtobufQuinticHermiteSpline>
      Throws:
      IOException
    • computeSerializedSize

      protected int computeSerializedSize()
      Specified by:
      computeSerializedSize in class us.hebi.quickbuf.ProtoMessage<ProtobufQuinticHermiteSpline>
    • mergeFrom

      public ProtobufQuinticHermiteSpline mergeFrom(us.hebi.quickbuf.ProtoSource input) throws IOException
      Specified by:
      mergeFrom in class us.hebi.quickbuf.ProtoMessage<ProtobufQuinticHermiteSpline>
      Throws:
      IOException
    • writeTo

      public void writeTo(us.hebi.quickbuf.JsonSink output) throws IOException
      Overrides:
      writeTo in class us.hebi.quickbuf.ProtoMessage<ProtobufQuinticHermiteSpline>
      Throws:
      IOException
    • mergeFrom

      public ProtobufQuinticHermiteSpline mergeFrom(us.hebi.quickbuf.JsonSource input) throws IOException
      Overrides:
      mergeFrom in class us.hebi.quickbuf.ProtoMessage<ProtobufQuinticHermiteSpline>
      Throws:
      IOException
    • clone

      Specified by:
      clone in class us.hebi.quickbuf.ProtoMessage<ProtobufQuinticHermiteSpline>
    • isEmpty

      public boolean isEmpty()
      Overrides:
      isEmpty in class us.hebi.quickbuf.ProtoMessage<ProtobufQuinticHermiteSpline>
    • parseFrom

      public static ProtobufQuinticHermiteSpline parseFrom(byte[] data) throws us.hebi.quickbuf.InvalidProtocolBufferException
      Throws:
      us.hebi.quickbuf.InvalidProtocolBufferException
    • parseFrom

      public static ProtobufQuinticHermiteSpline parseFrom(us.hebi.quickbuf.ProtoSource input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ProtobufQuinticHermiteSpline parseFrom(us.hebi.quickbuf.JsonSource input) throws IOException
      Throws:
      IOException
    • getFactory

      public static us.hebi.quickbuf.MessageFactory<ProtobufQuinticHermiteSpline> getFactory()
      Returns:
      factory for creating ProtobufQuinticHermiteSpline messages
    • getDescriptor

      public static us.hebi.quickbuf.Descriptors.Descriptor getDescriptor()
      Returns:
      this type's descriptor.