Class ProtobufTwist3d
java.lang.Object
us.hebi.quickbuf.ProtoMessage<ProtobufTwist3d>
org.wpilib.math.geometry.proto.detail.ProtobufTwist3d
- All Implemented Interfaces:
Cloneable
public final class ProtobufTwist3d
extends us.hebi.quickbuf.ProtoMessage<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 intcopyFrom(ProtobufTwist3d other) booleanstatic us.hebi.quickbuf.Descriptors.DescriptordoublegetDx()optional double dx = 1;doublegetDy()optional double dy = 2;doublegetDz()optional double dz = 3;static us.hebi.quickbuf.MessageFactory<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(ProtobufTwist3d other) mergeFrom(us.hebi.quickbuf.JsonSource input) mergeFrom(us.hebi.quickbuf.ProtoSource input) static ProtobufTwist3dstatic ProtobufTwist3dparseFrom(byte[] data) static ProtobufTwist3dparseFrom(us.hebi.quickbuf.JsonSource input) static 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
public boolean hasDx()optional double dx = 1;- Returns:
- whether the dx field is set
-
clearDx
-
getDx
public double getDx()optional double dx = 1;- Returns:
- the dx
-
setDx
optional double dx = 1;- Parameters:
value- the dx to set- Returns:
- this
-
hasDy
public boolean hasDy()optional double dy = 2;- Returns:
- whether the dy field is set
-
clearDy
-
getDy
public double getDy()optional double dy = 2;- Returns:
- the dy
-
setDy
optional double dy = 2;- Parameters:
value- the dy to set- Returns:
- this
-
hasDz
public boolean hasDz()optional double dz = 3;- Returns:
- whether the dz field is set
-
clearDz
-
getDz
public double getDz()optional double dz = 3;- Returns:
- the dz
-
setDz
optional double dz = 3;- Parameters:
value- the dz to set- Returns:
- this
-
hasRx
public boolean hasRx()optional double rx = 4;- Returns:
- whether the rx field is set
-
clearRx
-
getRx
public double getRx()optional double rx = 4;- Returns:
- the rx
-
setRx
optional double rx = 4;- Parameters:
value- the rx to set- Returns:
- this
-
hasRy
public boolean hasRy()optional double ry = 5;- Returns:
- whether the ry field is set
-
clearRy
-
getRy
public double getRy()optional double ry = 5;- Returns:
- the ry
-
setRy
optional double ry = 5;- Parameters:
value- the ry to set- Returns:
- this
-
hasRz
public boolean hasRz()optional double rz = 6;- Returns:
- whether the rz field is set
-
clearRz
-
getRz
public double 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<ProtobufTwist3d>
-
mergeFrom
- Overrides:
mergeFromin classus.hebi.quickbuf.ProtoMessage<ProtobufTwist3d>
-
clear
- Specified by:
clearin classus.hebi.quickbuf.ProtoMessage<ProtobufTwist3d>
-
clearQuick
- Overrides:
clearQuickin classus.hebi.quickbuf.ProtoMessage<ProtobufTwist3d>
-
equals
- Specified by:
equalsin classus.hebi.quickbuf.ProtoMessage<ProtobufTwist3d>
-
writeTo
- Specified by:
writeToin classus.hebi.quickbuf.ProtoMessage<ProtobufTwist3d>- Throws:
IOException
-
computeSerializedSize
protected int computeSerializedSize()- Specified by:
computeSerializedSizein classus.hebi.quickbuf.ProtoMessage<ProtobufTwist3d>
-
mergeFrom
- Specified by:
mergeFromin classus.hebi.quickbuf.ProtoMessage<ProtobufTwist3d>- Throws:
IOException
-
writeTo
- Overrides:
writeToin classus.hebi.quickbuf.ProtoMessage<ProtobufTwist3d>- Throws:
IOException
-
mergeFrom
- Overrides:
mergeFromin classus.hebi.quickbuf.ProtoMessage<ProtobufTwist3d>- Throws:
IOException
-
clone
- Specified by:
clonein classus.hebi.quickbuf.ProtoMessage<ProtobufTwist3d>
-
isEmpty
public boolean isEmpty()- Overrides:
isEmptyin classus.hebi.quickbuf.ProtoMessage<ProtobufTwist3d>
-
parseFrom
public static ProtobufTwist3d parseFrom(byte[] data) throws us.hebi.quickbuf.InvalidProtocolBufferException - Throws:
us.hebi.quickbuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
- Throws:
IOException
-
getFactory
- Returns:
- factory for creating ProtobufTwist3d messages
-
getDescriptor
public static us.hebi.quickbuf.Descriptors.Descriptor getDescriptor()- Returns:
- this type's descriptor.
-