Package com.viam.common.v1
Class Common.WorldState.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Common.WorldState,Common.WorldState.Builder>
com.viam.common.v1.Common.WorldState.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Common.WorldStateOrBuilder
,Cloneable
- Enclosing class:
- Common.WorldState
public static final class Common.WorldState.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<Common.WorldState,Common.WorldState.Builder>
implements Common.WorldStateOrBuilder
WorldState contains information about the physical environment around a given robot. All of the fields within this message are optional, they can include information about the physical dimensions of an obstacle, the freespace of a robot, and any desired transforms between a given reference frame and a new target reference frame.Protobuf type
viam.common.v1.WorldState
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescriptionaddAllObstacles
(Iterable<? extends Common.GeometriesInFrame> values) a list of obstacles expressed as a geometry and the reference frame in which it was observed; this field is optionaladdAllTransforms
(Iterable<? extends Common.Transform> values) a list of Transforms, optionally with geometries.addObstacles
(int index, Common.GeometriesInFrame value) a list of obstacles expressed as a geometry and the reference frame in which it was observed; this field is optionaladdObstacles
(int index, Common.GeometriesInFrame.Builder builderForValue) a list of obstacles expressed as a geometry and the reference frame in which it was observed; this field is optionala list of obstacles expressed as a geometry and the reference frame in which it was observed; this field is optionaladdObstacles
(Common.GeometriesInFrame.Builder builderForValue) a list of obstacles expressed as a geometry and the reference frame in which it was observed; this field is optionaladdTransforms
(int index, Common.Transform value) a list of Transforms, optionally with geometries.addTransforms
(int index, Common.Transform.Builder builderForValue) a list of Transforms, optionally with geometries.addTransforms
(Common.Transform value) a list of Transforms, optionally with geometries.addTransforms
(Common.Transform.Builder builderForValue) a list of Transforms, optionally with geometries.a list of obstacles expressed as a geometry and the reference frame in which it was observed; this field is optionala list of Transforms, optionally with geometries.getObstacles
(int index) a list of obstacles expressed as a geometry and the reference frame in which it was observed; this field is optionalint
a list of obstacles expressed as a geometry and the reference frame in which it was observed; this field is optionala list of obstacles expressed as a geometry and the reference frame in which it was observed; this field is optionalgetTransforms
(int index) a list of Transforms, optionally with geometries.int
a list of Transforms, optionally with geometries.a list of Transforms, optionally with geometries.removeObstacles
(int index) a list of obstacles expressed as a geometry and the reference frame in which it was observed; this field is optionalremoveTransforms
(int index) a list of Transforms, optionally with geometries.setObstacles
(int index, Common.GeometriesInFrame value) a list of obstacles expressed as a geometry and the reference frame in which it was observed; this field is optionalsetObstacles
(int index, Common.GeometriesInFrame.Builder builderForValue) a list of obstacles expressed as a geometry and the reference frame in which it was observed; this field is optionalsetTransforms
(int index, Common.Transform value) a list of Transforms, optionally with geometries.setTransforms
(int index, Common.Transform.Builder builderForValue) a list of Transforms, optionally with geometries.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
-
getObstaclesList
a list of obstacles expressed as a geometry and the reference frame in which it was observed; this field is optional
repeated .viam.common.v1.GeometriesInFrame obstacles = 1 [json_name = "obstacles"];
- Specified by:
getObstaclesList
in interfaceCommon.WorldStateOrBuilder
-
getObstaclesCount
public int getObstaclesCount()a list of obstacles expressed as a geometry and the reference frame in which it was observed; this field is optional
repeated .viam.common.v1.GeometriesInFrame obstacles = 1 [json_name = "obstacles"];
- Specified by:
getObstaclesCount
in interfaceCommon.WorldStateOrBuilder
-
getObstacles
a list of obstacles expressed as a geometry and the reference frame in which it was observed; this field is optional
repeated .viam.common.v1.GeometriesInFrame obstacles = 1 [json_name = "obstacles"];
- Specified by:
getObstacles
in interfaceCommon.WorldStateOrBuilder
-
setObstacles
a list of obstacles expressed as a geometry and the reference frame in which it was observed; this field is optional
repeated .viam.common.v1.GeometriesInFrame obstacles = 1 [json_name = "obstacles"];
-
setObstacles
public Common.WorldState.Builder setObstacles(int index, Common.GeometriesInFrame.Builder builderForValue) a list of obstacles expressed as a geometry and the reference frame in which it was observed; this field is optional
repeated .viam.common.v1.GeometriesInFrame obstacles = 1 [json_name = "obstacles"];
-
addObstacles
a list of obstacles expressed as a geometry and the reference frame in which it was observed; this field is optional
repeated .viam.common.v1.GeometriesInFrame obstacles = 1 [json_name = "obstacles"];
-
addObstacles
a list of obstacles expressed as a geometry and the reference frame in which it was observed; this field is optional
repeated .viam.common.v1.GeometriesInFrame obstacles = 1 [json_name = "obstacles"];
-
addObstacles
a list of obstacles expressed as a geometry and the reference frame in which it was observed; this field is optional
repeated .viam.common.v1.GeometriesInFrame obstacles = 1 [json_name = "obstacles"];
-
addObstacles
public Common.WorldState.Builder addObstacles(int index, Common.GeometriesInFrame.Builder builderForValue) a list of obstacles expressed as a geometry and the reference frame in which it was observed; this field is optional
repeated .viam.common.v1.GeometriesInFrame obstacles = 1 [json_name = "obstacles"];
-
addAllObstacles
public Common.WorldState.Builder addAllObstacles(Iterable<? extends Common.GeometriesInFrame> values) a list of obstacles expressed as a geometry and the reference frame in which it was observed; this field is optional
repeated .viam.common.v1.GeometriesInFrame obstacles = 1 [json_name = "obstacles"];
-
clearObstacles
a list of obstacles expressed as a geometry and the reference frame in which it was observed; this field is optional
repeated .viam.common.v1.GeometriesInFrame obstacles = 1 [json_name = "obstacles"];
-
removeObstacles
a list of obstacles expressed as a geometry and the reference frame in which it was observed; this field is optional
repeated .viam.common.v1.GeometriesInFrame obstacles = 1 [json_name = "obstacles"];
-
getTransformsList
a list of Transforms, optionally with geometries. Used as supplemental transforms to transform a pose from one reference frame to another, or to attach moving geometries to the frame system. This field is optional
repeated .viam.common.v1.Transform transforms = 3 [json_name = "transforms"];
- Specified by:
getTransformsList
in interfaceCommon.WorldStateOrBuilder
-
getTransformsCount
public int getTransformsCount()a list of Transforms, optionally with geometries. Used as supplemental transforms to transform a pose from one reference frame to another, or to attach moving geometries to the frame system. This field is optional
repeated .viam.common.v1.Transform transforms = 3 [json_name = "transforms"];
- Specified by:
getTransformsCount
in interfaceCommon.WorldStateOrBuilder
-
getTransforms
a list of Transforms, optionally with geometries. Used as supplemental transforms to transform a pose from one reference frame to another, or to attach moving geometries to the frame system. This field is optional
repeated .viam.common.v1.Transform transforms = 3 [json_name = "transforms"];
- Specified by:
getTransforms
in interfaceCommon.WorldStateOrBuilder
-
setTransforms
a list of Transforms, optionally with geometries. Used as supplemental transforms to transform a pose from one reference frame to another, or to attach moving geometries to the frame system. This field is optional
repeated .viam.common.v1.Transform transforms = 3 [json_name = "transforms"];
-
setTransforms
a list of Transforms, optionally with geometries. Used as supplemental transforms to transform a pose from one reference frame to another, or to attach moving geometries to the frame system. This field is optional
repeated .viam.common.v1.Transform transforms = 3 [json_name = "transforms"];
-
addTransforms
a list of Transforms, optionally with geometries. Used as supplemental transforms to transform a pose from one reference frame to another, or to attach moving geometries to the frame system. This field is optional
repeated .viam.common.v1.Transform transforms = 3 [json_name = "transforms"];
-
addTransforms
a list of Transforms, optionally with geometries. Used as supplemental transforms to transform a pose from one reference frame to another, or to attach moving geometries to the frame system. This field is optional
repeated .viam.common.v1.Transform transforms = 3 [json_name = "transforms"];
-
addTransforms
a list of Transforms, optionally with geometries. Used as supplemental transforms to transform a pose from one reference frame to another, or to attach moving geometries to the frame system. This field is optional
repeated .viam.common.v1.Transform transforms = 3 [json_name = "transforms"];
-
addTransforms
a list of Transforms, optionally with geometries. Used as supplemental transforms to transform a pose from one reference frame to another, or to attach moving geometries to the frame system. This field is optional
repeated .viam.common.v1.Transform transforms = 3 [json_name = "transforms"];
-
addAllTransforms
a list of Transforms, optionally with geometries. Used as supplemental transforms to transform a pose from one reference frame to another, or to attach moving geometries to the frame system. This field is optional
repeated .viam.common.v1.Transform transforms = 3 [json_name = "transforms"];
-
clearTransforms
a list of Transforms, optionally with geometries. Used as supplemental transforms to transform a pose from one reference frame to another, or to attach moving geometries to the frame system. This field is optional
repeated .viam.common.v1.Transform transforms = 3 [json_name = "transforms"];
-
removeTransforms
a list of Transforms, optionally with geometries. Used as supplemental transforms to transform a pose from one reference frame to another, or to attach moving geometries to the frame system. This field is optional
repeated .viam.common.v1.Transform transforms = 3 [json_name = "transforms"];
-