Package viam.app.datasync.v1
Class DataSync.FileUploadResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<DataSync.FileUploadResponse,DataSync.FileUploadResponse.Builder>
viam.app.datasync.v1.DataSync.FileUploadResponse.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Cloneable
,DataSync.FileUploadResponseOrBuilder
- Enclosing class:
- DataSync.FileUploadResponse
public static final class DataSync.FileUploadResponse.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<DataSync.FileUploadResponse,DataSync.FileUploadResponse.Builder>
implements DataSync.FileUploadResponseOrBuilder
FileUploadResponse returns the file id of the uploaded contents and metadata for binary (image + file) data.Protobuf type
viam.app.datasync.v1.FileUploadResponse
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescriptionstring file_id = 1 [json_name = "fileId"];
string file_id = 1 [json_name = "fileId"];
com.google.protobuf.ByteString
string file_id = 1 [json_name = "fileId"];
string file_id = 1 [json_name = "fileId"];
setFileIdBytes
(com.google.protobuf.ByteString value) string file_id = 1 [json_name = "fileId"];
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
-
getFileId
string file_id = 1 [json_name = "fileId"];
- Specified by:
getFileId
in interfaceDataSync.FileUploadResponseOrBuilder
- Returns:
- The fileId.
-
getFileIdBytes
public com.google.protobuf.ByteString getFileIdBytes()string file_id = 1 [json_name = "fileId"];
- Specified by:
getFileIdBytes
in interfaceDataSync.FileUploadResponseOrBuilder
- Returns:
- The bytes for fileId.
-
setFileId
string file_id = 1 [json_name = "fileId"];
- Parameters:
value
- The fileId to set.- Returns:
- This builder for chaining.
-
clearFileId
string file_id = 1 [json_name = "fileId"];
- Returns:
- This builder for chaining.
-
setFileIdBytes
string file_id = 1 [json_name = "fileId"];
- Parameters:
value
- The bytes for fileId to set.- Returns:
- This builder for chaining.
-