func (m *DoubleValue) UnmarshalFromReader(reader jspb.Reader) *DoubleValue {
	for reader.Next() {
		if m == nil {
			m = &DoubleValue{}
		}
		switch reader.GetFieldNumber() {
		case 1:
			m.Value = reader.ReadFloat64()
		default:
			reader.SkipField()
		}
	}
	return m
}
UnmarshalFromReader unmarshals a DoubleValue from the provided reader.
package wrappers
import jspb "github.com/johanbrandhorst/protobuf/jspb"
const _ = jspb.JspbPackageIsVersion2
type DoubleValue struct {
	Value float64
}
func (m *DoubleValue) GetValue() (x float64) {
	if m == nil {
		return x
	}
	return m.Value
}
func (m *DoubleValue) MarshalToWriter(writer jspb.Writer) {
	if m == nil {
		return
	}
	if m.Value != 0 {
		writer.WriteFloat64(1, m.Value)
	}
	return
}
func (m *DoubleValue) Marshal() []byte {
	writer := jspb.NewWriter()
	m.MarshalToWriter(writer)
	return writer.GetResult()
}