Class ProtobufQuinticHermiteSpline
java.lang.Object
us.hebi.quickbuf.ProtoMessage<ProtobufQuinticHermiteSpline>
org.wpilib.math.proto.ProtobufQuinticHermiteSpline
- All Implemented Interfaces:
Cloneable
public final class ProtobufQuinticHermiteSpline
extends us.hebi.quickbuf.ProtoMessage<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<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) static ProtobufQuinticHermiteSplinestatic ProtobufQuinticHermiteSplineparseFrom(byte[] data) static ProtobufQuinticHermiteSplineparseFrom(us.hebi.quickbuf.JsonSource input) static ProtobufQuinticHermiteSplineparseFrom(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
-
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
-
clearXFinal
-
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
-
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
-
clearYFinal
-
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<ProtobufQuinticHermiteSpline>
-
mergeFrom
- Overrides:
mergeFromin classus.hebi.quickbuf.ProtoMessage<ProtobufQuinticHermiteSpline>
-
clear
- Specified by:
clearin classus.hebi.quickbuf.ProtoMessage<ProtobufQuinticHermiteSpline>
-
clearQuick
- Overrides:
clearQuickin classus.hebi.quickbuf.ProtoMessage<ProtobufQuinticHermiteSpline>
-
equals
- Specified by:
equalsin classus.hebi.quickbuf.ProtoMessage<ProtobufQuinticHermiteSpline>
-
writeTo
- Specified by:
writeToin classus.hebi.quickbuf.ProtoMessage<ProtobufQuinticHermiteSpline>- Throws:
IOException
-
computeSerializedSize
- Specified by:
computeSerializedSizein classus.hebi.quickbuf.ProtoMessage<ProtobufQuinticHermiteSpline>
-
mergeFrom
public ProtobufQuinticHermiteSpline mergeFrom(us.hebi.quickbuf.ProtoSource input) throws IOException - Specified by:
mergeFromin classus.hebi.quickbuf.ProtoMessage<ProtobufQuinticHermiteSpline>- Throws:
IOException
-
writeTo
- Overrides:
writeToin classus.hebi.quickbuf.ProtoMessage<ProtobufQuinticHermiteSpline>- Throws:
IOException
-
mergeFrom
- Overrides:
mergeFromin classus.hebi.quickbuf.ProtoMessage<ProtobufQuinticHermiteSpline>- Throws:
IOException
-
clone
- Specified by:
clonein classus.hebi.quickbuf.ProtoMessage<ProtobufQuinticHermiteSpline>
-
isEmpty
- Overrides:
isEmptyin classus.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
- Returns:
- factory for creating ProtobufQuinticHermiteSpline messages
-
getDescriptor
- Returns:
- this type's descriptor.
-