Package viam.app.datasync.v1
Class DataSync.StreamingDataCaptureUploadRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<DataSync.StreamingDataCaptureUploadRequest,DataSync.StreamingDataCaptureUploadRequest.Builder>
viam.app.datasync.v1.DataSync.StreamingDataCaptureUploadRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Cloneable
,DataSync.StreamingDataCaptureUploadRequestOrBuilder
- Enclosing class:
- DataSync.StreamingDataCaptureUploadRequest
public static final class DataSync.StreamingDataCaptureUploadRequest.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<DataSync.StreamingDataCaptureUploadRequest,DataSync.StreamingDataCaptureUploadRequest.Builder>
implements DataSync.StreamingDataCaptureUploadRequestOrBuilder
StreamingDataCaptureUploadRequest requests to upload the contents and metadata for streaming binary (image + file) data. The first packet must be the DataCaptureUploadMetadata associated with the data.Protobuf type
viam.app.datasync.v1.StreamingDataCaptureUploadRequest
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescriptionbytes data = 2 [json_name = "data"];
.viam.app.datasync.v1.DataCaptureUploadMetadata metadata = 1 [json_name = "metadata"];
com.google.protobuf.ByteString
getData()
bytes data = 2 [json_name = "data"];
.viam.app.datasync.v1.DataCaptureUploadMetadata metadata = 1 [json_name = "metadata"];
boolean
hasData()
bytes data = 2 [json_name = "data"];
boolean
.viam.app.datasync.v1.DataCaptureUploadMetadata metadata = 1 [json_name = "metadata"];
.viam.app.datasync.v1.DataCaptureUploadMetadata metadata = 1 [json_name = "metadata"];
setData
(com.google.protobuf.ByteString value) bytes data = 2 [json_name = "data"];
.viam.app.datasync.v1.DataCaptureUploadMetadata metadata = 1 [json_name = "metadata"];
setMetadata
(DataSync.DataCaptureUploadMetadata.Builder builderForValue) .viam.app.datasync.v1.DataCaptureUploadMetadata metadata = 1 [json_name = "metadata"];
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
-
getUploadPacketCase
- Specified by:
getUploadPacketCase
in interfaceDataSync.StreamingDataCaptureUploadRequestOrBuilder
-
clearUploadPacket
-
hasMetadata
public boolean hasMetadata().viam.app.datasync.v1.DataCaptureUploadMetadata metadata = 1 [json_name = "metadata"];
- Specified by:
hasMetadata
in interfaceDataSync.StreamingDataCaptureUploadRequestOrBuilder
- Returns:
- Whether the metadata field is set.
-
getMetadata
.viam.app.datasync.v1.DataCaptureUploadMetadata metadata = 1 [json_name = "metadata"];
- Specified by:
getMetadata
in interfaceDataSync.StreamingDataCaptureUploadRequestOrBuilder
- Returns:
- The metadata.
-
setMetadata
public DataSync.StreamingDataCaptureUploadRequest.Builder setMetadata(DataSync.DataCaptureUploadMetadata value) .viam.app.datasync.v1.DataCaptureUploadMetadata metadata = 1 [json_name = "metadata"];
-
setMetadata
public DataSync.StreamingDataCaptureUploadRequest.Builder setMetadata(DataSync.DataCaptureUploadMetadata.Builder builderForValue) .viam.app.datasync.v1.DataCaptureUploadMetadata metadata = 1 [json_name = "metadata"];
-
mergeMetadata
public DataSync.StreamingDataCaptureUploadRequest.Builder mergeMetadata(DataSync.DataCaptureUploadMetadata value) .viam.app.datasync.v1.DataCaptureUploadMetadata metadata = 1 [json_name = "metadata"];
-
clearMetadata
.viam.app.datasync.v1.DataCaptureUploadMetadata metadata = 1 [json_name = "metadata"];
-
hasData
public boolean hasData()bytes data = 2 [json_name = "data"];
- Specified by:
hasData
in interfaceDataSync.StreamingDataCaptureUploadRequestOrBuilder
- Returns:
- Whether the data field is set.
-
getData
public com.google.protobuf.ByteString getData()bytes data = 2 [json_name = "data"];
- Specified by:
getData
in interfaceDataSync.StreamingDataCaptureUploadRequestOrBuilder
- Returns:
- The data.
-
setData
public DataSync.StreamingDataCaptureUploadRequest.Builder setData(com.google.protobuf.ByteString value) bytes data = 2 [json_name = "data"];
- Parameters:
value
- The data to set.- Returns:
- This builder for chaining.
-
clearData
bytes data = 2 [json_name = "data"];
- Returns:
- This builder for chaining.
-