Package com.viam.service.motion.v1
Class Motion.GetPlanResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Motion.GetPlanResponse,Motion.GetPlanResponse.Builder>
com.viam.service.motion.v1.Motion.GetPlanResponse.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Motion.GetPlanResponseOrBuilder
,Cloneable
- Enclosing class:
- Motion.GetPlanResponse
public static final class Motion.GetPlanResponse.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<Motion.GetPlanResponse,Motion.GetPlanResponse.Builder>
implements Motion.GetPlanResponseOrBuilder
Protobuf type
viam.service.motion.v1.GetPlanResponse
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescriptionaddAllReplanHistory
(Iterable<? extends Motion.PlanWithStatus> values) Returns the history of all previous plans that were generated in ascending order.addReplanHistory
(int index, Motion.PlanWithStatus value) Returns the history of all previous plans that were generated in ascending order.addReplanHistory
(int index, Motion.PlanWithStatus.Builder builderForValue) Returns the history of all previous plans that were generated in ascending order.Returns the history of all previous plans that were generated in ascending order.addReplanHistory
(Motion.PlanWithStatus.Builder builderForValue) Returns the history of all previous plans that were generated in ascending order.The current plan and status that matches the request queryReturns the history of all previous plans that were generated in ascending order.The current plan and status that matches the request querygetReplanHistory
(int index) Returns the history of all previous plans that were generated in ascending order.int
Returns the history of all previous plans that were generated in ascending order.Returns the history of all previous plans that were generated in ascending order.boolean
The current plan and status that matches the request queryThe current plan and status that matches the request queryremoveReplanHistory
(int index) Returns the history of all previous plans that were generated in ascending order.The current plan and status that matches the request querysetCurrentPlanWithStatus
(Motion.PlanWithStatus.Builder builderForValue) The current plan and status that matches the request querysetReplanHistory
(int index, Motion.PlanWithStatus value) Returns the history of all previous plans that were generated in ascending order.setReplanHistory
(int index, Motion.PlanWithStatus.Builder builderForValue) Returns the history of all previous plans that were generated in ascending order.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
-
hasCurrentPlanWithStatus
public boolean hasCurrentPlanWithStatus()The current plan and status that matches the request query
.viam.service.motion.v1.PlanWithStatus current_plan_with_status = 1 [json_name = "currentPlanWithStatus"];
- Specified by:
hasCurrentPlanWithStatus
in interfaceMotion.GetPlanResponseOrBuilder
- Returns:
- Whether the currentPlanWithStatus field is set.
-
getCurrentPlanWithStatus
The current plan and status that matches the request query
.viam.service.motion.v1.PlanWithStatus current_plan_with_status = 1 [json_name = "currentPlanWithStatus"];
- Specified by:
getCurrentPlanWithStatus
in interfaceMotion.GetPlanResponseOrBuilder
- Returns:
- The currentPlanWithStatus.
-
setCurrentPlanWithStatus
The current plan and status that matches the request query
.viam.service.motion.v1.PlanWithStatus current_plan_with_status = 1 [json_name = "currentPlanWithStatus"];
-
setCurrentPlanWithStatus
public Motion.GetPlanResponse.Builder setCurrentPlanWithStatus(Motion.PlanWithStatus.Builder builderForValue) The current plan and status that matches the request query
.viam.service.motion.v1.PlanWithStatus current_plan_with_status = 1 [json_name = "currentPlanWithStatus"];
-
mergeCurrentPlanWithStatus
The current plan and status that matches the request query
.viam.service.motion.v1.PlanWithStatus current_plan_with_status = 1 [json_name = "currentPlanWithStatus"];
-
clearCurrentPlanWithStatus
The current plan and status that matches the request query
.viam.service.motion.v1.PlanWithStatus current_plan_with_status = 1 [json_name = "currentPlanWithStatus"];
-
getReplanHistoryList
Returns the history of all previous plans that were generated in ascending order. This field will be empty if the motion service did not need to re-plan.
repeated .viam.service.motion.v1.PlanWithStatus replan_history = 2 [json_name = "replanHistory"];
- Specified by:
getReplanHistoryList
in interfaceMotion.GetPlanResponseOrBuilder
-
getReplanHistoryCount
public int getReplanHistoryCount()Returns the history of all previous plans that were generated in ascending order. This field will be empty if the motion service did not need to re-plan.
repeated .viam.service.motion.v1.PlanWithStatus replan_history = 2 [json_name = "replanHistory"];
- Specified by:
getReplanHistoryCount
in interfaceMotion.GetPlanResponseOrBuilder
-
getReplanHistory
Returns the history of all previous plans that were generated in ascending order. This field will be empty if the motion service did not need to re-plan.
repeated .viam.service.motion.v1.PlanWithStatus replan_history = 2 [json_name = "replanHistory"];
- Specified by:
getReplanHistory
in interfaceMotion.GetPlanResponseOrBuilder
-
setReplanHistory
Returns the history of all previous plans that were generated in ascending order. This field will be empty if the motion service did not need to re-plan.
repeated .viam.service.motion.v1.PlanWithStatus replan_history = 2 [json_name = "replanHistory"];
-
setReplanHistory
public Motion.GetPlanResponse.Builder setReplanHistory(int index, Motion.PlanWithStatus.Builder builderForValue) Returns the history of all previous plans that were generated in ascending order. This field will be empty if the motion service did not need to re-plan.
repeated .viam.service.motion.v1.PlanWithStatus replan_history = 2 [json_name = "replanHistory"];
-
addReplanHistory
Returns the history of all previous plans that were generated in ascending order. This field will be empty if the motion service did not need to re-plan.
repeated .viam.service.motion.v1.PlanWithStatus replan_history = 2 [json_name = "replanHistory"];
-
addReplanHistory
Returns the history of all previous plans that were generated in ascending order. This field will be empty if the motion service did not need to re-plan.
repeated .viam.service.motion.v1.PlanWithStatus replan_history = 2 [json_name = "replanHistory"];
-
addReplanHistory
public Motion.GetPlanResponse.Builder addReplanHistory(Motion.PlanWithStatus.Builder builderForValue) Returns the history of all previous plans that were generated in ascending order. This field will be empty if the motion service did not need to re-plan.
repeated .viam.service.motion.v1.PlanWithStatus replan_history = 2 [json_name = "replanHistory"];
-
addReplanHistory
public Motion.GetPlanResponse.Builder addReplanHistory(int index, Motion.PlanWithStatus.Builder builderForValue) Returns the history of all previous plans that were generated in ascending order. This field will be empty if the motion service did not need to re-plan.
repeated .viam.service.motion.v1.PlanWithStatus replan_history = 2 [json_name = "replanHistory"];
-
addAllReplanHistory
public Motion.GetPlanResponse.Builder addAllReplanHistory(Iterable<? extends Motion.PlanWithStatus> values) Returns the history of all previous plans that were generated in ascending order. This field will be empty if the motion service did not need to re-plan.
repeated .viam.service.motion.v1.PlanWithStatus replan_history = 2 [json_name = "replanHistory"];
-
clearReplanHistory
Returns the history of all previous plans that were generated in ascending order. This field will be empty if the motion service did not need to re-plan.
repeated .viam.service.motion.v1.PlanWithStatus replan_history = 2 [json_name = "replanHistory"];
-
removeReplanHistory
Returns the history of all previous plans that were generated in ascending order. This field will be empty if the motion service did not need to re-plan.
repeated .viam.service.motion.v1.PlanWithStatus replan_history = 2 [json_name = "replanHistory"];
-