Package edu.wpi.first.math.proto
Class Geometry3D.ProtobufTwist3d
java.lang.Object
us.hebi.quickbuf.ProtoMessage<Geometry3D.ProtobufTwist3d>
edu.wpi.first.math.proto.Geometry3D.ProtobufTwist3d
- All Implemented Interfaces:
Cloneable
- Enclosing class:
- Geometry3D
public static final class Geometry3D.ProtobufTwist3d
extends us.hebi.quickbuf.ProtoMessage<Geometry3D.ProtobufTwist3d>
implements Cloneable
Protobuf type
ProtobufTwist3d-
Field Summary
Fields inherited from class us.hebi.quickbuf.ProtoMessage
bitField0_, cachedSize, unknownBytesFieldName -
Method Summary
Modifier and TypeMethodDescriptionclear()clearDx()optional double dx = 1;clearDy()optional double dy = 2;clearDz()optional double dz = 3;clearRx()optional double rx = 4;clearRy()optional double ry = 5;clearRz()optional double rz = 6;clone()protected intbooleanstatic us.hebi.quickbuf.Descriptors.DescriptordoublegetDx()optional double dx = 1;doublegetDy()optional double dy = 2;doublegetDz()optional double dz = 3;static us.hebi.quickbuf.MessageFactory<Geometry3D.ProtobufTwist3d>doublegetRx()optional double rx = 4;doublegetRy()optional double ry = 5;doublegetRz()optional double rz = 6;booleanhasDx()optional double dx = 1;booleanhasDy()optional double dy = 2;booleanhasDz()optional double dz = 3;booleanhasRx()optional double rx = 4;booleanhasRy()optional double ry = 5;booleanhasRz()optional double rz = 6;booleanisEmpty()mergeFrom(us.hebi.quickbuf.JsonSource input) mergeFrom(us.hebi.quickbuf.ProtoSource input) static Geometry3D.ProtobufTwist3dstatic Geometry3D.ProtobufTwist3dparseFrom(byte[] data) static Geometry3D.ProtobufTwist3dparseFrom(us.hebi.quickbuf.JsonSource input) static Geometry3D.ProtobufTwist3dparseFrom(us.hebi.quickbuf.ProtoSource input) setDx(double value) optional double dx = 1;setDy(double value) optional double dy = 2;setDz(double value) optional double dz = 3;setRx(double value) optional double rx = 4;setRy(double value) optional double ry = 5;setRz(double value) optional double rz = 6;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
ProtobufTwist3d
-
hasDx
optional double dx = 1;- Returns:
- whether the dx field is set
-
clearDx
optional double dx = 1;- Returns:
- this
-
getDx
optional double dx = 1;- Returns:
- the dx
-
setDx
optional double dx = 1;- Parameters:
value- the dx to set- Returns:
- this
-
hasDy
optional double dy = 2;- Returns:
- whether the dy field is set
-
clearDy
optional double dy = 2;- Returns:
- this
-
getDy
optional double dy = 2;- Returns:
- the dy
-
setDy
optional double dy = 2;- Parameters:
value- the dy to set- Returns:
- this
-
hasDz
optional double dz = 3;- Returns:
- whether the dz field is set
-
clearDz
optional double dz = 3;- Returns:
- this
-
getDz
optional double dz = 3;- Returns:
- the dz
-
setDz
optional double dz = 3;- Parameters:
value- the dz to set- Returns:
- this
-
hasRx
optional double rx = 4;- Returns:
- whether the rx field is set
-
clearRx
optional double rx = 4;- Returns:
- this
-
getRx
optional double rx = 4;- Returns:
- the rx
-
setRx
optional double rx = 4;- Parameters:
value- the rx to set- Returns:
- this
-
hasRy
optional double ry = 5;- Returns:
- whether the ry field is set
-
clearRy
optional double ry = 5;- Returns:
- this
-
getRy
optional double ry = 5;- Returns:
- the ry
-
setRy
optional double ry = 5;- Parameters:
value- the ry to set- Returns:
- this
-
hasRz
optional double rz = 6;- Returns:
- whether the rz field is set
-
clearRz
optional double rz = 6;- Returns:
- this
-
getRz
optional double rz = 6;- Returns:
- the rz
-
setRz
optional double rz = 6;- Parameters:
value- the rz to set- Returns:
- this
-
copyFrom
- Specified by:
copyFromin classus.hebi.quickbuf.ProtoMessage<Geometry3D.ProtobufTwist3d>
-
mergeFrom
- Overrides:
mergeFromin classus.hebi.quickbuf.ProtoMessage<Geometry3D.ProtobufTwist3d>
-
clear
- Specified by:
clearin classus.hebi.quickbuf.ProtoMessage<Geometry3D.ProtobufTwist3d>
-
clearQuick
- Overrides:
clearQuickin classus.hebi.quickbuf.ProtoMessage<Geometry3D.ProtobufTwist3d>
-
equals
- Specified by:
equalsin classus.hebi.quickbuf.ProtoMessage<Geometry3D.ProtobufTwist3d>
-
writeTo
- Specified by:
writeToin classus.hebi.quickbuf.ProtoMessage<Geometry3D.ProtobufTwist3d>- Throws:
IOException
-
computeSerializedSize
- Specified by:
computeSerializedSizein classus.hebi.quickbuf.ProtoMessage<Geometry3D.ProtobufTwist3d>
-
mergeFrom
- Specified by:
mergeFromin classus.hebi.quickbuf.ProtoMessage<Geometry3D.ProtobufTwist3d>- Throws:
IOException
-
writeTo
- Overrides:
writeToin classus.hebi.quickbuf.ProtoMessage<Geometry3D.ProtobufTwist3d>- Throws:
IOException
-
mergeFrom
- Overrides:
mergeFromin classus.hebi.quickbuf.ProtoMessage<Geometry3D.ProtobufTwist3d>- Throws:
IOException
-
clone
- Specified by:
clonein classus.hebi.quickbuf.ProtoMessage<Geometry3D.ProtobufTwist3d>
-
isEmpty
- Overrides:
isEmptyin classus.hebi.quickbuf.ProtoMessage<Geometry3D.ProtobufTwist3d>
-
parseFrom
public static Geometry3D.ProtobufTwist3d parseFrom(byte[] data) throws us.hebi.quickbuf.InvalidProtocolBufferException - Throws:
us.hebi.quickbuf.InvalidProtocolBufferException
-
parseFrom
public static Geometry3D.ProtobufTwist3d parseFrom(us.hebi.quickbuf.ProtoSource input) throws IOException - Throws:
IOException
-
parseFrom
public static Geometry3D.ProtobufTwist3d parseFrom(us.hebi.quickbuf.JsonSource input) throws IOException - Throws:
IOException
-
getFactory
- Returns:
- factory for creating ProtobufTwist3d messages
-
getDescriptor
- Returns:
- this type's descriptor.
-