Package edu.wpi.first.math.proto
Class Kinematics.ProtobufMecanumDriveMotorVoltages
java.lang.Object
us.hebi.quickbuf.ProtoMessage<Kinematics.ProtobufMecanumDriveMotorVoltages>
edu.wpi.first.math.proto.Kinematics.ProtobufMecanumDriveMotorVoltages
- All Implemented Interfaces:
Cloneable
- Enclosing class:
- Kinematics
public static final class Kinematics.ProtobufMecanumDriveMotorVoltages extends us.hebi.quickbuf.ProtoMessage<Kinematics.ProtobufMecanumDriveMotorVoltages> implements Cloneable
Protobuf type
ProtobufMecanumDriveMotorVoltages
-
Field Summary
-
Method Summary
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
ProtobufMecanumDriveMotorVoltages
-
hasFrontLeft
optional double front_left = 1;
- Returns:
- whether the frontLeft field is set
-
clearFrontLeft
optional double front_left = 1;
- Returns:
- this
-
getFrontLeft
optional double front_left = 1;
- Returns:
- the frontLeft
-
setFrontLeft
optional double front_left = 1;
- Parameters:
value
- the frontLeft to set- Returns:
- this
-
hasFrontRight
optional double front_right = 2;
- Returns:
- whether the frontRight field is set
-
clearFrontRight
optional double front_right = 2;
- Returns:
- this
-
getFrontRight
optional double front_right = 2;
- Returns:
- the frontRight
-
setFrontRight
optional double front_right = 2;
- Parameters:
value
- the frontRight to set- Returns:
- this
-
hasRearLeft
optional double rear_left = 3;
- Returns:
- whether the rearLeft field is set
-
clearRearLeft
optional double rear_left = 3;
- Returns:
- this
-
getRearLeft
optional double rear_left = 3;
- Returns:
- the rearLeft
-
setRearLeft
optional double rear_left = 3;
- Parameters:
value
- the rearLeft to set- Returns:
- this
-
hasRearRight
optional double rear_right = 4;
- Returns:
- whether the rearRight field is set
-
clearRearRight
optional double rear_right = 4;
- Returns:
- this
-
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 Kinematics.ProtobufMecanumDriveMotorVoltages copyFrom(Kinematics.ProtobufMecanumDriveMotorVoltages other)- Specified by:
copyFrom
in classus.hebi.quickbuf.ProtoMessage<Kinematics.ProtobufMecanumDriveMotorVoltages>
-
mergeFrom
public Kinematics.ProtobufMecanumDriveMotorVoltages mergeFrom(Kinematics.ProtobufMecanumDriveMotorVoltages other)- Overrides:
mergeFrom
in classus.hebi.quickbuf.ProtoMessage<Kinematics.ProtobufMecanumDriveMotorVoltages>
-
clear
- Specified by:
clear
in classus.hebi.quickbuf.ProtoMessage<Kinematics.ProtobufMecanumDriveMotorVoltages>
-
clearQuick
- Overrides:
clearQuick
in classus.hebi.quickbuf.ProtoMessage<Kinematics.ProtobufMecanumDriveMotorVoltages>
-
equals
- Specified by:
equals
in classus.hebi.quickbuf.ProtoMessage<Kinematics.ProtobufMecanumDriveMotorVoltages>
-
writeTo
- Specified by:
writeTo
in classus.hebi.quickbuf.ProtoMessage<Kinematics.ProtobufMecanumDriveMotorVoltages>
- Throws:
IOException
-
computeSerializedSize
- Specified by:
computeSerializedSize
in classus.hebi.quickbuf.ProtoMessage<Kinematics.ProtobufMecanumDriveMotorVoltages>
-
mergeFrom
public Kinematics.ProtobufMecanumDriveMotorVoltages mergeFrom(us.hebi.quickbuf.ProtoSource input) throws IOException- Specified by:
mergeFrom
in classus.hebi.quickbuf.ProtoMessage<Kinematics.ProtobufMecanumDriveMotorVoltages>
- Throws:
IOException
-
writeTo
- Overrides:
writeTo
in classus.hebi.quickbuf.ProtoMessage<Kinematics.ProtobufMecanumDriveMotorVoltages>
- Throws:
IOException
-
mergeFrom
public Kinematics.ProtobufMecanumDriveMotorVoltages mergeFrom(us.hebi.quickbuf.JsonSource input) throws IOException- Overrides:
mergeFrom
in classus.hebi.quickbuf.ProtoMessage<Kinematics.ProtobufMecanumDriveMotorVoltages>
- Throws:
IOException
-
clone
- Specified by:
clone
in classus.hebi.quickbuf.ProtoMessage<Kinematics.ProtobufMecanumDriveMotorVoltages>
-
isEmpty
- Overrides:
isEmpty
in classus.hebi.quickbuf.ProtoMessage<Kinematics.ProtobufMecanumDriveMotorVoltages>
-
parseFrom
public static Kinematics.ProtobufMecanumDriveMotorVoltages parseFrom(byte[] data) throws us.hebi.quickbuf.InvalidProtocolBufferException- Throws:
us.hebi.quickbuf.InvalidProtocolBufferException
-
parseFrom
public static Kinematics.ProtobufMecanumDriveMotorVoltages parseFrom(us.hebi.quickbuf.ProtoSource input) throws IOException- Throws:
IOException
-
parseFrom
public static Kinematics.ProtobufMecanumDriveMotorVoltages parseFrom(us.hebi.quickbuf.JsonSource input) throws IOException- Throws:
IOException
-
getFactory
public static us.hebi.quickbuf.MessageFactory<Kinematics.ProtobufMecanumDriveMotorVoltages> getFactory()- Returns:
- factory for creating ProtobufMecanumDriveMotorVoltages messages
-
getDescriptor
- Returns:
- this type's descriptor.
-