Class DataSync.FileData.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<DataSync.FileData,DataSync.FileData.Builder>
viam.app.datasync.v1.DataSync.FileData.Builder
All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, Cloneable, DataSync.FileDataOrBuilder
Enclosing class:
DataSync.FileData

public static final class DataSync.FileData.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<DataSync.FileData,DataSync.FileData.Builder> implements DataSync.FileDataOrBuilder
 FileData contains the contents of binary (image + file) data.
 
Protobuf type viam.app.datasync.v1.FileData
  • Field Summary

    Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder

    instance
  • Method Summary

    Modifier and Type
    Method
    Description
    bytes data = 1 [json_name = "data"];
    com.google.protobuf.ByteString
    bytes data = 1 [json_name = "data"];
    setData(com.google.protobuf.ByteString value)
    bytes data = 1 [json_name = "data"];

    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

    • getData

      public com.google.protobuf.ByteString getData()
      bytes data = 1 [json_name = "data"];
      Specified by:
      getData in interface DataSync.FileDataOrBuilder
      Returns:
      The data.
    • setData

      public DataSync.FileData.Builder setData(com.google.protobuf.ByteString value)
      bytes data = 1 [json_name = "data"];
      Parameters:
      value - The data to set.
      Returns:
      This builder for chaining.
    • clearData

      public DataSync.FileData.Builder clearData()
      bytes data = 1 [json_name = "data"];
      Returns:
      This builder for chaining.