Package com.viam.service.navigation.v1
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 ClassesModifier and TypeClassDescriptionstatic final classPlan 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
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 Navigation.Plandoubledouble length_m = 3 [json_name = "lengthM"];Set by PlanToLocationcom.google.protobuf.ByteStringSet by PlanToLocationgetPath(int index) repeated .viam.service.navigation.v1.Position path = 1 [json_name = "path"];intrepeated .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"];List<? extends Navigation.PositionOrBuilder> repeated .viam.service.navigation.v1.Position path = 1 [json_name = "path"];booleanSet by PlanToLocationstatic Navigation.Plan.Builderstatic Navigation.Plan.BuildernewBuilder(Navigation.Plan prototype) static Navigation.PlanparseDelimitedFrom(InputStream input) static Navigation.PlanparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Navigation.PlanparseFrom(byte[] data) static Navigation.PlanparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Navigation.PlanparseFrom(com.google.protobuf.ByteString data) static Navigation.PlanparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Navigation.PlanparseFrom(com.google.protobuf.CodedInputStream input) static Navigation.PlanparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Navigation.PlanparseFrom(InputStream input) static Navigation.PlanparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Navigation.PlanparseFrom(ByteBuffer data) static Navigation.PlanparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Navigation.Plan> parser()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, 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
-
PATH_FIELD_NUMBER
public static final int PATH_FIELD_NUMBER- See Also:
-
LOCATION_FIELD_NUMBER
public static final int LOCATION_FIELD_NUMBER- See Also:
-
LENGTH_M_FIELD_NUMBER
public static final int LENGTH_M_FIELD_NUMBER- See Also:
-
-
Method Details
-
getPathList
repeated .viam.service.navigation.v1.Position path = 1 [json_name = "path"];- Specified by:
getPathListin interfaceNavigation.PlanOrBuilder
-
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:
getPathCountin interfaceNavigation.PlanOrBuilder
-
getPath
repeated .viam.service.navigation.v1.Position path = 1 [json_name = "path"];- Specified by:
getPathin interfaceNavigation.PlanOrBuilder
-
getPathOrBuilder
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:
hasLocationin interfaceNavigation.PlanOrBuilder- Returns:
- Whether the location field is set.
-
getLocation
Set by PlanToLocation
optional string location = 2 [json_name = "location"];- Specified by:
getLocationin interfaceNavigation.PlanOrBuilder- Returns:
- The location.
-
getLocationBytes
public com.google.protobuf.ByteString getLocationBytes()Set by PlanToLocation
optional string location = 2 [json_name = "location"];- Specified by:
getLocationBytesin interfaceNavigation.PlanOrBuilder- Returns:
- The bytes for location.
-
getLengthM
public double getLengthM()double length_m = 3 [json_name = "lengthM"];- Specified by:
getLengthMin interfaceNavigation.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
- Throws:
IOException
-
parseFrom
public static Navigation.Plan parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- 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
-
dynamicMethod
protected final Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1) - Specified by:
dynamicMethodin classcom.google.protobuf.GeneratedMessageLite<Navigation.Plan,Navigation.Plan.Builder>
-
getDefaultInstance
-
parser
-