Package com.viam.service.motion.v1
Class Motion.PlanStatusWithID
java.lang.Object
com.google.protobuf.AbstractMessageLite<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite<Motion.PlanStatusWithID,Motion.PlanStatusWithID.Builder>
com.viam.service.motion.v1.Motion.PlanStatusWithID
- All Implemented Interfaces:
com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,Motion.PlanStatusWithIDOrBuilder
- Enclosing class:
- Motion
public static final class Motion.PlanStatusWithID
extends com.google.protobuf.GeneratedMessageLite<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-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classPlanStatusWithID 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 withNested 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 to be moved.com.google.protobuf.ByteStringThe component to be moved.Deprecated.static Motion.PlanStatusWithIDThe 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"];newBuilder(Motion.PlanStatusWithID prototype) static Motion.PlanStatusWithIDparseDelimitedFrom(InputStream input) static Motion.PlanStatusWithIDparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Motion.PlanStatusWithIDparseFrom(byte[] data) static Motion.PlanStatusWithIDparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Motion.PlanStatusWithIDparseFrom(com.google.protobuf.ByteString data) static Motion.PlanStatusWithIDparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Motion.PlanStatusWithIDparseFrom(com.google.protobuf.CodedInputStream input) static Motion.PlanStatusWithIDparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Motion.PlanStatusWithIDparseFrom(InputStream input) static Motion.PlanStatusWithIDparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Motion.PlanStatusWithIDparseFrom(ByteBuffer data) static Motion.PlanStatusWithIDparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Motion.PlanStatusWithID>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
-
PLAN_ID_FIELD_NUMBER
public static final int PLAN_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:
-
STATUS_FIELD_NUMBER
public static final int STATUS_FIELD_NUMBER- See Also:
-
COMPONENT_NAME_FIELD_NUMBER
public static final int COMPONENT_NAME_FIELD_NUMBER- See Also:
-
-
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.
-
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.
-
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.
-
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.
-
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.
-
parseFrom
public static Motion.PlanStatusWithID parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Motion.PlanStatusWithID parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Motion.PlanStatusWithID parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Motion.PlanStatusWithID 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.PlanStatusWithID parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Motion.PlanStatusWithID 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.PlanStatusWithID parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Motion.PlanStatusWithID parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static Motion.PlanStatusWithID parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static Motion.PlanStatusWithID 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.PlanStatusWithID,Motion.PlanStatusWithID.Builder>
-
getDefaultInstance
-
parser
-