Package com.viam.service.motion.v1
Class Motion.PlanWithStatus.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Motion.PlanWithStatus,Motion.PlanWithStatus.Builder>
com.viam.service.motion.v1.Motion.PlanWithStatus.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Motion.PlanWithStatusOrBuilder
,Cloneable
- Enclosing class:
- Motion.PlanWithStatus
public static final class Motion.PlanWithStatus.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<Motion.PlanWithStatus,Motion.PlanWithStatus.Builder>
implements Motion.PlanWithStatusOrBuilder
Describes a plan, its current status & all status changes that have occured previously on that planProtobuf type
viam.service.motion.v1.PlanWithStatus
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescriptionaddAllStatusHistory
(Iterable<? extends Motion.PlanStatus> values) The prior status changes that have happened during plan executionaddStatusHistory
(int index, Motion.PlanStatus value) The prior status changes that have happened during plan executionaddStatusHistory
(int index, Motion.PlanStatus.Builder builderForValue) The prior status changes that have happened during plan executionThe prior status changes that have happened during plan executionaddStatusHistory
(Motion.PlanStatus.Builder builderForValue) The prior status changes that have happened during plan executionThe planThe current status of the planThe prior status changes that have happened during plan executiongetPlan()
The planThe current status of the plangetStatusHistory
(int index) The prior status changes that have happened during plan executionint
The prior status changes that have happened during plan executionThe prior status changes that have happened during plan executionboolean
hasPlan()
The planboolean
The current status of the planmergePlan
(Motion.Plan value) The planmergeStatus
(Motion.PlanStatus value) The current status of the planremoveStatusHistory
(int index) The prior status changes that have happened during plan executionsetPlan
(Motion.Plan value) The plansetPlan
(Motion.Plan.Builder builderForValue) The plansetStatus
(Motion.PlanStatus value) The current status of the plansetStatus
(Motion.PlanStatus.Builder builderForValue) The current status of the plansetStatusHistory
(int index, Motion.PlanStatus value) The prior status changes that have happened during plan executionsetStatusHistory
(int index, Motion.PlanStatus.Builder builderForValue) The prior status changes that have happened during plan executionMethods 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
-
hasPlan
public boolean hasPlan()The plan
.viam.service.motion.v1.Plan plan = 1 [json_name = "plan"];
- Specified by:
hasPlan
in interfaceMotion.PlanWithStatusOrBuilder
- Returns:
- Whether the plan field is set.
-
getPlan
The plan
.viam.service.motion.v1.Plan plan = 1 [json_name = "plan"];
- Specified by:
getPlan
in interfaceMotion.PlanWithStatusOrBuilder
- Returns:
- The plan.
-
setPlan
The plan
.viam.service.motion.v1.Plan plan = 1 [json_name = "plan"];
-
setPlan
The plan
.viam.service.motion.v1.Plan plan = 1 [json_name = "plan"];
-
mergePlan
The plan
.viam.service.motion.v1.Plan plan = 1 [json_name = "plan"];
-
clearPlan
The plan
.viam.service.motion.v1.Plan plan = 1 [json_name = "plan"];
-
hasStatus
public boolean hasStatus()The current status of the plan
.viam.service.motion.v1.PlanStatus status = 2 [json_name = "status"];
- Specified by:
hasStatus
in interfaceMotion.PlanWithStatusOrBuilder
- Returns:
- Whether the status field is set.
-
getStatus
The current status of the plan
.viam.service.motion.v1.PlanStatus status = 2 [json_name = "status"];
- Specified by:
getStatus
in interfaceMotion.PlanWithStatusOrBuilder
- Returns:
- The status.
-
setStatus
The current status of the plan
.viam.service.motion.v1.PlanStatus status = 2 [json_name = "status"];
-
setStatus
The current status of the plan
.viam.service.motion.v1.PlanStatus status = 2 [json_name = "status"];
-
mergeStatus
The current status of the plan
.viam.service.motion.v1.PlanStatus status = 2 [json_name = "status"];
-
clearStatus
The current status of the plan
.viam.service.motion.v1.PlanStatus status = 2 [json_name = "status"];
-
getStatusHistoryList
The prior status changes that have happened during plan execution
repeated .viam.service.motion.v1.PlanStatus status_history = 3 [json_name = "statusHistory"];
- Specified by:
getStatusHistoryList
in interfaceMotion.PlanWithStatusOrBuilder
-
getStatusHistoryCount
public int getStatusHistoryCount()The prior status changes that have happened during plan execution
repeated .viam.service.motion.v1.PlanStatus status_history = 3 [json_name = "statusHistory"];
- Specified by:
getStatusHistoryCount
in interfaceMotion.PlanWithStatusOrBuilder
-
getStatusHistory
The prior status changes that have happened during plan execution
repeated .viam.service.motion.v1.PlanStatus status_history = 3 [json_name = "statusHistory"];
- Specified by:
getStatusHistory
in interfaceMotion.PlanWithStatusOrBuilder
-
setStatusHistory
The prior status changes that have happened during plan execution
repeated .viam.service.motion.v1.PlanStatus status_history = 3 [json_name = "statusHistory"];
-
setStatusHistory
public Motion.PlanWithStatus.Builder setStatusHistory(int index, Motion.PlanStatus.Builder builderForValue) The prior status changes that have happened during plan execution
repeated .viam.service.motion.v1.PlanStatus status_history = 3 [json_name = "statusHistory"];
-
addStatusHistory
The prior status changes that have happened during plan execution
repeated .viam.service.motion.v1.PlanStatus status_history = 3 [json_name = "statusHistory"];
-
addStatusHistory
The prior status changes that have happened during plan execution
repeated .viam.service.motion.v1.PlanStatus status_history = 3 [json_name = "statusHistory"];
-
addStatusHistory
The prior status changes that have happened during plan execution
repeated .viam.service.motion.v1.PlanStatus status_history = 3 [json_name = "statusHistory"];
-
addStatusHistory
public Motion.PlanWithStatus.Builder addStatusHistory(int index, Motion.PlanStatus.Builder builderForValue) The prior status changes that have happened during plan execution
repeated .viam.service.motion.v1.PlanStatus status_history = 3 [json_name = "statusHistory"];
-
addAllStatusHistory
public Motion.PlanWithStatus.Builder addAllStatusHistory(Iterable<? extends Motion.PlanStatus> values) The prior status changes that have happened during plan execution
repeated .viam.service.motion.v1.PlanStatus status_history = 3 [json_name = "statusHistory"];
-
clearStatusHistory
The prior status changes that have happened during plan execution
repeated .viam.service.motion.v1.PlanStatus status_history = 3 [json_name = "statusHistory"];
-
removeStatusHistory
The prior status changes that have happened during plan execution
repeated .viam.service.motion.v1.PlanStatus status_history = 3 [json_name = "statusHistory"];
-