Package com.viam.service.motion.v1
Class Motion.PlanStatusWithID.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Motion.PlanStatusWithID,Motion.PlanStatusWithID.Builder>
com.viam.service.motion.v1.Motion.PlanStatusWithID.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Motion.PlanStatusWithIDOrBuilder
,Cloneable
- Enclosing class:
- Motion.PlanStatusWithID
public static final class Motion.PlanStatusWithID.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<Motion.PlanStatusWithID,Motion.PlanStatusWithID.Builder>
implements Motion.PlanStatusWithIDOrBuilder
PlanStatusWithID describes the state of a given plan at a point in time plus the plan_id, component_name and execution_id the status is associated withProtobuf type
viam.service.motion.v1.PlanStatusWithID
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescriptionThe component to be moved.The unique ID which identifies the plan execution.The unique ID of the plan.viam.service.motion.v1.PlanStatus status = 4 [json_name = "status"];
The component to be moved.The unique ID which identifies the plan execution.com.google.protobuf.ByteString
The unique ID which identifies the plan execution.The unique ID of the plancom.google.protobuf.ByteString
The unique ID of the plan.viam.service.motion.v1.PlanStatus status = 4 [json_name = "status"];
boolean
The component to be moved.boolean
.viam.service.motion.v1.PlanStatus status = 4 [json_name = "status"];
The component to be moved.mergeStatus
(Motion.PlanStatus value) .viam.service.motion.v1.PlanStatus status = 4 [json_name = "status"];
The component to be moved.setComponentName
(Common.ResourceName.Builder builderForValue) The component to be moved.setExecutionId
(String value) The unique ID which identifies the plan execution.setExecutionIdBytes
(com.google.protobuf.ByteString value) The unique ID which identifies the plan execution.The unique ID of the plansetPlanIdBytes
(com.google.protobuf.ByteString value) The unique ID of the plansetStatus
(Motion.PlanStatus value) .viam.service.motion.v1.PlanStatus status = 4 [json_name = "status"];
setStatus
(Motion.PlanStatus.Builder builderForValue) .viam.service.motion.v1.PlanStatus status = 4 [json_name = "status"];
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
-
getPlanId
The unique ID of the plan
string plan_id = 1 [json_name = "planId"];
- Specified by:
getPlanId
in interfaceMotion.PlanStatusWithIDOrBuilder
- Returns:
- The planId.
-
getPlanIdBytes
public com.google.protobuf.ByteString getPlanIdBytes()The unique ID of the plan
string plan_id = 1 [json_name = "planId"];
- Specified by:
getPlanIdBytes
in interfaceMotion.PlanStatusWithIDOrBuilder
- Returns:
- The bytes for planId.
-
setPlanId
The unique ID of the plan
string plan_id = 1 [json_name = "planId"];
- Parameters:
value
- The planId to set.- Returns:
- This builder for chaining.
-
clearPlanId
The unique ID of the plan
string plan_id = 1 [json_name = "planId"];
- Returns:
- This builder for chaining.
-
setPlanIdBytes
The unique ID of the plan
string plan_id = 1 [json_name = "planId"];
- Parameters:
value
- The bytes for planId to set.- Returns:
- This builder for chaining.
-
hasComponentName
public boolean hasComponentName()The component to be moved. Used for tracking & stopping. NOTE: A plan may move more components than just the component_name.
.viam.common.v1.ResourceName component_name = 2 [json_name = "componentName"];
- Specified by:
hasComponentName
in interfaceMotion.PlanStatusWithIDOrBuilder
- Returns:
- Whether the componentName field is set.
-
getComponentName
The component to be moved. Used for tracking & stopping. NOTE: A plan may move more components than just the component_name.
.viam.common.v1.ResourceName component_name = 2 [json_name = "componentName"];
- Specified by:
getComponentName
in interfaceMotion.PlanStatusWithIDOrBuilder
- Returns:
- The componentName.
-
setComponentName
The component to be moved. Used for tracking & stopping. NOTE: A plan may move more components than just the component_name.
.viam.common.v1.ResourceName component_name = 2 [json_name = "componentName"];
-
setComponentName
public Motion.PlanStatusWithID.Builder setComponentName(Common.ResourceName.Builder builderForValue) The component to be moved. Used for tracking & stopping. NOTE: A plan may move more components than just the component_name.
.viam.common.v1.ResourceName component_name = 2 [json_name = "componentName"];
-
mergeComponentName
The component to be moved. Used for tracking & stopping. NOTE: A plan may move more components than just the component_name.
.viam.common.v1.ResourceName component_name = 2 [json_name = "componentName"];
-
clearComponentName
The component to be moved. Used for tracking & stopping. NOTE: A plan may move more components than just the component_name.
.viam.common.v1.ResourceName component_name = 2 [json_name = "componentName"];
-
getExecutionId
The unique ID which identifies the plan execution. Multiple plans will share the same execution_id if they were generated due to replanning.
string execution_id = 3 [json_name = "executionId"];
- Specified by:
getExecutionId
in interfaceMotion.PlanStatusWithIDOrBuilder
- Returns:
- The executionId.
-
getExecutionIdBytes
public com.google.protobuf.ByteString getExecutionIdBytes()The unique ID which identifies the plan execution. Multiple plans will share the same execution_id if they were generated due to replanning.
string execution_id = 3 [json_name = "executionId"];
- Specified by:
getExecutionIdBytes
in interfaceMotion.PlanStatusWithIDOrBuilder
- Returns:
- The bytes for executionId.
-
setExecutionId
The unique ID which identifies the plan execution. Multiple plans will share the same execution_id if they were generated due to replanning.
string execution_id = 3 [json_name = "executionId"];
- Parameters:
value
- The executionId to set.- Returns:
- This builder for chaining.
-
clearExecutionId
The unique ID which identifies the plan execution. Multiple plans will share the same execution_id if they were generated due to replanning.
string execution_id = 3 [json_name = "executionId"];
- Returns:
- This builder for chaining.
-
setExecutionIdBytes
The unique ID which identifies the plan execution. Multiple plans will share the same execution_id if they were generated due to replanning.
string execution_id = 3 [json_name = "executionId"];
- Parameters:
value
- The bytes for executionId to set.- Returns:
- This builder for chaining.
-
hasStatus
public boolean hasStatus().viam.service.motion.v1.PlanStatus status = 4 [json_name = "status"];
- Specified by:
hasStatus
in interfaceMotion.PlanStatusWithIDOrBuilder
- Returns:
- Whether the status field is set.
-
getStatus
.viam.service.motion.v1.PlanStatus status = 4 [json_name = "status"];
- Specified by:
getStatus
in interfaceMotion.PlanStatusWithIDOrBuilder
- Returns:
- The status.
-
setStatus
.viam.service.motion.v1.PlanStatus status = 4 [json_name = "status"];
-
setStatus
.viam.service.motion.v1.PlanStatus status = 4 [json_name = "status"];
-
mergeStatus
.viam.service.motion.v1.PlanStatus status = 4 [json_name = "status"];
-
clearStatus
.viam.service.motion.v1.PlanStatus status = 4 [json_name = "status"];
-