Package com.viam.common.v1
Class Common.Mesh
java.lang.Object
com.google.protobuf.AbstractMessageLite<Common.Mesh,Common.Mesh.Builder>
com.google.protobuf.GeneratedMessageLite<Common.Mesh,Common.Mesh.Builder>
com.viam.common.v1.Common.Mesh
- All Implemented Interfaces:
com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,Common.MeshOrBuilder
- Enclosing class:
Common
public static final class Common.Mesh
extends com.google.protobuf.GeneratedMessageLite<Common.Mesh,Common.Mesh.Builder>
implements Common.MeshOrBuilder
Protobuf type
viam.common.v1.Mesh-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typeviam.common.v1.MeshNested 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) Content type of mesh (e.g.com.google.protobuf.ByteStringContent type of mesh (e.g.static Common.Meshcom.google.protobuf.ByteStringgetMesh()Contents of mesh data in binary form defined by content_typePath the mesh was loaded from, relative to the kinematics file.com.google.protobuf.ByteStringPath the mesh was loaded from, relative to the kinematics file.booleanPath the mesh was loaded from, relative to the kinematics file.static Common.Mesh.Builderstatic Common.Mesh.BuildernewBuilder(Common.Mesh prototype) static Common.MeshparseDelimitedFrom(InputStream input) static Common.MeshparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Common.MeshparseFrom(byte[] data) static Common.MeshparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Common.MeshparseFrom(com.google.protobuf.ByteString data) static Common.MeshparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Common.MeshparseFrom(com.google.protobuf.CodedInputStream input) static Common.MeshparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Common.MeshparseFrom(InputStream input) static Common.MeshparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Common.MeshparseFrom(ByteBuffer data) static Common.MeshparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Common.Mesh> 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
-
CONTENT_TYPE_FIELD_NUMBER
public static final int CONTENT_TYPE_FIELD_NUMBER- See Also:
-
MESH_FIELD_NUMBER
public static final int MESH_FIELD_NUMBER- See Also:
-
ORIGINAL_FILE_SOURCE_PATH_DIAGNOSTIC_FIELD_NUMBER
public static final int ORIGINAL_FILE_SOURCE_PATH_DIAGNOSTIC_FIELD_NUMBER- See Also:
-
-
Method Details
-
getContentType
Content type of mesh (e.g. ply)
string content_type = 1 [json_name = "contentType"];- Specified by:
getContentTypein interfaceCommon.MeshOrBuilder- Returns:
- The contentType.
-
getContentTypeBytes
public com.google.protobuf.ByteString getContentTypeBytes()Content type of mesh (e.g. ply)
string content_type = 1 [json_name = "contentType"];- Specified by:
getContentTypeBytesin interfaceCommon.MeshOrBuilder- Returns:
- The bytes for contentType.
-
getMesh
public com.google.protobuf.ByteString getMesh()Contents of mesh data in binary form defined by content_type
bytes mesh = 2 [json_name = "mesh"];- Specified by:
getMeshin interfaceCommon.MeshOrBuilder- Returns:
- The mesh.
-
hasOriginalFileSourcePathDiagnostic
public boolean hasOriginalFileSourcePathDiagnostic()Path the mesh was loaded from, relative to the kinematics file. Informational on the wire.
optional string original_file_source_path_diagnostic = 3 [json_name = "originalFileSourcePathDiagnostic"];- Specified by:
hasOriginalFileSourcePathDiagnosticin interfaceCommon.MeshOrBuilder- Returns:
- Whether the originalFileSourcePathDiagnostic field is set.
-
getOriginalFileSourcePathDiagnostic
Path the mesh was loaded from, relative to the kinematics file. Informational on the wire.
optional string original_file_source_path_diagnostic = 3 [json_name = "originalFileSourcePathDiagnostic"];- Specified by:
getOriginalFileSourcePathDiagnosticin interfaceCommon.MeshOrBuilder- Returns:
- The originalFileSourcePathDiagnostic.
-
getOriginalFileSourcePathDiagnosticBytes
public com.google.protobuf.ByteString getOriginalFileSourcePathDiagnosticBytes()Path the mesh was loaded from, relative to the kinematics file. Informational on the wire.
optional string original_file_source_path_diagnostic = 3 [json_name = "originalFileSourcePathDiagnostic"];- Specified by:
getOriginalFileSourcePathDiagnosticBytesin interfaceCommon.MeshOrBuilder- Returns:
- The bytes for originalFileSourcePathDiagnostic.
-
parseFrom
public static Common.Mesh parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Common.Mesh parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Common.Mesh parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Common.Mesh parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Common.Mesh parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Common.Mesh parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Common.Mesh parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Common.Mesh parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Common.Mesh 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:
dynamicMethodin classcom.google.protobuf.GeneratedMessageLite<Common.Mesh,Common.Mesh.Builder>
-
getDefaultInstance
-
parser
-