Interface FieldSetMarshaller<T,​V>

    • Method Detail

      • createInitialValue

        V createInitialValue()
        Returns a builder for use with #readField(ProtoStreamReader, Object). May return a shared instance, if the builder type is immutable, or a new instance, if the builder is mutable.
        Returns:
        a builder.
      • build

        T build​(V value)
        Builds the target object from the read value.
        Parameters:
        value - a read value
        Returns:
        the target object