Package viam.app.datasync.v1
Interface DataSync.FileUploadRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
- All Known Implementing Classes:
DataSync.FileUploadRequest
,DataSync.FileUploadRequest.Builder
- Enclosing class:
- DataSync
public static interface DataSync.FileUploadRequestOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder
-
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"];
boolean
.viam.app.datasync.v1.FileData file_contents = 2 [json_name = "fileContents"];
boolean
.viam.app.datasync.v1.UploadMetadata metadata = 1 [json_name = "metadata"];
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
hasMetadata
boolean hasMetadata().viam.app.datasync.v1.UploadMetadata metadata = 1 [json_name = "metadata"];
- Returns:
- Whether the metadata field is set.
-
getMetadata
DataSync.UploadMetadata getMetadata().viam.app.datasync.v1.UploadMetadata metadata = 1 [json_name = "metadata"];
- Returns:
- The metadata.
-
hasFileContents
boolean hasFileContents().viam.app.datasync.v1.FileData file_contents = 2 [json_name = "fileContents"];
- Returns:
- Whether the fileContents field is set.
-
getFileContents
DataSync.FileData getFileContents().viam.app.datasync.v1.FileData file_contents = 2 [json_name = "fileContents"];
- Returns:
- The fileContents.
-
getUploadPacketCase
DataSync.FileUploadRequest.UploadPacketCase getUploadPacketCase()
-