Package com.viam.service.motion.v1
Class Motion.ObstacleDetector.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Motion.ObstacleDetector,Motion.ObstacleDetector.Builder>
com.viam.service.motion.v1.Motion.ObstacleDetector.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Motion.ObstacleDetectorOrBuilder
,Cloneable
- Enclosing class:
- Motion.ObstacleDetector
public static final class Motion.ObstacleDetector.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<Motion.ObstacleDetector,Motion.ObstacleDetector.Builder>
implements Motion.ObstacleDetectorOrBuilder
Pairs a vision service with a camera, informing the service about which camera it may useProtobuf type
viam.service.motion.v1.ObstacleDetector
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescription.viam.common.v1.ResourceName camera = 2 [json_name = "camera"];
.viam.common.v1.ResourceName vision_service = 1 [json_name = "visionService"];
.viam.common.v1.ResourceName camera = 2 [json_name = "camera"];
.viam.common.v1.ResourceName vision_service = 1 [json_name = "visionService"];
boolean
.viam.common.v1.ResourceName camera = 2 [json_name = "camera"];
boolean
.viam.common.v1.ResourceName vision_service = 1 [json_name = "visionService"];
mergeCamera
(Common.ResourceName value) .viam.common.v1.ResourceName camera = 2 [json_name = "camera"];
.viam.common.v1.ResourceName vision_service = 1 [json_name = "visionService"];
setCamera
(Common.ResourceName value) .viam.common.v1.ResourceName camera = 2 [json_name = "camera"];
setCamera
(Common.ResourceName.Builder builderForValue) .viam.common.v1.ResourceName camera = 2 [json_name = "camera"];
.viam.common.v1.ResourceName vision_service = 1 [json_name = "visionService"];
setVisionService
(Common.ResourceName.Builder builderForValue) .viam.common.v1.ResourceName vision_service = 1 [json_name = "visionService"];
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
-
hasVisionService
public boolean hasVisionService().viam.common.v1.ResourceName vision_service = 1 [json_name = "visionService"];
- Specified by:
hasVisionService
in interfaceMotion.ObstacleDetectorOrBuilder
- Returns:
- Whether the visionService field is set.
-
getVisionService
.viam.common.v1.ResourceName vision_service = 1 [json_name = "visionService"];
- Specified by:
getVisionService
in interfaceMotion.ObstacleDetectorOrBuilder
- Returns:
- The visionService.
-
setVisionService
.viam.common.v1.ResourceName vision_service = 1 [json_name = "visionService"];
-
setVisionService
public Motion.ObstacleDetector.Builder setVisionService(Common.ResourceName.Builder builderForValue) .viam.common.v1.ResourceName vision_service = 1 [json_name = "visionService"];
-
mergeVisionService
.viam.common.v1.ResourceName vision_service = 1 [json_name = "visionService"];
-
clearVisionService
.viam.common.v1.ResourceName vision_service = 1 [json_name = "visionService"];
-
hasCamera
public boolean hasCamera().viam.common.v1.ResourceName camera = 2 [json_name = "camera"];
- Specified by:
hasCamera
in interfaceMotion.ObstacleDetectorOrBuilder
- Returns:
- Whether the camera field is set.
-
getCamera
.viam.common.v1.ResourceName camera = 2 [json_name = "camera"];
- Specified by:
getCamera
in interfaceMotion.ObstacleDetectorOrBuilder
- Returns:
- The camera.
-
setCamera
.viam.common.v1.ResourceName camera = 2 [json_name = "camera"];
-
setCamera
.viam.common.v1.ResourceName camera = 2 [json_name = "camera"];
-
mergeCamera
.viam.common.v1.ResourceName camera = 2 [json_name = "camera"];
-
clearCamera
.viam.common.v1.ResourceName camera = 2 [json_name = "camera"];
-