Class Common.GeoGeometry.Builder

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

public static final class Common.GeoGeometry.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<Common.GeoGeometry,Common.GeoGeometry.Builder> implements Common.GeoGeometryOrBuilder
 GeoGeometry contains information describing Geometry(s) that is located at a GeoPoint
 
Protobuf type viam.common.v1.GeoGeometry
  • Method Details

    • hasLocation

      public boolean hasLocation()
       Location of the geometry
       
      .viam.common.v1.GeoPoint location = 1 [json_name = "location"];
      Specified by:
      hasLocation in interface Common.GeoGeometryOrBuilder
      Returns:
      Whether the location field is set.
    • getLocation

      public Common.GeoPoint getLocation()
       Location of the geometry
       
      .viam.common.v1.GeoPoint location = 1 [json_name = "location"];
      Specified by:
      getLocation in interface Common.GeoGeometryOrBuilder
      Returns:
      The location.
    • setLocation

      public Common.GeoGeometry.Builder setLocation(Common.GeoPoint value)
       Location of the geometry
       
      .viam.common.v1.GeoPoint location = 1 [json_name = "location"];
    • setLocation

      public Common.GeoGeometry.Builder setLocation(Common.GeoPoint.Builder builderForValue)
       Location of the geometry
       
      .viam.common.v1.GeoPoint location = 1 [json_name = "location"];
    • mergeLocation

      public Common.GeoGeometry.Builder mergeLocation(Common.GeoPoint value)
       Location of the geometry
       
      .viam.common.v1.GeoPoint location = 1 [json_name = "location"];
    • clearLocation

      public Common.GeoGeometry.Builder clearLocation()
       Location of the geometry
       
      .viam.common.v1.GeoPoint location = 1 [json_name = "location"];
    • getGeometriesList

      public List<Common.Geometry> getGeometriesList()
       Geometries associated with the location, where embedded Pose data is with respect to the specified location
       
      repeated .viam.common.v1.Geometry geometries = 2 [json_name = "geometries"];
      Specified by:
      getGeometriesList in interface Common.GeoGeometryOrBuilder
    • getGeometriesCount

      public int getGeometriesCount()
       Geometries associated with the location, where embedded Pose data is with respect to the specified location
       
      repeated .viam.common.v1.Geometry geometries = 2 [json_name = "geometries"];
      Specified by:
      getGeometriesCount in interface Common.GeoGeometryOrBuilder
    • getGeometries

      public Common.Geometry getGeometries(int index)
       Geometries associated with the location, where embedded Pose data is with respect to the specified location
       
      repeated .viam.common.v1.Geometry geometries = 2 [json_name = "geometries"];
      Specified by:
      getGeometries in interface Common.GeoGeometryOrBuilder
    • setGeometries

      public Common.GeoGeometry.Builder setGeometries(int index, Common.Geometry value)
       Geometries associated with the location, where embedded Pose data is with respect to the specified location
       
      repeated .viam.common.v1.Geometry geometries = 2 [json_name = "geometries"];
    • setGeometries

      public Common.GeoGeometry.Builder setGeometries(int index, Common.Geometry.Builder builderForValue)
       Geometries associated with the location, where embedded Pose data is with respect to the specified location
       
      repeated .viam.common.v1.Geometry geometries = 2 [json_name = "geometries"];
    • addGeometries

      public Common.GeoGeometry.Builder addGeometries(Common.Geometry value)
       Geometries associated with the location, where embedded Pose data is with respect to the specified location
       
      repeated .viam.common.v1.Geometry geometries = 2 [json_name = "geometries"];
    • addGeometries

      public Common.GeoGeometry.Builder addGeometries(int index, Common.Geometry value)
       Geometries associated with the location, where embedded Pose data is with respect to the specified location
       
      repeated .viam.common.v1.Geometry geometries = 2 [json_name = "geometries"];
    • addGeometries

      public Common.GeoGeometry.Builder addGeometries(Common.Geometry.Builder builderForValue)
       Geometries associated with the location, where embedded Pose data is with respect to the specified location
       
      repeated .viam.common.v1.Geometry geometries = 2 [json_name = "geometries"];
    • addGeometries

      public Common.GeoGeometry.Builder addGeometries(int index, Common.Geometry.Builder builderForValue)
       Geometries associated with the location, where embedded Pose data is with respect to the specified location
       
      repeated .viam.common.v1.Geometry geometries = 2 [json_name = "geometries"];
    • addAllGeometries

      public Common.GeoGeometry.Builder addAllGeometries(Iterable<? extends Common.Geometry> values)
       Geometries associated with the location, where embedded Pose data is with respect to the specified location
       
      repeated .viam.common.v1.Geometry geometries = 2 [json_name = "geometries"];
    • clearGeometries

      public Common.GeoGeometry.Builder clearGeometries()
       Geometries associated with the location, where embedded Pose data is with respect to the specified location
       
      repeated .viam.common.v1.Geometry geometries = 2 [json_name = "geometries"];
    • removeGeometries

      public Common.GeoGeometry.Builder removeGeometries(int index)
       Geometries associated with the location, where embedded Pose data is with respect to the specified location
       
      repeated .viam.common.v1.Geometry geometries = 2 [json_name = "geometries"];