Package com.viam.service.motion.v1
Class Motion.Plan
java.lang.Object
com.google.protobuf.AbstractMessageLite<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite<Motion.Plan,Motion.Plan.Builder>
com.viam.service.motion.v1.Motion.Plan
- All Implemented Interfaces:
com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,Motion.PlanOrBuilder
- Enclosing class:
- Motion
public static final class Motion.Plan
extends com.google.protobuf.GeneratedMessageLite<Motion.Plan,Motion.Plan.Builder>
implements Motion.PlanOrBuilder
A plan describes a motion planProtobuf type
viam.service.motion.v1.Plan-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA plan describes a motion planNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageLite
com.google.protobuf.GeneratedMessageLite.DefaultInstanceBasedParser<T extends com.google.protobuf.GeneratedMessageLite<T,?>>, com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType, BuilderType>, BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType, BuilderType>, BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType, BuilderType>, BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageLite.GeneratedExtension<ContainingType extends com.google.protobuf.MessageLite, Type extends Object>, com.google.protobuf.GeneratedMessageLite.MethodToInvoke, com.google.protobuf.GeneratedMessageLite.SerializedForm Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageLite
unknownFieldsFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionprotected final ObjectdynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1) The component requested to be moved.com.google.protobuf.ByteStringThe component requested to be moved.Deprecated.static Motion.PlanThe unique ID which identifies the execution.com.google.protobuf.ByteStringThe unique ID which identifies the execution.getId()The plan's unique IDcom.google.protobuf.ByteStringThe plan's unique IDgetSteps(int index) The steps of a plan is an ordered list of plan stepsintThe steps of a plan is an ordered list of plan stepsThe steps of a plan is an ordered list of plan stepsgetStepsOrBuilder(int index) The steps of a plan is an ordered list of plan stepsList<? extends Motion.PlanStepOrBuilder>The steps of a plan is an ordered list of plan stepsbooleanDeprecated.static Motion.Plan.Builderstatic Motion.Plan.BuildernewBuilder(Motion.Plan prototype) static Motion.PlanparseDelimitedFrom(InputStream input) static Motion.PlanparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Motion.PlanparseFrom(byte[] data) static Motion.PlanparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Motion.PlanparseFrom(com.google.protobuf.ByteString data) static Motion.PlanparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Motion.PlanparseFrom(com.google.protobuf.CodedInputStream input) static Motion.PlanparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Motion.PlanparseFrom(InputStream input) static Motion.PlanparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Motion.PlanparseFrom(ByteBuffer data) static Motion.PlanparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Motion.Plan>parser()Methods inherited from class com.google.protobuf.GeneratedMessageLite
createBuilder, createBuilder, dynamicMethod, dynamicMethod, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, emptyProtobufList, equals, getDefaultInstanceForType, getParserForType, getSerializedSize, hashCode, isInitialized, isInitialized, makeImmutable, mergeLengthDelimitedField, mergeUnknownFields, mergeVarintField, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBuilderForType, newMessageInfo, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseDelimitedFrom, parseDelimitedFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parsePartialFrom, parseUnknownField, registerDefaultInstance, toBuilder, toString, writeToMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Field Details
-
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER- See Also:
-
COMPONENT_NAME_DEPRECATED_FIELD_NUMBER
public static final int COMPONENT_NAME_DEPRECATED_FIELD_NUMBER- See Also:
-
EXECUTION_ID_FIELD_NUMBER
public static final int EXECUTION_ID_FIELD_NUMBER- See Also:
-
STEPS_FIELD_NUMBER
public static final int STEPS_FIELD_NUMBER- See Also:
-
COMPONENT_NAME_FIELD_NUMBER
public static final int COMPONENT_NAME_FIELD_NUMBER- See Also:
-
-
Method Details
-
getId
The plan's unique ID
string id = 1 [json_name = "id"];- Specified by:
getIdin interfaceMotion.PlanOrBuilder- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()The plan's unique ID
string id = 1 [json_name = "id"];- Specified by:
getIdBytesin interfaceMotion.PlanOrBuilder- Returns:
- The bytes for id.
-
hasComponentNameDeprecated
Deprecated.Deprecated, use component_name field.
.viam.common.v1.ResourceName component_name_deprecated = 2 [json_name = "componentNameDeprecated", deprecated = true];- Specified by:
hasComponentNameDeprecatedin interfaceMotion.PlanOrBuilder- 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.PlanOrBuilder- Returns:
- The componentNameDeprecated.
-
getExecutionId
The unique ID which identifies the 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.PlanOrBuilder- Returns:
- The executionId.
-
getExecutionIdBytes
public com.google.protobuf.ByteString getExecutionIdBytes()The unique ID which identifies the 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.PlanOrBuilder- Returns:
- The bytes for executionId.
-
getStepsList
The steps of a plan is an ordered list of plan steps
repeated .viam.service.motion.v1.PlanStep steps = 4 [json_name = "steps"];- Specified by:
getStepsListin interfaceMotion.PlanOrBuilder
-
getStepsOrBuilderList
The steps of a plan is an ordered list of plan steps
repeated .viam.service.motion.v1.PlanStep steps = 4 [json_name = "steps"]; -
getStepsCount
public int getStepsCount()The steps of a plan is an ordered list of plan steps
repeated .viam.service.motion.v1.PlanStep steps = 4 [json_name = "steps"];- Specified by:
getStepsCountin interfaceMotion.PlanOrBuilder
-
getSteps
The steps of a plan is an ordered list of plan steps
repeated .viam.service.motion.v1.PlanStep steps = 4 [json_name = "steps"];- Specified by:
getStepsin interfaceMotion.PlanOrBuilder
-
getStepsOrBuilder
The steps of a plan is an ordered list of plan steps
repeated .viam.service.motion.v1.PlanStep steps = 4 [json_name = "steps"]; -
getComponentName
The component requested to be moved. Used for tracking & stopping. NOTE: A plan may move more components than just the root component.
string component_name = 5 [json_name = "componentName"];- Specified by:
getComponentNamein interfaceMotion.PlanOrBuilder- Returns:
- The componentName.
-
getComponentNameBytes
public com.google.protobuf.ByteString getComponentNameBytes()The component requested to be moved. Used for tracking & stopping. NOTE: A plan may move more components than just the root component.
string component_name = 5 [json_name = "componentName"];- Specified by:
getComponentNameBytesin interfaceMotion.PlanOrBuilder- Returns:
- The bytes for componentName.
-
parseFrom
public static Motion.Plan parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Motion.Plan parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Motion.Plan parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Motion.Plan parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Motion.Plan parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Motion.Plan parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Motion.Plan parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Motion.Plan parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Motion.Plan parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilder
-
newBuilder
-
dynamicMethod
protected final Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1) - Specified by:
dynamicMethodin classcom.google.protobuf.GeneratedMessageLite<Motion.Plan,Motion.Plan.Builder>
-
getDefaultInstance
-
parser
-