Package viam.app.datasync.v1
Class DataSync.FileUploadRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<DataSync.FileUploadRequest,DataSync.FileUploadRequest.Builder>
viam.app.datasync.v1.DataSync.FileUploadRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Cloneable
,DataSync.FileUploadRequestOrBuilder
- Enclosing class:
- DataSync.FileUploadRequest
public static final class DataSync.FileUploadRequest.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<DataSync.FileUploadRequest,DataSync.FileUploadRequest.Builder>
implements DataSync.FileUploadRequestOrBuilder
FileUploadRequest requests to upload the contents and metadata for binary (image + file) data. The first packet must be the UploadMetadata associated with the binary data.Protobuf type
viam.app.datasync.v1.FileUploadRequest
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescription.viam.app.datasync.v1.FileData file_contents = 2 [json_name = "fileContents"];
.viam.app.datasync.v1.UploadMetadata metadata = 1 [json_name = "metadata"];
.viam.app.datasync.v1.FileData file_contents = 2 [json_name = "fileContents"];
.viam.app.datasync.v1.UploadMetadata metadata = 1 [json_name = "metadata"];
boolean
.viam.app.datasync.v1.FileData file_contents = 2 [json_name = "fileContents"];
boolean
.viam.app.datasync.v1.UploadMetadata metadata = 1 [json_name = "metadata"];
.viam.app.datasync.v1.FileData file_contents = 2 [json_name = "fileContents"];
.viam.app.datasync.v1.UploadMetadata metadata = 1 [json_name = "metadata"];
setFileContents
(DataSync.FileData value) .viam.app.datasync.v1.FileData file_contents = 2 [json_name = "fileContents"];
setFileContents
(DataSync.FileData.Builder builderForValue) .viam.app.datasync.v1.FileData file_contents = 2 [json_name = "fileContents"];
.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"];
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.FileUploadRequestOrBuilder
-
clearUploadPacket
-
hasMetadata
public boolean hasMetadata().viam.app.datasync.v1.UploadMetadata metadata = 1 [json_name = "metadata"];
- Specified by:
hasMetadata
in interfaceDataSync.FileUploadRequestOrBuilder
- Returns:
- Whether the metadata field is set.
-
getMetadata
.viam.app.datasync.v1.UploadMetadata metadata = 1 [json_name = "metadata"];
- Specified by:
getMetadata
in interfaceDataSync.FileUploadRequestOrBuilder
- Returns:
- The metadata.
-
setMetadata
.viam.app.datasync.v1.UploadMetadata metadata = 1 [json_name = "metadata"];
-
setMetadata
public DataSync.FileUploadRequest.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"];
-
hasFileContents
public boolean hasFileContents().viam.app.datasync.v1.FileData file_contents = 2 [json_name = "fileContents"];
- Specified by:
hasFileContents
in interfaceDataSync.FileUploadRequestOrBuilder
- Returns:
- Whether the fileContents field is set.
-
getFileContents
.viam.app.datasync.v1.FileData file_contents = 2 [json_name = "fileContents"];
- Specified by:
getFileContents
in interfaceDataSync.FileUploadRequestOrBuilder
- Returns:
- The fileContents.
-
setFileContents
.viam.app.datasync.v1.FileData file_contents = 2 [json_name = "fileContents"];
-
setFileContents
public DataSync.FileUploadRequest.Builder setFileContents(DataSync.FileData.Builder builderForValue) .viam.app.datasync.v1.FileData file_contents = 2 [json_name = "fileContents"];
-
mergeFileContents
.viam.app.datasync.v1.FileData file_contents = 2 [json_name = "fileContents"];
-
clearFileContents
.viam.app.datasync.v1.FileData file_contents = 2 [json_name = "fileContents"];
-