Class ProtobufMecanumDriveWheelAccelerations
java.lang.Object
us.hebi.quickbuf.ProtoMessage<ProtobufMecanumDriveWheelAccelerations>
org.wpilib.math.kinematics.proto.detail.ProtobufMecanumDriveWheelAccelerations
- All Implemented Interfaces:
Cloneable
public final class ProtobufMecanumDriveWheelAccelerations
extends us.hebi.quickbuf.ProtoMessage<ProtobufMecanumDriveWheelAccelerations>
implements Cloneable
Protobuf type
ProtobufMecanumDriveWheelAccelerations-
Field Summary
Fields inherited from class us.hebi.quickbuf.ProtoMessage
bitField0_, cachedSize, unknownBytesFieldName -
Method Summary
Modifier and TypeMethodDescriptionclear()optional double front_left = 1;optional double front_right = 2;optional double rear_left = 3;optional double rear_right = 4;clone()protected intbooleanstatic us.hebi.quickbuf.Descriptors.Descriptorstatic us.hebi.quickbuf.MessageFactory<ProtobufMecanumDriveWheelAccelerations> doubleoptional double front_left = 1;doubleoptional double front_right = 2;doubleoptional double rear_left = 3;doubleoptional double rear_right = 4;booleanoptional double front_left = 1;booleanoptional double front_right = 2;booleanoptional double rear_left = 3;booleanoptional double rear_right = 4;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) setFrontLeft(double value) optional double front_left = 1;setFrontRight(double value) optional double front_right = 2;setRearLeft(double value) optional double rear_left = 3;setRearRight(double value) optional double rear_right = 4;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
ProtobufMecanumDriveWheelAccelerations
-
hasFrontLeft
public boolean hasFrontLeft()optional double front_left = 1;- Returns:
- whether the frontLeft field is set
-
clearFrontLeft
optional double front_left = 1;- Returns:
- this
-
getFrontLeft
public double getFrontLeft()optional double front_left = 1;- Returns:
- the frontLeft
-
setFrontLeft
optional double front_left = 1;- Parameters:
value- the frontLeft to set- Returns:
- this
-
hasFrontRight
public boolean hasFrontRight()optional double front_right = 2;- Returns:
- whether the frontRight field is set
-
clearFrontRight
optional double front_right = 2;- Returns:
- this
-
getFrontRight
public double getFrontRight()optional double front_right = 2;- Returns:
- the frontRight
-
setFrontRight
optional double front_right = 2;- Parameters:
value- the frontRight to set- Returns:
- this
-
hasRearLeft
public boolean hasRearLeft()optional double rear_left = 3;- Returns:
- whether the rearLeft field is set
-
clearRearLeft
optional double rear_left = 3;- Returns:
- this
-
getRearLeft
public double getRearLeft()optional double rear_left = 3;- Returns:
- the rearLeft
-
setRearLeft
optional double rear_left = 3;- Parameters:
value- the rearLeft to set- Returns:
- this
-
hasRearRight
public boolean hasRearRight()optional double rear_right = 4;- Returns:
- whether the rearRight field is set
-
clearRearRight
optional double rear_right = 4;- Returns:
- this
-
getRearRight
public double getRearRight()optional double rear_right = 4;- Returns:
- the rearRight
-
setRearRight
optional double rear_right = 4;- Parameters:
value- the rearRight to set- Returns:
- this
-
copyFrom
public ProtobufMecanumDriveWheelAccelerations copyFrom(ProtobufMecanumDriveWheelAccelerations other) - Specified by:
copyFromin classus.hebi.quickbuf.ProtoMessage<ProtobufMecanumDriveWheelAccelerations>
-
mergeFrom
public ProtobufMecanumDriveWheelAccelerations mergeFrom(ProtobufMecanumDriveWheelAccelerations other) - Overrides:
mergeFromin classus.hebi.quickbuf.ProtoMessage<ProtobufMecanumDriveWheelAccelerations>
-
clear
- Specified by:
clearin classus.hebi.quickbuf.ProtoMessage<ProtobufMecanumDriveWheelAccelerations>
-
clearQuick
- Overrides:
clearQuickin classus.hebi.quickbuf.ProtoMessage<ProtobufMecanumDriveWheelAccelerations>
-
equals
- Specified by:
equalsin classus.hebi.quickbuf.ProtoMessage<ProtobufMecanumDriveWheelAccelerations>
-
writeTo
- Specified by:
writeToin classus.hebi.quickbuf.ProtoMessage<ProtobufMecanumDriveWheelAccelerations>- Throws:
IOException
-
computeSerializedSize
protected int computeSerializedSize()- Specified by:
computeSerializedSizein classus.hebi.quickbuf.ProtoMessage<ProtobufMecanumDriveWheelAccelerations>
-
mergeFrom
public ProtobufMecanumDriveWheelAccelerations mergeFrom(us.hebi.quickbuf.ProtoSource input) throws IOException - Specified by:
mergeFromin classus.hebi.quickbuf.ProtoMessage<ProtobufMecanumDriveWheelAccelerations>- Throws:
IOException
-
writeTo
- Overrides:
writeToin classus.hebi.quickbuf.ProtoMessage<ProtobufMecanumDriveWheelAccelerations>- Throws:
IOException
-
mergeFrom
public ProtobufMecanumDriveWheelAccelerations mergeFrom(us.hebi.quickbuf.JsonSource input) throws IOException - Overrides:
mergeFromin classus.hebi.quickbuf.ProtoMessage<ProtobufMecanumDriveWheelAccelerations>- Throws:
IOException
-
clone
- Specified by:
clonein classus.hebi.quickbuf.ProtoMessage<ProtobufMecanumDriveWheelAccelerations>
-
isEmpty
public boolean isEmpty()- Overrides:
isEmptyin classus.hebi.quickbuf.ProtoMessage<ProtobufMecanumDriveWheelAccelerations>
-
parseFrom
public static ProtobufMecanumDriveWheelAccelerations parseFrom(byte[] data) throws us.hebi.quickbuf.InvalidProtocolBufferException - Throws:
us.hebi.quickbuf.InvalidProtocolBufferException
-
parseFrom
public static ProtobufMecanumDriveWheelAccelerations parseFrom(us.hebi.quickbuf.ProtoSource input) throws IOException - Throws:
IOException
-
parseFrom
public static ProtobufMecanumDriveWheelAccelerations parseFrom(us.hebi.quickbuf.JsonSource input) throws IOException - Throws:
IOException
-
getFactory
- Returns:
- factory for creating ProtobufMecanumDriveWheelAccelerations messages
-
getDescriptor
public static us.hebi.quickbuf.Descriptors.Descriptor getDescriptor()- Returns:
- this type's descriptor.
-