Class Common.GeoPoint.Builder

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

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

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

    instance
  • Method Summary

    Modifier and Type
    Method
    Description
    double latitude = 1 [json_name = "latitude"];
    double longitude = 2 [json_name = "longitude"];
    double
    double latitude = 1 [json_name = "latitude"];
    double
    double longitude = 2 [json_name = "longitude"];
    setLatitude(double value)
    double latitude = 1 [json_name = "latitude"];
    setLongitude(double value)
    double longitude = 2 [json_name = "longitude"];

    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

    • getLatitude

      public double getLatitude()
      double latitude = 1 [json_name = "latitude"];
      Specified by:
      getLatitude in interface Common.GeoPointOrBuilder
      Returns:
      The latitude.
    • setLatitude

      public Common.GeoPoint.Builder setLatitude(double value)
      double latitude = 1 [json_name = "latitude"];
      Parameters:
      value - The latitude to set.
      Returns:
      This builder for chaining.
    • clearLatitude

      public Common.GeoPoint.Builder clearLatitude()
      double latitude = 1 [json_name = "latitude"];
      Returns:
      This builder for chaining.
    • getLongitude

      public double getLongitude()
      double longitude = 2 [json_name = "longitude"];
      Specified by:
      getLongitude in interface Common.GeoPointOrBuilder
      Returns:
      The longitude.
    • setLongitude

      public Common.GeoPoint.Builder setLongitude(double value)
      double longitude = 2 [json_name = "longitude"];
      Parameters:
      value - The longitude to set.
      Returns:
      This builder for chaining.
    • clearLongitude

      public Common.GeoPoint.Builder clearLongitude()
      double longitude = 2 [json_name = "longitude"];
      Returns:
      This builder for chaining.