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
  • Method Details

    • getFileId

      @Deprecated public String getFileId()
      Deprecated.
      viam.app.datasync.v1.FileUploadResponse.file_id is deprecated. See app/datasync/v1/data_sync.proto;l=52
      string file_id = 1 [json_name = "fileId", deprecated = true];
      Specified by:
      getFileId in interface DataSync.FileUploadResponseOrBuilder
      Returns:
      The fileId.
    • getFileIdBytes

      @Deprecated public com.google.protobuf.ByteString getFileIdBytes()
      Deprecated.
      viam.app.datasync.v1.FileUploadResponse.file_id is deprecated. See app/datasync/v1/data_sync.proto;l=52
      string file_id = 1 [json_name = "fileId", deprecated = true];
      Specified by:
      getFileIdBytes in interface DataSync.FileUploadResponseOrBuilder
      Returns:
      The bytes for fileId.
    • setFileId

      Deprecated.
      viam.app.datasync.v1.FileUploadResponse.file_id is deprecated. See app/datasync/v1/data_sync.proto;l=52
      string file_id = 1 [json_name = "fileId", deprecated = true];
      Parameters:
      value - The fileId to set.
      Returns:
      This builder for chaining.
    • clearFileId

      Deprecated.
      viam.app.datasync.v1.FileUploadResponse.file_id is deprecated. See app/datasync/v1/data_sync.proto;l=52
      string file_id = 1 [json_name = "fileId", deprecated = true];
      Returns:
      This builder for chaining.
    • setFileIdBytes

      @Deprecated public DataSync.FileUploadResponse.Builder setFileIdBytes(com.google.protobuf.ByteString value)
      Deprecated.
      viam.app.datasync.v1.FileUploadResponse.file_id is deprecated. See app/datasync/v1/data_sync.proto;l=52
      string file_id = 1 [json_name = "fileId", deprecated = true];
      Parameters:
      value - The bytes for fileId to set.
      Returns:
      This builder for chaining.
    • getBinaryDataId

      public String getBinaryDataId()
      string binary_data_id = 2 [json_name = "binaryDataId"];
      Specified by:
      getBinaryDataId in interface DataSync.FileUploadResponseOrBuilder
      Returns:
      The binaryDataId.
    • getBinaryDataIdBytes

      public com.google.protobuf.ByteString getBinaryDataIdBytes()
      string binary_data_id = 2 [json_name = "binaryDataId"];
      Specified by:
      getBinaryDataIdBytes in interface DataSync.FileUploadResponseOrBuilder
      Returns:
      The bytes for binaryDataId.
    • setBinaryDataId

      public DataSync.FileUploadResponse.Builder setBinaryDataId(String value)
      string binary_data_id = 2 [json_name = "binaryDataId"];
      Parameters:
      value - The binaryDataId to set.
      Returns:
      This builder for chaining.
    • clearBinaryDataId

      public DataSync.FileUploadResponse.Builder 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.