func NewDatapointDescriptor(dataset *datasets.Dataset) (*datasets.DatapointDescriptor, error)Create a reusable descriptor for decoding raw protobuf datapoints from a loaded dataset.
Use this helper when you want to query datasets without generated Go protobuf types.
Parameters
Section titled “Parameters”dataset *datasets.Dataset required A dataset returned by client.Datasets.Get or another dataset client method.
Returns
Section titled “Returns”A DatapointDescriptor that can be passed to UnmarshalDatapoint or DatapointDecoder.Unmarshal.