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
  • Method Details

    • newInstance

      public static ProtobufTwist3d newInstance()
      Returns:
      a new empty instance of ProtobufTwist3d
    • hasDx

      public boolean hasDx()
      optional double dx = 1;
      Returns:
      whether the dx field is set
    • clearDx

      public ProtobufTwist3d clearDx()
      optional double dx = 1;
      Returns:
      this
    • getDx

      public double getDx()
      optional double dx = 1;
      Returns:
      the dx
    • setDx

      public ProtobufTwist3d setDx(double value)
      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

      public ProtobufTwist3d clearDy()
      optional double dy = 2;
      Returns:
      this
    • getDy

      public double getDy()
      optional double dy = 2;
      Returns:
      the dy
    • setDy

      public ProtobufTwist3d setDy(double value)
      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

      public ProtobufTwist3d clearDz()
      optional double dz = 3;
      Returns:
      this
    • getDz

      public double getDz()
      optional double dz = 3;
      Returns:
      the dz
    • setDz

      public ProtobufTwist3d setDz(double value)
      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

      public ProtobufTwist3d clearRx()
      optional double rx = 4;
      Returns:
      this
    • getRx

      public double getRx()
      optional double rx = 4;
      Returns:
      the rx
    • setRx

      public ProtobufTwist3d setRx(double value)
      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

      public ProtobufTwist3d clearRy()
      optional double ry = 5;
      Returns:
      this
    • getRy

      public double getRy()
      optional double ry = 5;
      Returns:
      the ry
    • setRy

      public ProtobufTwist3d setRy(double value)
      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

      public ProtobufTwist3d clearRz()
      optional double rz = 6;
      Returns:
      this
    • getRz

      public double getRz()
      optional double rz = 6;
      Returns:
      the rz
    • setRz

      public ProtobufTwist3d setRz(double value)
      optional double rz = 6;
      Parameters:
      value - the rz to set
      Returns:
      this
    • copyFrom

      public ProtobufTwist3d copyFrom(ProtobufTwist3d other)
      Specified by:
      copyFrom in class us.hebi.quickbuf.ProtoMessage<ProtobufTwist3d>
    • mergeFrom

      public ProtobufTwist3d mergeFrom(ProtobufTwist3d other)
      Overrides:
      mergeFrom in class us.hebi.quickbuf.ProtoMessage<ProtobufTwist3d>
    • clear

      public ProtobufTwist3d clear()
      Specified by:
      clear in class us.hebi.quickbuf.ProtoMessage<ProtobufTwist3d>
    • clearQuick

      public ProtobufTwist3d clearQuick()
      Overrides:
      clearQuick in class us.hebi.quickbuf.ProtoMessage<ProtobufTwist3d>
    • equals

      public boolean equals(Object o)
      Specified by:
      equals in class us.hebi.quickbuf.ProtoMessage<ProtobufTwist3d>
    • writeTo

      public void writeTo(us.hebi.quickbuf.ProtoSink output) throws IOException
      Specified by:
      writeTo in class us.hebi.quickbuf.ProtoMessage<ProtobufTwist3d>
      Throws:
      IOException
    • computeSerializedSize

      protected int computeSerializedSize()
      Specified by:
      computeSerializedSize in class us.hebi.quickbuf.ProtoMessage<ProtobufTwist3d>
    • mergeFrom

      public ProtobufTwist3d mergeFrom(us.hebi.quickbuf.ProtoSource input) throws IOException
      Specified by:
      mergeFrom in class us.hebi.quickbuf.ProtoMessage<ProtobufTwist3d>
      Throws:
      IOException
    • writeTo

      public void writeTo(us.hebi.quickbuf.JsonSink output) throws IOException
      Overrides:
      writeTo in class us.hebi.quickbuf.ProtoMessage<ProtobufTwist3d>
      Throws:
      IOException
    • mergeFrom

      public ProtobufTwist3d mergeFrom(us.hebi.quickbuf.JsonSource input) throws IOException
      Overrides:
      mergeFrom in class us.hebi.quickbuf.ProtoMessage<ProtobufTwist3d>
      Throws:
      IOException
    • clone

      public ProtobufTwist3d clone()
      Specified by:
      clone in class us.hebi.quickbuf.ProtoMessage<ProtobufTwist3d>
    • isEmpty

      public boolean isEmpty()
      Overrides:
      isEmpty in class us.hebi.quickbuf.ProtoMessage<ProtobufTwist3d>
    • parseFrom

      public static ProtobufTwist3d parseFrom(byte[] data) throws us.hebi.quickbuf.InvalidProtocolBufferException
      Throws:
      us.hebi.quickbuf.InvalidProtocolBufferException
    • parseFrom

      public static ProtobufTwist3d parseFrom(us.hebi.quickbuf.ProtoSource input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ProtobufTwist3d parseFrom(us.hebi.quickbuf.JsonSource input) throws IOException
      Throws:
      IOException
    • getFactory

      public static us.hebi.quickbuf.MessageFactory<ProtobufTwist3d> getFactory()
      Returns:
      factory for creating ProtobufTwist3d messages
    • getDescriptor

      public static us.hebi.quickbuf.Descriptors.Descriptor getDescriptor()
      Returns:
      this type's descriptor.