Class ProtobufChassisAccelerations
java.lang.Object
us.hebi.quickbuf.ProtoMessage<ProtobufChassisAccelerations>
org.wpilib.math.kinematics.proto.detail.ProtobufChassisAccelerations
- All Implemented Interfaces:
Cloneable
public final class ProtobufChassisAccelerations
extends us.hebi.quickbuf.ProtoMessage<ProtobufChassisAccelerations>
implements Cloneable
Protobuf type
ProtobufChassisAccelerations-
Field Summary
Fields inherited from class us.hebi.quickbuf.ProtoMessage
bitField0_, cachedSize, unknownBytesFieldName -
Method Summary
Modifier and TypeMethodDescriptionclear()optional double alpha = 3;clearAx()optional double ax = 1;clearAy()optional double ay = 2;clone()protected intbooleandoublegetAlpha()optional double alpha = 3;doublegetAx()optional double ax = 1;doublegetAy()optional double ay = 2;static us.hebi.quickbuf.Descriptors.Descriptorstatic us.hebi.quickbuf.MessageFactory<ProtobufChassisAccelerations> booleanhasAlpha()optional double alpha = 3;booleanhasAx()optional double ax = 1;booleanhasAy()optional double ay = 2;booleanisEmpty()mergeFrom(us.hebi.quickbuf.JsonSource input) mergeFrom(us.hebi.quickbuf.ProtoSource input) static ProtobufChassisAccelerationsstatic ProtobufChassisAccelerationsparseFrom(byte[] data) static ProtobufChassisAccelerationsparseFrom(us.hebi.quickbuf.JsonSource input) static ProtobufChassisAccelerationsparseFrom(us.hebi.quickbuf.ProtoSource input) setAlpha(double value) optional double alpha = 3;setAx(double value) optional double ax = 1;setAy(double value) optional double ay = 2;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
ProtobufChassisAccelerations
-
hasAx
public boolean hasAx()optional double ax = 1;- Returns:
- whether the ax field is set
-
clearAx
-
getAx
public double getAx()optional double ax = 1;- Returns:
- the ax
-
setAx
optional double ax = 1;- Parameters:
value- the ax to set- Returns:
- this
-
hasAy
public boolean hasAy()optional double ay = 2;- Returns:
- whether the ay field is set
-
clearAy
-
getAy
public double getAy()optional double ay = 2;- Returns:
- the ay
-
setAy
optional double ay = 2;- Parameters:
value- the ay to set- Returns:
- this
-
hasAlpha
public boolean hasAlpha()optional double alpha = 3;- Returns:
- whether the alpha field is set
-
clearAlpha
-
getAlpha
public double getAlpha()optional double alpha = 3;- Returns:
- the alpha
-
setAlpha
optional double alpha = 3;- Parameters:
value- the alpha to set- Returns:
- this
-
copyFrom
- Specified by:
copyFromin classus.hebi.quickbuf.ProtoMessage<ProtobufChassisAccelerations>
-
mergeFrom
- Overrides:
mergeFromin classus.hebi.quickbuf.ProtoMessage<ProtobufChassisAccelerations>
-
clear
- Specified by:
clearin classus.hebi.quickbuf.ProtoMessage<ProtobufChassisAccelerations>
-
clearQuick
- Overrides:
clearQuickin classus.hebi.quickbuf.ProtoMessage<ProtobufChassisAccelerations>
-
equals
- Specified by:
equalsin classus.hebi.quickbuf.ProtoMessage<ProtobufChassisAccelerations>
-
writeTo
- Specified by:
writeToin classus.hebi.quickbuf.ProtoMessage<ProtobufChassisAccelerations>- Throws:
IOException
-
computeSerializedSize
protected int computeSerializedSize()- Specified by:
computeSerializedSizein classus.hebi.quickbuf.ProtoMessage<ProtobufChassisAccelerations>
-
mergeFrom
public ProtobufChassisAccelerations mergeFrom(us.hebi.quickbuf.ProtoSource input) throws IOException - Specified by:
mergeFromin classus.hebi.quickbuf.ProtoMessage<ProtobufChassisAccelerations>- Throws:
IOException
-
writeTo
- Overrides:
writeToin classus.hebi.quickbuf.ProtoMessage<ProtobufChassisAccelerations>- Throws:
IOException
-
mergeFrom
- Overrides:
mergeFromin classus.hebi.quickbuf.ProtoMessage<ProtobufChassisAccelerations>- Throws:
IOException
-
clone
- Specified by:
clonein classus.hebi.quickbuf.ProtoMessage<ProtobufChassisAccelerations>
-
isEmpty
public boolean isEmpty()- Overrides:
isEmptyin classus.hebi.quickbuf.ProtoMessage<ProtobufChassisAccelerations>
-
parseFrom
public static ProtobufChassisAccelerations parseFrom(byte[] data) throws us.hebi.quickbuf.InvalidProtocolBufferException - Throws:
us.hebi.quickbuf.InvalidProtocolBufferException
-
parseFrom
public static ProtobufChassisAccelerations parseFrom(us.hebi.quickbuf.ProtoSource input) throws IOException - Throws:
IOException
-
parseFrom
public static ProtobufChassisAccelerations parseFrom(us.hebi.quickbuf.JsonSource input) throws IOException - Throws:
IOException
-
getFactory
- Returns:
- factory for creating ProtobufChassisAccelerations messages
-
getDescriptor
public static us.hebi.quickbuf.Descriptors.Descriptor getDescriptor()- Returns:
- this type's descriptor.
-