Class Slam.SensorInfo.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Slam.SensorInfo,Slam.SensorInfo.Builder>
com.viam.service.slam.v1.Slam.SensorInfo.Builder
All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, Slam.SensorInfoOrBuilder, Cloneable
Enclosing class:
Slam.SensorInfo

public static final class Slam.SensorInfo.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<Slam.SensorInfo,Slam.SensorInfo.Builder> implements Slam.SensorInfoOrBuilder
Protobuf type viam.service.slam.v1.SensorInfo
  • Field Summary

    Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder

    instance
  • Method Summary

    Modifier and Type
    Method
    Description
    string name = 1 [json_name = "name"];
    .viam.service.slam.v1.SensorType type = 2 [json_name = "type"];
    string name = 1 [json_name = "name"];
    com.google.protobuf.ByteString
    string name = 1 [json_name = "name"];
    .viam.service.slam.v1.SensorType type = 2 [json_name = "type"];
    int
    .viam.service.slam.v1.SensorType type = 2 [json_name = "type"];
    setName(String value)
    string name = 1 [json_name = "name"];
    setNameBytes(com.google.protobuf.ByteString value)
    string name = 1 [json_name = "name"];
    .viam.service.slam.v1.SensorType type = 2 [json_name = "type"];
    setTypeValue(int value)
    .viam.service.slam.v1.SensorType type = 2 [json_name = "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

    • getName

      public String getName()
      string name = 1 [json_name = "name"];
      Specified by:
      getName in interface Slam.SensorInfoOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
      string name = 1 [json_name = "name"];
      Specified by:
      getNameBytes in interface Slam.SensorInfoOrBuilder
      Returns:
      The bytes for name.
    • setName

      public Slam.SensorInfo.Builder setName(String value)
      string name = 1 [json_name = "name"];
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public Slam.SensorInfo.Builder clearName()
      string name = 1 [json_name = "name"];
      Returns:
      This builder for chaining.
    • setNameBytes

      public Slam.SensorInfo.Builder setNameBytes(com.google.protobuf.ByteString value)
      string name = 1 [json_name = "name"];
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • getTypeValue

      public int getTypeValue()
      .viam.service.slam.v1.SensorType type = 2 [json_name = "type"];
      Specified by:
      getTypeValue in interface Slam.SensorInfoOrBuilder
      Returns:
      The enum numeric value on the wire for type.
    • setTypeValue

      public Slam.SensorInfo.Builder setTypeValue(int value)
      .viam.service.slam.v1.SensorType type = 2 [json_name = "type"];
      Parameters:
      value - The type to set.
      Returns:
      This builder for chaining.
    • getType

      public Slam.SensorType getType()
      .viam.service.slam.v1.SensorType type = 2 [json_name = "type"];
      Specified by:
      getType in interface Slam.SensorInfoOrBuilder
      Returns:
      The type.
    • setType

      public Slam.SensorInfo.Builder setType(Slam.SensorType value)
      .viam.service.slam.v1.SensorType type = 2 [json_name = "type"];
      Parameters:
      value - The enum numeric value on the wire for type to set.
      Returns:
      This builder for chaining.
    • clearType

      public Slam.SensorInfo.Builder clearType()
      .viam.service.slam.v1.SensorType type = 2 [json_name = "type"];
      Returns:
      This builder for chaining.