Package com.viam.service.sensors.v1
Class Sensors.Readings.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Sensors.Readings,Sensors.Readings.Builder>
com.viam.service.sensors.v1.Sensors.Readings.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Sensors.ReadingsOrBuilder
,Cloneable
- Enclosing class:
- Sensors.Readings
public static final class Sensors.Readings.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<Sensors.Readings,Sensors.Readings.Builder>
implements Sensors.ReadingsOrBuilder
Protobuf type
viam.service.sensors.v1.Readings
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Deprecated.boolean
containsReadings
(String key) Deprecated.getName()
Deprecated.Deprecated.int
Deprecated.Deprecated.com.google.protobuf.Value
getReadingsOrDefault
(String key, com.google.protobuf.Value defaultValue) Deprecated.com.google.protobuf.Value
getReadingsOrThrow
(String key) Deprecated.boolean
hasName()
Deprecated.mergeName
(Common.ResourceName value) Deprecated.putAllReadings
(Map<String, com.google.protobuf.Value> values) Deprecated.putReadings
(String key, com.google.protobuf.Value value) Deprecated.removeReadings
(String key) Deprecated.setName
(Common.ResourceName value) Deprecated.setName
(Common.ResourceName.Builder builderForValue) Deprecated.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
-
hasName
Deprecated..viam.common.v1.ResourceName name = 1 [json_name = "name", deprecated = true];
- Specified by:
hasName
in interfaceSensors.ReadingsOrBuilder
- Returns:
- Whether the name field is set.
-
getName
Deprecated..viam.common.v1.ResourceName name = 1 [json_name = "name", deprecated = true];
- Specified by:
getName
in interfaceSensors.ReadingsOrBuilder
- Returns:
- The name.
-
setName
Deprecated..viam.common.v1.ResourceName name = 1 [json_name = "name", deprecated = true];
-
setName
Deprecated..viam.common.v1.ResourceName name = 1 [json_name = "name", deprecated = true];
-
mergeName
Deprecated..viam.common.v1.ResourceName name = 1 [json_name = "name", deprecated = true];
-
clearName
Deprecated..viam.common.v1.ResourceName name = 1 [json_name = "name", deprecated = true];
-
getReadingsCount
Deprecated.Description copied from interface:Sensors.ReadingsOrBuilder
map<string, .google.protobuf.Value> readings = 2 [json_name = "readings", deprecated = true];
- Specified by:
getReadingsCount
in interfaceSensors.ReadingsOrBuilder
-
containsReadings
Deprecated.map<string, .google.protobuf.Value> readings = 2 [json_name = "readings", deprecated = true];
- Specified by:
containsReadings
in interfaceSensors.ReadingsOrBuilder
-
clearReadings
Deprecated. -
removeReadings
Deprecated.map<string, .google.protobuf.Value> readings = 2 [json_name = "readings", deprecated = true];
-
getReadings
Deprecated.UsegetReadingsMap()
instead.- Specified by:
getReadings
in interfaceSensors.ReadingsOrBuilder
-
getReadingsMap
Deprecated.map<string, .google.protobuf.Value> readings = 2 [json_name = "readings", deprecated = true];
- Specified by:
getReadingsMap
in interfaceSensors.ReadingsOrBuilder
-
getReadingsOrDefault
@Deprecated public com.google.protobuf.Value getReadingsOrDefault(String key, com.google.protobuf.Value defaultValue) Deprecated.map<string, .google.protobuf.Value> readings = 2 [json_name = "readings", deprecated = true];
- Specified by:
getReadingsOrDefault
in interfaceSensors.ReadingsOrBuilder
-
getReadingsOrThrow
Deprecated.map<string, .google.protobuf.Value> readings = 2 [json_name = "readings", deprecated = true];
- Specified by:
getReadingsOrThrow
in interfaceSensors.ReadingsOrBuilder
-
putReadings
@Deprecated public Sensors.Readings.Builder putReadings(String key, com.google.protobuf.Value value) Deprecated.map<string, .google.protobuf.Value> readings = 2 [json_name = "readings", deprecated = true];
-
putAllReadings
@Deprecated public Sensors.Readings.Builder putAllReadings(Map<String, com.google.protobuf.Value> values) Deprecated.map<string, .google.protobuf.Value> readings = 2 [json_name = "readings", deprecated = true];
-