Package com.viam.common.v1
Class Common.Mesh.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
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_typeContent type of mesh (e.g.com.google.protobuf.ByteString
Content type of mesh (e.g.com.google.protobuf.ByteString
getMesh()
Contents of mesh data in binary form defined by content_typesetContentType
(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_typeMethods inherited from class com.google.protobuf.GeneratedMessageLite.Builder
build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFrom
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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:
getContentType
in 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:
getContentTypeBytes
in 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:
getMesh
in 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.
-