Package com.viam.service.slam.v1
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 TypeMethodDescriptionstring name = 1 [json_name = "name"];
.viam.service.slam.v1.SensorType type = 2 [json_name = "type"];
getName()
string name = 1 [json_name = "name"];
com.google.protobuf.ByteString
string name = 1 [json_name = "name"];
getType()
.viam.service.slam.v1.SensorType type = 2 [json_name = "type"];
int
.viam.service.slam.v1.SensorType type = 2 [json_name = "type"];
string name = 1 [json_name = "name"];
setNameBytes
(com.google.protobuf.ByteString value) string name = 1 [json_name = "name"];
setType
(Slam.SensorType value) .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
string name = 1 [json_name = "name"];
- Specified by:
getName
in interfaceSlam.SensorInfoOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()string name = 1 [json_name = "name"];
- Specified by:
getNameBytes
in interfaceSlam.SensorInfoOrBuilder
- Returns:
- The bytes for name.
-
setName
string name = 1 [json_name = "name"];
- Parameters:
value
- The name to set.- Returns:
- This builder for chaining.
-
clearName
string name = 1 [json_name = "name"];
- Returns:
- This builder for chaining.
-
setNameBytes
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 interfaceSlam.SensorInfoOrBuilder
- Returns:
- The enum numeric value on the wire for type.
-
setTypeValue
.viam.service.slam.v1.SensorType type = 2 [json_name = "type"];
- Parameters:
value
- The type to set.- Returns:
- This builder for chaining.
-
getType
.viam.service.slam.v1.SensorType type = 2 [json_name = "type"];
- Specified by:
getType
in interfaceSlam.SensorInfoOrBuilder
- Returns:
- The type.
-
setType
.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
.viam.service.slam.v1.SensorType type = 2 [json_name = "type"];
- Returns:
- This builder for chaining.
-