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 time
 
Protobuf type viam.service.motion.v1.PlanStatus
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    Plan status describes the state of a given plan at a point in time

    Nested 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

    Fields
    Modifier and Type
    Field
    Description
    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 Type
    Method
    Description
    protected final Object
    dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1)
     
     
    The reason for the state change.
    com.google.protobuf.ByteString
    The reason for the state change.
    The state of the plan execution
    int
    The state of the plan execution
    com.google.protobuf.Timestamp
    The time the executing plan transtioned to the state
    boolean
    The reason for the state change.
    boolean
    The time the executing plan transtioned to the state
     
     
     
    parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(byte[] data)
     
    parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(com.google.protobuf.ByteString data)
     
    parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(com.google.protobuf.CodedInputStream input)
     
    parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
     
    parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
     
    parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static com.google.protobuf.Parser<Motion.PlanStatus>
     

    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

  • 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 interface Motion.PlanStatusOrBuilder
      Returns:
      The enum numeric value on the wire for state.
    • getState

      public Motion.PlanState getState()
       The state of the plan execution
       
      .viam.service.motion.v1.PlanState state = 1 [json_name = "state"];
      Specified by:
      getState in interface Motion.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 interface Motion.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 interface Motion.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 interface Motion.PlanStatusOrBuilder
      Returns:
      Whether the reason field is set.
    • getReason

      public String 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 interface Motion.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 interface Motion.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

      public static Motion.PlanStatus parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Motion.PlanStatus parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Motion.PlanStatus parseDelimitedFrom(InputStream input) throws IOException
      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

      public static Motion.PlanStatus.Builder newBuilder()
    • newBuilder

      public static Motion.PlanStatus.Builder newBuilder(Motion.PlanStatus prototype)
    • dynamicMethod

      protected final Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1)
      Specified by:
      dynamicMethod in class com.google.protobuf.GeneratedMessageLite<Motion.PlanStatus,Motion.PlanStatus.Builder>
    • getDefaultInstance

      public static Motion.PlanStatus getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<Motion.PlanStatus> parser()