code: func (m *Quad) ToNative() (q quad.Quad) {
  	if m == nil {
  		return
  	}
  	if m.SubjectValue != nil {
  		q.Subject = m.SubjectValue.ToNative()
  	} else if m.Subject != "" {
  		q.Subject = quad.StringToValue(m.Subject)
  	}
  	if m.PredicateValue != nil {
  		q.Predicate = m.PredicateValue.ToNative()
  	} else if m.Predicate != "" {
  		q.Predicate = quad.StringToValue(m.Predicate)
  	}
  	if m.ObjectValue != nil {
  		q.Object = m.ObjectValue.ToNative()
  	} else if m.Object != "" {
  		q.Object = quad.StringToValue(m.Object)
  	}
  	if m.LabelValue != nil {
  		q.Label = m.LabelValue.ToNative()
  	} else if m.Label != "" {
  		q.Label = quad.StringToValue(m.Label)
  	}
  	return
  }
docs: // ToNative converts protobuf Quad to quad.Quad.