Package viam.app.datasync.v1
Class DataSync.DataCaptureUploadRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<DataSync.DataCaptureUploadRequest,DataSync.DataCaptureUploadRequest.Builder>
viam.app.datasync.v1.DataSync.DataCaptureUploadRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Cloneable
,DataSync.DataCaptureUploadRequestOrBuilder
- Enclosing class:
- DataSync.DataCaptureUploadRequest
public static final class DataSync.DataCaptureUploadRequest.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<DataSync.DataCaptureUploadRequest,DataSync.DataCaptureUploadRequest.Builder>
implements DataSync.DataCaptureUploadRequestOrBuilder
DataCaptureUploadRequest requests to upload the contents and metadata for tabular data.Protobuf type
viam.app.datasync.v1.DataCaptureUploadRequest
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescriptionaddAllSensorContents
(Iterable<? extends DataSync.SensorData> values) repeated .viam.app.datasync.v1.SensorData sensor_contents = 2 [json_name = "sensorContents"];
addSensorContents
(int index, DataSync.SensorData value) repeated .viam.app.datasync.v1.SensorData sensor_contents = 2 [json_name = "sensorContents"];
addSensorContents
(int index, DataSync.SensorData.Builder builderForValue) repeated .viam.app.datasync.v1.SensorData sensor_contents = 2 [json_name = "sensorContents"];
repeated .viam.app.datasync.v1.SensorData sensor_contents = 2 [json_name = "sensorContents"];
addSensorContents
(DataSync.SensorData.Builder builderForValue) repeated .viam.app.datasync.v1.SensorData sensor_contents = 2 [json_name = "sensorContents"];
.viam.app.datasync.v1.UploadMetadata metadata = 1 [json_name = "metadata"];
repeated .viam.app.datasync.v1.SensorData sensor_contents = 2 [json_name = "sensorContents"];
.viam.app.datasync.v1.UploadMetadata metadata = 1 [json_name = "metadata"];
getSensorContents
(int index) repeated .viam.app.datasync.v1.SensorData sensor_contents = 2 [json_name = "sensorContents"];
int
repeated .viam.app.datasync.v1.SensorData sensor_contents = 2 [json_name = "sensorContents"];
repeated .viam.app.datasync.v1.SensorData sensor_contents = 2 [json_name = "sensorContents"];
boolean
.viam.app.datasync.v1.UploadMetadata metadata = 1 [json_name = "metadata"];
.viam.app.datasync.v1.UploadMetadata metadata = 1 [json_name = "metadata"];
removeSensorContents
(int index) repeated .viam.app.datasync.v1.SensorData sensor_contents = 2 [json_name = "sensorContents"];
.viam.app.datasync.v1.UploadMetadata metadata = 1 [json_name = "metadata"];
setMetadata
(DataSync.UploadMetadata.Builder builderForValue) .viam.app.datasync.v1.UploadMetadata metadata = 1 [json_name = "metadata"];
setSensorContents
(int index, DataSync.SensorData value) repeated .viam.app.datasync.v1.SensorData sensor_contents = 2 [json_name = "sensorContents"];
setSensorContents
(int index, DataSync.SensorData.Builder builderForValue) repeated .viam.app.datasync.v1.SensorData sensor_contents = 2 [json_name = "sensorContents"];
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
-
hasMetadata
public boolean hasMetadata().viam.app.datasync.v1.UploadMetadata metadata = 1 [json_name = "metadata"];
- Specified by:
hasMetadata
in interfaceDataSync.DataCaptureUploadRequestOrBuilder
- Returns:
- Whether the metadata field is set.
-
getMetadata
.viam.app.datasync.v1.UploadMetadata metadata = 1 [json_name = "metadata"];
- Specified by:
getMetadata
in interfaceDataSync.DataCaptureUploadRequestOrBuilder
- Returns:
- The metadata.
-
setMetadata
.viam.app.datasync.v1.UploadMetadata metadata = 1 [json_name = "metadata"];
-
setMetadata
public DataSync.DataCaptureUploadRequest.Builder setMetadata(DataSync.UploadMetadata.Builder builderForValue) .viam.app.datasync.v1.UploadMetadata metadata = 1 [json_name = "metadata"];
-
mergeMetadata
.viam.app.datasync.v1.UploadMetadata metadata = 1 [json_name = "metadata"];
-
clearMetadata
.viam.app.datasync.v1.UploadMetadata metadata = 1 [json_name = "metadata"];
-
getSensorContentsList
repeated .viam.app.datasync.v1.SensorData sensor_contents = 2 [json_name = "sensorContents"];
- Specified by:
getSensorContentsList
in interfaceDataSync.DataCaptureUploadRequestOrBuilder
-
getSensorContentsCount
public int getSensorContentsCount()repeated .viam.app.datasync.v1.SensorData sensor_contents = 2 [json_name = "sensorContents"];
- Specified by:
getSensorContentsCount
in interfaceDataSync.DataCaptureUploadRequestOrBuilder
-
getSensorContents
repeated .viam.app.datasync.v1.SensorData sensor_contents = 2 [json_name = "sensorContents"];
- Specified by:
getSensorContents
in interfaceDataSync.DataCaptureUploadRequestOrBuilder
-
setSensorContents
public DataSync.DataCaptureUploadRequest.Builder setSensorContents(int index, DataSync.SensorData value) repeated .viam.app.datasync.v1.SensorData sensor_contents = 2 [json_name = "sensorContents"];
-
setSensorContents
public DataSync.DataCaptureUploadRequest.Builder setSensorContents(int index, DataSync.SensorData.Builder builderForValue) repeated .viam.app.datasync.v1.SensorData sensor_contents = 2 [json_name = "sensorContents"];
-
addSensorContents
repeated .viam.app.datasync.v1.SensorData sensor_contents = 2 [json_name = "sensorContents"];
-
addSensorContents
public DataSync.DataCaptureUploadRequest.Builder addSensorContents(int index, DataSync.SensorData value) repeated .viam.app.datasync.v1.SensorData sensor_contents = 2 [json_name = "sensorContents"];
-
addSensorContents
public DataSync.DataCaptureUploadRequest.Builder addSensorContents(DataSync.SensorData.Builder builderForValue) repeated .viam.app.datasync.v1.SensorData sensor_contents = 2 [json_name = "sensorContents"];
-
addSensorContents
public DataSync.DataCaptureUploadRequest.Builder addSensorContents(int index, DataSync.SensorData.Builder builderForValue) repeated .viam.app.datasync.v1.SensorData sensor_contents = 2 [json_name = "sensorContents"];
-
addAllSensorContents
public DataSync.DataCaptureUploadRequest.Builder addAllSensorContents(Iterable<? extends DataSync.SensorData> values) repeated .viam.app.datasync.v1.SensorData sensor_contents = 2 [json_name = "sensorContents"];
-
clearSensorContents
repeated .viam.app.datasync.v1.SensorData sensor_contents = 2 [json_name = "sensorContents"];
-
removeSensorContents
repeated .viam.app.datasync.v1.SensorData sensor_contents = 2 [json_name = "sensorContents"];
-