Package edu.wpi.first.math.proto
Class Spline.ProtobufQuinticHermiteSpline
java.lang.Object
us.hebi.quickbuf.ProtoMessage<Spline.ProtobufQuinticHermiteSpline>
edu.wpi.first.math.proto.Spline.ProtobufQuinticHermiteSpline
- All Implemented Interfaces:
Cloneable
- Enclosing class:
- Spline
public static final class Spline.ProtobufQuinticHermiteSpline extends us.hebi.quickbuf.ProtoMessage<Spline.ProtobufQuinticHermiteSpline> implements Cloneable
Protobuf type
ProtobufQuinticHermiteSpline
-
Field Summary
-
Method Summary
Modifier and Type Method Description Spline.ProtobufQuinticHermiteSpline
addAllXFinal(double... values)
repeated double x_final = 2;
Spline.ProtobufQuinticHermiteSpline
addAllXInitial(double... values)
repeated double x_initial = 1;
Spline.ProtobufQuinticHermiteSpline
addAllYFinal(double... values)
repeated double y_final = 4;
Spline.ProtobufQuinticHermiteSpline
addAllYInitial(double... values)
repeated double y_initial = 3;
Spline.ProtobufQuinticHermiteSpline
addXFinal(double value)
repeated double x_final = 2;
Spline.ProtobufQuinticHermiteSpline
addXInitial(double value)
repeated double x_initial = 1;
Spline.ProtobufQuinticHermiteSpline
addYFinal(double value)
repeated double y_final = 4;
Spline.ProtobufQuinticHermiteSpline
addYInitial(double value)
repeated double y_initial = 3;
Spline.ProtobufQuinticHermiteSpline
clear()
Spline.ProtobufQuinticHermiteSpline
clearQuick()
Spline.ProtobufQuinticHermiteSpline
clearXFinal()
repeated double x_final = 2;
Spline.ProtobufQuinticHermiteSpline
clearXInitial()
repeated double x_initial = 1;
Spline.ProtobufQuinticHermiteSpline
clearYFinal()
repeated double y_final = 4;
Spline.ProtobufQuinticHermiteSpline
clearYInitial()
repeated double y_initial = 3;
Spline.ProtobufQuinticHermiteSpline
clone()
protected int
computeSerializedSize()
Spline.ProtobufQuinticHermiteSpline
copyFrom(Spline.ProtobufQuinticHermiteSpline other)
boolean
equals(Object o)
static us.hebi.quickbuf.Descriptors.Descriptor
getDescriptor()
static us.hebi.quickbuf.MessageFactory<Spline.ProtobufQuinticHermiteSpline>
getFactory()
us.hebi.quickbuf.RepeatedDouble
getMutableXFinal()
repeated double x_final = 2;
This method returns the internal storage object and sets the corresponding has state.us.hebi.quickbuf.RepeatedDouble
getMutableXInitial()
repeated double x_initial = 1;
This method returns the internal storage object and sets the corresponding has state.us.hebi.quickbuf.RepeatedDouble
getMutableYFinal()
repeated double y_final = 4;
This method returns the internal storage object and sets the corresponding has state.us.hebi.quickbuf.RepeatedDouble
getMutableYInitial()
repeated double y_initial = 3;
This method returns the internal storage object and sets the corresponding has state.us.hebi.quickbuf.RepeatedDouble
getXFinal()
repeated double x_final = 2;
This method returns the internal storage object without modifying any has state.us.hebi.quickbuf.RepeatedDouble
getXInitial()
repeated double x_initial = 1;
This method returns the internal storage object without modifying any has state.us.hebi.quickbuf.RepeatedDouble
getYFinal()
repeated double y_final = 4;
This method returns the internal storage object without modifying any has state.us.hebi.quickbuf.RepeatedDouble
getYInitial()
repeated double y_initial = 3;
This method returns the internal storage object without modifying any has state.boolean
hasXFinal()
repeated double x_final = 2;
boolean
hasXInitial()
repeated double x_initial = 1;
boolean
hasYFinal()
repeated double y_final = 4;
boolean
hasYInitial()
repeated double y_initial = 3;
boolean
isEmpty()
Spline.ProtobufQuinticHermiteSpline
mergeFrom(Spline.ProtobufQuinticHermiteSpline other)
Spline.ProtobufQuinticHermiteSpline
mergeFrom(us.hebi.quickbuf.JsonSource input)
Spline.ProtobufQuinticHermiteSpline
mergeFrom(us.hebi.quickbuf.ProtoSource input)
static Spline.ProtobufQuinticHermiteSpline
newInstance()
static Spline.ProtobufQuinticHermiteSpline
parseFrom(byte[] data)
static Spline.ProtobufQuinticHermiteSpline
parseFrom(us.hebi.quickbuf.JsonSource input)
static Spline.ProtobufQuinticHermiteSpline
parseFrom(us.hebi.quickbuf.ProtoSource input)
void
writeTo(us.hebi.quickbuf.JsonSink output)
void
writeTo(us.hebi.quickbuf.ProtoSink output)
Methods inherited from class us.hebi.quickbuf.ProtoMessage
bytesDefaultValue, checkInitialized, getCachedSize, getMissingFields, getMissingFields, getMissingFields, getMissingFields, getSerializedSize, getUnknownBytes, hashCode, isInitialized, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, rethrowFromParent, toByteArray, toByteArray, toByteArray, toString, writeDelimitedTo
-
Method Details
-
newInstance
- Returns:
- a new empty instance of
ProtobufQuinticHermiteSpline
-
hasXInitial
repeated double x_initial = 1;
- Returns:
- whether the xInitial field is set
-
clearXInitial
repeated double x_initial = 1;
- Returns:
- this
-
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. UsegetMutableXInitial()
if you want to modify it.- Returns:
- internal storage object for reading
-
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
repeated double x_initial = 1;
- Parameters:
value
- the xInitial to add- Returns:
- this
-
addAllXInitial
repeated double x_initial = 1;
- Parameters:
values
- the xInitial to add- Returns:
- this
-
hasXFinal
repeated double x_final = 2;
- Returns:
- whether the xFinal field is set
-
clearXFinal
repeated double x_final = 2;
- Returns:
- this
-
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. UsegetMutableXFinal()
if you want to modify it.- Returns:
- internal storage object for reading
-
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
repeated double x_final = 2;
- Parameters:
value
- the xFinal to add- Returns:
- this
-
addAllXFinal
repeated double x_final = 2;
- Parameters:
values
- the xFinal to add- Returns:
- this
-
hasYInitial
repeated double y_initial = 3;
- Returns:
- whether the yInitial field is set
-
clearYInitial
repeated double y_initial = 3;
- Returns:
- this
-
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. UsegetMutableYInitial()
if you want to modify it.- Returns:
- internal storage object for reading
-
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
repeated double y_initial = 3;
- Parameters:
value
- the yInitial to add- Returns:
- this
-
addAllYInitial
repeated double y_initial = 3;
- Parameters:
values
- the yInitial to add- Returns:
- this
-
hasYFinal
repeated double y_final = 4;
- Returns:
- whether the yFinal field is set
-
clearYFinal
repeated double y_final = 4;
- Returns:
- this
-
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. UsegetMutableYFinal()
if you want to modify it.- Returns:
- internal storage object for reading
-
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
repeated double y_final = 4;
- Parameters:
value
- the yFinal to add- Returns:
- this
-
addAllYFinal
repeated double y_final = 4;
- Parameters:
values
- the yFinal to add- Returns:
- this
-
copyFrom
- Specified by:
copyFrom
in classus.hebi.quickbuf.ProtoMessage<Spline.ProtobufQuinticHermiteSpline>
-
mergeFrom
- Overrides:
mergeFrom
in classus.hebi.quickbuf.ProtoMessage<Spline.ProtobufQuinticHermiteSpline>
-
clear
- Specified by:
clear
in classus.hebi.quickbuf.ProtoMessage<Spline.ProtobufQuinticHermiteSpline>
-
clearQuick
- Overrides:
clearQuick
in classus.hebi.quickbuf.ProtoMessage<Spline.ProtobufQuinticHermiteSpline>
-
equals
- Specified by:
equals
in classus.hebi.quickbuf.ProtoMessage<Spline.ProtobufQuinticHermiteSpline>
-
writeTo
- Specified by:
writeTo
in classus.hebi.quickbuf.ProtoMessage<Spline.ProtobufQuinticHermiteSpline>
- Throws:
IOException
-
computeSerializedSize
- Specified by:
computeSerializedSize
in classus.hebi.quickbuf.ProtoMessage<Spline.ProtobufQuinticHermiteSpline>
-
mergeFrom
public Spline.ProtobufQuinticHermiteSpline mergeFrom(us.hebi.quickbuf.ProtoSource input) throws IOException- Specified by:
mergeFrom
in classus.hebi.quickbuf.ProtoMessage<Spline.ProtobufQuinticHermiteSpline>
- Throws:
IOException
-
writeTo
- Overrides:
writeTo
in classus.hebi.quickbuf.ProtoMessage<Spline.ProtobufQuinticHermiteSpline>
- Throws:
IOException
-
mergeFrom
public Spline.ProtobufQuinticHermiteSpline mergeFrom(us.hebi.quickbuf.JsonSource input) throws IOException- Overrides:
mergeFrom
in classus.hebi.quickbuf.ProtoMessage<Spline.ProtobufQuinticHermiteSpline>
- Throws:
IOException
-
clone
- Specified by:
clone
in classus.hebi.quickbuf.ProtoMessage<Spline.ProtobufQuinticHermiteSpline>
-
isEmpty
- Overrides:
isEmpty
in classus.hebi.quickbuf.ProtoMessage<Spline.ProtobufQuinticHermiteSpline>
-
parseFrom
public static Spline.ProtobufQuinticHermiteSpline parseFrom(byte[] data) throws us.hebi.quickbuf.InvalidProtocolBufferException- Throws:
us.hebi.quickbuf.InvalidProtocolBufferException
-
parseFrom
public static Spline.ProtobufQuinticHermiteSpline parseFrom(us.hebi.quickbuf.ProtoSource input) throws IOException- Throws:
IOException
-
parseFrom
public static Spline.ProtobufQuinticHermiteSpline parseFrom(us.hebi.quickbuf.JsonSource input) throws IOException- Throws:
IOException
-
getFactory
- Returns:
- factory for creating ProtobufQuinticHermiteSpline messages
-
getDescriptor
- Returns:
- this type's descriptor.
-