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
Modifier and TypeClassDescriptionstatic final class
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 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
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
Fields inherited from class com.google.protobuf.GeneratedMessageLite
unknownFields
Fields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode
-
Method Summary
Modifier and TypeMethodDescriptionprotected final Object
dynamicMethod
(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1) The component to be moved.static Motion.PlanStatusWithID
The unique ID which identifies the plan execution.com.google.protobuf.ByteString
The unique ID which identifies the plan execution.The unique ID of the plancom.google.protobuf.ByteString
The unique ID of the plan.viam.service.motion.v1.PlanStatus status = 4 [json_name = "status"];
boolean
The component to be moved.boolean
.viam.service.motion.v1.PlanStatus status = 4 [json_name = "status"];
newBuilder
(Motion.PlanStatusWithID prototype) static Motion.PlanStatusWithID
parseDelimitedFrom
(InputStream input) static Motion.PlanStatusWithID
parseDelimitedFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Motion.PlanStatusWithID
parseFrom
(byte[] data) static Motion.PlanStatusWithID
parseFrom
(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Motion.PlanStatusWithID
parseFrom
(com.google.protobuf.ByteString data) static Motion.PlanStatusWithID
parseFrom
(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Motion.PlanStatusWithID
parseFrom
(com.google.protobuf.CodedInputStream input) static Motion.PlanStatusWithID
parseFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Motion.PlanStatusWithID
parseFrom
(InputStream input) static Motion.PlanStatusWithID
parseFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Motion.PlanStatusWithID
parseFrom
(ByteBuffer data) static Motion.PlanStatusWithID
parseFrom
(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, writeTo
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods 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_FIELD_NUMBER
public static final int COMPONENT_NAME_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:
-
-
Method Details
-
getPlanId
The unique ID of the plan
string plan_id = 1 [json_name = "planId"];
- Specified by:
getPlanId
in 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:
getPlanIdBytes
in interfaceMotion.PlanStatusWithIDOrBuilder
- Returns:
- The bytes for planId.
-
hasComponentName
public boolean hasComponentName()The component to be moved. Used for tracking & stopping. NOTE: A plan may move more components than just the component_name.
.viam.common.v1.ResourceName component_name = 2 [json_name = "componentName"];
- Specified by:
hasComponentName
in interfaceMotion.PlanStatusWithIDOrBuilder
- Returns:
- Whether the componentName field is set.
-
getComponentName
The component to be moved. Used for tracking & stopping. NOTE: A plan may move more components than just the component_name.
.viam.common.v1.ResourceName component_name = 2 [json_name = "componentName"];
- Specified by:
getComponentName
in interfaceMotion.PlanStatusWithIDOrBuilder
- Returns:
- The componentName.
-
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:
getExecutionId
in 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:
getExecutionIdBytes
in interfaceMotion.PlanStatusWithIDOrBuilder
- Returns:
- The bytes for executionId.
-
hasStatus
public boolean hasStatus().viam.service.motion.v1.PlanStatus status = 4 [json_name = "status"];
- Specified by:
hasStatus
in interfaceMotion.PlanStatusWithIDOrBuilder
- Returns:
- Whether the status field is set.
-
getStatus
.viam.service.motion.v1.PlanStatus status = 4 [json_name = "status"];
- Specified by:
getStatus
in interfaceMotion.PlanStatusWithIDOrBuilder
- Returns:
- The status.
-
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:
dynamicMethod
in classcom.google.protobuf.GeneratedMessageLite<Motion.PlanStatusWithID,
Motion.PlanStatusWithID.Builder>
-
getDefaultInstance
-
parser
-