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
-
Method Summary
Modifier and Type Method Description Geometry3D.ProtobufTwist3d
clear()
Geometry3D.ProtobufTwist3d
clearDx()
optional double dx = 1;
Geometry3D.ProtobufTwist3d
clearDy()
optional double dy = 2;
Geometry3D.ProtobufTwist3d
clearDz()
optional double dz = 3;
Geometry3D.ProtobufTwist3d
clearQuick()
Geometry3D.ProtobufTwist3d
clearRx()
optional double rx = 4;
Geometry3D.ProtobufTwist3d
clearRy()
optional double ry = 5;
Geometry3D.ProtobufTwist3d
clearRz()
optional double rz = 6;
Geometry3D.ProtobufTwist3d
clone()
protected int
computeSerializedSize()
Geometry3D.ProtobufTwist3d
copyFrom(Geometry3D.ProtobufTwist3d other)
boolean
equals(Object o)
static us.hebi.quickbuf.Descriptors.Descriptor
getDescriptor()
double
getDx()
optional double dx = 1;
double
getDy()
optional double dy = 2;
double
getDz()
optional double dz = 3;
static us.hebi.quickbuf.MessageFactory<Geometry3D.ProtobufTwist3d>
getFactory()
double
getRx()
optional double rx = 4;
double
getRy()
optional double ry = 5;
double
getRz()
optional double rz = 6;
boolean
hasDx()
optional double dx = 1;
boolean
hasDy()
optional double dy = 2;
boolean
hasDz()
optional double dz = 3;
boolean
hasRx()
optional double rx = 4;
boolean
hasRy()
optional double ry = 5;
boolean
hasRz()
optional double rz = 6;
boolean
isEmpty()
Geometry3D.ProtobufTwist3d
mergeFrom(Geometry3D.ProtobufTwist3d other)
Geometry3D.ProtobufTwist3d
mergeFrom(us.hebi.quickbuf.JsonSource input)
Geometry3D.ProtobufTwist3d
mergeFrom(us.hebi.quickbuf.ProtoSource input)
static Geometry3D.ProtobufTwist3d
newInstance()
static Geometry3D.ProtobufTwist3d
parseFrom(byte[] data)
static Geometry3D.ProtobufTwist3d
parseFrom(us.hebi.quickbuf.JsonSource input)
static Geometry3D.ProtobufTwist3d
parseFrom(us.hebi.quickbuf.ProtoSource input)
Geometry3D.ProtobufTwist3d
setDx(double value)
optional double dx = 1;
Geometry3D.ProtobufTwist3d
setDy(double value)
optional double dy = 2;
Geometry3D.ProtobufTwist3d
setDz(double value)
optional double dz = 3;
Geometry3D.ProtobufTwist3d
setRx(double value)
optional double rx = 4;
Geometry3D.ProtobufTwist3d
setRy(double value)
optional double ry = 5;
Geometry3D.ProtobufTwist3d
setRz(double value)
optional double rz = 6;
void
writeTo(us.hebi.quickbuf.JsonSink output)
void
writeTo(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:
copyFrom
in classus.hebi.quickbuf.ProtoMessage<Geometry3D.ProtobufTwist3d>
-
mergeFrom
- Overrides:
mergeFrom
in classus.hebi.quickbuf.ProtoMessage<Geometry3D.ProtobufTwist3d>
-
clear
- Specified by:
clear
in classus.hebi.quickbuf.ProtoMessage<Geometry3D.ProtobufTwist3d>
-
clearQuick
- Overrides:
clearQuick
in classus.hebi.quickbuf.ProtoMessage<Geometry3D.ProtobufTwist3d>
-
equals
- Specified by:
equals
in classus.hebi.quickbuf.ProtoMessage<Geometry3D.ProtobufTwist3d>
-
writeTo
- Specified by:
writeTo
in classus.hebi.quickbuf.ProtoMessage<Geometry3D.ProtobufTwist3d>
- Throws:
IOException
-
computeSerializedSize
- Specified by:
computeSerializedSize
in classus.hebi.quickbuf.ProtoMessage<Geometry3D.ProtobufTwist3d>
-
mergeFrom
- Specified by:
mergeFrom
in classus.hebi.quickbuf.ProtoMessage<Geometry3D.ProtobufTwist3d>
- Throws:
IOException
-
writeTo
- Overrides:
writeTo
in classus.hebi.quickbuf.ProtoMessage<Geometry3D.ProtobufTwist3d>
- Throws:
IOException
-
mergeFrom
- Overrides:
mergeFrom
in classus.hebi.quickbuf.ProtoMessage<Geometry3D.ProtobufTwist3d>
- Throws:
IOException
-
clone
- Specified by:
clone
in classus.hebi.quickbuf.ProtoMessage<Geometry3D.ProtobufTwist3d>
-
isEmpty
- Overrides:
isEmpty
in 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.
-