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
Modifier and TypeClassDescriptionstatic final class
Plan 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
Modifier and TypeFieldDescriptionstatic 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) static Motion.PlanStatus
The reason for the state change.com.google.protobuf.ByteString
The reason for the state change.getState()
The state of the plan executionint
The state of the plan executioncom.google.protobuf.Timestamp
The time the executing plan transtioned to the stateboolean
The reason for the state change.boolean
The time the executing plan transtioned to the statestatic Motion.PlanStatus.Builder
static Motion.PlanStatus.Builder
newBuilder
(Motion.PlanStatus prototype) static Motion.PlanStatus
parseDelimitedFrom
(InputStream input) static Motion.PlanStatus
parseDelimitedFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Motion.PlanStatus
parseFrom
(byte[] data) static Motion.PlanStatus
parseFrom
(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Motion.PlanStatus
parseFrom
(com.google.protobuf.ByteString data) static Motion.PlanStatus
parseFrom
(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Motion.PlanStatus
parseFrom
(com.google.protobuf.CodedInputStream input) static Motion.PlanStatus
parseFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Motion.PlanStatus
parseFrom
(InputStream input) static Motion.PlanStatus
parseFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Motion.PlanStatus
parseFrom
(ByteBuffer data) static Motion.PlanStatus
parseFrom
(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, 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
-
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:
getStateValue
in 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:
getState
in 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:
hasTimestamp
in 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:
getTimestamp
in 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:
hasReason
in 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:
getReason
in 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:
getReasonBytes
in 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:
dynamicMethod
in classcom.google.protobuf.GeneratedMessageLite<Motion.PlanStatus,
Motion.PlanStatus.Builder>
-
getDefaultInstance
-
parser
-