Package com.viam.common.v1
Class Common.Mesh.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<Common.Mesh,Common.Mesh.Builder>
com.google.protobuf.GeneratedMessageLite.Builder<Common.Mesh,Common.Mesh.Builder>
com.viam.common.v1.Common.Mesh.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,Common.MeshOrBuilder,Cloneable
- Enclosing class:
Common.Mesh
public static final class Common.Mesh.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<Common.Mesh,Common.Mesh.Builder>
implements Common.MeshOrBuilder
Protobuf type
viam.common.v1.Mesh-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance -
Method Summary
Modifier and TypeMethodDescriptionContent type of mesh (e.g.Contents of mesh data in binary form defined by content_typePath the mesh was loaded from, relative to the kinematics file.Content type of mesh (e.g.com.google.protobuf.ByteStringContent type of mesh (e.g.com.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.setContentType(String value) Content type of mesh (e.g.setContentTypeBytes(com.google.protobuf.ByteString value) Content type of mesh (e.g.setMesh(com.google.protobuf.ByteString value) Contents of mesh data in binary form defined by content_typePath the mesh was loaded from, relative to the kinematics file.setOriginalFileSourcePathDiagnosticBytes(com.google.protobuf.ByteString value) Path the mesh was loaded from, relative to the kinematics file.Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder
build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFromMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
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.
-
setContentType
Content type of mesh (e.g. ply)
string content_type = 1 [json_name = "contentType"];- Parameters:
value- The contentType to set.- Returns:
- This builder for chaining.
-
clearContentType
Content type of mesh (e.g. ply)
string content_type = 1 [json_name = "contentType"];- Returns:
- This builder for chaining.
-
setContentTypeBytes
Content type of mesh (e.g. ply)
string content_type = 1 [json_name = "contentType"];- Parameters:
value- The bytes for contentType to set.- Returns:
- This builder for chaining.
-
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.
-
setMesh
Contents of mesh data in binary form defined by content_type
bytes mesh = 2 [json_name = "mesh"];- Parameters:
value- The mesh to set.- Returns:
- This builder for chaining.
-
clearMesh
Contents of mesh data in binary form defined by content_type
bytes mesh = 2 [json_name = "mesh"];- Returns:
- This builder for chaining.
-
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.
-
setOriginalFileSourcePathDiagnostic
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"];- Parameters:
value- The originalFileSourcePathDiagnostic to set.- Returns:
- This builder for chaining.
-
clearOriginalFileSourcePathDiagnostic
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"];- Returns:
- This builder for chaining.
-
setOriginalFileSourcePathDiagnosticBytes
public Common.Mesh.Builder setOriginalFileSourcePathDiagnosticBytes(com.google.protobuf.ByteString value) 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"];- Parameters:
value- The bytes for originalFileSourcePathDiagnostic to set.- Returns:
- This builder for chaining.
-