Class Navigation.Plan

java.lang.Object
com.google.protobuf.AbstractMessageLite<Navigation.Plan,Navigation.Plan.Builder>
com.google.protobuf.GeneratedMessageLite<Navigation.Plan,Navigation.Plan.Builder>
com.viam.service.navigation.v1.Navigation.Plan
All Implemented Interfaces:
com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, Navigation.PlanOrBuilder
Enclosing class:
Navigation

public static final class Navigation.Plan extends com.google.protobuf.GeneratedMessageLite<Navigation.Plan,Navigation.Plan.Builder> implements Navigation.PlanOrBuilder
 Plan is a path preview returned by PlanToPoint and PlanToLocation.
 
Protobuf type viam.service.navigation.v1.Plan
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    Plan is a path preview returned by PlanToPoint and PlanToLocation.

    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>, 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)
     
     
    double
    double length_m = 3 [json_name = "lengthM"];
    Set by PlanToLocation
    com.google.protobuf.ByteString
    Set by PlanToLocation
    getPath(int index)
    repeated .viam.service.navigation.v1.Position path = 1 [json_name = "path"];
    int
    repeated .viam.service.navigation.v1.Position path = 1 [json_name = "path"];
    repeated .viam.service.navigation.v1.Position path = 1 [json_name = "path"];
    getPathOrBuilder(int index)
    repeated .viam.service.navigation.v1.Position path = 1 [json_name = "path"];
    repeated .viam.service.navigation.v1.Position path = 1 [json_name = "path"];
    boolean
    Set by PlanToLocation
     
     
     
    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<Navigation.Plan>
     

    Methods inherited from class com.google.protobuf.GeneratedMessageLite

    createBuilder, createBuilder, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, emptyProtobufList, equals, getDefaultInstanceForType, getParserForType, getSerializedSize, hashCode, 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

    • getPathList

      public List<Navigation.Position> getPathList()
      repeated .viam.service.navigation.v1.Position path = 1 [json_name = "path"];
      Specified by:
      getPathList in interface Navigation.PlanOrBuilder
    • getPathOrBuilderList

      public List<? extends Navigation.PositionOrBuilder> getPathOrBuilderList()
      repeated .viam.service.navigation.v1.Position path = 1 [json_name = "path"];
    • getPathCount

      public int getPathCount()
      repeated .viam.service.navigation.v1.Position path = 1 [json_name = "path"];
      Specified by:
      getPathCount in interface Navigation.PlanOrBuilder
    • getPath

      public Navigation.Position getPath(int index)
      repeated .viam.service.navigation.v1.Position path = 1 [json_name = "path"];
      Specified by:
      getPath in interface Navigation.PlanOrBuilder
    • getPathOrBuilder

      public Navigation.PositionOrBuilder getPathOrBuilder(int index)
      repeated .viam.service.navigation.v1.Position path = 1 [json_name = "path"];
    • hasLocation

      public boolean hasLocation()
       Set by PlanToLocation
       
      optional string location = 2 [json_name = "location"];
      Specified by:
      hasLocation in interface Navigation.PlanOrBuilder
      Returns:
      Whether the location field is set.
    • getLocation

      public String getLocation()
       Set by PlanToLocation
       
      optional string location = 2 [json_name = "location"];
      Specified by:
      getLocation in interface Navigation.PlanOrBuilder
      Returns:
      The location.
    • getLocationBytes

      public com.google.protobuf.ByteString getLocationBytes()
       Set by PlanToLocation
       
      optional string location = 2 [json_name = "location"];
      Specified by:
      getLocationBytes in interface Navigation.PlanOrBuilder
      Returns:
      The bytes for location.
    • getLengthM

      public double getLengthM()
      double length_m = 3 [json_name = "lengthM"];
      Specified by:
      getLengthM in interface Navigation.PlanOrBuilder
      Returns:
      The lengthM.
    • parseFrom

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

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

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

      public static Navigation.Plan parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Navigation.Plan parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

      public static Navigation.Plan parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

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

      public static Navigation.Plan parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

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

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

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

      public static Navigation.Plan.Builder newBuilder()
    • newBuilder

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

      public static Navigation.Plan getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<Navigation.Plan> parser()