func (lv *List) SetValue(value *structpb.Value) error {
	list, ok := value.Kind.(*structpb.Value_ListValue)
	if !ok {
		return errors.New("value is not a list value")
	}

	lv.values = list.ListValue.Values
	return nil
}
// SetValue sets the value of the List
SetValue sets the value of the List
// SetValue sets the value of the List
func (lv *List) SetValue(value *structpb.Value) error {
	list, ok := value.Kind.(*structpb.Value_ListValue)
	if !ok {
		return errors.New("value is not a list value")
	}
	lv.values = list.ListValue.Values
	return nil
}
func ( lv * List ) SetValue ( value * structpb . Value ) error { list , ok := value . Kind . ( * structpb . Value_ListValue ) if ! ok { return errors . New ( " " ) } lv . values = list . ListValue . Values return nil }
SetValue sets the value of the List
SetValue sets the value of the List