class Builder extends DataPointSnapshot.Builder<Builder> {

            private Exemplar exemplar = null;
            private Double value = null;

            private Builder() {
            }

            /**
             * required.
             */
            public Builder value(double value) {
                this.value = value;
                return this;
            }

            /**
             * Optional
             */
            public Builder exemplar(Exemplar exemplar) {
                this.exemplar = exemplar;
                return this;
            }

            public UnknownDataPointSnapshot build() {<FILL_FUNCTION_BODY>}

            @Override
            protected Builder self() {
                return this;
            }
        }

                if (value == null) {
                    throw new IllegalArgumentException("Missing required field: value is null.");
                }
                return new UnknownDataPointSnapshot(value, labels, exemplar, scrapeTimestampMillis);
            
<methods>public abstract List<? extends io.prometheus.metrics.model.snapshots.DataPointSnapshot> getDataPoints() ,public io.prometheus.metrics.model.snapshots.MetricMetadata getMetadata() <variables>protected final non-sealed List<? extends io.prometheus.metrics.model.snapshots.DataPointSnapshot> dataPoints,private final non-sealed io.prometheus.metrics.model.snapshots.MetricMetadata metadata