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 binary_data_id = 2 [json_name = "binaryDataId"];
string file_id = 1 [json_name = "fileId"];
string binary_data_id = 2 [json_name = "binaryDataId"];
com.google.protobuf.ByteString
string binary_data_id = 2 [json_name = "binaryDataId"];
string file_id = 1 [json_name = "fileId"];
com.google.protobuf.ByteString
string file_id = 1 [json_name = "fileId"];
setBinaryDataId
(String value) string binary_data_id = 2 [json_name = "binaryDataId"];
setBinaryDataIdBytes
(com.google.protobuf.ByteString value) string binary_data_id = 2 [json_name = "binaryDataId"];
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.
-
getBinaryDataId
string binary_data_id = 2 [json_name = "binaryDataId"];
- Specified by:
getBinaryDataId
in interfaceDataSync.FileUploadResponseOrBuilder
- Returns:
- The binaryDataId.
-
getBinaryDataIdBytes
public com.google.protobuf.ByteString getBinaryDataIdBytes()string binary_data_id = 2 [json_name = "binaryDataId"];
- Specified by:
getBinaryDataIdBytes
in interfaceDataSync.FileUploadResponseOrBuilder
- Returns:
- The bytes for binaryDataId.
-
setBinaryDataId
string binary_data_id = 2 [json_name = "binaryDataId"];
- Parameters:
value
- The binaryDataId to set.- Returns:
- This builder for chaining.
-
clearBinaryDataId
string binary_data_id = 2 [json_name = "binaryDataId"];
- Returns:
- This builder for chaining.
-
setBinaryDataIdBytes
public DataSync.FileUploadResponse.Builder setBinaryDataIdBytes(com.google.protobuf.ByteString value) string binary_data_id = 2 [json_name = "binaryDataId"];
- Parameters:
value
- The bytes for binaryDataId to set.- Returns:
- This builder for chaining.
-