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
Fields inherited from class us.hebi.quickbuf.ProtoMessage
bitField0_, cachedSize, unknownBytesFieldName -
Method Summary
Modifier and TypeMethodDescriptionaddAllXFinal(double... values) repeated double x_final = 2;addAllXInitial(double... values) repeated double x_initial = 1;addAllYFinal(double... values) repeated double y_final = 4;addAllYInitial(double... values) repeated double y_initial = 3;addXFinal(double value) repeated double x_final = 2;addXInitial(double value) repeated double x_initial = 1;addYFinal(double value) repeated double y_final = 4;addYInitial(double value) repeated double y_initial = 3;clear()repeated double x_final = 2;repeated double x_initial = 1;repeated double y_final = 4;repeated double y_initial = 3;clone()protected intbooleanstatic us.hebi.quickbuf.Descriptors.Descriptorstatic us.hebi.quickbuf.MessageFactory<Spline.ProtobufQuinticHermiteSpline>us.hebi.quickbuf.RepeatedDoublerepeated double x_final = 2;This method returns the internal storage object and sets the corresponding has state.us.hebi.quickbuf.RepeatedDoublerepeated double x_initial = 1;This method returns the internal storage object and sets the corresponding has state.us.hebi.quickbuf.RepeatedDoublerepeated double y_final = 4;This method returns the internal storage object and sets the corresponding has state.us.hebi.quickbuf.RepeatedDoublerepeated double y_initial = 3;This method returns the internal storage object and sets the corresponding has state.us.hebi.quickbuf.RepeatedDoublerepeated double x_final = 2;This method returns the internal storage object without modifying any has state.us.hebi.quickbuf.RepeatedDoublerepeated double x_initial = 1;This method returns the internal storage object without modifying any has state.us.hebi.quickbuf.RepeatedDoublerepeated double y_final = 4;This method returns the internal storage object without modifying any has state.us.hebi.quickbuf.RepeatedDoublerepeated double y_initial = 3;This method returns the internal storage object without modifying any has state.booleanrepeated double x_final = 2;booleanrepeated double x_initial = 1;booleanrepeated double y_final = 4;booleanrepeated double y_initial = 3;booleanisEmpty()mergeFrom(us.hebi.quickbuf.JsonSource input) mergeFrom(us.hebi.quickbuf.ProtoSource input) parseFrom(byte[] data) parseFrom(us.hebi.quickbuf.JsonSource input) parseFrom(us.hebi.quickbuf.ProtoSource input) voidwriteTo(us.hebi.quickbuf.JsonSink output) voidwriteTo(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:
copyFromin classus.hebi.quickbuf.ProtoMessage<Spline.ProtobufQuinticHermiteSpline>
-
mergeFrom
- Overrides:
mergeFromin classus.hebi.quickbuf.ProtoMessage<Spline.ProtobufQuinticHermiteSpline>
-
clear
- Specified by:
clearin classus.hebi.quickbuf.ProtoMessage<Spline.ProtobufQuinticHermiteSpline>
-
clearQuick
- Overrides:
clearQuickin classus.hebi.quickbuf.ProtoMessage<Spline.ProtobufQuinticHermiteSpline>
-
equals
- Specified by:
equalsin classus.hebi.quickbuf.ProtoMessage<Spline.ProtobufQuinticHermiteSpline>
-
writeTo
- Specified by:
writeToin classus.hebi.quickbuf.ProtoMessage<Spline.ProtobufQuinticHermiteSpline>- Throws:
IOException
-
computeSerializedSize
- Specified by:
computeSerializedSizein classus.hebi.quickbuf.ProtoMessage<Spline.ProtobufQuinticHermiteSpline>
-
mergeFrom
public Spline.ProtobufQuinticHermiteSpline mergeFrom(us.hebi.quickbuf.ProtoSource input) throws IOException - Specified by:
mergeFromin classus.hebi.quickbuf.ProtoMessage<Spline.ProtobufQuinticHermiteSpline>- Throws:
IOException
-
writeTo
- Overrides:
writeToin classus.hebi.quickbuf.ProtoMessage<Spline.ProtobufQuinticHermiteSpline>- Throws:
IOException
-
mergeFrom
public Spline.ProtobufQuinticHermiteSpline mergeFrom(us.hebi.quickbuf.JsonSource input) throws IOException - Overrides:
mergeFromin classus.hebi.quickbuf.ProtoMessage<Spline.ProtobufQuinticHermiteSpline>- Throws:
IOException
-
clone
- Specified by:
clonein classus.hebi.quickbuf.ProtoMessage<Spline.ProtobufQuinticHermiteSpline>
-
isEmpty
- Overrides:
isEmptyin 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.
-