Package edu.wpi.first.math.proto
Class Spline.ProtobufCubicHermiteSpline
java.lang.Object
us.hebi.quickbuf.ProtoMessage<Spline.ProtobufCubicHermiteSpline>
edu.wpi.first.math.proto.Spline.ProtobufCubicHermiteSpline
- All Implemented Interfaces:
Cloneable
- Enclosing class:
- Spline
public static final class Spline.ProtobufCubicHermiteSpline
extends us.hebi.quickbuf.ProtoMessage<Spline.ProtobufCubicHermiteSpline>
implements Cloneable
Protobuf type
ProtobufCubicHermiteSpline
-
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 int
boolean
static us.hebi.quickbuf.Descriptors.Descriptor
static us.hebi.quickbuf.MessageFactory<Spline.ProtobufCubicHermiteSpline>
us.hebi.quickbuf.RepeatedDouble
repeated double x_final = 2;
This method returns the internal storage object and sets the corresponding has state.us.hebi.quickbuf.RepeatedDouble
repeated double x_initial = 1;
This method returns the internal storage object and sets the corresponding has state.us.hebi.quickbuf.RepeatedDouble
repeated double y_final = 4;
This method returns the internal storage object and sets the corresponding has state.us.hebi.quickbuf.RepeatedDouble
repeated double y_initial = 3;
This method returns the internal storage object and sets the corresponding has state.us.hebi.quickbuf.RepeatedDouble
repeated double x_final = 2;
This method returns the internal storage object without modifying any has state.us.hebi.quickbuf.RepeatedDouble
repeated double x_initial = 1;
This method returns the internal storage object without modifying any has state.us.hebi.quickbuf.RepeatedDouble
repeated double y_final = 4;
This method returns the internal storage object without modifying any has state.us.hebi.quickbuf.RepeatedDouble
repeated double y_initial = 3;
This method returns the internal storage object without modifying any has state.boolean
repeated double x_final = 2;
boolean
repeated double x_initial = 1;
boolean
repeated double y_final = 4;
boolean
repeated double y_initial = 3;
boolean
isEmpty()
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) 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
ProtobufCubicHermiteSpline
-
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.ProtobufCubicHermiteSpline>
-
mergeFrom
- Overrides:
mergeFrom
in classus.hebi.quickbuf.ProtoMessage<Spline.ProtobufCubicHermiteSpline>
-
clear
- Specified by:
clear
in classus.hebi.quickbuf.ProtoMessage<Spline.ProtobufCubicHermiteSpline>
-
clearQuick
- Overrides:
clearQuick
in classus.hebi.quickbuf.ProtoMessage<Spline.ProtobufCubicHermiteSpline>
-
equals
- Specified by:
equals
in classus.hebi.quickbuf.ProtoMessage<Spline.ProtobufCubicHermiteSpline>
-
writeTo
- Specified by:
writeTo
in classus.hebi.quickbuf.ProtoMessage<Spline.ProtobufCubicHermiteSpline>
- Throws:
IOException
-
computeSerializedSize
- Specified by:
computeSerializedSize
in classus.hebi.quickbuf.ProtoMessage<Spline.ProtobufCubicHermiteSpline>
-
mergeFrom
public Spline.ProtobufCubicHermiteSpline mergeFrom(us.hebi.quickbuf.ProtoSource input) throws IOException - Specified by:
mergeFrom
in classus.hebi.quickbuf.ProtoMessage<Spline.ProtobufCubicHermiteSpline>
- Throws:
IOException
-
writeTo
- Overrides:
writeTo
in classus.hebi.quickbuf.ProtoMessage<Spline.ProtobufCubicHermiteSpline>
- Throws:
IOException
-
mergeFrom
public Spline.ProtobufCubicHermiteSpline mergeFrom(us.hebi.quickbuf.JsonSource input) throws IOException - Overrides:
mergeFrom
in classus.hebi.quickbuf.ProtoMessage<Spline.ProtobufCubicHermiteSpline>
- Throws:
IOException
-
clone
- Specified by:
clone
in classus.hebi.quickbuf.ProtoMessage<Spline.ProtobufCubicHermiteSpline>
-
isEmpty
- Overrides:
isEmpty
in classus.hebi.quickbuf.ProtoMessage<Spline.ProtobufCubicHermiteSpline>
-
parseFrom
public static Spline.ProtobufCubicHermiteSpline parseFrom(byte[] data) throws us.hebi.quickbuf.InvalidProtocolBufferException - Throws:
us.hebi.quickbuf.InvalidProtocolBufferException
-
parseFrom
public static Spline.ProtobufCubicHermiteSpline parseFrom(us.hebi.quickbuf.ProtoSource input) throws IOException - Throws:
IOException
-
parseFrom
public static Spline.ProtobufCubicHermiteSpline parseFrom(us.hebi.quickbuf.JsonSource input) throws IOException - Throws:
IOException
-
getFactory
- Returns:
- factory for creating ProtobufCubicHermiteSpline messages
-
getDescriptor
- Returns:
- this type's descriptor.
-