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
  • 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.
    • 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:
      hasOriginalFileSourcePathDiagnostic in interface Common.MeshOrBuilder
      Returns:
      Whether the originalFileSourcePathDiagnostic field is set.
    • getOriginalFileSourcePathDiagnostic

      public String 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:
      getOriginalFileSourcePathDiagnostic in interface Common.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:
      getOriginalFileSourcePathDiagnosticBytes in interface Common.MeshOrBuilder
      Returns:
      The bytes for originalFileSourcePathDiagnostic.
    • setOriginalFileSourcePathDiagnostic

      public Common.Mesh.Builder setOriginalFileSourcePathDiagnostic(String 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 originalFileSourcePathDiagnostic to set.
      Returns:
      This builder for chaining.
    • clearOriginalFileSourcePathDiagnostic

      public Common.Mesh.Builder 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.