Class Common.Vector3.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Common.Vector3,Common.Vector3.Builder>
com.viam.common.v1.Common.Vector3.Builder
All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, Common.Vector3OrBuilder, Cloneable
Enclosing class:
Common.Vector3

public static final class Common.Vector3.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<Common.Vector3,Common.Vector3.Builder> implements Common.Vector3OrBuilder
Protobuf type viam.common.v1.Vector3
  • Field Summary

    Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder

    instance
  • Method Summary

    Modifier and Type
    Method
    Description
    double x = 1 [json_name = "x"];
    double y = 2 [json_name = "y"];
    double z = 3 [json_name = "z"];
    double
    double x = 1 [json_name = "x"];
    double
    double y = 2 [json_name = "y"];
    double
    double z = 3 [json_name = "z"];
    setX(double value)
    double x = 1 [json_name = "x"];
    setY(double value)
    double y = 2 [json_name = "y"];
    setZ(double value)
    double z = 3 [json_name = "z"];

    Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder

    build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFrom

    Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder

    addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    getDefaultInstanceForType, isInitialized
  • Method Details

    • getX

      public double getX()
      double x = 1 [json_name = "x"];
      Specified by:
      getX in interface Common.Vector3OrBuilder
      Returns:
      The x.
    • setX

      public Common.Vector3.Builder setX(double value)
      double x = 1 [json_name = "x"];
      Parameters:
      value - The x to set.
      Returns:
      This builder for chaining.
    • clearX

      public Common.Vector3.Builder clearX()
      double x = 1 [json_name = "x"];
      Returns:
      This builder for chaining.
    • getY

      public double getY()
      double y = 2 [json_name = "y"];
      Specified by:
      getY in interface Common.Vector3OrBuilder
      Returns:
      The y.
    • setY

      public Common.Vector3.Builder setY(double value)
      double y = 2 [json_name = "y"];
      Parameters:
      value - The y to set.
      Returns:
      This builder for chaining.
    • clearY

      public Common.Vector3.Builder clearY()
      double y = 2 [json_name = "y"];
      Returns:
      This builder for chaining.
    • getZ

      public double getZ()
      double z = 3 [json_name = "z"];
      Specified by:
      getZ in interface Common.Vector3OrBuilder
      Returns:
      The z.
    • setZ

      public Common.Vector3.Builder setZ(double value)
      double z = 3 [json_name = "z"];
      Parameters:
      value - The z to set.
      Returns:
      This builder for chaining.
    • clearZ

      public Common.Vector3.Builder clearZ()
      double z = 3 [json_name = "z"];
      Returns:
      This builder for chaining.