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 Type
    Method
    Description
    Content type of mesh (e.g.
    Contents of mesh data in binary form defined by content_type
    Content type of mesh (e.g.
    com.google.protobuf.ByteString
    Content type of mesh (e.g.
    com.google.protobuf.ByteString
    Contents of mesh data in binary form defined by content_type
    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_type

    Methods 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

      public String getContentType()
       Content type of mesh (e.g. ply)
       
      string content_type = 1 [json_name = "contentType"];
      Specified by:
      getContentType in interface Common.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 interface Common.MeshOrBuilder
      Returns:
      The bytes for contentType.
    • setContentType

      public Common.Mesh.Builder setContentType(String value)
       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

      public Common.Mesh.Builder clearContentType()
       Content type of mesh (e.g. ply)
       
      string content_type = 1 [json_name = "contentType"];
      Returns:
      This builder for chaining.
    • setContentTypeBytes

      public Common.Mesh.Builder setContentTypeBytes(com.google.protobuf.ByteString value)
       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 interface Common.MeshOrBuilder
      Returns:
      The mesh.
    • setMesh

      public Common.Mesh.Builder setMesh(com.google.protobuf.ByteString value)
       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

      public Common.Mesh.Builder clearMesh()
       Contents of mesh data in binary form defined by content_type
       
      bytes mesh = 2 [json_name = "mesh"];
      Returns:
      This builder for chaining.