Class Motion.Constraints

java.lang.Object
com.google.protobuf.AbstractMessageLite<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite<Motion.Constraints,Motion.Constraints.Builder>
com.viam.service.motion.v1.Motion.Constraints
All Implemented Interfaces:
com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, Motion.ConstraintsOrBuilder
Enclosing class:
Motion

public static final class Motion.Constraints extends com.google.protobuf.GeneratedMessageLite<Motion.Constraints,Motion.Constraints.Builder> implements Motion.ConstraintsOrBuilder
 Constraints specifies all enumerated constraints to be passed to Viam's motion planning, along with any optional parameters
 
Protobuf type viam.service.motion.v1.Constraints
  • Field Details

    • LINEAR_CONSTRAINT_FIELD_NUMBER

      public static final int LINEAR_CONSTRAINT_FIELD_NUMBER
      See Also:
    • ORIENTATION_CONSTRAINT_FIELD_NUMBER

      public static final int ORIENTATION_CONSTRAINT_FIELD_NUMBER
      See Also:
    • COLLISION_SPECIFICATION_FIELD_NUMBER

      public static final int COLLISION_SPECIFICATION_FIELD_NUMBER
      See Also:
  • Method Details

    • getLinearConstraintList

      public List<Motion.LinearConstraint> getLinearConstraintList()
       Typed message for a specific constraint
       
      repeated .viam.service.motion.v1.LinearConstraint linear_constraint = 1 [json_name = "linearConstraint"];
      Specified by:
      getLinearConstraintList in interface Motion.ConstraintsOrBuilder
    • getLinearConstraintOrBuilderList

      public List<? extends Motion.LinearConstraintOrBuilder> getLinearConstraintOrBuilderList()
       Typed message for a specific constraint
       
      repeated .viam.service.motion.v1.LinearConstraint linear_constraint = 1 [json_name = "linearConstraint"];
    • getLinearConstraintCount

      public int getLinearConstraintCount()
       Typed message for a specific constraint
       
      repeated .viam.service.motion.v1.LinearConstraint linear_constraint = 1 [json_name = "linearConstraint"];
      Specified by:
      getLinearConstraintCount in interface Motion.ConstraintsOrBuilder
    • getLinearConstraint

      public Motion.LinearConstraint getLinearConstraint(int index)
       Typed message for a specific constraint
       
      repeated .viam.service.motion.v1.LinearConstraint linear_constraint = 1 [json_name = "linearConstraint"];
      Specified by:
      getLinearConstraint in interface Motion.ConstraintsOrBuilder
    • getLinearConstraintOrBuilder

      public Motion.LinearConstraintOrBuilder getLinearConstraintOrBuilder(int index)
       Typed message for a specific constraint
       
      repeated .viam.service.motion.v1.LinearConstraint linear_constraint = 1 [json_name = "linearConstraint"];
    • getOrientationConstraintList

      public List<Motion.OrientationConstraint> getOrientationConstraintList()
      repeated .viam.service.motion.v1.OrientationConstraint orientation_constraint = 2 [json_name = "orientationConstraint"];
      Specified by:
      getOrientationConstraintList in interface Motion.ConstraintsOrBuilder
    • getOrientationConstraintOrBuilderList

      public List<? extends Motion.OrientationConstraintOrBuilder> getOrientationConstraintOrBuilderList()
      repeated .viam.service.motion.v1.OrientationConstraint orientation_constraint = 2 [json_name = "orientationConstraint"];
    • getOrientationConstraintCount

      public int getOrientationConstraintCount()
      repeated .viam.service.motion.v1.OrientationConstraint orientation_constraint = 2 [json_name = "orientationConstraint"];
      Specified by:
      getOrientationConstraintCount in interface Motion.ConstraintsOrBuilder
    • getOrientationConstraint

      public Motion.OrientationConstraint getOrientationConstraint(int index)
      repeated .viam.service.motion.v1.OrientationConstraint orientation_constraint = 2 [json_name = "orientationConstraint"];
      Specified by:
      getOrientationConstraint in interface Motion.ConstraintsOrBuilder
    • getOrientationConstraintOrBuilder

      public Motion.OrientationConstraintOrBuilder getOrientationConstraintOrBuilder(int index)
      repeated .viam.service.motion.v1.OrientationConstraint orientation_constraint = 2 [json_name = "orientationConstraint"];
    • getCollisionSpecificationList

      public List<Motion.CollisionSpecification> getCollisionSpecificationList()
       Arc constraint, Time constraint, and others will be added here when they are supported
       
      repeated .viam.service.motion.v1.CollisionSpecification collision_specification = 3 [json_name = "collisionSpecification"];
      Specified by:
      getCollisionSpecificationList in interface Motion.ConstraintsOrBuilder
    • getCollisionSpecificationOrBuilderList

      public List<? extends Motion.CollisionSpecificationOrBuilder> getCollisionSpecificationOrBuilderList()
       Arc constraint, Time constraint, and others will be added here when they are supported
       
      repeated .viam.service.motion.v1.CollisionSpecification collision_specification = 3 [json_name = "collisionSpecification"];
    • getCollisionSpecificationCount

      public int getCollisionSpecificationCount()
       Arc constraint, Time constraint, and others will be added here when they are supported
       
      repeated .viam.service.motion.v1.CollisionSpecification collision_specification = 3 [json_name = "collisionSpecification"];
      Specified by:
      getCollisionSpecificationCount in interface Motion.ConstraintsOrBuilder
    • getCollisionSpecification

      public Motion.CollisionSpecification getCollisionSpecification(int index)
       Arc constraint, Time constraint, and others will be added here when they are supported
       
      repeated .viam.service.motion.v1.CollisionSpecification collision_specification = 3 [json_name = "collisionSpecification"];
      Specified by:
      getCollisionSpecification in interface Motion.ConstraintsOrBuilder
    • getCollisionSpecificationOrBuilder

      public Motion.CollisionSpecificationOrBuilder getCollisionSpecificationOrBuilder(int index)
       Arc constraint, Time constraint, and others will be added here when they are supported
       
      repeated .viam.service.motion.v1.CollisionSpecification collision_specification = 3 [json_name = "collisionSpecification"];
    • parseFrom

      public static Motion.Constraints parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Motion.Constraints parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Motion.Constraints parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Motion.Constraints 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.Constraints parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Motion.Constraints parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

      public static Motion.Constraints parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

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

      public static Motion.Constraints parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Motion.Constraints parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilder

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

      public static Motion.Constraints.Builder newBuilder(Motion.Constraints 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.Constraints,Motion.Constraints.Builder>
    • getDefaultInstance

      public static Motion.Constraints getDefaultInstance()
    • parser

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