Package viam.app.datasync.v1
Class DataSync.SensorData.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<DataSync.SensorData,DataSync.SensorData.Builder>
viam.app.datasync.v1.DataSync.SensorData.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Cloneable
,DataSync.SensorDataOrBuilder
- Enclosing class:
- DataSync.SensorData
public static final class DataSync.SensorData.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<DataSync.SensorData,DataSync.SensorData.Builder>
implements DataSync.SensorDataOrBuilder
SensorData contains the contents and metadata for tabular data.Protobuf type
viam.app.datasync.v1.SensorData
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescriptionbytes binary = 3 [json_name = "binary"];
.viam.app.datasync.v1.SensorMetadata metadata = 1 [json_name = "metadata"];
.google.protobuf.Struct struct = 2 [json_name = "struct"];
com.google.protobuf.ByteString
bytes binary = 3 [json_name = "binary"];
.viam.app.datasync.v1.SensorMetadata metadata = 1 [json_name = "metadata"];
com.google.protobuf.Struct
.google.protobuf.Struct struct = 2 [json_name = "struct"];
boolean
bytes binary = 3 [json_name = "binary"];
boolean
.viam.app.datasync.v1.SensorMetadata metadata = 1 [json_name = "metadata"];
boolean
.google.protobuf.Struct struct = 2 [json_name = "struct"];
.viam.app.datasync.v1.SensorMetadata metadata = 1 [json_name = "metadata"];
mergeStruct
(com.google.protobuf.Struct value) .google.protobuf.Struct struct = 2 [json_name = "struct"];
setBinary
(com.google.protobuf.ByteString value) bytes binary = 3 [json_name = "binary"];
.viam.app.datasync.v1.SensorMetadata metadata = 1 [json_name = "metadata"];
setMetadata
(DataSync.SensorMetadata.Builder builderForValue) .viam.app.datasync.v1.SensorMetadata metadata = 1 [json_name = "metadata"];
setStruct
(com.google.protobuf.Struct value) .google.protobuf.Struct struct = 2 [json_name = "struct"];
setStruct
(com.google.protobuf.Struct.Builder builderForValue) .google.protobuf.Struct struct = 2 [json_name = "struct"];
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
-
getDataCase
- Specified by:
getDataCase
in interfaceDataSync.SensorDataOrBuilder
-
clearData
-
hasMetadata
public boolean hasMetadata().viam.app.datasync.v1.SensorMetadata metadata = 1 [json_name = "metadata"];
- Specified by:
hasMetadata
in interfaceDataSync.SensorDataOrBuilder
- Returns:
- Whether the metadata field is set.
-
getMetadata
.viam.app.datasync.v1.SensorMetadata metadata = 1 [json_name = "metadata"];
- Specified by:
getMetadata
in interfaceDataSync.SensorDataOrBuilder
- Returns:
- The metadata.
-
setMetadata
.viam.app.datasync.v1.SensorMetadata metadata = 1 [json_name = "metadata"];
-
setMetadata
.viam.app.datasync.v1.SensorMetadata metadata = 1 [json_name = "metadata"];
-
mergeMetadata
.viam.app.datasync.v1.SensorMetadata metadata = 1 [json_name = "metadata"];
-
clearMetadata
.viam.app.datasync.v1.SensorMetadata metadata = 1 [json_name = "metadata"];
-
hasStruct
public boolean hasStruct().google.protobuf.Struct struct = 2 [json_name = "struct"];
- Specified by:
hasStruct
in interfaceDataSync.SensorDataOrBuilder
- Returns:
- Whether the struct field is set.
-
getStruct
public com.google.protobuf.Struct getStruct().google.protobuf.Struct struct = 2 [json_name = "struct"];
- Specified by:
getStruct
in interfaceDataSync.SensorDataOrBuilder
- Returns:
- The struct.
-
setStruct
.google.protobuf.Struct struct = 2 [json_name = "struct"];
-
setStruct
.google.protobuf.Struct struct = 2 [json_name = "struct"];
-
mergeStruct
.google.protobuf.Struct struct = 2 [json_name = "struct"];
-
clearStruct
.google.protobuf.Struct struct = 2 [json_name = "struct"];
-
hasBinary
public boolean hasBinary()bytes binary = 3 [json_name = "binary"];
- Specified by:
hasBinary
in interfaceDataSync.SensorDataOrBuilder
- Returns:
- Whether the binary field is set.
-
getBinary
public com.google.protobuf.ByteString getBinary()bytes binary = 3 [json_name = "binary"];
- Specified by:
getBinary
in interfaceDataSync.SensorDataOrBuilder
- Returns:
- The binary.
-
setBinary
bytes binary = 3 [json_name = "binary"];
- Parameters:
value
- The binary to set.- Returns:
- This builder for chaining.
-
clearBinary
bytes binary = 3 [json_name = "binary"];
- Returns:
- This builder for chaining.
-