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.Deprecated.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.com.google.protobuf.ByteStringThe component to be moved.Deprecated.The unique ID which identifies the plan execution.com.google.protobuf.ByteStringThe unique ID which identifies the plan execution.The unique ID of the plancom.google.protobuf.ByteStringThe unique ID of the plan.viam.service.motion.v1.PlanStatus status = 4 [json_name = "status"];booleanDeprecated.boolean.viam.service.motion.v1.PlanStatus status = 4 [json_name = "status"];Deprecated.mergeStatus(Motion.PlanStatus value) .viam.service.motion.v1.PlanStatus status = 4 [json_name = "status"];setComponentName(String value) The component to be moved.setComponentNameBytes(com.google.protobuf.ByteString value) The component to be moved.Deprecated.setComponentNameDeprecated(Common.ResourceName.Builder builderForValue) Deprecated.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, mergeFromMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
getPlanIdin 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:
getPlanIdBytesin 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.
-
hasComponentNameDeprecated
Deprecated.Deprecated, use component_name field.
.viam.common.v1.ResourceName component_name_deprecated = 2 [json_name = "componentNameDeprecated", deprecated = true];- Specified by:
hasComponentNameDeprecatedin interfaceMotion.PlanStatusWithIDOrBuilder- Returns:
- Whether the componentNameDeprecated field is set.
-
getComponentNameDeprecated
Deprecated.Deprecated, use component_name field.
.viam.common.v1.ResourceName component_name_deprecated = 2 [json_name = "componentNameDeprecated", deprecated = true];- Specified by:
getComponentNameDeprecatedin interfaceMotion.PlanStatusWithIDOrBuilder- Returns:
- The componentNameDeprecated.
-
setComponentNameDeprecated
@Deprecated public Motion.PlanStatusWithID.Builder setComponentNameDeprecated(Common.ResourceName value) Deprecated.Deprecated, use component_name field.
.viam.common.v1.ResourceName component_name_deprecated = 2 [json_name = "componentNameDeprecated", deprecated = true]; -
setComponentNameDeprecated
@Deprecated public Motion.PlanStatusWithID.Builder setComponentNameDeprecated(Common.ResourceName.Builder builderForValue) Deprecated.Deprecated, use component_name field.
.viam.common.v1.ResourceName component_name_deprecated = 2 [json_name = "componentNameDeprecated", deprecated = true]; -
mergeComponentNameDeprecated
@Deprecated public Motion.PlanStatusWithID.Builder mergeComponentNameDeprecated(Common.ResourceName value) Deprecated.Deprecated, use component_name field.
.viam.common.v1.ResourceName component_name_deprecated = 2 [json_name = "componentNameDeprecated", deprecated = true]; -
clearComponentNameDeprecated
Deprecated.Deprecated, use component_name field.
.viam.common.v1.ResourceName component_name_deprecated = 2 [json_name = "componentNameDeprecated", deprecated = true]; -
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:
getExecutionIdin 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:
getExecutionIdBytesin 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:
hasStatusin interfaceMotion.PlanStatusWithIDOrBuilder- Returns:
- Whether the status field is set.
-
getStatus
.viam.service.motion.v1.PlanStatus status = 4 [json_name = "status"];- Specified by:
getStatusin 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"]; -
getComponentName
The component to be moved. Used for tracking & stopping. NOTE: A plan may move more components than just the component_name.
string component_name = 5 [json_name = "componentName"];- Specified by:
getComponentNamein interfaceMotion.PlanStatusWithIDOrBuilder- Returns:
- The componentName.
-
getComponentNameBytes
public com.google.protobuf.ByteString getComponentNameBytes()The component to be moved. Used for tracking & stopping. NOTE: A plan may move more components than just the component_name.
string component_name = 5 [json_name = "componentName"];- Specified by:
getComponentNameBytesin interfaceMotion.PlanStatusWithIDOrBuilder- Returns:
- The bytes for componentName.
-
setComponentName
The component to be moved. Used for tracking & stopping. NOTE: A plan may move more components than just the component_name.
string component_name = 5 [json_name = "componentName"];- Parameters:
value- The componentName to set.- Returns:
- This builder for chaining.
-
clearComponentName
The component to be moved. Used for tracking & stopping. NOTE: A plan may move more components than just the component_name.
string component_name = 5 [json_name = "componentName"];- Returns:
- This builder for chaining.
-
setComponentNameBytes
The component to be moved. Used for tracking & stopping. NOTE: A plan may move more components than just the component_name.
string component_name = 5 [json_name = "componentName"];- Parameters:
value- The bytes for componentName to set.- Returns:
- This builder for chaining.
-