Package com.viam.service.motion.v1
Class Motion.PlanStatus
java.lang.Object
com.google.protobuf.AbstractMessageLite<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite<Motion.PlanStatus,Motion.PlanStatus.Builder>
com.viam.service.motion.v1.Motion.PlanStatus
- All Implemented Interfaces:
com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,Motion.PlanStatusOrBuilder
- Enclosing class:
- Motion
public static final class Motion.PlanStatus
extends com.google.protobuf.GeneratedMessageLite<Motion.PlanStatus,Motion.PlanStatus.Builder>
implements Motion.PlanStatusOrBuilder
Plan status describes the state of a given plan at a point in timeProtobuf type
viam.service.motion.v1.PlanStatus-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classPlan status describes the state of a given plan at a point in timeNested 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 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) static Motion.PlanStatusThe reason for the state change.com.google.protobuf.ByteStringThe reason for the state change.getState()The state of the plan executionintThe state of the plan executioncom.google.protobuf.TimestampThe time the executing plan transtioned to the statebooleanThe reason for the state change.booleanThe time the executing plan transtioned to the statestatic Motion.PlanStatus.Builderstatic Motion.PlanStatus.BuildernewBuilder(Motion.PlanStatus prototype) static Motion.PlanStatusparseDelimitedFrom(InputStream input) static Motion.PlanStatusparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Motion.PlanStatusparseFrom(byte[] data) static Motion.PlanStatusparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Motion.PlanStatusparseFrom(com.google.protobuf.ByteString data) static Motion.PlanStatusparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Motion.PlanStatusparseFrom(com.google.protobuf.CodedInputStream input) static Motion.PlanStatusparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Motion.PlanStatusparseFrom(InputStream input) static Motion.PlanStatusparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Motion.PlanStatusparseFrom(ByteBuffer data) static Motion.PlanStatusparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Motion.PlanStatus>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
-
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER- See Also:
-
TIMESTAMP_FIELD_NUMBER
public static final int TIMESTAMP_FIELD_NUMBER- See Also:
-
REASON_FIELD_NUMBER
public static final int REASON_FIELD_NUMBER- See Also:
-
-
Method Details
-
getStateValue
public int getStateValue()The state of the plan execution
.viam.service.motion.v1.PlanState state = 1 [json_name = "state"];- Specified by:
getStateValuein interfaceMotion.PlanStatusOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
getState
The state of the plan execution
.viam.service.motion.v1.PlanState state = 1 [json_name = "state"];- Specified by:
getStatein interfaceMotion.PlanStatusOrBuilder- Returns:
- The state.
-
hasTimestamp
public boolean hasTimestamp()The time the executing plan transtioned to the state
.google.protobuf.Timestamp timestamp = 2 [json_name = "timestamp"];- Specified by:
hasTimestampin interfaceMotion.PlanStatusOrBuilder- Returns:
- Whether the timestamp field is set.
-
getTimestamp
public com.google.protobuf.Timestamp getTimestamp()The time the executing plan transtioned to the state
.google.protobuf.Timestamp timestamp = 2 [json_name = "timestamp"];- Specified by:
getTimestampin interfaceMotion.PlanStatusOrBuilder- Returns:
- The timestamp.
-
hasReason
public boolean hasReason()The reason for the state change. If motion plan failed this will return the error message. If motion needed to re-plan, this will return the re-plan reason.
optional string reason = 3 [json_name = "reason"];- Specified by:
hasReasonin interfaceMotion.PlanStatusOrBuilder- Returns:
- Whether the reason field is set.
-
getReason
The reason for the state change. If motion plan failed this will return the error message. If motion needed to re-plan, this will return the re-plan reason.
optional string reason = 3 [json_name = "reason"];- Specified by:
getReasonin interfaceMotion.PlanStatusOrBuilder- Returns:
- The reason.
-
getReasonBytes
public com.google.protobuf.ByteString getReasonBytes()The reason for the state change. If motion plan failed this will return the error message. If motion needed to re-plan, this will return the re-plan reason.
optional string reason = 3 [json_name = "reason"];- Specified by:
getReasonBytesin interfaceMotion.PlanStatusOrBuilder- Returns:
- The bytes for reason.
-
parseFrom
public static Motion.PlanStatus parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Motion.PlanStatus parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Motion.PlanStatus parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Motion.PlanStatus 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.PlanStatus parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Motion.PlanStatus 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.PlanStatus parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Motion.PlanStatus parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static Motion.PlanStatus parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static Motion.PlanStatus 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.PlanStatus,Motion.PlanStatus.Builder>
-
getDefaultInstance
-
parser
-